/* =========================================================================
   Portada nueva. Se carga después de premium.css y premium-glass.css, y usa
   sus variables (--premium-*), así que hereda claro y oscuro sin duplicar.
   Prefijo hm-: solo vive en la portada.
   ========================================================================= */

/* ------------------------------------------------------------ base */
.hm-anchor { position: absolute; width: 0; height: 0; overflow: hidden; }
.hm-head { max-width: 820px; margin: 0 0 48px; }
.hm-head h2 { margin: 0; }
.hm-lead { margin: 18px 0 0; max-width: 680px; font-size: 17px; line-height: 1.7; color: var(--premium-muted); text-wrap: pretty; }
.hm-card { border: 1px solid var(--premium-line); border-radius: 18px; background: var(--premium-surface); padding: 28px; min-width: 0; }
.hm-tag { margin: 0 0 14px; font: 600 11px/1.4 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--premium-accent); }
.hm-tag--muted { color: var(--premium-muted); }
.hm-note { margin: 0; font-size: 12px; line-height: 1.6; color: var(--premium-muted); }
.hm-more { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--premium-accent); }
.hm-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.hm-flow-foot { margin: 36px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 14px; color: var(--premium-muted); }
kbd { padding: 2px 7px; border: 1px solid var(--premium-line); border-bottom-width: 2px; border-radius: 6px; background: var(--premium-bg); font: 500 12px 'JetBrains Mono', ui-monospace, monospace; color: var(--premium-ink); }
.hm-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.hm-split .premium-list { margin: 0; }
.hm-split .premium-list li { font-size: 14px; }
.hm-split .premium-list strong { font-size: 16px; margin-bottom: 4px; letter-spacing: -.01em; }

/* ------------------------------------------------------------ hero */
.premium-hero--home .hm-trust { margin: 22px 0 0; font: 500 12px/1.7 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .02em; color: var(--premium-muted); }
.hm-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hm-chip { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border: 1px solid var(--premium-line); border-radius: 999px; background: var(--premium-surface); font-size: 12.5px; font-weight: 600; color: var(--premium-ink); }
.hm-chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--premium-accent); }

/* ------------------------------------------------------------ cinta: flechas en lugar de puntos */
.hm-ticker .fa-ticker-grupo span::before { content: '→'; width: auto; height: auto; border-radius: 0; background: none; opacity: 1; font-size: 13px; letter-spacing: 0; color: var(--premium-accent); }
@media (max-width: 639px) { .hm-ticker .fa-ticker-grupo span::before { width: auto; height: auto; font-size: 11px; } }

