/* EasyLaundry.app — landing 2026 redesign
   Reglas: sin estilos inline (CSP), contenido visible sin JS, respeta prefers-reduced-motion. */

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

:root {
  /* Marca */
  --blue: #075cff;
  --blue-deep: #0846c7;
  --cyan: #00c2ee;
  --violet: #7a4dff;
  --navy: #050d2b;
  --navy-2: #0a1d5c;
  /* WhatsApp */
  --wa: #25d366;
  --wa-deep: #0a7a45;
  --wa-ink: #064e2b;
  --wa-tint: #e6f8ee;
  /* Acento cálido */
  --warm: #ff7a3d;
  --warm-deep: #b83a00;
  /* Neutros */
  --ink: #0b1633;
  --ink-2: #3d4b6b;
  --line-soft: #dbe5ff;
  --soft: #f2f6ff;
  --white: #ffffff;
  --shadow-sm: 0 6px 20px rgba(11, 22, 51, 0.08);
  --shadow-md: 0 18px 44px rgba(11, 22, 51, 0.14);
  --max-width: 1200px;
  --radius: 24px;

  /* Alias que usa el menú de accesibilidad */
  --text: #f7faff;
  --cream: #dcecff;
  --muted: #8fa8c8;
  --primary: #00d8ff;
  --primary-strong: #075cff;
  --panel-strong: rgba(8, 33, 82, 0.97);
  --line: rgba(0, 216, 255, 0.2);
  --shadow: 0 32px 70px rgba(0, 13, 42, 0.36);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
.button,
.stat-num {
  font-family: "Sora", system-ui, sans-serif;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

a {
  color: inherit;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.wrap {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.wrap-narrow {
  width: min(100% - 32px, 860px);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.site-header :focus-visible,
.hero :focus-visible,
.section-dark :focus-visible,
.site-footer :focus-visible {
  outline-color: #6fe9ff;
}

.ico {
  width: 18px;
  height: 18px;
  flex: none;
  fill: currentColor;
}

/* ---------- Botones ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

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

.button-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.86rem;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #0a63ff, var(--blue-deep));
  box-shadow: 0 12px 28px rgba(7, 92, 255, 0.35);
}

.button-primary:hover {
  box-shadow: 0 16px 34px rgba(7, 92, 255, 0.5);
}

.button-wa {
  color: #fff;
  background: var(--wa-deep);
  box-shadow: 0 12px 28px rgba(10, 122, 69, 0.35);
}

.button-wa:hover {
  background: #086a3a;
}

.button-wa .ico {
  color: #6dffa9;
}

.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.button-warm {
  color: #fff;
  background: linear-gradient(135deg, #cf4300, var(--warm-deep));
  box-shadow: 0 12px 28px rgba(184, 58, 0, 0.3);
}

.button-outline-dark {
  color: var(--ink);
  border-color: rgba(11, 22, 51, 0.28);
  background: rgba(255, 255, 255, 0.6);
}

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 13, 43, 0.9);
  border-bottom: 1px solid rgba(111, 233, 255, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  position: relative;
  display: block;
  flex: none;
  width: 206px;
  height: 62px;
  overflow: hidden;
}

.brand-logo-image {
  display: block;
  position: absolute;
  top: -41px;
  left: -16px;
  width: 240px;
  max-width: none;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  justify-content: center;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(230, 240, 255, 0.86);
  font-size: 0.93rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.lang-btn {
  padding: 4px 10px;
  border-radius: 999px;
  color: rgba(230, 240, 255, 0.8);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.lang-btn:hover {
  color: #fff;
}

.lang-btn.is-active {
  color: var(--navy);
  background: #6fe9ff;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* ---------- Fondos decorativos ---------- */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-soft {
  opacity: 0.55;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}

.blob-a {
  top: -120px;
  right: -80px;
  width: 460px;
  height: 460px;
  background: var(--cyan);
}

.blob-b {
  bottom: -160px;
  left: -120px;
  width: 520px;
  height: 520px;
  background: var(--violet);
  animation-delay: -6s;
}

.blob-c {
  top: 30%;
  left: 38%;
  width: 320px;
  height: 320px;
  background: var(--blue);
  animation-delay: -11s;
}

@keyframes drift {
  to {
    transform: translate3d(40px, 30px, 0) scale(1.1);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(160deg, #050d2b 0%, #0a2a7a 58%, #0b44b8 100%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: center;
  padding: 72px 0 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--blue-deep);
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.eyebrow-light {
  color: #6fe9ff;
}

.eyebrow-green {
  color: var(--wa-ink);
}

.eyebrow-green::before {
  background: var(--wa);
}

.eyebrow-warm {
  color: var(--warm-deep);
}

.eyebrow-warm::before {
  background: linear-gradient(90deg, var(--warm), #ffb23f);
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.55rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-sub {
  margin-top: 20px;
  max-width: 58ch;
  color: #e2edff;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
}

.hero-text {
  margin-top: 14px;
  max-width: 62ch;
  color: rgba(214, 228, 255, 0.82);
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions .button-primary {
  background: linear-gradient(135deg, #1a7bff, #075cff);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-tags li {
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #e6f0ff;
  font-size: 0.84rem;
}

/* Visual del hero: teléfono + chips */
.hero-visual {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone {
  width: 280px;
  overflow: hidden;
  border: 6px solid #0d1b45;
  border-radius: 36px;
  background: #efeae2;
  box-shadow: 0 40px 80px rgba(0, 8, 40, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: rotate(-3deg);
  color: var(--ink);
}

.phone-bar,
.wa-chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  color: #fff;
  background: #075e54;
}

.phone-wa {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--wa);
}

.phone-wa svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.phone-name {
  display: grid;
  line-height: 1.2;
}

.phone-name strong {
  font-size: 0.92rem;
}

.phone-name small {
  color: #bfeede;
  font-size: 0.74rem;
}

.phone-body {
  display: grid;
  gap: 8px;
  padding: 16px 12px 20px;
}

.bubble {
  max-width: 84%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.4;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.bubble-in {
  justify-self: start;
  background: #fff;
  border-top-left-radius: 3px;
}

.bubble-out {
  justify-self: end;
  background: #d9fdd3;
  border-top-right-radius: 3px;
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 8, 40, 0.35);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}

.float-chip svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.chip-mcp {
  top: 4%;
  right: -6%;
  color: #5b34d9;
}

.chip-api {
  top: 72%;
  left: -12%;
  color: var(--blue-deep);
  animation-delay: -2s;
}

.chip-dte {
  bottom: 12%;
  right: -4%;
  color: var(--warm-deep);
  animation-delay: -4s;
}

.chip-route {
  top: 10%;
  left: -2%;
  color: #00708a;
  animation-delay: -1s;
}

@keyframes bob {
  50% {
    transform: translateY(-8px);
  }
}

/* ---------- Números + países ---------- */
.trust {
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}

.stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 40px 0 28px;
  list-style: none;
}

.stats li {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 0 8px;
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: center;
}

.stat-num {
  display: block;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--blue);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-num small {
  font-size: 0.5em;
  font-weight: 700;
}

.coverage-strip {
  padding: 8px 0 36px;
}

.coverage-text {
  margin-bottom: 18px;
  color: var(--ink-2);
  font-size: 0.95rem;
  text-align: center;
}

.coverage-marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.coverage-track {
  display: flex;
  flex: 0 0 auto;
  min-width: 100%;
  align-items: center;
  justify-content: space-around;
  gap: 12px;
  padding: 6px 12px 6px 0;
  animation: marquee 48s linear infinite;
}

.coverage-marquee:hover .coverage-track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}

.flag-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.flag-pill:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: var(--blue);
  box-shadow: 0 12px 26px rgba(7, 92, 255, 0.2);
}

.flag-image {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.flag-name {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---------- Secciones ---------- */
.section {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
}

.section > .wrap {
  position: relative;
  z-index: 1;
}

.section-soft {
  background: linear-gradient(180deg, var(--soft), #fff 140%);
}

.section-dark {
  color: #fff;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #0b2c84 100%);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.section-heading h2,
.dte-grid h2,
.brand-grid h2,
.contact-copy h2,
.pricing-heading h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.015em;
}

.section-heading h2 span {
  display: inline;
}

.section-lead {
  margin-top: 16px;
  max-width: 64ch;
  color: var(--ink-2);
  font-size: 1.05rem;
}

.section-dark .section-lead {
  color: #d3e2ff;
}

/* Reveal al hacer scroll (solo con JS) */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Lo potente ---------- */
.power-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.power-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.power-card:hover,
.power-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent, var(--blue));
}

.power-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  color: #fff;
  background: var(--grad, linear-gradient(135deg, var(--blue), var(--cyan)));
  box-shadow: 0 10px 22px rgba(11, 22, 51, 0.18);
}

.power-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.power-card h3 {
  font-size: 1.15rem;
  line-height: 1.25;
}

.power-card p {
  color: var(--ink-2);
  font-size: 0.96rem;
}

.power-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
  color: var(--accent-text, var(--blue-deep));
  font-size: 0.9rem;
  font-weight: 600;
}

.power-link .ico {
  transition: transform 0.2s ease;
}

.power-card:hover .power-link .ico {
  transform: translateX(5px);
}

.power-wa {
  --accent: var(--wa);
  --accent-text: var(--wa-deep);
  --grad: linear-gradient(135deg, #25d366, #128c7e);
}

.power-api {
  --accent: var(--blue);
  --grad: linear-gradient(135deg, #0a63ff, #00c2ee);
}

.power-mcp {
  --accent: var(--violet);
  --accent-text: #5b34d9;
  --grad: linear-gradient(135deg, #7a4dff, #0a63ff);
}

.power-dte {
  --accent: var(--warm);
  --accent-text: var(--warm-deep);
  --grad: linear-gradient(135deg, #ff7a3d, #ffb23f);
}

.power-route {
  --accent: #00a6c7;
  --accent-text: #00708a;
  --grad: linear-gradient(135deg, #00c2ee, #12bfa0);
}

.power-app {
  --accent: #e0408a;
  --accent-text: #b0245f;
  --grad: linear-gradient(135deg, #ff5fa2, #7a4dff);
}

/* ---------- WhatsApp ---------- */
.wa-section {
  background:
    radial-gradient(circle at 90% 8%, rgba(37, 211, 102, 0.22), transparent 38%),
    radial-gradient(circle at 4% 92%, rgba(18, 140, 126, 0.16), transparent 40%),
    linear-gradient(180deg, #eafaf1, #f7fffb);
}

.wa-head {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.wa-head .section-heading {
  margin-bottom: 0;
}

.wa-logo-tile {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 170px;
  height: 170px;
  border-radius: 44px;
  background: linear-gradient(145deg, #3be37f, #1ebe5a 55%, #128c7e);
  box-shadow: 0 30px 60px rgba(18, 140, 126, 0.42);
  transform: rotate(-6deg);
}

.wa-logo-tile svg {
  position: relative;
  z-index: 1;
  width: 104px;
  height: 104px;
  fill: #fff;
}

.ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(37, 211, 102, 0.55);
  border-radius: 44px;
  animation: ring 3.2s ease-out infinite;
}

.ring-2 {
  animation-delay: 1.6s;
}

@keyframes ring {
  from {
    transform: scale(1);
    opacity: 0.8;
  }
  to {
    transform: scale(1.45);
    opacity: 0;
  }
}

.wa-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.wa-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 16px;
}

.card {
  padding: 26px;
  border: 1px solid var(--line-soft);
  border-top: 4px solid var(--c, var(--blue));
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card h3 {
  margin: 12px 0 8px;
  font-size: 1.05rem;
  line-height: 1.3;
}

.card p {
  color: var(--ink-2);
  font-size: 0.94rem;
}

.card p a {
  color: var(--blue-deep);
  font-weight: 600;
}

.kicker {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  color: var(--kc, #0a3a9a);
  background: var(--kb, #e8f0ff);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.card-wa {
  --c: var(--wa);
  --kc: var(--wa-ink);
  --kb: #d4f5e2;
  border-color: #cfeedd;
  border-top-color: var(--wa);
}

.wa-demo {
  display: grid;
  gap: 14px;
}

.wa-chat {
  overflow: hidden;
  border-radius: 28px;
  background: #efeae2;
  box-shadow: 0 30px 70px rgba(7, 94, 84, 0.28), 0 0 0 1px rgba(7, 94, 84, 0.12);
}

.wa-chat-body {
  display: grid;
  gap: 8px;
  padding: 18px 14px 14px;
  min-height: 420px;
  align-content: start;
}

.wa-msg {
  max-width: 84%;
  padding: 9px 13px;
  border-radius: 14px;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.42;
  overflow-wrap: anywhere;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
}

.wa-msg-in {
  justify-self: start;
  background: #fff;
  border-top-left-radius: 3px;
}

.wa-msg-out {
  justify-self: end;
  background: #d9fdd3;
  border-top-right-radius: 3px;
}

.wa-msg-file::before {
  content: "PDF";
  display: inline-block;
  margin-right: 8px;
  padding: 2px 7px;
  border-radius: 6px;
  color: #fff;
  background: #d93a3a;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.wa-msg-ok::after {
  content: " \2713\2713";
  color: #1a8fcf;
  font-size: 0.78rem;
  font-weight: 700;
}

.js .wa-chat .wa-msg {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.97);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}

.js .wa-chat .wa-msg.is-shown {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.wa-chat-foot {
  display: flex;
  justify-content: center;
  padding: 10px 14px 16px;
  background: #efeae2;
}

.replay {
  padding: 8px 18px;
  border: 1px solid rgba(7, 94, 84, 0.35);
  border-radius: 999px;
  color: #064e44;
  background: rgba(255, 255, 255, 0.7);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.replay:hover {
  background: #fff;
}

.note-ok {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid #bfe9d1;
  border-radius: 16px;
  color: var(--wa-ink);
  background: #fff;
  font-size: 0.9rem;
  line-height: 1.45;
}

.note-ok .ico {
  margin-top: 2px;
  padding: 2px;
  border-radius: 50%;
  color: #fff;
  background: var(--wa-deep);
}

.wa-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ---------- API + MCP ---------- */
.int-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.int-card,
.ask {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.int-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.int-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  color: #fff;
}

.int-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.int-icon-api {
  background: linear-gradient(135deg, #0a63ff, #00c2ee);
}

.int-icon-mcp {
  background: linear-gradient(135deg, #7a4dff, #0a63ff);
}

.int-card h3,
.ask h3 {
  font-size: 1.3rem;
  line-height: 1.25;
}

.int-card > p {
  color: #d3e2ff;
}

.code {
  align-self: stretch;
  padding: 16px 18px;
  border: 1px solid rgba(111, 233, 255, 0.2);
  border-radius: 14px;
  background: #020817;
  color: #e6f0ff;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.code-dim {
  color: #8ea3c9;
}

.code-key {
  color: #6fe9ff;
}

.code-val {
  color: #8df0b0;
}

.chips,
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #e6f0ff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
}

.chips-light li {
  border-color: #cfdcff;
  color: #0a3a9a;
  background: #eaf1ff;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  color: #e6f0ff;
}

.steps li {
  position: relative;
  padding-left: 40px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -1px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  font-family: "Sora", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.mono-link {
  color: #6fe9ff;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  color: #c9ffe0;
  background: rgba(37, 211, 102, 0.16);
  font-size: 0.84rem;
  font-weight: 600;
}

.badges svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.int-card .button {
  margin-top: auto;
}

/* Demo "Pregúntele a su asistente" */
.ask {
  margin-top: 20px;
}

.ask-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.ask-head p {
  margin-top: 4px;
  color: #c3d6fb;
  font-size: 0.92rem;
}

.ask-body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
}

.ask-list {
  display: grid;
  gap: 10px;
}

.ask-btn {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  color: #eaf2ff;
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.ask-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.ask-btn[aria-selected="true"] {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  box-shadow: 0 12px 28px rgba(7, 92, 255, 0.4);
  transform: translateX(6px);
}

.ask-answers {
  display: grid;
  gap: 14px;
}

.ask-answer {
  padding: 22px;
  border-radius: 20px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 20px 44px rgba(0, 8, 40, 0.35);
}

.ask-answer[hidden] {
  display: none;
}

.js .ask-answer.is-pop {
  animation: pop 0.45s ease;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}

.ask-q {
  font-family: "Sora", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.ask-tool {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 14px;
  color: #5b34d9;
  font-size: 0.8rem;
  font-weight: 600;
}

.ask-tool svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.bars,
.rows {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bar {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.bar i {
  display: block;
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.bar-1 i {
  width: 100%;
}

.bar-2 i {
  width: 69%;
}

.bar-3 i {
  width: 44%;
}

.rows li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e6edff;
  font-size: 0.92rem;
}

.rows li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.tools {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.tools-title {
  margin-bottom: 12px;
  color: #c3d6fb;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Sin JS: todas las respuestas visibles */
html:not(.js) .ask-list,
html:not(.js) .tab-list,
html:not(.js) .replay {
  display: none;
}

html:not(.js) .ask-body {
  grid-template-columns: 1fr;
}

html:not(.js) .ask-answers {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.js .ask-q {
  display: none;
}

/* ---------- DTEMagic ---------- */
.dte-section {
  background: linear-gradient(135deg, #fff7ec 0%, #ffeedb 60%, #ffe4c8 100%);
}

.dte-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.dte-section .section-lead {
  color: #4a3a2c;
}

.dte-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.dte-flow {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dte-flow li {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid #ffd9b8;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(184, 58, 0, 0.1);
}

.dte-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 41px;
  bottom: -15px;
  width: 2px;
  height: 14px;
  background: #ffb98a;
}

.dte-num {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #ff7a3d, #cf4300);
  font-family: "Sora", sans-serif;
  font-weight: 800;
}

.dte-flow h3 {
  font-size: 1.02rem;
}

.dte-flow p {
  margin-top: 2px;
  color: #5b4b3d;
  font-size: 0.92rem;
}

/* ---------- Solución ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card-1 { --c: var(--blue); }
.card-2 { --c: var(--cyan); --kc: #00566c; --kb: #d6f6fd; }
.card-3 { --c: var(--violet); --kc: #4a25b8; --kb: #ece6ff; }
.card-4 { --c: var(--wa); --kc: var(--wa-ink); --kb: #d4f5e2; }
.card-5 { --c: var(--warm); --kc: var(--warm-deep); --kb: #ffe7d6; }
.card-6 { --c: #ff5fa2; --kc: #a01f58; --kb: #ffe0ee; }

/* ---------- Módulos / ecosistema ---------- */
.workflow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.workflow li {
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: block;
  margin-bottom: 8px;
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--blue);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.workflow h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.workflow p {
  color: var(--ink-2);
  font-size: 0.92rem;
}

.eco {
  padding: 34px;
  border: 1px solid var(--line-soft);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.eco-head {
  margin-bottom: 22px;
}

.eco-title {
  max-width: 24em;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.2;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid #cfdcff;
  border-radius: 999px;
  color: #0a3a9a;
  background: #eaf1ff;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.tab-btn svg {
  width: 20px;
  height: 20px;
}

.tab-btn:hover {
  background: #dce8ff;
}

.tab-btn[aria-selected="true"] {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 10px 24px rgba(7, 92, 255, 0.32);
}

.tab-panels {
  display: grid;
  gap: 16px;
}

html:not(.js) .tab-panels {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tab-panel {
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f2f6ff, #f8f4ff);
}

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

.js .tab-panel.is-pop {
  animation: pop 0.4s ease;
}

.tab-panel h4 {
  font-size: 1.25rem;
}

.tab-panel p {
  margin: 8px 0 16px;
  max-width: 62ch;
  color: var(--ink-2);
}

/* ---------- Planes ---------- */
.pricing-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.pricing-note {
  max-width: 28ch;
  color: #d3e2ff;
  font-size: 0.95rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 20px;
  align-items: start;
}

.plan-card {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 34px;
  border-radius: 28px;
  color: var(--ink);
  background: linear-gradient(160deg, #fff, #e8f1ff);
  box-shadow: 0 30px 70px rgba(0, 8, 40, 0.45);
}

.plan-card h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.15;
}

.plan-card > p {
  color: var(--ink-2);
}

.plan-badge {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.check-list svg {
  width: 22px;
  height: 22px;
  padding: 3px;
  border-radius: 50%;
  color: #fff;
  background: var(--wa-deep);
}

.module-stack {
  display: grid;
  gap: 14px;
}

.module-card {
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.module-card .plan-badge {
  color: #04203a;
  background: #6fe9ff;
}

.module-card h3 {
  margin: 12px 0 14px;
  font-size: 1.12rem;
  line-height: 1.3;
}

/* ---------- Implementación ---------- */
.impl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.impl-grid li {
  padding: 28px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: linear-gradient(160deg, #fff, var(--soft));
  box-shadow: var(--shadow-sm);
}

.impl-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-family: "Sora", sans-serif;
  font-weight: 800;
}

.impl-grid h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.impl-grid p {
  color: var(--ink-2);
  font-size: 0.95rem;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.16s ease;
}

.faq details[open] {
  border-color: var(--blue);
}

.faq summary {
  position: relative;
  padding: 18px 56px 18px 22px;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 1.1rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  content: "\2212";
  background: var(--violet);
}

.faq details p {
  padding: 0 22px 20px;
  color: var(--ink-2);
}

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: start;
}

.contact-copy > p:not(.eyebrow) {
  margin-top: 16px;
  max-width: 52ch;
  color: #d3e2ff;
}

.contact-meta a {
  color: #6fe9ff;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 28px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 30px 70px rgba(0, 8, 40, 0.5);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--ink-2);
  font-size: 0.84rem;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c9d6f5;
  border-radius: 14px;
  color: var(--ink);
  background: #f7faff;
  font: inherit;
  font-weight: 400;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  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='%233d4b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.contact-form textarea {
  resize: vertical;
  min-height: 92px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(7, 92, 255, 0.16);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #7a88a8;
}

.contact-submit {
  width: 100%;
}

.contact-submit:disabled {
  opacity: 0.65;
  cursor: progress;
}

.form-note {
  color: var(--ink-2);
  font-size: 0.84rem;
  line-height: 1.4;
  text-align: center;
}

.form-note.is-success {
  color: var(--wa-deep);
  font-weight: 600;
}

.form-note.is-error,
.form-note.is-error a {
  color: #b3261e;
  font-weight: 600;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 44px 0 100px;
  color: #c3d3f2;
  background: #030a22;
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.footer-partner a,
.footer-legal a {
  color: #dce8ff;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}

.footer-legal a {
  font-size: 0.92rem;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  transition: background-color 0.16s ease, transform 0.16s ease;
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-badge iframe {
  max-width: 100%;
  border: 0;
  border-radius: 12px;
}

/* ---------- WhatsApp flotante ---------- */
.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--wa-deep);
  box-shadow: 0 16px 36px rgba(10, 122, 69, 0.45);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.16s ease, background-color 0.16s ease;
}

.floating-whatsapp:hover {
  background: #086a3a;
  transform: translateY(-2px);
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
  fill: #6dffa9;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-nav a {
    padding: 8px 9px;
    font-size: 0.88rem;
  }
}

@media (max-width: 1000px) {
  .plan-card {
    position: static;
  }

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

  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    flex: 1 1 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-bottom: 10px;
  }

  .js .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .js .site-header.nav-open .site-nav {
    display: flex;
  }

  .js .site-nav a {
    padding: 12px 14px;
    font-size: 1rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 48px 0 64px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .power-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wa-layout,
  .int-grid,
  .dte-grid,
  .pricing-grid,
  .contact-grid,
  .ask-body {
    grid-template-columns: 1fr;
  }

  .workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 24px;
  }

  .pricing-heading {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 64px 0;
  }

  .wa-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .wa-logo-tile {
    width: 130px;
    height: 130px;
    border-radius: 34px;
  }

  .wa-logo-tile svg {
    width: 80px;
    height: 80px;
  }

  .wa-cards,
  .impl-grid,
  .form-row,
  html:not(.js) .ask-answers,
  html:not(.js) .tab-panels {
    grid-template-columns: 1fr;
  }

  .ask-btn[aria-selected="true"] {
    transform: none;
  }

  .eco,
  .int-card,
  .ask,
  .plan-card,
  .contact-form {
    padding: 22px;
  }

  .hero-visual {
    min-height: 0;
    flex-direction: column;
    gap: 18px;
  }

  .float-chip {
    position: static;
    animation: none;
    box-shadow: 0 8px 20px rgba(0, 8, 40, 0.3);
  }

  .hero-visual {
    flex-flow: row wrap;
    justify-content: center;
  }

  .phone {
    flex: 0 0 100%;
    max-width: 280px;
    margin: 0 auto 6px;
  }
}

@media (max-width: 560px) {
  .brand {
    width: 150px;
    height: 46px;
  }

  .brand-logo-image {
    top: -30px;
    left: -12px;
    width: 176px;
  }

  .header-cta-group .button-sm {
    display: none;
  }

  .power-grid,
  .feature-grid,
  .workflow {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bar {
    grid-template-columns: 82px minmax(0, 1fr) auto;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp {
    padding: 0 14px;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .blob,
  .float-chip,
  .ring,
  .coverage-track {
    animation: none;
  }

  .coverage-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .coverage-track {
    flex-wrap: wrap;
    justify-content: center;
    padding: 6px 0;
  }

  .coverage-clone {
    display: none;
  }

  .js .wa-chat .wa-msg {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .js .ask-answer.is-pop,
  .js .tab-panel.is-pop {
    animation: none;
  }
}

/* ---------- Menú de accesibilidad (sin cambios de comportamiento) ---------- */

.a11y-widget {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 60;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 14px;
}

.a11y-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(0, 216, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 12px 30px rgba(0, 13, 42, 0.4);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.a11y-toggle:hover,
.a11y-toggle:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 13, 42, 0.5);
}

.a11y-toggle svg {
  width: 28px;
  height: 28px;
}

.a11y-toggle svg .a11y-fill {
  fill: #ffffff;
}


.a11y-panel {
  width: 268px;
  max-width: calc(100vw - 44px);
  border: 1px solid rgba(0, 216, 255, 0.24);
  border-radius: 20px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.98);
  transform-origin: bottom left;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.a11y-widget.is-open .a11y-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.a11y-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(130deg, #0a3a6a 0%, #0f4f8f 45%, #12bfd0 100%);
  color: #edf5ff;
}

.a11y-head strong {
  font-family: "Sora", sans-serif;
  font-size: 0.98rem;
}

.a11y-close {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  border-radius: 8px;
}

.a11y-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.a11y-body {
  padding: 14px;
  display: grid;
  gap: 12px;
}

.a11y-fontsize {
  display: grid;
  gap: 8px;
}

.a11y-fontsize-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.a11y-fontsize-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid rgba(0, 216, 255, 0.2);
  border-radius: 12px;
  padding: 6px 10px;
  background: rgba(6, 22, 58, 0.6);
}

.a11y-font-btn {
  border: 0;
  border-radius: 8px;
  min-width: 40px;
  min-height: 34px;
  cursor: pointer;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  color: var(--text);
  background: rgba(0, 216, 255, 0.14);
}

.a11y-font-btn:hover {
  background: rgba(0, 216, 255, 0.26);
}

.a11y-font-val {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.a11y-options {
  display: grid;
  gap: 8px;
}

.a11y-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(0, 216, 255, 0.18);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
  transition: border-color 0.16s, background 0.16s;
}

.a11y-opt::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1.5px solid rgba(0, 216, 255, 0.5);
  background: transparent;
  display: inline-grid;
  place-items: center;
  transition: background 0.16s, border-color 0.16s;
}

.a11y-opt:hover {
  border-color: rgba(0, 216, 255, 0.4);
  background: rgba(0, 216, 255, 0.08);
}

.a11y-opt.is-active {
  border-color: rgba(0, 216, 255, 0.6);
  background: rgba(0, 216, 255, 0.12);
  color: var(--text);
}

.a11y-opt.is-active::before {
  content: "\2713";
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 900;
}

.a11y-reset {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  cursor: pointer;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.84rem;
  font-weight: 600;
}

.a11y-reset:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 480px) {
  .a11y-widget {
    left: 16px;
    bottom: 16px;
  }
}

/* ---- Efectos de accesibilidad aplicados al documento ---- */
/* Escala de tamaño de fuente por clases (sin estilo inline -> CSP sin 'unsafe-inline').
   Debe cubrir FONT_MIN..FONT_MAX por FONT_STEP definidos en script.js (90..160 por 10). */
html.a11y-fs-90 { font-size: 90%; }
html.a11y-fs-100 { font-size: 100%; }
html.a11y-fs-110 { font-size: 110%; }
html.a11y-fs-120 { font-size: 120%; }
html.a11y-fs-130 { font-size: 130%; }
html.a11y-fs-140 { font-size: 140%; }
html.a11y-fs-150 { font-size: 150%; }
html.a11y-fs-160 { font-size: 160%; }

html.a11y-grayscale {
  filter: grayscale(1);
}

html.a11y-negative {
  filter: invert(1) hue-rotate(180deg);
}

html.a11y-grayscale.a11y-negative {
  filter: grayscale(1) invert(1) hue-rotate(180deg);
}

body.a11y-contrast {
  --text: #ffffff;
  --cream: #ffffff;
  --muted: #e4efff;
  --primary: #6fe9ff;
  --line: rgba(255, 255, 255, 0.5);
}

body.a11y-links a {
  text-decoration: underline !important;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

body.a11y-readable,
body.a11y-readable * {
  font-family: Verdana, Tahoma, Arial, sans-serif !important;
  letter-spacing: 0.01em !important;
  line-height: 1.7 !important;
}

body.a11y-cursor,
body.a11y-cursor * {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'><path d='M8 4 L8 38 L16 30 L21 44 L28 41 L23 28 L34 28 Z' fill='black' stroke='white' stroke-width='2.5' stroke-linejoin='round'/></svg>") 6 4, auto !important;
}

body.a11y-motion *,
body.a11y-motion *::before,
body.a11y-motion *::after {
  animation-duration: 0.001s !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001s !important;
  scroll-behavior: auto !important;
}

/* ---------- Marca propia por lavandería ---------- */
.power-brand {
  --accent: #0a7a8a;
  --accent-text: #08606c;
  --grad: linear-gradient(135deg, #12bfa0, #075cff 60%, #7a4dff);
}

.power-grid > .power-brand:last-child:nth-child(3n + 1) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 24px;
}

.power-grid > .power-brand:last-child:nth-child(3n + 1) .power-link {
  margin: 0;
  padding: 0;
}

.brand-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.brand-facts {
  display: grid;
  gap: 14px;
  margin: 26px 0 28px;
  padding: 0;
  list-style: none;
}

.brand-facts li {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.bf-icon {
  flex: none;
  width: 48px;
  height: 48px;
}

.bf-1 { --grad: linear-gradient(135deg, #0a63ff, #00c2ee); }
.bf-2 { --grad: linear-gradient(135deg, #ff7a3d, #ffb23f); }
.bf-3 { --grad: linear-gradient(135deg, #25d366, #128c7e); }

.brand-facts h3 {
  font-size: 1.02rem;
}

.brand-facts p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 0.92rem;
}

/* Vista previa: solo CSS (radios + hermanos), funciona sin JS */
.bp {
  --p: #075cff;
  --s: #00c2ee;
  --t: #0b1633;
  position: sticky;
  top: 96px;
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.bp-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#bp2:checked ~ .bp-stage { --p: #0a7a45; --s: #25d366; --t: #0f2a1d; }
#bp3:checked ~ .bp-stage { --p: #c2410c; --s: #ffb23f; --t: #3a1a08; }
#bp4:checked ~ .bp-stage { --p: #6d3de0; --s: #e0408a; --t: #1d1236; }

.bp-pick {
  margin-bottom: 10px;
  font-family: "Sora", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.bp-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.bp-sw {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border: 2px solid var(--line-soft);
  border-radius: 999px;
  background: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.bp-sw i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.bp-sw1 i { background: linear-gradient(135deg, #075cff 50%, #00c2ee 50%); }
.bp-sw2 i { background: linear-gradient(135deg, #0a7a45 50%, #25d366 50%); }
.bp-sw3 i { background: linear-gradient(135deg, #c2410c 50%, #ffb23f 50%); }
.bp-sw4 i { background: linear-gradient(135deg, #6d3de0 50%, #e0408a 50%); }

#bp1:checked ~ .bp-controls .bp-sw1,
#bp2:checked ~ .bp-controls .bp-sw2,
#bp3:checked ~ .bp-controls .bp-sw3,
#bp4:checked ~ .bp-controls .bp-sw4 {
  border-color: var(--ink);
  background: var(--soft);
}

#bp1:focus-visible ~ .bp-controls .bp-sw1,
#bp2:focus-visible ~ .bp-controls .bp-sw2,
#bp3:focus-visible ~ .bp-controls .bp-sw3,
#bp4:focus-visible ~ .bp-controls .bp-sw4 {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.bp-stage {
  --p: #075cff;
  --s: #00c2ee;
  --t: #0b1633;
}

.bp-label {
  margin: 0 0 8px;
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bp-browser,
.bp-mail {
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: #fff;
}

.bp-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: #eef2fb;
}

.bp-bar > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c3cde6;
}

.bp-url {
  display: flex;
  flex: 1;
  min-width: 0;
  margin-left: 8px;
  padding: 3px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.74rem;
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bp-url b {
  color: var(--p);
}

.bp-head,
.bp-mail-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
}

.bp-head {
  border-bottom: 3px solid var(--p);
  color: var(--t);
}

.bp-mail-head {
  color: #fff;
  background: var(--p);
}

.bp-logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--p);
  font-family: "Sora", sans-serif;
  font-weight: 800;
}

.bp-mail-head .bp-logo {
  color: var(--p);
  background: #fff;
}

#bp2:checked ~ .bp-stage .bp-logo { border-radius: 10px; }
#bp3:checked ~ .bp-stage .bp-logo { border-radius: 50% 50% 50% 8px; }
#bp4:checked ~ .bp-stage .bp-logo { border-radius: 4px; transform: rotate(45deg); }
#bp4:checked ~ .bp-stage .bp-logo b { transform: rotate(-45deg); }

.bp-name {
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
}

/* Variantes: se muestra solo la elegida */
.bp-stage b {
  font-weight: inherit;
}

.bp-s2, .bp-s3, .bp-s4,
.bp-l2, .bp-l3, .bp-l4 {
  display: none;
}

#bp2:checked ~ .bp-stage .bp-s1, #bp3:checked ~ .bp-stage .bp-s1, #bp4:checked ~ .bp-stage .bp-s1,
#bp2:checked ~ .bp-stage .bp-l1, #bp3:checked ~ .bp-stage .bp-l1, #bp4:checked ~ .bp-stage .bp-l1 {
  display: none;
}

#bp2:checked ~ .bp-stage .bp-s2, #bp3:checked ~ .bp-stage .bp-s3, #bp4:checked ~ .bp-stage .bp-s4,
#bp2:checked ~ .bp-stage .bp-l2, #bp3:checked ~ .bp-stage .bp-l3, #bp4:checked ~ .bp-stage .bp-l4 {
  display: block;
}

.bp-body {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.bp-line {
  display: block;
  height: 9px;
  border-radius: 9px;
  background: #e3e9f7;
}

.bp-line-1 { width: 80%; }
.bp-line-2 { width: 55%; }

.bp-cta,
.bp-mail-btn {
  justify-self: start;
  padding: 9px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--p);
  font-family: "Sora", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
}

.bp-mail-btn {
  color: var(--t);
  background: var(--s);
  border-radius: 10px;
}

.bp-mail-body {
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 18px 16px 20px;
  color: var(--t);
}

.bp-mail-body h3 {
  font-size: 1.05rem;
}

.bp-mail-body p {
  font-size: 0.9rem;
}

.bp-note {
  color: var(--ink-2);
  font-size: 0.8rem;
}

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

  .bp {
    position: static;
  }

  .power-grid > .power-brand:last-child:nth-child(3n + 1) {
    display: flex;
  }

  .power-grid > .power-brand:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}
