/* ================================================================
   Home — página de inicio pública
   Stand-alone: no depende de theresa.css ni ficha.css
   ================================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:     #ededeb;
  --black:  #0a0a0a;
  --text:   #0a0a0a;
  --muted:  #6b6b6b;
  --border: rgba(0,0,0,.08);
  --white:  #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Header ─────────────────────────────────────────────── */
.hm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}
.hm-logo-link { display: flex; align-items: center; text-decoration: none; }
.hm-logo { height: 27px; width: auto; }
.hm-nav { display: flex; gap: 44px; align-items: center; position: relative; left: 4px; }
.hm-nav__item {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  color: rgba(10,10,10,.5);
  transition: color .15s;
  cursor: default;
  position: relative;
  white-space: nowrap;
  text-decoration: none;
}
/* La mano de Sectores, en toda la cabecera. Rubén, 2026-10-30. */
.hm-nav__item, .hm-cta-top { cursor: url("/static/img/cursor-sm.45560d8b721d.png") 28 2, pointer; }
.hm-drop { cursor: default; }
.hm-drop a, .hm-drop button { cursor: url("/static/img/cursor-sm.45560d8b721d.png") 28 2, pointer; }
.hm-nav__item:hover { color: #0a0a0a; }
.hm-drop {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  padding-top: 14px;
  min-width: 220px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s, transform .15s;
}
.hm-nav__item--has-drop:hover .hm-drop {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.hm-drop__inner {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
  padding: 6px 0;
  overflow: hidden;
}
.hm-drop__link {
  display: block;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(10,10,10,.55);
  text-decoration: none;
  transition: color .12s, background .12s;
}
.hm-drop__link:hover { color: #0a0a0a; background: rgba(0,0,0,.04); }
.hm-drop__link { cursor: url("/static/img/cursor-sm.45560d8b721d.png") 28 2, pointer; }
/* Desplegables largos (SOLUCIONES, 13 items) → 2 columnas para que no llegue
   al borde inferior de la ventana. Si el ultimo item queda demasiado abajo,
   Chrome deja de pintar el cursor personalizado por estar parcialmente fuera. */
.hm-drop__inner:has(> a.hm-drop__link:nth-of-type(11)) {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  max-height: 340px;
  min-width: 440px;
}
.hm-drop__inner:has(> a.hm-drop__link:nth-of-type(11)) > .hm-drop__link {
  width: 220px;
  box-sizing: border-box;
}

/* ── Mega-panel SOLUCIONES (split Theresa HR / theresa Ops, estilo ChatGPT) ── */
.hm-drop--mega { left: 50%; }
/* Ancho FIJO para que al pasar de HR a Ops el panel (y su línea de corte) no cambie de tamaño. */
.hm-mega { display: flex; padding: 0; width: 640px; }
.hm-mega__panel[data-panel="ops"] { align-content: start; }
.hm-mega__side {
  flex: 0 0 188px;
  background: #faf9f7;
  border-right: 1px solid rgba(0,0,0,.07);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hm-mega__tab {
  text-align: left;
  border: none;
  background: none;
  font-family: inherit;
  border-radius: 8px;
  padding: 11px 13px;
  cursor: url("/static/img/cursor-sm.45560d8b721d.png") 28 2, pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: background .12s;
}
.hm-mega__tab-name { font-size: 14px; font-weight: 700; letter-spacing: .01em; color: rgba(10,10,10,.55); }
.hm-mega__tab-name b { color: #0a0a0a; }
.hm-mega__tab-desc { font-size: 11px; font-weight: 600; color: rgba(10,10,10,.4); }
.hm-mega__tab:hover { background: rgba(0,0,0,.04); }
.hm-mega[data-active="hr"]  .hm-mega__tab[data-target="hr"],
.hm-mega[data-active="ops"] .hm-mega__tab[data-target="ops"] { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.07); }
.hm-mega[data-active="hr"]  .hm-mega__tab[data-target="hr"]  .hm-mega__tab-name,
.hm-mega[data-active="ops"] .hm-mega__tab[data-target="ops"] .hm-mega__tab-name { color: #0a0a0a; }

.hm-mega__panels { flex: 1; padding: 6px; position: relative; }
.hm-mega__panel { display: none; }
.hm-mega[data-active="hr"]  .hm-mega__panel[data-panel="hr"],
.hm-mega[data-active="ops"] .hm-mega__panel[data-panel="ops"] { display: grid; }
/* HR: 16 items en 2 columnas (8 filas) — sin recorte */
.hm-mega__panel[data-panel="hr"] { grid-template-columns: 1fr 1fr; }
/* Ops: 2 columnas para rellenar el ancho (sin hueco a la derecha) */
.hm-mega__panel[data-panel="ops"] { grid-template-columns: 1fr 1fr; }
.hm-mega__panel > .hm-drop__link { white-space: nowrap; }

/* SOLUCIONES con cinco grupos: HR · Ops · Marketing · Finanzas · Analytics (Rubén,
   2026-10-15; `partials/_web_soluciones.html`). El panel conserva su ancho fijo y cada
   grupo pinta sus páginas en dos columnas, arriba. */
.hm-mega--sol .hm-mega__panel { grid-template-columns: 1fr 1fr; align-content: start; }
.hm-mega--sol .hm-mega__tab { padding: 9px 13px; }
.hm-mega[data-active="marketing"] .hm-mega__tab[data-target="marketing"],
.hm-mega[data-active="finanzas"]  .hm-mega__tab[data-target="finanzas"],
.hm-mega[data-active="analytics"] .hm-mega__tab[data-target="analytics"] { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.07); }
.hm-mega[data-active="marketing"] .hm-mega__tab[data-target="marketing"] .hm-mega__tab-name,
.hm-mega[data-active="finanzas"]  .hm-mega__tab[data-target="finanzas"]  .hm-mega__tab-name,
.hm-mega[data-active="analytics"] .hm-mega__tab[data-target="analytics"] .hm-mega__tab-name { color: #0a0a0a; }
.hm-mega[data-active="marketing"] .hm-mega__panel[data-panel="marketing"],
.hm-mega[data-active="finanzas"]  .hm-mega__panel[data-panel="finanzas"],
.hm-mega[data-active="analytics"] .hm-mega__panel[data-panel="analytics"] { display: grid; }

/* ── Mega-panel SECTORES: el sector a la izquierda, sus tipos de negocio a la derecha ── */
.hm-mega--sectores { width: 440px; }
.hm-mega--sectores .hm-mega__side { flex-basis: 170px; }
.hm-mega--sectores .hm-mega__panel { grid-template-columns: 1fr; align-content: start; }
.hm-mega[data-active="belleza"]      .hm-mega__tab[data-target="belleza"],
.hm-mega[data-active="salud"]        .hm-mega__tab[data-target="salud"],
.hm-mega[data-active="dental"]       .hm-mega__tab[data-target="dental"],
.hm-mega[data-active="restauracion"] .hm-mega__tab[data-target="restauracion"] { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.07); }
.hm-mega[data-active="belleza"]      .hm-mega__tab[data-target="belleza"]      .hm-mega__tab-name,
.hm-mega[data-active="salud"]        .hm-mega__tab[data-target="salud"]        .hm-mega__tab-name,
.hm-mega[data-active="dental"]       .hm-mega__tab[data-target="dental"]       .hm-mega__tab-name,
.hm-mega[data-active="restauracion"] .hm-mega__tab[data-target="restauracion"] .hm-mega__tab-name { color: #0a0a0a; }
.hm-mega[data-active="belleza"]      .hm-mega__panel[data-panel="belleza"],
.hm-mega[data-active="salud"]        .hm-mega__panel[data-panel="salud"],
.hm-mega[data-active="dental"]       .hm-mega__panel[data-panel="dental"],
.hm-mega[data-active="restauracion"] .hm-mega__panel[data-panel="restauracion"] { display: grid; }
.hm-cta-top {
  /* azul OPS, el de los botones de la app (Rubén, 2026-10-18) */
  background: var(--g-azul, #5b7a99);
  box-shadow: var(--sombra-azul, none);
  color: #fff;
  padding: 11px 26px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .10em;
  text-decoration: none;
  transition: opacity .15s;
}
.hm-cta-top:hover { opacity: .85; }

/* ── Shared ──────────────────────────────────────────────── */
.hm-container { max-width: 1100px; margin: 0 auto; }
.hm-img-fade {
  border-radius: 16px;
}
/* Máxima calidad de renderizado para todas las imágenes de la landing */
body img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.hm-sol-card__img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
}
.hm-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.hm-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.hm-body {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.7;
}
.hm-divider { width: 40px; height: 2px; background: var(--black); margin: 20px 0; }

/* ── Hero ────────────────────────────────────────────────── */
.hm-hero {
  background: var(--bg);
  padding: 48px 48px 72px;
  text-align: center;
  overflow: hidden;
  position: relative;
}
/* Grid decorativa */
.hm-hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* ═══════════════════════════════════════════════════════════
   HERO ANIMACIÓN — LIQUID METAL
   Prefijo: ha-
   ═══════════════════════════════════════════════════════════ */

.ha-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 44px 24px 20px;
}

/* ─── Logo ─── */
.ha-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  width: clamp(150px, 20vw, 210px);
  height: clamp(150px, 20vw, 210px);
  perspective: 800px;
}

/* Destello que cruza el logo cada 5s */
.ha-logo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    118deg,
    transparent 22%,
    rgba(255,255,255,.0) 40%,
    rgba(255,255,255,.72) 50%,
    rgba(255,255,255,.0) 60%,
    transparent 78%
  );
  background-size: 300% 300%;
  animation: ha-glint 5.5s ease-in-out infinite;
  z-index: 5;
  pointer-events: none;
}
@keyframes ha-glint {
  0%,100% { background-position: 220% 220%; opacity: 0; }
  38%     { opacity: 0; }
  50%     { background-position: 30% 30%;  opacity: 1; }
  62%     { opacity: 0; background-position: -60% -60%; }
}

.ha-logo-img {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  animation: ha-hologram 20s ease-in-out infinite;
  filter:
    drop-shadow(0 8px 28px rgba(10,10,10,.22))
    drop-shadow(0 2px 6px rgba(10,10,10,.14));
}
[data-theme="dark"] .ha-logo-img {
  mix-blend-mode: screen;
  filter:
    drop-shadow(0 8px 34px rgba(160,200,240,.32))
    drop-shadow(0 0 55px rgba(140,190,230,.14));
}

/* Hologram: el logo flota y se inclina en 3D como un holograma */
@keyframes ha-hologram {
  0%   { transform: perspective(700px) translateY(0px)   rotateY(-18deg) rotateX(7deg)  rotateZ(-1.5deg) scale(1);    }
  12%  { transform: perspective(700px) translateY(-14px) rotateY( -5deg) rotateX(10deg) rotateZ( 0.8deg) scale(1.03); }
  26%  { transform: perspective(700px) translateY(-22px) rotateY( 18deg) rotateX( 4deg) rotateZ(-1deg)   scale(1.04); }
  40%  { transform: perspective(700px) translateY(-16px) rotateY( 34deg) rotateX(12deg) rotateZ( 1.5deg) scale(1.02); }
  54%  { transform: perspective(700px) translateY(-24px) rotateY( 20deg) rotateX( 3deg) rotateZ(-0.8deg) scale(1.05); }
  68%  { transform: perspective(700px) translateY(-10px) rotateY(  4deg) rotateX(13deg) rotateZ( 1deg)   scale(1.02); }
  82%  { transform: perspective(700px) translateY(-18px) rotateY(-10deg) rotateX( 6deg) rotateZ(-1.2deg) scale(1.03); }
  100% { transform: perspective(700px) translateY(0px)   rotateY(-18deg) rotateX(7deg)  rotateZ(-1.5deg) scale(1);    }
}

/* Anillos */
.ha-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px solid rgba(10,10,10,.09);
  animation: ha-ring-out 4.8s ease-out infinite;
  z-index: 2;
  pointer-events: none;
}
.ha-ring--2 { inset: -8px;  border-color: rgba(10,10,10,.06); animation-delay: 1.6s; }
.ha-ring--3 { inset:  6px;  border-color: rgba(10,10,10,.04); animation-delay: 3.2s; }
[data-theme="dark"] .ha-ring   { border-color: rgba(255,255,255,.09); }
[data-theme="dark"] .ha-ring--2 { border-color: rgba(255,255,255,.06); }
[data-theme="dark"] .ha-ring--3 { border-color: rgba(255,255,255,.04); }
@keyframes ha-ring-out {
  0%   { transform: scale(1);   opacity: .75; }
  100% { transform: scale(2.6); opacity: 0;   }
}