/* ------------------------------------------------------------ antes y después */
.hm-ba { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hm-ba-card { display: flex; flex-direction: column; padding: 30px; }
.hm-ba-card h3 { margin: 0; font-family: 'Plus Jakarta Sans', Inter, sans-serif; font-weight: 800; font-size: 21px; line-height: 1.3; letter-spacing: -.03em; }
.hm-ba-sep { height: 1px; margin: 24px 0 22px; background: var(--premium-line); }
.hm-ba-text { margin: 0; font-size: 15px; line-height: 1.7; color: var(--premium-muted); }

/* ------------------------------------------------------------ recorrido */
.hm-flow { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.5fr); gap: 64px; align-items: start; }
.hm-flow .hm-stage { grid-column: 2; grid-row: 1; position: sticky; top: 104px; z-index: 2; }
.hm-steps { grid-column: 1; grid-row: 1; margin: 0; padding: 0; list-style: none; }
.hm-step { min-height: 36vh; padding-top: 4px; opacity: .4; transition: opacity .3s; }
.hm-step.is-active { opacity: 1; }
.hm-step:last-child { min-height: 0; padding-bottom: 12vh; }
.hm-step-btn { display: flex; align-items: center; gap: 14px; padding: 0; border: 0; background: none; font: 800 23px/1.25 'Plus Jakarta Sans', Inter, sans-serif; letter-spacing: -.03em; color: var(--premium-ink); text-align: left; cursor: pointer; }
.hm-step-btn:focus-visible { outline: 3px solid var(--premium-accent); outline-offset: 6px; border-radius: 8px; }
.hm-step-n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--premium-line); border-radius: 50%; font: 600 12px 'JetBrains Mono', ui-monospace, monospace; color: var(--premium-muted); transition: background .3s, color .3s, border-color .3s; }
.hm-step.is-active .hm-step-n { border-color: var(--premium-accent); background: var(--premium-accent); color: #04221a; }
.hm-step p { margin: 14px 0 0 48px; max-width: 440px; font-size: 15px; line-height: 1.7; color: var(--premium-muted); }
.hm-panes { display: grid; }
.hm-pane { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.hm-pane.is-active { opacity: 1; visibility: visible; }
.hm-shot { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: #0b1321; }
.hm-stage figcaption { position: relative; }
.hm-flow-foot a, .hm-flow-foot .hm-more { margin-left: 0; }

/* ------------------------------------------------------------ diagramas (circuito ilustrativo) */
.hm-diagram { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; padding: 28px 26px; min-height: 250px; background: var(--premium-bg); }
.hm-dg-row { display: grid; gap: 12px; }
.hm-dg-row--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hm-dg-row--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hm-dg-row--center { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.hm-dg-row--center .hm-dg-node { width: min(100%, 420px); }
.hm-dg-node { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--premium-line); border-radius: 12px; background: var(--premium-surface); text-align: left; }
.hm-dg-node strong { font: 700 14px/1.3 'Plus Jakarta Sans', Inter, sans-serif; color: var(--premium-ink); letter-spacing: -.01em; }
.hm-dg-node span { font-size: 12px; line-height: 1.5; color: var(--premium-muted); }
.hm-dg-node--main { border-color: color-mix(in srgb, var(--premium-accent) 55%, var(--premium-line)); }
.hm-dg-node--ok { border-color: color-mix(in srgb, var(--premium-accent) 55%, var(--premium-line)); background: color-mix(in srgb, var(--premium-accent) 9%, var(--premium-surface)); }
.hm-dg-node--warn { border-color: #d9a23a99; background: color-mix(in srgb, #d9a23a 11%, var(--premium-surface)); }
.hm-dg-arrows { display: flex; justify-content: center; gap: 24%; height: 34px; align-items: center; }
.hm-dg-arrows--3 { gap: 22%; }
.hm-dg-arrows i { display: block; width: 1.5px; height: 100%; background: linear-gradient(var(--premium-line), var(--premium-accent)); position: relative; }
.hm-dg-arrows i::after { content: ''; position: absolute; bottom: -1px; left: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--premium-accent); border-bottom: 1.5px solid var(--premium-accent); transform: translateX(-50%) rotate(45deg); }
.hm-dgcard { padding: 0; overflow: hidden; position: sticky; top: 110px; }
.hm-dgcard .hm-diagram { min-height: 420px; }
.hm-dgcard figcaption { padding: 14px 20px; border-top: 1px solid var(--premium-line); font-size: 11px; line-height: 1.6; color: var(--premium-muted); }

/* ------------------------------------------------------------ Argentina (bento) */
.hm-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(190px, auto); gap: 18px; }
.hm-bento-card { display: flex; flex-direction: column; padding: 26px; }
.hm-bento-card h3 { margin: 0 0 10px; font-family: 'Plus Jakarta Sans', Inter, sans-serif; font-weight: 800; font-size: 18px; line-height: 1.3; letter-spacing: -.025em; }
.hm-bento-card p:last-child { margin: 0; font-size: 14px; line-height: 1.7; color: var(--premium-muted); }
.hm-bento-card--big { grid-column: span 2; grid-row: span 2; justify-content: flex-end; padding: 36px; background: radial-gradient(ellipse at 20% 0%, color-mix(in srgb, var(--premium-accent) 14%, transparent), transparent 65%), var(--premium-surface); }
.hm-bento-card--big h3 { font-size: 30px; line-height: 1.15; letter-spacing: -.04em; }
.hm-bento-card--big p:last-child { font-size: 16px; max-width: 460px; }

/* ------------------------------------------------------------ IA */
.hm-ia-panel { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 20px; padding: 30px; }
.hm-ia-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hm-ia-top strong { font: 800 18px 'Plus Jakarta Sans', Inter, sans-serif; letter-spacing: -.02em; }
.hm-switch { position: relative; flex: none; width: 52px; height: 30px; padding: 0; border: 1px solid var(--premium-line); border-radius: 999px; background: var(--premium-bg); cursor: pointer; transition: background .25s, border-color .25s; }
.hm-switch[aria-checked="true"] { border-color: var(--premium-accent); background: var(--premium-accent); }
.hm-switch-knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--premium-ink); transition: transform .25s; }
.hm-switch[aria-checked="true"] .hm-switch-knob { transform: translateX(22px); background: #04221a; }
.hm-switch:focus-visible { outline: 3px solid var(--premium-accent); outline-offset: 4px; }
.hm-ia-state { margin: 0; font: 600 12px 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--premium-accent); }
.hm-ia-panel.is-off .hm-ia-state { color: var(--premium-muted); }
.hm-ia-chips { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hm-ia-chips li { padding: 13px 16px; border: 1px solid var(--premium-line); border-radius: 12px; background: var(--premium-bg); font-size: 14px; font-weight: 600; transition: opacity .3s, border-color .3s; }
.hm-ia-panel.is-off .hm-ia-chips li { opacity: .35; border-style: dashed; }
.hm-ia-note { margin: 0; font-size: 14px; line-height: 1.7; color: var(--premium-muted); }

/* ------------------------------------------------------------ por tipo de operación */
.hm-tablist { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.hm-tab { padding: 12px 18px; border: 1px solid var(--premium-line); border-radius: 10px; background: var(--premium-surface); font: 700 14px 'Plus Jakarta Sans', Inter, sans-serif; color: var(--premium-muted); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.hm-tab:hover { border-color: var(--premium-accent); color: var(--premium-ink); }
.hm-tab[aria-selected="true"] { border-color: var(--premium-accent); background: color-mix(in srgb, var(--premium-accent) 12%, var(--premium-surface)); color: var(--premium-ink); }
.hm-tab:focus-visible { outline: 3px solid var(--premium-accent); outline-offset: 3px; }
.hm-tab-lead { margin: 0 0 22px; max-width: 640px; font-size: 18px; line-height: 1.6; letter-spacing: -.01em; }
.hm-mech { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.hm-mech li { padding: 22px 24px; font-size: 15px; font-weight: 600; line-height: 1.5; }
.hm-modlinks { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 0; padding: 0; list-style: none; }
.hm-modlinks a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 15px; border: 1px solid var(--premium-line); border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--premium-muted); transition: border-color .2s, color .2s; }
.hm-modlinks a:hover { border-color: var(--premium-accent); color: var(--premium-accent); }

/* ------------------------------------------------------------ seguridad: banda */
.hm-band { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 20px 26px; border: 1px solid color-mix(in srgb, var(--premium-accent) 45%, var(--premium-line)); border-radius: 16px; background: color-mix(in srgb, var(--premium-accent) 8%, var(--premium-surface)); }
.hm-band strong { font: 700 16px/1.5 'Plus Jakarta Sans', Inter, sans-serif; letter-spacing: -.01em; }
.hm-band-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--premium-accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--premium-accent) 22%, transparent); animation: hm-pulse 2.4s ease-in-out infinite; }
@keyframes hm-pulse { 50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--premium-accent) 0%, transparent); } }

