/* ==========================================================================
   ¡A VENDER! — Sistema visual del sitio
   Orden de carga: tailwind.css → fonts.css → main.css → site.css
   Los tokens viven aquí. Ningún color, radio o sombra se repite a mano en
   las plantillas cuando existe un token.
   ========================================================================== */

:root {
  --bg: #0a0a14;
  --bg-soft: #0d0d19;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: #141425;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --subtle: rgba(255, 255, 255, 0.46);
  --pink: #f72585;
  --rose: #ff5ca8;
  --cyan: #4cc9f0;
  --blue: #3a86ff;
  --violet: #9d4edd;
  --green: #34d399;
  --red: #ff6b8b;
  --r-sm: 0.75rem;
  --r-md: 1rem;
  --r-lg: 1.9rem;
  --r-xl: 2.5rem;
  --r-pill: 999px;
  --gradient-brand: linear-gradient(105deg, #f72585 0%, #7b2cbf 52%, #4cc9f0 115%);
  --gradient-cta: linear-gradient(135deg, #f72585 0%, #c026d3 52%, #4cc9f0 100%);
  --gradient-text: linear-gradient(96deg, #ff5ca8 0%, #c77dff 48%, #4cc9f0 100%);
  --shadow-card: 0 30px 70px -42px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  --shadow-card-hover: 0 34px 84px -40px rgba(0, 0, 0, 1), 0 0 0 1px rgba(76, 201, 240, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --shadow-cta: 0 18px 40px -18px rgba(225, 29, 116, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background:
    radial-gradient(1100px 700px at 10% -12%, rgba(247, 37, 133, 0.075), transparent 62%),
    radial-gradient(1000px 700px at 94% 2%, rgba(76, 201, 240, 0.07), transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, black 15%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, black 15%, transparent 75%);
}

::selection {
  background: rgba(247, 37, 133, 0.38);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

img {
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   Navegación
   -------------------------------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 0.9rem 1.5rem 0;
  pointer-events: none;
}

.nav-inner {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.45rem 0.55rem 0.45rem 0.7rem;
  min-height: 4.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  pointer-events: auto;
  background: rgba(10, 10, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-pill);
  box-shadow: 0 22px 55px -34px rgba(0, 0, 0, 1);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.42rem;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: #fff;
}

.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.55rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.28);
}

.mobile-menu {
  display: none;
  max-width: 80rem;
  margin: 0.5rem auto 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(10, 10, 20, 0.97);
  box-shadow: 0 30px 70px -30px #000;
  pointer-events: auto;
  overflow: hidden;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu .nav-link {
  padding: 0.85rem 0.25rem;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu .btn {
  margin-top: 0.9rem;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Marca
   -------------------------------------------------------------------------- */
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  border-radius: var(--r-pill);
  background: var(--gradient-brand);
  border-bottom: 2px solid rgba(0, 0, 0, 0.25);
  box-shadow: 0 12px 28px -14px rgba(247, 37, 133, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transform: rotate(-2deg);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.brand:hover .brand-pill {
  transform: rotate(0deg) translateY(-1px);
  box-shadow: 0 16px 34px -14px rgba(76, 201, 240, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.brand-icon {
  width: 1.3rem;
  height: 1.3rem;
  color: #fff;
  flex-shrink: 0;
}

.brand-word {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.brand-pill--sm {
  gap: 0.45rem;
  padding: 0.42rem 0.78rem;
  border-bottom-width: 1px;
}

.brand-pill--sm .brand-icon {
  width: 1rem;
  height: 1rem;
}

.brand-pill--sm .brand-word {
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.2rem;
  padding: 0.88rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.005em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

.btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: 0.5;
  pointer-events: none;
}

.btn-primary {
  background: #ffffff;
  color: #0a0a14;
  box-shadow: 0 18px 42px -24px rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
  background: #f4f4f7;
  box-shadow: 0 24px 52px -24px rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.38);
}

.btn-gradient {
  background: var(--gradient-cta);
  box-shadow: var(--shadow-cta);
}

.btn-gradient:hover {
  box-shadow: 0 24px 52px -18px rgba(76, 201, 240, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.btn-ghost {
  min-height: auto;
  padding: 0.35rem 0.25rem;
  border-color: transparent;
  background: transparent;
  color: var(--cyan);
}

.btn-ghost:hover {
  color: #fff;
  transform: none;
}

.btn-sm {
  min-height: 2.45rem;
  padding: 0.62rem 1rem;
  font-size: 0.84rem;
}

.btn-lg {
  min-height: 3.85rem;
  padding: 1.1rem 2rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* Compatibilidad con páginas antiguas que usan .btn-glow */
.btn-glow {
  position: relative;
  overflow: hidden;
  transition: transform 0.18s var(--ease), box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease;
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px -22px rgba(76, 201, 240, 0.55);
}

/* --------------------------------------------------------------------------
   Tarjetas
   -------------------------------------------------------------------------- */
.glass-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(247, 37, 133, 0.055), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.024) 100%);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.24s var(--ease), border-color 0.24s ease, box-shadow 0.24s ease,
    background 0.24s ease;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  pointer-events: none;
}

.glass-card:hover {
  transform: none;
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(247, 37, 133, 0.045), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.062) 0%, rgba(255, 255, 255, 0.026) 100%);
  border-color: var(--line);
}

a.glass-card:hover,
button.glass-card:hover,
.card-hover:hover {
  transform: translateY(-5px);
  border-color: rgba(247, 37, 133, 0.4);
  box-shadow: var(--shadow-card-hover);
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(247, 37, 133, 0.08), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.032) 100%);
}

.card-pad {
  padding: 1.5rem;
}

.card-pad-lg {
  padding: 2rem;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.15rem;
  border-radius: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, rgba(247, 37, 133, 0.9), rgba(157, 78, 221, 0.86) 55%, rgba(58, 134, 255, 0.9));
  box-shadow: 0 12px 26px -14px rgba(247, 37, 133, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.card-icon--soft {
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(247, 37, 133, 0.13), rgba(76, 201, 240, 0.09));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.card-eyebrow {
  margin: 0 0 0.5rem;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-title {
  margin: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
}

.card-text {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  color: var(--cyan);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

/* Tarjetas de funciones / pasos */
.feature-card {
  padding: 1.65rem;
}

.feature-card .card-icon {
  margin-bottom: 1.25rem;
}

.step-card {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1.15rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(76, 201, 240, 0.35);
  background: rgba(76, 201, 240, 0.08);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Tarjetas de industria */
.industry-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  min-height: 13.5rem;
  text-decoration: none;
}

.industry-card .industry-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.industry-card .industry-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.8rem;
  color: var(--pink);
  background: rgba(247, 37, 133, 0.1);
  border: 1px solid rgba(247, 37, 133, 0.22);
}

.industry-card .industry-arrow {
  color: rgba(255, 255, 255, 0.3);
  transition: transform 0.2s ease, color 0.2s ease;
}

.industry-card:hover .industry-arrow {
  color: var(--pink);
  transform: translateX(3px);
}

/* Variante compacta: selector de sectores sin descripción (home WhatsApp) */
.industry-card--row {
  flex-direction: row;
  align-items: center;
  gap: 0.8rem;
  min-height: 0;
  padding: 0.8rem 0.95rem;
}

.industry-card--row .industry-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.7rem;
  flex: 0 0 auto;
}

.industry-card--row .card-title {
  font-size: 0.95rem;
  line-height: 1.3;
}

.industry-card--row .industry-arrow {
  margin-left: auto;
  flex: 0 0 auto;
  opacity: 0.5;
}

.industry-card--row:hover .industry-arrow {
  opacity: 1;
}

@media (max-width: 640px) {
  .industry-card--row {
    gap: 0.6rem;
    padding: 0.65rem 0.75rem;
  }

  .industry-card--row .industry-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.6rem;
  }

  .industry-card--row .card-title {
    font-size: 0.82rem;
    text-wrap: balance;
  }

  .industry-card--row .industry-arrow {
    display: none;
  }
}

/* Tarjetas de planes */
.plan-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  min-height: 100%;
}

.plan-card--featured {
  border-color: rgba(76, 201, 240, 0.4);
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(76, 201, 240, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.03) 100%);
  box-shadow: 0 0 0 1px rgba(76, 201, 240, 0.12), var(--shadow-card);
}

.plan-card .plan-name {
  margin: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.plan-card .plan-price {
  margin: 0.8rem 0 0.15rem;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  color: #fff;
}

.plan-card--featured .plan-price {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.plan-card .plan-meta {
  margin: 0 0 1.35rem;
  color: var(--subtle);
  font-size: 0.78rem;
}

.plan-card .plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.plan-card .plan-features li {
  display: flex;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.84rem;
  line-height: 1.45;
}

.plan-card .plan-features svg,
.plan-card .plan-features i {
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 0.12rem;
}

.plan-cta {
  width: 100%;
}

/* Tarjetas de cita / dolores */
.quote-card {
  padding: 1.75rem;
}

.quote-card .quote-text {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
}

.quote-card .quote-note {
  margin: 0.9rem 0 0;
  color: var(--cyan);
  font-size: 0.84rem;
  line-height: 1.55;
}

/* Acordeón */
.faq-item {
  padding: 1.35rem 1.5rem;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item .faq-answer {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-chevron {
  color: var(--cyan);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

/* --------------------------------------------------------------------------
   Chips del wizard
   -------------------------------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.032);
  color: rgba(255, 255, 255, 0.7);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  user-select: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease,
    box-shadow 0.18s ease, transform 0.18s ease;
}

.chip:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.chip:active {
  transform: scale(0.99);
}

.chip[aria-pressed='true'] {
  color: #fff;
  border-color: rgba(76, 201, 240, 0.55);
  background: linear-gradient(135deg, rgba(247, 37, 133, 0.18), rgba(76, 201, 240, 0.14));
  box-shadow: inset 0 0 0 1px rgba(76, 201, 240, 0.12), 0 8px 20px -16px rgba(76, 201, 240, 0.7);
}

.chip[aria-pressed='true']::after {
  content: '✓';
  margin-left: auto;
  padding-left: 0.5rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Formularios
   -------------------------------------------------------------------------- */
.field-label {
  display: block;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.field {
  width: 100%;
  min-height: 3.15rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.4;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.field::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.field:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.field:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(76, 201, 240, 0.14);
}

.field[aria-invalid='true'] {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 107, 139, 0.12);
}

textarea.field {
  min-height: 7rem;
  resize: vertical;
}

select.field {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234cc9f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

select.field option {
  background: var(--surface-2);
  color: #fff;
}

.form-status {
  display: none;
  margin-top: 0.9rem;
  padding: 0.8rem 1rem;
  border-radius: var(--r-md);
  font-size: 0.84rem;
  line-height: 1.5;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  color: #ffd5de;
  background: rgba(255, 107, 139, 0.12);
  border: 1px solid rgba(255, 107, 139, 0.35);
}

.form-status.is-success {
  color: #c9ffe9;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

/* --------------------------------------------------------------------------
   Secciones y jerarquía
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  z-index: 10;
  padding: 6rem 0;
}

.section--tight {
  padding: 4rem 0;
}

.section--soft {
  background: rgba(255, 255, 255, 0.018);
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.section-head {
  max-width: 44rem;
  margin: 0 auto 3.25rem;
  text-align: center;
}

.section-title {
  margin: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.section-lead {
  max-width: 40rem;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(76, 201, 240, 0.28);
  border-radius: var(--r-pill);
  background: rgba(76, 201, 240, 0.055);
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-gradient-hero {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: block;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-static {
  min-height: min(88vh, 800px);
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.hero-static .hero-title {
  font-size: clamp(2.35rem, 5vw, 4rem);
}

.hero-img {
  opacity: 0.62;
  filter: saturate(0.95) contrast(1.05) brightness(0.85);
}

.hero-gradient {
  background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 26%, rgba(7, 7, 15, 0.82) 54%, rgba(7, 7, 15, 0.2) 100%);
}

.hero-content {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* La tarjeta flotante del hero antiguo */
.hero-floating-card {
  bottom: 2.5rem;
}

@media (max-width: 767px) {
  .hero-title {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }

  .hero-static {
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 3.5rem;
  }

  .hero-static .hero-title {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
  }

  .hero-gradient {
    background: linear-gradient(180deg, rgba(7, 7, 15, 0.45) 0%, rgba(7, 7, 15, 0.82) 55%, var(--bg) 100%);
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 10;
  margin-top: 2rem;
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
}

.footer-col h4 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  color: var(--subtle);
  font-size: 0.875rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-brand-text {
  max-width: 18rem;
  margin: 1rem 0 0;
  color: var(--subtle);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 0.78rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Utilidades locales
   -------------------------------------------------------------------------- */
.prose-link {
  color: var(--cyan);
  text-decoration: none;
}

.prose-link:hover {
  text-decoration: underline;
}

.wizard-total {
  position: sticky;
  bottom: 0;
  background: rgba(10, 10, 20, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line-strong);
}

.muted {
  color: var(--muted);
}

.subtle {
  color: var(--subtle);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* --------------------------------------------------------------------------
   Detalles de composición (identidad del sitio en vivo)
   -------------------------------------------------------------------------- */
.section--page-head {
  padding-top: 9.5rem;
  padding-bottom: 3.25rem;
}

.section--page-head-sm {
  padding-top: 8rem;
  padding-bottom: 2rem;
}

.section--flush-top {
  padding-top: 0;
}

.section-title .text-gradient-hero {
  display: inline;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.badge svg {
  color: var(--pink);
}

.plan-card .plan-limits {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0.9rem 0 1rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(247, 37, 133, 0.22);
  border-radius: 0.9rem;
  background: rgba(247, 37, 133, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  line-height: 1.4;
  list-style: none;
}

.free-plan-note {
  border-color: rgba(247, 37, 133, 0.24);
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(247, 37, 133, 0.09), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022));
}

.free-limit {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.035);
}

.free-limit strong {
  color: #fff;
  font-size: 1rem;
}

.free-limit span {
  color: var(--subtle);
  font-size: 0.78rem;
}

/* Burbujas de conversación */
.chat-bubble {
  max-width: 82%;
  padding: 0.9rem 1.1rem;
  border-radius: 1.4rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

.chat-bubble--client {
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom-left-radius: 0.45rem;
}

.chat-bubble--agent {
  color: #fff;
  background: linear-gradient(135deg, rgba(247, 37, 133, 0.82), rgba(123, 44, 191, 0.88) 52%, rgba(58, 134, 255, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom-right-radius: 0.45rem;
  box-shadow: 0 16px 32px -22px rgba(247, 37, 133, 0.8);
}

/* Tarjeta flotante del hero */
.hero-floating-card {
  position: absolute;
  right: 3.5%;
  bottom: 4.5rem;
  z-index: 20;
  width: min(24rem, 34vw);
  padding: 1rem;
  border-radius: 2rem;
  animation: float-slow 7s ease-in-out infinite;
}

.hero-chat-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.15rem 0.2rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-chat-avatar {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  color: #fff;
  background: var(--gradient-brand);
}

.hero-chat-name {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-chat-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--cyan);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-chat-status::before {
  content: '';
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12);
}

.hero-chat-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.85rem 0.15rem 0.25rem;
}

.hero-chat-body .chat-bubble {
  padding: 0.65rem 0.85rem;
  font-size: 0.76rem;
  line-height: 1.45;
}

.hero-chat-cta {
  margin-top: 0.55rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.9rem;
  background: var(--cyan);
  color: #061019;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.nav-toggle.is-open .nav-toggle-open { display: none; }
.nav-toggle.is-open .nav-toggle-close { display: inline-flex; }

@media (max-width: 1199px) {
  .hero-floating-card {
    display: none;
  }
}


/* --------------------------------------------------------------------------
   Landing de WhatsApp
   -------------------------------------------------------------------------- */
.wa-hero {
  padding-top: 7rem;
  padding-bottom: 3rem;
}

.wa-hero .hero-title {
  font-size: clamp(3rem, 6.4vw, 5.4rem);
}

.wa-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 1.6rem 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  list-style: none;
}

.wa-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.wa-trust svg {
  color: var(--green);
}

.wa-phone-card {
  background:
    radial-gradient(110% 100% at 50% 0%, rgba(76, 201, 240, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
}

.wa-phone-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.wa-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin: 1rem 0;
}

.wa-stats div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.wa-stats strong {
  color: #fff;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.15rem;
  line-height: 1;
}

.wa-stats span {
  color: var(--subtle);
  font-size: 0.66rem;
  line-height: 1.3;
}

.wa-phone-img {
  width: 100%;
  max-height: 19rem;
  object-fit: contain;
  object-position: center top;
}

.wa-system-bridge {
  background:
    radial-gradient(120% 130% at 50% 0%, rgba(247, 37, 133, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
}

/* Fila de función en la página de producto */
.feature-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.feature-row:last-child {
  border-bottom: 0;
}

@media (max-width: 640px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Banda de enlaces en las páginas heredadas de WhatsApp */
.legacy-band {
  position: relative;
  z-index: 10;
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 20, 0.9);
}

.legacy-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.legacy-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.legacy-band strong {
  color: #fff;
}

@media (max-width: 767px) {
  .legacy-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .wa-hero {
    min-height: auto;
    padding-top: 5.4rem;
    padding-bottom: 2rem;
  }

  .wa-hero .hero-title {
    font-size: clamp(2.35rem, 10vw, 3rem);
    margin-bottom: 1.1rem;
  }

  .wa-hero .eyebrow-badge {
    margin-bottom: 1rem;
  }

  .wa-hero .hero-content {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .wa-hero .hero-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.4rem;
  }

  .wa-hero .btn-lg {
    padding: 0.9rem 1.2rem;
  }

  .wa-trust {
    gap: 0.45rem 0.9rem;
    margin-top: 1rem;
    font-size: 0.72rem;
  }

  .wa-stats {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 767px) {
  .site-nav {
    padding: 0.6rem 0.75rem 0;
  }

  .nav-inner {
    min-height: 4rem;
    padding: 0.35rem 0.4rem 0.35rem 0.55rem;
    gap: 0.5rem;
  }

  .nav-toggle {
    width: 2.5rem;
    height: 2.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  .section-head {
    margin-bottom: 2.25rem;
  }

  .section-lead {
    font-size: 1rem;
  }

  .brand-word {
    font-size: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 430px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .btn-ghost {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Teléfono de WhatsApp construido con CSS (sin capturas ni imágenes)
   ========================================================================== */
.wa-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 3rem;
}

.wa-hero-copy {
  max-width: 42rem;
}

.wa-hero-device {
  position: relative;
  z-index: 20;
  display: flex;
  justify-content: center;
}

.wa-phone {
  position: relative;
  width: 310px;
  max-width: 100%;
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.6));
  animation: wa-phone-float 7s ease-in-out infinite;
}

.wa-phone-frame {
  position: relative;
  padding: 0.55rem;
  border-radius: 2.8rem;
  background: linear-gradient(160deg, #343a44, #0b0d12 62%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 2px 0 rgba(255, 255, 255, 0.06);
}

.wa-phone-speaker {
  position: absolute;
  top: 0.95rem;
  left: 50%;
  z-index: 5;
  width: 34%;
  height: 0.3rem;
  border-radius: 999px;
  background: #05070a;
  transform: translateX(-50%);
}

.wa-phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 44rem;
  overflow: hidden;
  border-radius: 2.3rem;
  background: #efeae2;
  color: #111b21;
  font-family: 'Inter', system-ui, sans-serif;
}

.wa-phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.95rem 0.1rem;
  color: #111b21;
  font-size: 0.6rem;
  font-weight: 700;
}

.wa-phone-status-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.wa-phone-status-icons svg {
  width: 0.85rem;
  height: 0.85rem;
}

.wa-phone-appbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem 0.55rem;
  background: #075e54;
  color: #fff;
}

.wa-phone-back svg {
  width: 1rem;
  height: 1rem;
}

.wa-phone-avatar {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: #25d366;
  color: #06251a;
  font-size: 0.6rem;
  font-weight: 900;
}

.wa-phone-contact {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-right: auto;
  line-height: 1.15;
}

.wa-phone-contact strong {
  overflow: hidden;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.wa-phone-contact small {
  font-size: 0.56rem;
  opacity: 0.85;
}

.wa-phone-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  opacity: 0.95;
}

.wa-phone-actions svg {
  width: 0.95rem;
  height: 0.95rem;
}

.wa-phone-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  overflow-y: auto;
  padding: 0.6rem 0.7rem;
  background-color: #efeae2;
  scrollbar-width: none;
  background-image: radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 16px 16px;
}

.wa-phone-date {
  align-self: center;
  padding: 0.18rem 0.5rem;
  border-radius: 0.4rem;
  background: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  color: #54656f;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.wa-phone-encrypted {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.45rem;
  border-radius: 0.35rem;
  background: #fff5c4;
  color: #54656f;
  font-size: 0.48rem;
  text-align: center;
}

.wa-phone-encrypted svg {
  width: 0.55rem;
  height: 0.55rem;
}

.wa-phone-msg {
  position: relative;
  max-width: 84%;
  padding: 0.42rem 0.55rem 0.28rem;
  border-radius: 0.55rem;
  font-size: 0.68rem;
  line-height: 1.35;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

.wa-phone-msg p {
  margin: 0;
}

.wa-phone-msg--in {
  align-self: flex-start;
  border-top-left-radius: 0.15rem;
  background: #fff;
}

.wa-phone-msg--out {
  align-self: flex-end;
  border-top-right-radius: 0.15rem;
  background: #d9fdd3;
}

.wa-phone-msg--in::before,
.wa-phone-msg--out::before {
  content: '';
  position: absolute;
  top: 0;
  border: 6px solid transparent;
}

.wa-phone-msg--in::before {
  left: -10px;
  border-top-color: #fff;
  border-right-color: #fff;
}

.wa-phone-msg--out::before {
  right: -10px;
  border-top-color: #d9fdd3;
  border-left-color: #d9fdd3;
}

.wa-phone-time {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem;
  margin-top: 0.1rem;
  color: #667781;
  font-size: 0.48rem;
}

.wa-phone-checks {
  width: 0.7rem;
  height: 0.7rem;
  color: #53bdeb;
}

.wa-phone-compose {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.5rem 0.6rem;
  background: #f0f2f5;
}

.wa-phone-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.5rem;
  border-radius: 1.1rem;
  background: #fff;
  color: #8696a0;
  font-size: 0.6rem;
}

.wa-phone-field svg {
  width: 0.85rem;
  height: 0.85rem;
  color: #8696a0;
}

.wa-phone-field span {
  flex: 1;
}

.wa-phone-mic {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #25d366;
  color: #06251a;
}

.wa-phone-mic svg {
  width: 0.95rem;
  height: 0.95rem;
}

.wa-phone-tag {
  position: absolute;
  bottom: -1.4rem;
  left: 50%;
  padding: 0.28rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(10, 10, 20, 0.88);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62rem;
  white-space: nowrap;
  transform: translateX(-50%);
}

@keyframes wa-phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Botón flotante del agente de WhatsApp */
.wa-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 95;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 18px 40px -12px rgba(37, 211, 102, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-fab:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 22px 48px -12px rgba(37, 211, 102, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.wa-fab:focus-visible {
  outline: 2px solid #4cc9f0;
  outline-offset: 3px;
}

.wa-fab svg {
  width: 2rem;
  height: 2rem;
}

.wa-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: wa-fab-pulse 2.6s ease-out infinite;
}

@keyframes wa-fab-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Lista de resultados dentro del panel de WhatsApp */
.wa-handoff-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.wa-handoff-list > div {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.wa-handoff-check {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.1rem;
  border-radius: 999px;
  background: rgba(76, 201, 240, 0.15);
  color: #4cc9f0;
}

.wa-handoff-list strong {
  display: block;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.wa-handoff-list small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  line-height: 1.45;
}

.wa-handoff-cta {
  margin-top: 1.1rem;
}

/* Tarjeta del agente real */
.agent-card {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(37, 211, 102, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.agent-title {
  margin: 0 0 0.7rem;
  color: #fff;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
}

.agent-text {
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  line-height: 1.65;
}

.agent-cta {
  background: #25d366 !important;
  border-color: transparent !important;
  color: #06251a !important;
}

.agent-cta:hover {
  background: #1fba59 !important;
}

.agent-number {
  margin: 1rem 0 0;
  color: #fff;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
}

.agent-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
}

.agent-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.12);
}

.agent-note {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: center;
}

/* Asistente dentro del armador de planes */
.wizard-assistant {
  margin-bottom: 1.5rem;
}

.wizard-assistant-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
}

.wizard-assistant-head .wizard-bot {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f72585, #7b2cbf 55%, #4cc9f0);
  color: #fff;
  flex-shrink: 0;
}

.wizard-assistant-head .wizard-bot svg {
  width: 1.15rem;
  height: 1.15rem;
}

.wizard-assistant-head h3 {
  margin: 0;
  color: #fff;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.wizard-assistant p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  line-height: 1.55;
}

.wizard-assistant-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

@media (max-width: 1023px) {
  .wa-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .wa-phone {
    width: 286px;
  }

  .wa-phone-screen {
    height: 39rem;
  }
}

@media (max-width: 640px) {
  .wa-phone {
    width: 264px;
    animation: none;
  }

  .wa-phone-screen {
    height: 35rem;
  }

  .wa-phone-msg {
    font-size: 0.64rem;
  }

  .wa-fab {
    right: 0.85rem;
    bottom: 0.85rem;
    width: 3.25rem;
    height: 3.25rem;
  }
}

/* Animación de la conversación: los mensajes se revelan como en WhatsApp */
.wa-phone-chat::-webkit-scrollbar {
  display: none;
}

.wa-phone--anim .wa-phone-msg.is-hidden {
  display: none;
}

.wa-phone-msg.is-visible {
  animation: wa-msg-in 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes wa-msg-in {
  from { opacity: 0; transform: translateY(7px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.wa-phone-typing {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  align-self: flex-start;
  padding: 0.55rem 0.65rem;
  border-top-left-radius: 0.15rem;
  background: #fff;
}

.wa-phone-typing span {
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: #8696a0;
  animation: wa-typing 1s ease-in-out infinite;
}

.wa-phone-typing span:nth-child(2) { animation-delay: 0.15s; }
.wa-phone-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes wa-typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30% { transform: translateY(-3px); opacity: 1; }
}

.wa-phone-tag--done {
  border-color: rgba(37, 211, 102, 0.4);
  color: #4ade80;
}

.wa-phone-replay {
  position: absolute;
  top: -2.4rem;
  right: 0;
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(10, 10, 20, 0.88);
  color: rgba(255, 255, 255, 0.65);
  font-family: inherit;
  font-size: 0.62rem;
  cursor: pointer;
}

.wa-phone-replay:hover {
  color: #fff;
  border-color: rgba(76, 201, 240, 0.5);
}

/* Mensajes con ubicación, audio, foto y PDF */
.wa-loc {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: -0.05rem 0 0.15rem;
}

.wa-loc-map {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.45rem;
  background:
    linear-gradient(135deg, rgba(76, 201, 240, 0.18), rgba(37, 211, 102, 0.14)),
    repeating-linear-gradient(0deg, transparent 0 9px, rgba(255, 255, 255, 0.07) 9px 10px),
    repeating-linear-gradient(90deg, transparent 0 9px, rgba(255, 255, 255, 0.07) 9px 10px),
    #16222c;
  color: #ff6b6b;
}

.wa-loc-map svg {
  width: 1rem;
  height: 1rem;
}

.wa-loc-text strong {
  display: block;
  color: #111b21;
  font-size: 0.63rem;
  font-weight: 700;
}

.wa-loc-text small {
  display: block;
  color: #667781;
  font-size: 0.54rem;
}

.wa-voice {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 10rem;
}

.wa-voice-play {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
}

.wa-voice-play svg {
  width: 0.8rem;
  height: 0.8rem;
  margin-left: 0.08rem;
}

.wa-voice-wave {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 1rem;
}

.wa-voice-wave i {
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: #8696a0;
}

.wa-voice-wave i:nth-child(2n) { height: 9px; }
.wa-voice-wave i:nth-child(3n) { height: 13px; }
.wa-voice-wave i:nth-child(4n) { height: 7px; }
.wa-voice-wave i:nth-child(5n) { height: 11px; }

.wa-voice.is-playing .wa-voice-wave i {
  animation: wa-wave 0.55s ease-in-out infinite alternate;
}

.wa-voice.is-playing .wa-voice-wave i:nth-child(2n) { animation-delay: 0.08s; }
.wa-voice.is-playing .wa-voice-wave i:nth-child(3n) { animation-delay: 0.16s; }

@keyframes wa-wave {
  from { transform: scaleY(0.55); }
  to { transform: scaleY(1.15); }
}

.wa-voice small {
  margin-left: auto;
  color: #667781;
  font-size: 0.52rem;
}

.wa-photo-img {
  display: grid;
  place-items: center;
  width: 100%;
  height: 5.4rem;
  margin-bottom: 0.25rem;
  border-radius: 0.45rem;
  background:
    radial-gradient(90% 120% at 30% 20%, rgba(76, 201, 240, 0.25), transparent 60%),
    linear-gradient(135deg, #16222c, #0a1016);
  color: #4cc9f0;
}

.wa-photo-img svg {
  width: 1.4rem;
  height: 1.4rem;
}

.wa-doc {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.1rem 0;
}

.wa-doc-badge {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 0.4rem;
  background: #e53e3e;
  color: #fff;
  font-size: 0.5rem;
  font-weight: 900;
}

.wa-doc-text {
  min-width: 0;
}

.wa-doc-text strong {
  display: block;
  max-width: 8rem;
  overflow: hidden;
  color: #111b21;
  font-size: 0.62rem;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.wa-doc-text small {
  color: #667781;
  font-size: 0.52rem;
}

/* Comprobante de transferencia (foto dentro del chat) */
.wa-receipt {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 0.55rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.45rem;
  background: #fff;
  color: #111b21;
}

.wa-receipt::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #25d366, #4cc9f0);
}

.wa-receipt-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.wa-receipt-check {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #16a34a;
  font-size: 0.7rem;
  font-weight: 900;
}

.wa-receipt-head strong {
  display: block;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1.15;
}

.wa-receipt-head small {
  display: block;
  color: #6b7280;
  font-size: 0.46rem;
  line-height: 1.3;
}

.wa-receipt-amount {
  padding: 0.3rem 0;
  border-top: 1px dashed #e5e7eb;
  border-bottom: 1px dashed #e5e7eb;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.wa-receipt-foot {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.3rem;
  color: #6b7280;
  font-size: 0.44rem;
}

.wa-receipt.is-verified::after {
  content: 'VERIFICADO ✓';
  position: absolute;
  right: 0.2rem;
  bottom: 1.25rem;
  padding: 0.12rem 0.3rem;
  border: 1.5px solid #16a34a;
  border-radius: 0.25rem;
  color: #16a34a;
  font-size: 0.44rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  transform: rotate(-7deg);
  animation: wa-stamp 0.35s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}

@keyframes wa-stamp {
  from { opacity: 0; transform: rotate(-7deg) scale(1.5); }
  to { opacity: 1; transform: rotate(-7deg) scale(1); }
}

/* Selector de producto compartido: sistema completo o solo WhatsApp */
.product-switch {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 2.5rem;
  padding: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.product-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.15rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.product-switch-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.product-switch-btn.is-active {
  background: #fff;
  color: #08070d;
}

.producto-panel[hidden] {
  display: none;
}

.plan-card.is-selected {
  border-color: rgba(76, 201, 240, 0.65);
  box-shadow: 0 0 0 1px rgba(76, 201, 240, 0.65), 0 22px 50px -24px rgba(76, 201, 240, 0.5);
}

.wa-chooser-head {
  max-width: 52rem;
}

.wa-chooser-head .prose-link {
  color: #4cc9f0;
}

@media (max-width: 640px) {
  .product-switch {
    width: 100%;
  }

  .product-switch-btn {
    flex: 1;
    padding: 0.7rem 0.6rem;
    font-size: 0.76rem;
  }
}

.wa-hero-system-note {
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}

.wa-hero-system-note a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #4cc9f0;
  font-weight: 600;
}

.wa-hero-system-note a:hover {
  color: #fff;
}