/* ─── Escena de frases ─── */
.ha-scene {
  position: relative;
  width: 100%;
  max-width: 840px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: visible;
}
.ha-phrase-text {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.2;
  font-weight: 800;
  color: #0a0a0a;
  letter-spacing: -.02em;
}
[data-theme="dark"] .ha-phrase-text { color: #e6e6e6; }

/* tokens */
.ha-word  { display: inline-block; opacity: 0; }
.ha-char  { display: inline-block; opacity: 0; }
.ha-space { display: inline; }

/* ─ s0: Teclas de piano — cada palabra cae y rebota ─ */
.ha-word--s0 { animation: ha-piano 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
@keyframes ha-piano {
  0%   { opacity: 0; transform: translateY(-48px) scale(.84); filter: blur(3px) brightness(1.3); }
  52%  { opacity: 1; transform: translateY(8px)   scale(1.04); filter: none; }
  72%  { transform: translateY(-4px) scale(.98); }
  88%  { transform: translateY(2px)  scale(1.01); }
  100% { opacity: 1; transform: translateY(0)    scale(1); }
}

/* ─ s1: Telegrama ─ */
.ha-word--s1 { animation: ha-telegram 0.16s ease-out forwards; }
@keyframes ha-telegram {
  0%   { opacity: 0; transform: translateX(-5px) skewX(-5deg); filter: blur(3px); }
  100% { opacity: 1; transform: translateX(0)    skewX(0);     filter: none; }
}

/* ─ s2: Palabras entrando desde lados aleatorios con temblor ─ */
.ha-word--left   { animation: ha-from-left   2.2s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.ha-word--right  { animation: ha-from-right  2.2s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.ha-word--top    { animation: ha-from-top    2.2s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.ha-word--bottom { animation: ha-from-bottom 2.2s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

@keyframes ha-from-left {
  0%   { opacity:0; transform:translateX(-90vw) skewX(10deg); }
  60%  { opacity:1; transform:translateX(6px) skewX(-2deg); }
  72%  { transform:translateX(-4px) skewX(1deg); }
  82%  { transform:translateX(3px); }
  90%  { transform:translateX(-1.5px); }
  96%  { transform:translateX(0.8px); }
  100% { transform:translateX(0); }
}
@keyframes ha-from-right {
  0%   { opacity:0; transform:translateX(90vw) skewX(-10deg); }
  60%  { opacity:1; transform:translateX(-6px) skewX(2deg); }
  72%  { transform:translateX(4px) skewX(-1deg); }
  82%  { transform:translateX(-3px); }
  90%  { transform:translateX(1.5px); }
  96%  { transform:translateX(-0.8px); }
  100% { transform:translateX(0); }
}
@keyframes ha-from-top {
  0%   { opacity:0; transform:translateY(-70vh) scaleY(1.12); }
  60%  { opacity:1; transform:translateY(6px) scaleY(0.96); }
  72%  { transform:translateY(-4px) scaleY(1.02); }
  82%  { transform:translateY(3px); }
  90%  { transform:translateY(-1.5px); }
  96%  { transform:translateY(0.8px); }
  100% { transform:translateY(0); }
}
@keyframes ha-from-bottom {
  0%   { opacity:0; transform:translateY(70vh) scaleY(0.88); }
  60%  { opacity:1; transform:translateY(-6px) scaleY(1.04); }
  72%  { transform:translateY(4px) scaleY(0.98); }
  82%  { transform:translateY(-3px); }
  90%  { transform:translateY(1.5px); }
  96%  { transform:translateY(-0.8px); }
  100% { transform:translateY(0); }
}

/* Frase larga — fuente más pequeña */
.ha-phrase-text--compact {
  font-size: clamp(16px, 1.9vw, 28px);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.4;
}

/* ─ s3: Caída desde arriba + cristalizar ─ */
.ha-word--s3 { animation: ha-drop-word 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
@keyframes ha-drop-word {
  0%   { opacity: 0; transform: translateY(-34px) rotateX(55deg) scale(.88); filter: blur(7px) brightness(1.6); }
  55%  { filter: blur(1px) brightness(1.04); }
  100% { opacity: 1; transform: translateY(0)     rotateX(0)     scale(1);   filter: none; }
}

/* Salida — se funde */
.ha-word--out,
.ha-char--out,
.ha-char--fly-slow.ha-char--out {
  animation: ha-melt-out 0.42s ease-in forwards !important;
}
@keyframes ha-melt-out {
  0%   { opacity: 1; filter: none; letter-spacing: 0; transform: translateY(0) scaleX(1); }
  38%  { filter: blur(3px) brightness(1.6) saturate(.2); letter-spacing: .06em; }
  100% { opacity: 0; filter: blur(13px) brightness(2.5) saturate(0); letter-spacing: .24em; transform: translateY(22px) scaleX(.9); }
}

/* ─── Responsive ─── */
@media (max-width: 720px) {
  .ha-wrap        { padding: 28px 16px 10px; }
  .ha-scene       { min-height: 150px; overflow: hidden; }
  .ha-phrase-text { font-size: clamp(24px, 7vw, 36px); letter-spacing: -.01em; }
  .ha-logo-wrap   { width: clamp(110px, 26vw, 155px); height: clamp(110px, 26vw, 155px); }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  .ha-logo-img          { animation: none !important; }
  .ha-ring              { animation: none; }
  .ha-logo-wrap::after  { animation: none; }
  .ha-word--s0,.ha-word--s1,.ha-word--s3,.ha-char--fly {
    animation: ha-simple-in .3s ease forwards !important;
  }
  @keyframes ha-simple-in { to { opacity:1; filter:none; transform:none; } }
  .ha-word--out,.ha-char--out { animation:none !important; opacity:0; }
}
/* Copy bajo el video */
.hm-hero__copy {
  position: relative;
  z-index: 2;
  margin-top: -8px;
}
.hm-hero__title {
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--black);
}
.hm-hero__sub {
  margin-top: 28px;
  font-size: 17px;
  color: var(--muted);
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}
.hm-hero__cta {
  display: inline-block;
  margin-top: 32px;
  padding: 16px 44px;
  background: var(--black);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  transition: opacity .15s;
}
.hm-hero__cta:hover { opacity: .85; }
/* Barra inferior del hero */
.hm-hero__bar {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid rgba(0,0,0,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hm-hero__bar-copy { color: rgba(0,0,0,.28); }
.hm-hero__bar-links { display: flex; gap: 24px; }
.hm-hero__bar-links a { color: rgba(0,0,0,.3); text-decoration: none; transition: color .15s; }
.hm-hero__bar-links a:hover { color: var(--black); }

/* ── Ticker ──────────────────────────────────────────────── */
.hm-ticker {
  background: #0a0a0a;
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hm-ticker__track {
  display: flex;
  gap: 4rem;
  animation: hmTicker 28s linear infinite;
  width: max-content;
  white-space: nowrap;
}
.hm-ticker__track span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.hm-ticker__track span b { color: #fff; font-weight: 700; }
@keyframes hmTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Cómo funciona ───────────────────────────────────────── */
.hm-how { background: var(--bg); padding: 80px 48px; }
.hm-how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 48px;
  background: rgba(0,0,0,.06);
}
.hm-how-card {
  background: var(--bg);
  padding: 36px 28px;
  position: relative;
}
.hm-how-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 52px;
  color: rgba(0,0,0,.055);
  line-height: 1;
  position: absolute;
  top: 18px; right: 18px;
}
.hm-how-icon {
  width: 44px; height: 44px;
  background: var(--black);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.hm-how-icon svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.5; }
.hm-how-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 10px; }
.hm-how-card p { font-size: .85rem; color: var(--muted); line-height: 1.65; }

/* ── Dashboard ───────────────────────────────────────────── */
.hm-dash-wrap { background: #3a3a3a; padding: 80px 48px; }
.hm-dash-wrap .hm-label { color: rgba(255,255,255,.3); }
.hm-dash-wrap .hm-title { color: #fff; }
/* Apple/Anthropic border */
.hm-dash {
  background: #111;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 24px;
  overflow: hidden;
  margin-top: 40px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.035),
    0 32px 80px rgba(0,0,0,.55),
    0 8px 28px rgba(0,0,0,.35);
}
.hm-dash__bar {
  background: #161616;
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: 14px 20px;
  display: flex; align-items: center; gap: 12px;
}
.hm-dash__dots { display: flex; gap: 6px; }
.hm-dash__dot { width: 12px; height: 12px; border-radius: 50%; }
.hm-dash__dot--r { background: #ff5f57; }
.hm-dash__dot--y { background: #febc2e; }
.hm-dash__dot--g { background: #28c840; }
.hm-dash__url {
  flex: 1; background: #222; border-radius: 6px;
  padding: 6px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: rgba(255,255,255,.22);
}
.hm-dash__body {
  display: grid; grid-template-columns: 220px 1fr; min-height: 420px;
}
.hm-dash__side {
  background: #141414;
  border-right: 1px solid rgba(255,255,255,.04);
  padding: 20px 0;
}
.hm-dash__side-top {
  padding: 0 18px 18px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  margin-bottom: 8px;
}
.hm-dash__side-name { font-size: 1.1rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.hm-dash__side-sub {
  font-size: 10px; color: rgba(255,255,255,.22);
  font-family: 'JetBrains Mono', monospace; letter-spacing: .08em;
}
.hm-dash__nav {
  padding: 10px 18px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,.32);
}
.hm-dash__nav--active {
  background: rgba(255,255,255,.05); color: #fff; border-left: 2px solid #fff;
}
.hm-dash__nav svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.hm-dash__main { padding: 20px; }
.hm-dash__kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px;
}
.hm-dash__kpi {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 10px; padding: 14px;
}
.hm-dash__kpi-lbl {
  font-size: 10px; color: rgba(255,255,255,.22);
  text-transform: uppercase; letter-spacing: .1em;
  font-family: 'JetBrains Mono', monospace; margin-bottom: 6px;
}
.hm-dash__kpi-val { font-size: 1.75rem; font-weight: 800; color: #fff; line-height: 1; }
.hm-dash__kpi-sub { font-size: 11px; margin-top: 4px; }
.hm-dash__table {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 10px; overflow: hidden;
}
.hm-dash__tbar {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  display: flex; justify-content: space-between; align-items: center;
}
.hm-dash__tbar span {
  font-size: 11px; color: rgba(255,255,255,.35);
  font-family: 'JetBrains Mono', monospace;
}
.hm-dot-live {
  display: inline-block; width: 7px; height: 7px;
  background: #28c840; border-radius: 50%; margin-right: 6px;
}
.hm-dash__row {
  display: grid;
  grid-template-columns: 32px 1fr 68px 90px 80px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,.025);
  align-items: center; gap: 8px;
}
.hm-dash__row:last-child { border-bottom: none; }
.hm-dash__row--hd { background: rgba(255,255,255,.02); }
.hm-dash__row span { font-size: 11px; color: rgba(255,255,255,.35); font-family: 'JetBrains Mono', monospace; }
.hm-dash__row-name { font-size: 12px !important; color: rgba(255,255,255,.72) !important; font-family: 'Manrope', sans-serif !important; }
.hm-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: #fff;
}
.hm-badge {
  display: inline-block; padding: 2px 8px;
  border-radius: 999px; font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
}
.hm-badge--ok     { background: rgba(40,200,64,.1);  color: #28c840; }
.hm-badge--late   { background: rgba(231,111,81,.1); color: #e76f51; }
.hm-badge--absent { background: rgba(255,95,87,.12); color: #ff5f57; }
.hm-badge--remote { background: rgba(29,53,87,.3);   color: #90b4d4; }

/* ── SOLUCIONES bento ────────────────────────────────────── */
.hm-sol { background: #0a0a0a; }

.hm-sol__header { padding: 80px 0 52px; }
.hm-sol__header--light {
  background: #ffffff;
  color: #0a0a0a;
}
.hm-sol__header--light .hm-label { color: rgba(0,0,0,.4); }
.hm-sol__header--light .hm-title { color: #0a0a0a; }
.hm-sol__header--light .hm-body  { color: rgba(0,0,0,.55); }
.hm-sol__header--light .hm-divider { background: rgba(0,0,0,.1); }

.hm-sol-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.35);
}

.hm-sol-card {
  background: #0a0a0a;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: background .22s;
}
.hm-sol-card:hover { background: #111; }
.hm-sol-card--img { padding: 0; overflow: hidden; }
.hm-sol-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hm-sol-c2 { grid-column: span 2; }
.hm-sol-r2 { grid-row: span 2; }

/* Decoration container */
.hm-sol-deco {
  position: absolute;
  right: 28px; top: 28px;
  width: 160px; height: 160px;
  pointer-events: none;
}
.hm-sol-deco--sm { width: 72px; height: 72px; }

.hm-sol-deco--fea svg {
  width: 100%; height: 100%;
  animation: hmRotateSlow 24s linear infinite;
}
@keyframes hmRotateSlow { to { transform: rotate(360deg); } }

/* Text elements */
.hm-sol-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .13em; text-transform: uppercase;
  color: rgba(255,255,255,.28);
  display: block; margin-bottom: 18px;
}

.hm-sol-title {
  font-size: 1.55rem; font-weight: 800;
  letter-spacing: -.03em; line-height: 1.1;
  color: #fff; margin-bottom: 14px;
}
.hm-sol-c2.hm-sol-r2 .hm-sol-title {
  font-size: clamp(2rem, 3vw, 3rem);
}

.hm-sol-desc {
  font-size: .875rem; color: rgba(255,255,255,.36);
  line-height: 1.72; max-width: 360px;
}

.hm-sol-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.hm-sol-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.42);
}

/* Pro badge */
.hm-sol-pro-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #fff; padding: 3px 10px; border-radius: 999px;
  display: inline-block; margin-bottom: 10px;
}

/* ── QR decorations ── */
.hm-qr-svg {
  position: absolute; top: 38%; left: 50%;
  width: 94px; height: 94px;
  transform: translate(-50%, -50%);
}
.hm-qr-ring {
  position: absolute; top: 38%; left: 50%;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.hm-qr-ring--1 { width: 94px;  height: 94px;  animation: hmQrRing 3.5s ease-out infinite 0s; }
.hm-qr-ring--2 { width: 140px; height: 140px; animation: hmQrRing 3.5s ease-out infinite .85s; }
.hm-qr-ring--3 { width: 188px; height: 188px; animation: hmQrRing 3.5s ease-out infinite 1.7s; }
@keyframes hmQrRing {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.78); }
  18%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.06); }
}
.hm-qr-bar-wrap {
  position: absolute; bottom: 12px; left: 18px; right: 18px;
  height: 2px; background: rgba(255,255,255,.05); border-radius: 999px; overflow: hidden;
}
.hm-qr-bar {
  height: 100%; width: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,.38), rgba(255,255,255,.1));
  transform-origin: left;
  animation: hmQrTimer 30s linear infinite;
}
@keyframes hmQrTimer { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* ── GPS pulse ── */
.hm-gps-dot {
  position: absolute; top: 50%; left: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: #5ec98d;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(94,201,141,.7);
}
.hm-gps-pulse {
  position: absolute; top: 50%; left: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(94,201,141,.25);
  transform: translate(-50%, -50%);
  animation: hmGpsPulse 2.2s ease-out infinite;
}
@keyframes hmGpsPulse {
  0%   { opacity: .9; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0;  transform: translate(-50%, -50%) scale(8.5); }
}

/* ── Duo de tarjetas oscuras (IA + CIA) ──────────────────── */
.hm-dark-duo {
  background: var(--bg);
  padding: 80px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hm-dark-card {
  background: #0a0a0a;
  border-radius: 24px;
  padding: 52px 44px;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.025),
    0 24px 64px rgba(0,0,0,.45),
    0 8px 24px rgba(0,0,0,.3);
  aspect-ratio: 3 / 1.76;
  overflow: hidden;
}
.hm-dark-card .hm-label   { color: rgba(255,255,255,.3); }

/* Variante clara — tarjeta CIA */
.hm-dark-card--light {
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  box-shadow:
    0 0 0 1px rgba(0,0,0,.03),
    0 24px 64px rgba(0,0,0,.08),
    0 8px 24px rgba(0,0,0,.05);
}
.hm-dark-card--light .hm-label       { color: rgba(10,10,10,.4); }
.hm-dark-card--light .hm-dark-title  { color: #0a0a0a; }
.hm-dark-card--light .hm-dark-body   { color: rgba(10,10,10,.5); }
.hm-dark-card--light .hm-dark-divider { background: rgba(0,0,0,.12); }
.hm-dark-card--light .hm-cia-corner__name { color: rgba(10,10,10,.7); }
.hm-dark-title {
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 14px;
}
.hm-dark-divider { width: 40px; height: 2px; background: rgba(255,255,255,.15); margin: 20px 0; }
.hm-dark-body {
  font-size: 1rem;
  color: rgba(255,255,255,.38);
  line-height: 1.7;
  max-width: 520px;
}

/* ── IA grid (dentro de dark-card) ──────────────────────── */
.hm-ai-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; margin-top: 36px;
  background: rgba(255,255,255,.04);
  border-radius: 12px; overflow: hidden;
}
.hm-ai-item { background: #111; padding: 28px; }
.hm-ai-pill {
  display: inline-block;
  background: rgba(45,106,79,.18); color: #5ec98d;
  font-size: 10px; font-family: 'JetBrains Mono', monospace;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
.hm-ai-item h3 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.hm-ai-item p  { font-size: .87rem; color: rgba(255,255,255,.38); line-height: 1.7; }

/* ── CIA Triad — triángulo con esquinas ──────────────────── */
.hm-cia-tri {
  position: relative;
  margin-top: 32px;
  padding-bottom: 8px;
}
.hm-cia-tri__img {
  width: 53%;
  display: block;
  margin: -24px auto 0;
}
.hm-cia-corner {
  position: absolute;
  display: flex; flex-direction: column; gap: 7px;
}
.hm-cia-corner--top {
  top: 0; left: 50%;
  transform: translateX(-50%);
  align-items: center; text-align: center;
}
.hm-cia-corner--bl {
  bottom: 10%; left: 27%;
  align-items: flex-start; text-align: left;
}
.hm-cia-corner--br {
  bottom: 10%; right: 22%;
  align-items: flex-start; text-align: left;
}
.hm-cia-corner__name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
.hm-cia-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.hm-cia-chips--top { justify-content: center; }
.hm-cia-chip {
  padding: 4px 10px; border-radius: 999px;
  font-size: 9px; font-family: 'JetBrains Mono', monospace; letter-spacing: .05em;
}
.hm-cia-chip--green { background: rgba(45,106,79,.22); color: #5ec98d; border: 1px solid rgba(94,201,141,.2); }
.hm-cia-chip--blue  { background: rgba(29,53,87,.28);  color: #90b4d4; border: 1px solid rgba(144,180,212,.2); }
.hm-dark-card--light .hm-cia-chip--blue { background: #0a0a0a; color: #fff; border-color: transparent; }
.hm-cia-chip--red   { background: rgba(193,18,31,.16); color: #e05260; border: 1px solid rgba(224,82,96,.2); }

/* ── Compliance ──────────────────────────────────────────── */
.hm-comp { background: #fff; padding: 80px 48px; }
.hm-comp-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; margin-top: 40px;
  background: rgba(0,0,0,.06);
}
.hm-comp-item {
  background: #fff; padding: 32px 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.hm-comp-badge {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase;
  display: inline-block; padding: 4px 10px;
  border: 1px solid rgba(0,0,0,.1); border-radius: 999px;
  color: var(--muted); width: fit-content;
}
.hm-comp-item h4 { font-size: .95rem; font-weight: 700; }
.hm-comp-item p  { font-size: .85rem; color: var(--muted); line-height: 1.65; }

/* ── Integraciones ───────────────────────────────────────── */
.hm-int { background: var(--bg); padding: 80px 48px; }
.hm-int-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-top: 40px;
}
.hm-int-card {
  background: #fff; border: 1px solid rgba(0,0,0,.07);
  border-radius: 12px; padding: 22px 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.hm-int-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.hm-int-card h4 { font-size: .9rem; font-weight: 700; }
.hm-int-card p  { font-size: .82rem; color: var(--muted); line-height: 1.55; }

/* ── Logos ───────────────────────────────────────────────── */
.hm-logos { background: #fff; padding: 80px 48px; }
.hm-logos-grid {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  margin-top: 40px;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 14px; overflow: hidden;
}
.hm-logo-cell {
  flex: 1; min-width: 140px; max-width: 200px;
  padding: 32px 20px;
  border-right: 1px solid rgba(0,0,0,.07);
  border-bottom: 1px solid rgba(0,0,0,.07);
  display: flex; align-items: center; justify-content: center;
  filter: grayscale(1); opacity: .38;
  transition: opacity .25s, filter .25s;
  text-align: center;
}
.hm-logo-cell:hover { opacity: 1; filter: none; }
.hm-logo-txt { font-size: .85rem; font-weight: 700; color: var(--black); line-height: 1.35; }

/* ── Reviews carousel ────────────────────────────────────── */
.hm-rev { background: #fff; padding: 80px 0; }
.hm-rev > .hm-container { padding: 0 48px; margin-bottom: 40px; }
.hm-rev-wrap { position: relative; padding: 0 48px; }
.hm-rev-viewport { overflow: hidden; }
.hm-rev-track {
  display: flex;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.hm-rev-slide {
  min-width: 100%;
  display: flex;
  gap: 20px;
}
.hm-rev-card {
  flex: 1;
  background: #f5f4f1;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 24px;
  padding: 36px 32px;
  position: relative;
  box-sizing: border-box;
  box-shadow: 0 2px 12px rgba(0,0,0,.05), 0 8px 32px rgba(0,0,0,.04);
}
.hm-rev-google {
  position: absolute; top: 28px; right: 28px;
  font-weight: 700; font-size: 15px;
}
.hm-rev-google span:nth-child(1) { color: #4285F4; }
.hm-rev-google span:nth-child(2) { color: #EA4335; }
.hm-rev-google span:nth-child(3) { color: #FBBC05; }
.hm-rev-google span:nth-child(4) { color: #4285F4; }
.hm-rev-google span:nth-child(5) { color: #34A853; }
.hm-rev-google span:nth-child(6) { color: #EA4335; }
.hm-rev-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.hm-rev-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; color: #fff; flex-shrink: 0;
}
.hm-rev-name { font-weight: 700; font-size: 15px; }
.hm-rev-role { font-size: 12px; color: var(--muted); }
.hm-rev-stars { color: #f59e0b; font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.hm-rev-text { font-size: .95rem; color: var(--muted); line-height: 1.75; max-width: 680px; }
.hm-rev-date {
  margin-top: 14px;
  font-size: 11px; color: rgba(0,0,0,.22);
  font-family: 'JetBrains Mono', monospace;
}
.hm-rev-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-top: 24px;
}
.hm-rev-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid rgba(0,0,0,.1);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--black);
  transition: background .15s, color .15s;
}
.hm-rev-btn:hover { background: var(--black); color: #fff; border-color: var(--black); }
.hm-rev-dots { display: flex; gap: 8px; align-items: center; }
.hm-rev-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(0,0,0,.15); cursor: pointer;
  transition: background .15s; border: none; padding: 0;
}
.hm-rev-dot--on { background: var(--black); }

/* ── Precios ─────────────────────────────────────────────── */
.hm-pricing { background: var(--bg); padding: 80px 48px; }
.hm-pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; margin-top: 48px;
  background: rgba(0,0,0,.06);
  border-radius: 16px; overflow: hidden;
}
.hm-price-card { background: #fff; padding: 40px; position: relative; }
.hm-price-card--on { background: var(--black); color: #fff; }
.hm-price-name {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  text-transform: uppercase; letter-spacing: .15em;
  color: var(--muted); margin-bottom: 14px;
}
.hm-price-card--on .hm-price-name { color: rgba(255,255,255,.38); }
.hm-price-amt { font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: 6px; letter-spacing: -.03em; }
.hm-price-per { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.hm-price-card--on .hm-price-per { color: rgba(255,255,255,.38); }
.hm-price-hr { height: 1px; background: rgba(0,0,0,.07); margin: 20px 0; }
.hm-price-card--on .hm-price-hr { background: rgba(255,255,255,.09); }
.hm-price-feat {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 11px; font-size: 14px;
}
.hm-price-feat .ok { color: #2d6a4f; font-size: 15px; flex-shrink: 0; }
.hm-price-feat .ok.lt { color: #5ec98d; }
.hm-price-feat .no { color: rgba(0,0,0,.22); font-size: 15px; flex-shrink: 0; }
.hm-price-card--on .hm-price-feat { color: rgba(255,255,255,.7); }
.hm-price-cta {
  display: block; margin-top: 24px; padding: 13px 0;
  text-align: center;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 8px;
  font-weight: 700; font-size: 14px; text-decoration: none;
  color: var(--text); transition: background .15s;
}
.hm-price-cta:hover { background: var(--bg); }
.hm-price-card--on .hm-price-cta { background: #fff; color: var(--black); border-color: transparent; }
.hm-price-card--on .hm-price-cta:hover { opacity: .88; }
.hm-price-pop {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255,255,255,.09); color: rgba(255,255,255,.55);
  font-size: 10px; font-family: 'JetBrains Mono', monospace;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}

/* ── FAQ (acordeón) ──────────────────────────────────────── */
.hm-faq { background: var(--bg); padding: 80px 48px; }
.hm-faq-list { margin-top: 40px; max-width: 760px; }
.hm-faq-item { border-bottom: 1px solid rgba(0,0,0,.08); }
.hm-faq-q {
  width: 100%;
  background: none; border: none; padding: 22px 0;
  font-family: inherit; font-weight: 700; font-size: .98rem;
  color: var(--black); text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.hm-faq-q::after {
  content: '+';
  font-weight: 300; font-size: 1.5rem; color: var(--muted);
  flex-shrink: 0; line-height: 1;
  transition: transform .2s;
}
.hm-faq-item.is-open .hm-faq-q::after { content: '−'; }
.hm-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.hm-faq-a p { font-size: .9rem; color: var(--muted); line-height: 1.75; max-width: 640px; padding-bottom: 20px; }
.hm-faq-item.is-open .hm-faq-a { max-height: 400px; }

/* ── CTA Final ───────────────────────────────────────────── */
.hm-cta {
  background: #ffffff; text-align: center;
  padding: 0; position: relative; overflow: hidden;
}
.hm-cta::before { content: none; }
.hm-cta .hm-label { color: rgba(255,255,255,.3); }
.hm-cta .hm-title { color: #fff; font-size: clamp(33px, 5.7vw, 69px); }
.hm-cta .hm-body  { color: #fff; margin: 0 auto 40px; }
.hm-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hm-btn-w {
  background: #fff; color: var(--black);
  padding: 16px 40px; border-radius: 8px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  transition: opacity .15s;
}
.hm-btn-w:hover { opacity: .88; }
.hm-btn-g {
  background: transparent; color: rgba(255,255,255,.6);
  padding: 16px 40px; border-radius: 8px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  border: 1px solid rgba(255,255,255,.18);
  transition: border-color .15s, color .15s;
}
.hm-btn-g:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.hm-cta-note {
  margin-top: 24px; font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: rgba(255,255,255,.18); letter-spacing: .06em;
}
.hm-cta__robot {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 1300px;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

/* ── Footer ──────────────────────────────────────────────── */
.hm-footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 48px; color: rgba(255,255,255,.3); font-size: 13px;
}
.hm-footer__inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px;
}
.hm-footer__brand-logo { height: 22px; width: auto; margin-bottom: 10px; display: block; filter: brightness(0) invert(1); }
.hm-footer__copy { font-size: 11px; color: rgba(255,255,255,.14); }
.hm-footer__h {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,255,255,.22); margin-bottom: 16px;
}
.hm-footer__links { display: flex; flex-direction: column; gap: 10px; }
.hm-footer__links a { color: rgba(255,255,255,.32); text-decoration: none; transition: color .15s; }
.hm-footer__links a:hover { color: rgba(255,255,255,.72); }

/* ── Tarifas ─────────────────────────────────────────────── */
.hm-tarifas-wrap {
  background: #F0EEF7;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}
.hm-tarifas-img {
  width: 75%;
  display: block;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hm-how-grid       { grid-template-columns: repeat(2, 1fr); }
  .hm-dash__body     { grid-template-columns: 1fr; }
  .hm-dash__side     { display: none; }
  .hm-dash__kpis     { grid-template-columns: repeat(2, 1fr); }
  .hm-sol-bento      { grid-template-columns: repeat(2, 1fr); }
  .hm-sol-r2         { grid-row: span 1; }
  .hm-dark-duo       { padding: 60px 24px; gap: 16px; }
  .hm-dark-card      { aspect-ratio: unset; }
  .hm-ai-grid        { grid-template-columns: 1fr; }
  .hm-cia-tri__img   { width: 90%; }
  .hm-cia-corner     { position: static; text-align: center; align-items: center; }
  .hm-cia-tri        { display: flex; flex-direction: column; align-items: center; gap: 20px; }
  .hm-comp-grid      { grid-template-columns: repeat(2, 1fr); }
  .hm-int-grid       { grid-template-columns: repeat(2, 1fr); }
  .hm-pricing-grid   { grid-template-columns: 1fr; }
  .hm-footer__inner  { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .hm-header         { padding: 16px 24px; }
  .hm-nav            { display: none; }
  .hm-hero           { padding: 28px 24px 56px; }
  .hm-hero__title    { font-size: clamp(36px, 11vw, 64px); }
  .hm-sol__header    { padding: 56px 24px 32px; }
  .hm-sol-bento      { grid-template-columns: 1fr; }
  .hm-sol-c2         { grid-column: span 1; }
  .hm-sol-card       { padding: 28px 24px; }
  .hm-sol-deco       { display: none; }
  .hm-how, .hm-dash-wrap, .hm-ai, .hm-cia,
  .hm-comp, .hm-int, .hm-logos, .hm-rev,
  .hm-pricing, .hm-faq, .hm-cta, .hm-footer { padding: 60px 24px; }
  .hm-how-grid       { grid-template-columns: 1fr; }
  .hm-comp-grid      { grid-template-columns: 1fr; }
  .hm-footer__inner  { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   VOICE AGENT — Habla con Theresa
   ════════════════════════════════════════════════════════════ */

/* ── Botón CTA ── */
.voice-cta-container {
  margin-top: 28px;
}

/* Píldora dos colores: zona logo blanca + zona texto marrón */
.voice-cta-btn {
  display: inline-flex;
  align-items: stretch;
  padding: 0;
  background: #e3dacc;
  color: #2a1f1a;
  border: none;
  border-radius: 100px;
  font-size: 18px;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
  transition: background .18s, transform .15s, box-shadow .18s;
  white-space: nowrap;
}
.voice-cta-btn:hover {
  background: #d4cbbf;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.voice-cta-btn:active { transform: scale(.97); }
/* Zona izquierda blanca con el logo + línea divisoria */
.voice-cta-btn__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 7px 15px;
  border-right: 1px solid rgba(10,10,10,.14);
}
.voice-cta-btn__txt {
  display: flex;
  align-items: center;
  padding: 13px 32px;
}
.voice-cta-img {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

/* ── Modal overlay ── */
.voice-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.voice-modal__inner {
  background: #fff;
  border-radius: 24px;
  max-width: 460px; width: 100%;
  padding: 44px 36px 36px;
  position: relative; text-align: center;
  box-shadow: 0 32px 80px rgba(0,0,0,.25);
}
.voice-modal__close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: 0;
  font-size: 28px; color: rgba(10,10,10,.35);
  cursor: pointer; line-height: 1;
  transition: color .15s;
}
.voice-modal__close:hover { color: #0a0a0a; }

/* ── Estados ── */
.voice-state h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 22px; font-weight: 800;
  color: #0a0a0a; letter-spacing: -.02em;
  margin: 0 0 14px;
}
.voice-modal__desc {
  font-size: 14px; line-height: 1.6;
  color: rgba(10,10,10,.55); margin-bottom: 18px;
}
.voice-modal__legal {
  font-size: 12px; color: rgba(10,10,10,.4);
  margin-bottom: 28px;
}
.voice-modal__legal a { color: #0a0a0a; text-decoration: underline; }

.voice-modal__actions {
  display: flex; gap: 12px; justify-content: center;
}

/* ── Botones modal ── */
.voice-btn-primary, .voice-btn-secondary, .voice-btn-end {
  padding: 12px 24px; border-radius: 100px;
  font-weight: 700; font-size: 14px; font-family: 'Manrope', sans-serif;
  border: 0; cursor: pointer;
  transition: opacity .15s, transform .12s;
}
.voice-btn-primary, .voice-btn-secondary, .voice-btn-end {
  display: inline-block;
}
.voice-btn-primary:active, .voice-btn-secondary:active { transform: scale(.97); }

.voice-btn-primary  { background: #0a0a0a; color: #fff; }
.voice-btn-primary:hover { opacity: .8; }

.voice-btn-secondary {
  background: transparent; color: rgba(10,10,10,.5);
  border: 1px solid rgba(10,10,10,.12);
}
.voice-btn-secondary:hover { background: rgba(10,10,10,.04); }

.voice-btn-end {
  background: #dc2626; color: #fff; margin-top: 24px;
}
.voice-btn-end:hover { opacity: .85; }

/* ── Orb pulsante ── */
.voice-orb {
  width: 140px; height: 140px;
  margin: 16px auto;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.voice-orb__pulse {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(10,10,10,.15), transparent 65%);
  animation: voice-pulse 2s ease-in-out infinite;
}
.voice-orb__core {
  width: 80px; height: 80px; border-radius: 50%;
  background: #0a0a0a;
  box-shadow: 0 0 0 8px rgba(10,10,10,.08), 0 0 40px rgba(10,10,10,.15);
  animation: voice-core-beat 2s ease-in-out infinite;
}
@keyframes voice-pulse {
  0%,100% { transform: scale(1);   opacity: .5; }
  50%      { transform: scale(1.3); opacity: .2; }
}
@keyframes voice-core-beat {
  0%,100% { box-shadow: 0 0 0 8px rgba(10,10,10,.08), 0 0 40px rgba(10,10,10,.15); }
  50%      { box-shadow: 0 0 0 14px rgba(10,10,10,.05), 0 0 60px rgba(10,10,10,.2); }
}

.voice-active-status {
  font-size: 14px; color: rgba(10,10,10,.5);
  margin: 14px 0 6px;
  font-family: 'Manrope', sans-serif;
}
.voice-timer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px; font-weight: 700; color: #0a0a0a;
  letter-spacing: .04em;
}

/* ── Lead form ── */
#voice-lead-form {
  margin: 18px 0;
  display: flex; flex-direction: column; gap: 10px;
}
#voice-lead-form input {
  padding: 12px 16px;
  border: 1px solid rgba(10,10,10,.12); border-radius: 12px;
  font-size: 14px; font-family: 'Manrope', sans-serif;
  outline: none; transition: border-color .15s;
}
#voice-lead-form input:focus { border-color: #0a0a0a; }

/* ── Orb imagen pantalla final ── */
.voice-ended__orb {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  display: block;
  animation: voice-ended-float 3s ease-in-out infinite;
}
@keyframes voice-ended-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .voice-modal__inner { padding: 36px 20px 28px; }
  .voice-cta-btn { font-size: 15px; }
  .voice-cta-btn__txt { padding: 11px 26px; }
  .voice-orb { width: 110px; height: 110px; }
  .voice-orb__core { width: 64px; height: 64px; }
  .voice-ended__orb { width: 72px; height: 72px; }
}

/* ── Footer — texto un tono más claro (logo intacto) ── */
.hm-footer { color: rgba(255,255,255,.48); }
.hm-footer__copy { color: rgba(255,255,255,.28); }
.hm-footer__h    { color: rgba(255,255,255,.40); }
.hm-footer__links a { color: rgba(255,255,255,.52); }
.hm-footer__links a:hover { color: rgba(255,255,255,.85); }

/* ============================================
   NAV MÓVIL — DRILLDOWN ESTILO iOS
   Solo activo < 768px. Desktop intacto.
   ============================================ */

/* Botón hamburguesa: oculto en desktop */
.mobile-nav-toggle {
  display: none;
  background: #f4f4f2;
  border: 1px solid #e8e8e6;
  border-radius: 9px;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  color: #0a0a0a;
}

/* Drawer y backdrop: ocultos en desktop */
.mobile-nav-backdrop, .mobile-nav-drawer { display: none; }

@media (max-width: 768px) {
  /* Mostrar hamburguesa */
  .mobile-nav-toggle { display: inline-flex; }

  /* Ocultar nav desktop y botón login (ya está en el drawer) */
  .hm-nav { display: none !important; }
  .hm-cta-top { display: none !important; }

  /* Backdrop oscuro */
  .mobile-nav-backdrop {
    display: block;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.45);
    opacity: 0; pointer-events: none;
    transition: opacity .25s ease;
    z-index: 9998;
    backdrop-filter: blur(2px);
  }
  .mobile-nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

  /* Panel principal */
  .mobile-nav-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; bottom: 0; left: 0;
    width: 88vw; max-width: 360px;
    background: #fafaf8;
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform .28s cubic-bezier(.2,.8,.2,1);
    overflow: hidden;
    box-shadow: 4px 0 24px rgba(0,0,0,.18);
  }
  .mobile-nav-drawer.is-open { transform: translateX(0); }

  /* Niveles */
  .mobile-nav-level {
    position: absolute; inset: 0;
    background: #fafaf8;
    display: flex; flex-direction: column;
    transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .28s ease;
    transform: translateX(100%);
    overflow-y: auto;
  }
  .mobile-nav-level--root { transform: translateX(0); }
  .mobile-nav-drawer.is-in-child .mobile-nav-level--root {
    transform: translateX(-30%);
    opacity: .35;
    pointer-events: none;
  }
  .mobile-nav-level--child.is-active { transform: translateX(0); }

  /* Header del panel */
  .mobile-nav-header {
    display: flex; align-items: center;
    gap: 8px; padding: 14px 16px;
    border-bottom: 1px solid #e8e8e6;
    background: #fafaf8;
    position: sticky; top: 0; z-index: 1;
    flex-shrink: 0;
  }
  .mobile-nav-title {
    flex: 1; text-align: center;
    font-size: 15px; font-weight: 600;
    color: #0a0a0a;
  }
  .mobile-nav-close, .mobile-nav-back {
    background: transparent; border: 0;
    padding: 6px; cursor: pointer;
    color: #0a0a0a;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px;
    width: 36px; height: 36px;
    flex-shrink: 0;
  }
  .mobile-nav-close:hover, .mobile-nav-back:hover { background: #f0f0ee; }

  /* Lista */
  .mobile-nav-list { flex: 1; padding: 6px 0; }
  .mobile-nav-item {
    display: flex !important; align-items: center !important;
    justify-content: space-between !important;
    width: 100%; padding: 15px 20px !important;
    background: transparent !important; border: 0 !important;
    border-bottom: 1px solid #f0f0ee !important;
    text-align: left !important;
    font-size: 15px !important; font-weight: 500 !important;
    color: #0a0a0a !important; text-decoration: none !important;
    font-family: inherit !important; cursor: pointer !important;
    box-sizing: border-box;
  }
  .mobile-nav-item:active { background: #f0f0ee !important; }
  .mobile-nav-item svg { color: #aaa; flex-shrink: 0; }
  .mobile-nav-item--muted {
    color: #aaa !important; cursor: default !important;
  }
  .mobile-nav-item--muted small { font-size: 11px; margin-left: 6px; }
  .mobile-nav-item--cta {
    background: var(--g-azul, #5b7a99) !important; color: #fff !important;
    margin: 14px 16px !important; border-radius: 100px !important;
    justify-content: center !important; font-weight: 700 !important;
    border-bottom: 0 !important; width: calc(100% - 32px) !important;
    letter-spacing: .04em;
  }

  /* Scroll bloqueado */
  body.mobile-nav-open { overflow: hidden; }
}

/* Modo oscuro */
[data-theme="dark"] .mobile-nav-toggle { background: #1a1a1a; border-color: #333; color: #f0f0f0; }
[data-theme="dark"] .mobile-nav-drawer,
[data-theme="dark"] .mobile-nav-level { background: #111; }
[data-theme="dark"] .mobile-nav-header { background: #111; border-bottom-color: rgba(255,255,255,.08); }
[data-theme="dark"] .mobile-nav-title,
[data-theme="dark"] .mobile-nav-close,
[data-theme="dark"] .mobile-nav-back { color: #f0f0f0; }
[data-theme="dark"] .mobile-nav-item { color: #f0f0f0 !important; border-bottom-color: rgba(255,255,255,.05) !important; }
[data-theme="dark"] .mobile-nav-item:active { background: rgba(255,255,255,.06) !important; }

/* ════════════════════════════════════════════════════════════════
   UNIFICACIÓN DE HEROS — páginas de Soluciones (mismo titular en las 17)
   ════════════════════════════════════════════════════════════════ */
.ar-hero__title, .an-hero__title, .cd-hero__title, .int-hero__title,
.ia-hero__title, .mt-hero__title, .sp-hero__title,
.fd-hero__h, .sn-hero__h,
.ch-hero__h1, .pr-hero__h1, .vf-hero__h1 {
  font-size: clamp(34px, 5vw, 62px) !important;
  line-height: 1.06 !important;
  letter-spacing: -.03em !important;
  font-weight: 800 !important;
}