/* ------------------------------------------------------------ consultoría (una línea) */
.hm-consult { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 20px; align-items: center; margin-top: 28px; padding: 22px 26px; border: 1px solid var(--premium-line); border-radius: 16px; background: var(--premium-surface); }
.hm-consult img { width: 44px; height: 44px; }
.hm-consult p { margin: 0; font-size: 15px; line-height: 1.6; }
.hm-consult small { grid-column: 2 / -1; font-size: 12px; color: var(--premium-muted); }

/* ------------------------------------------------------------ armador de alcance */
.hm-scope { display: grid; gap: 30px; padding: 34px; }
.hm-scope fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.hm-scope legend { margin: 0 0 14px; padding: 0; font: 800 16px 'Plus Jakarta Sans', Inter, sans-serif; letter-spacing: -.02em; }
.hm-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.hm-opt { position: relative; }
.hm-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.hm-opt span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--premium-line); border-radius: 10px; background: var(--premium-bg); font-size: 14px; font-weight: 600; color: var(--premium-muted); transition: border-color .2s, background .2s, color .2s; }
.hm-opt:hover span { border-color: var(--premium-accent); }
.hm-opt input:checked + span { border-color: var(--premium-accent); background: color-mix(in srgb, var(--premium-accent) 13%, var(--premium-surface)); color: var(--premium-ink); }
.hm-opt input:focus-visible + span { outline: 3px solid var(--premium-accent); outline-offset: 3px; }
.hm-scope-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding-top: 6px; border-top: 1px solid var(--premium-line); padding-top: 28px; }

