/* Home principal: ajustes de la iteración de conversión. */
.home12-hero-highlight {
  position: absolute;
  inset: 28px 28px 34px 10px;
  z-index: 4;
  pointer-events: none;
}
.home12-hero-highlight__copy {
  position: absolute;
  z-index: 3;
  display: grid;
  min-width: 132px;
  gap: 1px;
  padding: 11px 14px;
  border: 1px solid var(--home12-border);
  border-radius: 13px;
  background: color-mix(in srgb, var(--home12-surface) 96%, transparent);
  box-shadow: var(--home12-shadow-soft);
  opacity: 1;
  pointer-events: none;
  backdrop-filter: blur(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}
.home12-hero-highlight.is-switching .home12-hero-highlight__copy { opacity: .4; transform: translateY(2px); }
.home12-hero-highlight__copy span { color: var(--home12-muted); font-size: .7rem; }
.home12-hero-highlight__copy strong { font-size: .9rem; }
.home12-hero-highlight.is-zone-1 .home12-hero-highlight__copy { top: -10px; right: -14px; }
.home12-hero-highlight.is-zone-2 .home12-hero-highlight__copy { top: 64px; left: -18px; }
.home12-hero-highlight.is-zone-3 .home12-hero-highlight__copy { bottom: -12px; left: -18px; }
.home12-hero-highlight__nav {
  position: absolute;
  inset: 34px 0 42px;
  pointer-events: none;
}
.home12-hero-highlight__nav button {
  position: absolute;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  opacity: 0;
  pointer-events: auto;
  cursor: pointer;
}
.home12-hero-highlight__nav button:nth-child(1) { top: 17%; left: 54%; width: 42%; height: 32%; }
.home12-hero-highlight__nav button:nth-child(2) { top: 17%; left: 14%; width: 40%; height: 32%; }
.home12-hero-highlight__nav button:nth-child(3) { top: 51%; left: 14%; width: 42%; height: 32%; }
.home12-hero-highlight__nav button:hover,
.home12-hero-highlight__nav button:focus,
.home12-hero-highlight__nav button:focus-visible,
.home12-hero-highlight__nav button:active {
  opacity: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}

.home12-outcome-card { min-height: 250px; }
.home12-outcome-card__top { display: flex; gap: 14px; align-items: center; }
.home12-outcome-card__label { color: var(--home12-brand-strong); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.home12-outcome-card .home12-icon { width: 56px; height: 56px; }
.home12-outcome-card .home12-icon svg { width: 28px; height: 28px; }
.home12-outcome-card h3 { margin-top: 28px; }

.home12-product-demo__index { display: none; }

.home12-page .home4-pricing-grid { align-items: stretch; margin-top: 42px; }
.home12-page .home4-pricing-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: visible;
}
.home12-page .home4-pricing-card__content { display: flex; flex: 1; flex-direction: column; }
.home12-page .home4-pricing-card__description { min-height: 68px; }
.home12-page .home4-pricing-card ul { flex: 1; }
.home12-page .home4-pricing-card.has-label .home4-pricing-card__content { padding-top: 26px; }
.home12-page .home4-pricing-card .home4-pricing-card__label,
.home12-page .home4-pricing-card.is-featured p.home4-pricing-card__label {
  position: absolute;
  top: -20px;
  right: 24px;
  z-index: 3;
  margin: 0;
  transform: none;
  white-space: nowrap;
}
.home12-page .home4-pricing-card__cta { margin-top: auto; }

.home12-pricing-comparison {
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--home12-border);
  border-radius: 18px;
  background: var(--home12-surface);
  box-shadow: var(--home12-shadow-soft);
}
.home12-pricing-comparison > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  list-style: none;
  cursor: pointer;
}
.home12-pricing-comparison > summary::-webkit-details-marker { display: none; }
.home12-pricing-comparison > summary span:first-child { display: grid; gap: 4px; }
.home12-pricing-comparison > summary strong { color: var(--home12-ink); font-size: 1rem; }
.home12-pricing-comparison > summary small { color: var(--home12-muted); font-size: .82rem; line-height: 1.45; }
.home12-pricing-comparison__action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: var(--home12-brand-strong);
  font-size: .84rem;
  font-weight: 800;
}
.home12-pricing-comparison[open] .home12-pricing-comparison__action span { transform: rotate(180deg); }
.home12-pricing-comparison__action span { transition: transform 160ms ease; }
.home12-pricing-comparison__scroll { overflow-x: auto; border-top: 1px solid var(--home12-border); }
.home12-pricing-comparison table { width: 100%; min-width: 760px; border-collapse: collapse; }
.home12-pricing-comparison th,
.home12-pricing-comparison td { padding: 13px 16px; border-bottom: 1px solid var(--home12-border); text-align: center; }
.home12-pricing-comparison thead th { background: color-mix(in srgb, var(--home12-bg) 72%, var(--home12-surface)); color: var(--home12-ink); font-size: .82rem; }
.home12-pricing-comparison thead th:first-child,
.home12-pricing-comparison tbody th { width: 42%; text-align: left; }
.home12-pricing-comparison tbody th { color: var(--home12-ink); font-size: .82rem; font-weight: 650; }
.home12-pricing-comparison td { color: var(--home12-muted); font-size: .82rem; }
.home12-pricing-comparison__group th {
  padding-top: 10px;
  padding-bottom: 10px;
  background: color-mix(in srgb, var(--home12-brand) 7%, var(--home12-surface));
  color: var(--home12-brand-strong);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home12-comparison-value--included { color: #059669; font-size: 1rem; font-weight: 900; }
.home12-comparison-value--excluded { color: var(--home12-muted); opacity: .65; }

/* Igual que en factura electrónica: una única tarjeta blanca exterior.
   El formulario interior no añade un segundo borde, fondo ni padding. */
.home12-page .home12-demo__form {
  padding: 28px;
  border: 1px solid var(--home12-border);
  border-radius: 22px;
  background: var(--home12-surface);
  box-shadow: var(--home12-shadow-soft);
}
.home12-page .home12-demo__form .lead-form {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.home12-advisory-flow { overflow: hidden; border: 1px solid var(--home12-border); border-radius: 20px; background: var(--home12-bg); box-shadow: var(--home12-shadow-soft); }
.home12-advisory-flow__header { display: flex; gap: 13px; align-items: center; padding: 20px; border-bottom: 1px solid var(--home12-border); background: var(--home12-surface); }
.home12-advisory-flow__mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: var(--home12-brand); color: #fff; font-weight: 850; }
.home12-advisory-flow__header div { display: grid; gap: 2px; }
.home12-advisory-flow__header span:last-child { color: var(--home12-muted); font-size: .76rem; }
.home12-advisory-flow__items { display: grid; gap: 12px; padding: 20px; }
.home12-advisory-flow__items article { display: grid; grid-template-columns: 86px 1fr; gap: 16px; align-items: start; padding: 16px; border: 1px solid var(--home12-border); border-radius: 14px; background: var(--home12-surface); }
.home12-advisory-flow__items article > span { color: var(--home12-brand-strong); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.home12-advisory-flow__items h4 { margin: 0; color: var(--home12-ink); font-size: 1rem; }
.home12-advisory-flow__items p { margin-top: 5px; font-size: .84rem; line-height: 1.55; }

@media (max-width: 620px) {
  .home12-hero-highlight { inset: 22px 0 30px; }
  .home12-hero-highlight__copy,
  .home12-hero-highlight.is-zone-1 .home12-hero-highlight__copy,
  .home12-hero-highlight.is-zone-2 .home12-hero-highlight__copy,
  .home12-hero-highlight.is-zone-3 .home12-hero-highlight__copy {
    top: auto;
    right: 0;
    bottom: -12px;
    left: 0;
    width: 100%;
    min-width: 0;
  }
  .home12-hero-highlight__nav { inset: 34px 0 50px; }
  .home12-outcome-card h3 { margin-top: 24px; }
  .home12-advisory-flow__items article { grid-template-columns: 1fr; gap: 7px; }
  .home12-page .home4-pricing-card.has-label .home4-pricing-card__content { padding-top: 22px; }
  .home12-page .home12-demo__form { padding: 22px; }
  .home12-pricing-comparison > summary { align-items: flex-start; padding: 18px; }
  .home12-pricing-comparison__action { padding-top: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .home12-hero-highlight__copy,
  .home12-pricing-comparison__action span { transition: none; }
}