/* ------------------------------------------------------------ preguntas: la columna derecha lleva lista + pie */
.hm-faq-col .hm-flow-foot { margin-top: 28px; }

/* ------------------------------------------------------------ contacto */
.hm-contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: 24px; align-items: start; }
.hm-contact-info { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 32px; }
.hm-contact-info .premium-button { justify-content: space-between; }
.hm-mail { margin: 8px 0 0; font: 600 14px 'JetBrains Mono', ui-monospace, monospace; color: var(--premium-ink); word-break: break-all; }
.hm-contact-form { padding: 32px; }
.hm-contact-form form { border: 0 !important; box-shadow: none !important; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1023px) {
  .hm-split, .hm-contact { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hm-ia-panel, .hm-dgcard { position: static; }
  .hm-ba { grid-template-columns: minmax(0, 1fr); }
  .hm-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-bento-card--big { grid-column: 1 / -1; grid-row: auto; padding: 30px; }
  .hm-bento-card--big h3 { font-size: 26px; }
  .hm-mech { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 959px) {
  .hm-flow { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hm-flow .hm-stage { grid-column: 1; grid-row: 1; top: 88px; }
  .hm-steps { grid-column: 1; grid-row: 2; }
  .hm-step { min-height: 0; padding: 26px 0 8px; }
  .hm-step-btn { font-size: 20px; }
  .hm-step p { margin-left: 48px; }
  .hm-dg-node { padding: 10px 12px; }
  .hm-diagram { padding: 18px 14px; min-height: 0; }
}
@media (max-width: 639px) {
  .hm-lead { font-size: 15.5px; }
  .hm-head { margin-bottom: 30px; }
  .hm-bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .hm-card, .hm-bento-card { padding: 22px; }
  .hm-scope, .hm-contact-info, .hm-contact-form { padding: 22px; }
  .hm-consult { grid-template-columns: auto 1fr; }
  .hm-consult .hm-more, .hm-consult small { grid-column: 1 / -1; }
  .hm-dg-node strong { font-size: 12.5px; }
  .hm-dg-node span { font-size: 11px; }
  .hm-dg-row--three { gap: 8px; }
  .hm-dgcard .hm-diagram { min-height: 0; }
  .hm-band { align-items: flex-start; padding: 16px 18px; }
  .hm-chip { font-size: 11.5px; padding: 8px 12px; }
  .hm-flow .hm-stage { top: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-step, .hm-pane, .hm-switch, .hm-switch-knob, .hm-ia-chips li { transition: none; }
  .hm-band-dot { animation: none; }
}

/* ------------------------------------------------------------ cabeceras: ganarle a las reglas heredadas
   style.css centra la primera cabecera .reveal de #modulos, #ia, #nosotros y #contacto. */
html :is(#modulos, #ia, #nosotros, #contacto) > div > .hm-head.reveal:first-child { max-width: 820px !important; margin: 0 0 48px !important; text-align: left !important; display: block !important; }
html :is(#modulos, #ia, #nosotros, #contacto) > div > .hm-head.reveal:first-child h2 { max-width: none !important; margin: 0 !important; line-height: 1.16 !important; }
html :is(#modulos, #ia, #nosotros, #contacto) > div > .hm-head.reveal:first-child p.hm-lead { max-width: 680px !important; margin: 18px 0 0 !important; }
html :is(#modulos, #ia, #nosotros, #contacto) > div > .hm-head.reveal:first-child p.premium-kicker { max-width: none !important; margin: 0 0 16px !important; justify-content: flex-start !important; }
@media (max-width: 639px) { html :is(#modulos, #ia, #nosotros, #contacto) > div > .hm-head.reveal:first-child { margin-bottom: 30px !important; } }

/* El correo de contacto es un botón más: la regla del correo visible lo agrandaba. */
#contacto .hm-contact-info a.premium-button[href^="mailto:"] { display: inline-flex; font-size: 13px; letter-spacing: normal; white-space: normal; max-width: none; }

/* ------------------------------------------------------------ /erp-argentina/ */
.hm-ar-text p { margin: 0 0 18px; font-size: 17px; line-height: 1.75; color: var(--premium-muted); text-wrap: pretty; }
.hm-ar-text p:first-child { color: var(--premium-ink); }
.hm-ar4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hm-ar4 .hm-card { padding: 24px; }
.hm-ar4 h3 { margin: 0; font: 800 17px/1.4 'Plus Jakarta Sans', Inter, sans-serif; letter-spacing: -.02em; }
.hm-ar-two { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
.hm-ar-limit { max-width: 760px; }
.hm-ar-limit p { margin: 0; font-size: 17px; line-height: 1.7; }
.hm-ar-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 44px; background: radial-gradient(ellipse at 15% 0%, color-mix(in srgb, var(--premium-accent) 14%, transparent), transparent 60%), var(--premium-surface); }
.hm-ar-cta h2 { margin: 0 0 6px; max-width: 720px; }
.hm-ar-cta .premium-actions { margin-top: 22px; }
@media (max-width: 1023px) { .hm-ar-two { grid-template-columns: minmax(0, 1fr); } .hm-ar-cta { padding: 30px; } }
@media (max-width: 639px) { .hm-ar4 { grid-template-columns: minmax(0, 1fr); } .hm-ar-text p { font-size: 16px; } }

/* Las subpáginas centran los kickers: dentro de una cabecera de sección van a la izquierda. */
.marketing-subpage .hm-head .premium-kicker { justify-content: flex-start; }

/* Tablero: la captura necesita más ancho que la lista. */
.hm-split--shot { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: center; }
@media (max-width: 1023px) { .hm-split--shot { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------ sin riesgo para empezar */
.hm-risk { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hm-risk .hm-card { display: flex; flex-direction: column; padding: 26px; }
.hm-risk-n { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 18px; border-radius: 50%; background: var(--premium-accent); font: 600 12px 'JetBrains Mono', ui-monospace, monospace; color: #04221a; }
.hm-risk h3 { margin: 0 0 10px; font: 800 18px/1.3 'Plus Jakarta Sans', Inter, sans-serif; letter-spacing: -.025em; }
.hm-risk p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--premium-muted); }
.hm-risk-not { margin-top: 18px; padding: 24px 28px; border-style: dashed; background: transparent; }
.hm-risk-not p:last-child { margin: 0; max-width: 860px; font-size: 15px; line-height: 1.7; }
@media (max-width: 1023px) { .hm-risk { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .hm-risk { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------ en desarrollo constante */
.hm-evo { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 40px; align-items: center; margin-top: 18px; padding: 32px; border: 1px solid color-mix(in srgb, var(--premium-accent) 45%, var(--premium-line)); border-radius: 18px; background: radial-gradient(ellipse at 0% 0%, color-mix(in srgb, var(--premium-accent) 13%, transparent), transparent 60%), var(--premium-surface); }
.hm-evo-head h3 { margin: 0; font: 800 24px/1.2 'Plus Jakarta Sans', Inter, sans-serif; letter-spacing: -.035em; }
.hm-evo-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.hm-evo-list li { display: flex; flex-direction: column; gap: 8px; padding-left: 18px; border-left: 2px solid var(--premium-accent); }
.hm-evo-list strong { font: 700 15px/1.35 'Plus Jakarta Sans', Inter, sans-serif; letter-spacing: -.01em; }
.hm-evo-list span { font-size: 13.5px; line-height: 1.65; color: var(--premium-muted); }
@media (max-width: 1023px) { .hm-evo { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px; } }
@media (max-width: 639px) { .hm-evo-list { grid-template-columns: minmax(0, 1fr); gap: 18px; } .hm-evo-head h3 { font-size: 21px; } }

/* ------------------------------------------------------------ ajustes de teléfono */
.hm-contact-form .hm-note a { color: var(--premium-accent); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 959px) {
  .hm-step { opacity: .55; }
  .hm-step-btn { min-height: 44px; }
  .hm-more { min-height: 44px; }
}

/* ------------------------------------------------------------ todo lo que cubre */
.hm-anchor { display: block; position: static; width: 0; height: 0; overflow: hidden; }
.hm-caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hm-cap { display: flex; flex-direction: column; padding: 28px; scroll-margin-top: 110px; transition: border-color .2s, transform .2s; }
.hm-cap:hover { border-color: var(--premium-accent); transform: translateY(-2px); }
.hm-cap h3 { margin: 0 0 10px; font: 800 20px/1.25 'Plus Jakarta Sans', Inter, sans-serif; letter-spacing: -.03em; }
.hm-cap > p:not(.hm-tag) { margin: 0 0 18px; font-size: 14.5px; line-height: 1.7; color: var(--premium-muted); }
.hm-cap-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: auto; }
@media (max-width: 1023px) { .hm-caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .hm-caps { grid-template-columns: minmax(0, 1fr); } .hm-cap { padding: 22px; } }
@media (prefers-reduced-motion: reduce) { .hm-cap { transition: none; } .hm-cap:hover { transform: none; } }

/* ------------------------------------------------------------ recorrido en teléfono: pestañas */
.hm-step-live { display: none; }
@media (max-width: 959px) {
  .hm-flow { gap: 16px; }
  .hm-steps { grid-row: 1; display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .hm-steps::-webkit-scrollbar { display: none; }
  .hm-flow .hm-stage { grid-row: 2; position: static; }
  .hm-step, .hm-step:last-child { flex: none; min-height: 0; padding: 0; opacity: 1; }
  .hm-step p { display: none; }
  .hm-step-btn { gap: 8px; min-height: 44px; padding: 6px 16px 6px 6px; border: 1px solid var(--premium-line); border-radius: 999px; background: var(--premium-surface); font-size: 14px; letter-spacing: -.01em; white-space: nowrap; }
  .hm-step-n { width: 30px; height: 30px; }
  .hm-step.is-active .hm-step-btn { border-color: var(--premium-accent); background: color-mix(in srgb, var(--premium-accent) 12%, var(--premium-surface)); }
  .hm-step-live { display: block; grid-row: 3; margin: 0; min-height: 5.2em; font-size: 15px; line-height: 1.7; color: var(--premium-muted); }
}

/* ------------------------------------------------------------ probar el sandbox e integraciones */
.hm-try { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 36px; padding: 24px 28px; border: 1px solid color-mix(in srgb, var(--premium-accent) 45%, var(--premium-line)); border-radius: 16px; background: color-mix(in srgb, var(--premium-accent) 8%, var(--premium-surface)); }
.hm-try > div { display: flex; flex-direction: column; gap: 4px; max-width: 640px; }
.hm-try strong { font: 800 19px/1.3 'Plus Jakarta Sans', Inter, sans-serif; letter-spacing: -.025em; }
.hm-try span { font-size: 14.5px; line-height: 1.65; color: var(--premium-muted); }
.hm-try .premium-button span { color: inherit; font-size: inherit; }
.hm-integ { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 36px; margin-top: 18px; padding: 22px 28px; border: 1px dashed var(--premium-line); border-radius: 16px; }
.hm-integ .hm-tag { margin: 0; }
.hm-integ ul { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 0; padding: 0; list-style: none; }
.hm-integ li { display: flex; flex-direction: column; gap: 2px; }
.hm-integ strong { font: 800 17px 'Plus Jakarta Sans', Inter, sans-serif; letter-spacing: -.02em; }
.hm-integ span { font-size: 13.5px; color: var(--premium-muted); }
@media (max-width: 639px) { .hm-try { padding: 20px; } .hm-try .premium-button { width: 100%; } .hm-integ { padding: 20px; } }

/* ------------------------------------------------------------ alcance compacto, junto al formulario */
.hm-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: stretch; }
.hm-contact .hm-scope { display: flex; flex-direction: column; gap: 20px; padding: 28px; background: radial-gradient(ellipse at 0% 0%, color-mix(in srgb, var(--premium-accent) 10%, transparent), transparent 55%), var(--premium-surface); }
.hm-scope-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; }
.hm-scope-top .hm-tag { margin: 0; }
.hm-scope-status { margin: 0; font-size: 12px; color: var(--premium-muted); }
.hm-scope-done { color: var(--premium-accent); font-weight: 600; }
.hm-scope-done::before { content: '✓ '; }
.hm-scope-label { margin: 0 0 10px; font: 600 12px/1.4 'Inter', sans-serif; color: var(--premium-muted); }
.hm-contact .hm-opts { gap: 7px; }
.hm-contact .hm-opt span { padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.hm-contact .hm-opt input:checked + span::before { content: '✓'; font-size: 11px; color: var(--premium-accent); }
.hm-scope-note { margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--premium-line); font-size: 13px; line-height: 1.6; color: var(--premium-muted); }
.hm-scope-alt { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; font-weight: 600; }
.hm-scope-alt a { display: inline-flex; align-items: center; min-height: 32px; color: var(--premium-accent); white-space: normal !important; font-size: 13px !important; letter-spacing: normal !important; }
.hm-scope-alt a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hm-contact-form { padding: 28px; }
#mensaje { transition: box-shadow .5s, border-color .5s; }
#mensaje.hm-flash { animation: hm-flash 1.1s ease-out; }
@keyframes hm-flash { 0% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--premium-accent) 55%, transparent); border-color: var(--premium-accent); } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (max-width: 1023px) { .hm-contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 639px) { .hm-contact .hm-scope, .hm-contact-form { padding: 20px; } .hm-contact .hm-opt span { padding: 9px 13px; } }
@media (prefers-reduced-motion: reduce) { #mensaje.hm-flash { animation: none; } }

/* Unified consultation panel: shared surface, deliberate internal alignment. */
#contacto .hm-contact {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--premium-line);
  border-radius: 28px;
  background: radial-gradient(ellipse at 0 0, color-mix(in srgb, var(--premium-accent) 9%, transparent), transparent 55%), var(--premium-surface);
  box-shadow: 0 24px 70px -36px rgb(0 0 0 / .4);
}
#contacto .hm-contact .hm-scope {
  padding: 36px;
  gap: 28px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
#contacto .hm-scope-top { align-items: flex-start; flex-direction: column; gap: 10px; }
#contacto .hm-scope-label { font-size: 13px; margin-bottom: 12px; }
#contacto .hm-contact-form {
  min-width: 0;
  padding: 36px;
  border-left: 1px solid var(--premium-line);
  background: color-mix(in srgb, var(--premium-surface) 50%, transparent);
}
#contacto .hm-contact-form form { padding: 0; margin: 0; background: transparent; }
#contacto .hm-contact-form input,
#contacto .hm-contact-form textarea { transition: border-color .2s, box-shadow .2s; }
#contacto .hm-contact-form textarea { min-height: 128px; resize: vertical; }
#contacto .hm-contact-verification { min-width: 0; }
#contacto #turnstileWidget { display: flex; justify-content: flex-start; margin: 0; max-width: 100%; }
#contacto .hm-contact-form button[type="submit"] { min-height: 52px; border-radius: 12px; }
#contacto .hm-contact-form .hm-note { margin: 0; font-size: 12px; line-height: 1.7; }
#contacto .hm-contact-footer {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding: 22px 36px;
  border-top: 1px solid var(--premium-line);
  background: color-mix(in srgb, var(--premium-accent) 3%, transparent);
}
#contacto .hm-scope-note { margin: 0; padding: 0; border: 0; max-width: 410px; font-size: 12px; }
#contacto .hm-scope-alt { gap: 8px 20px; }
#contacto .hm-opt input:focus-visible + span { outline: 2px solid var(--premium-accent); outline-offset: 4px; }
@media (max-width: 1023px) {
  #contacto .hm-contact-form { border-left: 0; border-top: 1px solid var(--premium-line); }
}
@media (max-width: 639px) {
  #contacto .hm-contact { border-radius: 20px; }
  #contacto .hm-contact .hm-scope, #contacto .hm-contact-form { padding: 24px 18px; }
  #contacto .hm-contact-footer { padding: 20px 18px; }
  #contacto .hm-scope-alt { flex-direction: column; align-items: flex-start; gap: 2px; }
}
