:root {
  color-scheme: dark;
  --bg: #181818;
  --bg-alt: #1d1d1d;
  --bg-card: #232323;
  --ink: #fafafa;
  --ink-soft: rgba(250, 250, 250, 0.82);
  --muted: rgba(163, 163, 163, 0.95);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --soft: #262626;
  --soft-2: #2e2e2e;
  --blue: #0085f2;
  --blue-strong: #47a0ff;
  --blue-soft: rgba(0, 133, 242, 0.14);
  --accent: #0085f2;
  --accent-strong: #47a0ff;
  --accent-soft: rgba(0, 133, 242, 0.2);
  --fresh: #76bc21;
  --fresh-strong: #8ed12f;
  --fresh-soft: rgba(118, 188, 33, 0.2);
  --purple: #9b87c9;
  --purple-strong: #b8a6e0;
  --purple-soft: rgba(155, 135, 201, 0.18);
  --peach: #f3c8a3;
  --green: #76bc21;
  --green-soft: rgba(118, 188, 33, 0.22);
  --gold: #d6b078;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.35);
  --radius: 6px;
  --max: 1280px;
  --font-display: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  letter-spacing: 0;
  overflow-x: clip;
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 2;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(24, 24, 24, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 38px rgba(0, 0, 0, 0.45);
}

.site-header.is-scrolled {
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
  border-color: var(--line-strong);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 34px;
}

.brand-mark-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand-mark-svg circle {
  mix-blend-mode: screen;
  transform-box: fill-box;
  transform-origin: center;
  animation: brandCirclePulse 5s ease-in-out infinite;
}

.brand-mark-svg circle:nth-child(1) { animation-delay: 0s; }
.brand-mark-svg circle:nth-child(2) { animation-delay: -1.6s; }
.brand-mark-svg circle:nth-child(3) { animation-delay: -3.2s; }

.brand:hover .brand-mark-svg circle:nth-child(1) {
  transform: translate(-2px, -1px);
}
.brand:hover .brand-mark-svg circle:nth-child(2) {
  transform: translate(2px, -1px);
}
.brand:hover .brand-mark-svg circle:nth-child(3) {
  transform: translate(0, 2px);
}

.brand-mark-svg circle {
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes brandCirclePulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}

.nav-links {
  justify-self: center;
  display: flex;
  gap: 28px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  color: var(--ink-soft);
  transition: color 200ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a::after {
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 1px;
  content: "";
  border-radius: 999px;
  background: var(--ink);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease,
    background-color 160ms ease;
}

.btn svg,
.solution-icon svg,
.line-icon svg,
.icon-dot svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  color: var(--bg);
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.btn-whatsapp {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--green);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: transform 200ms ease, box-shadow 200ms ease,
    background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  background: var(--fresh-strong);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 30px rgba(118, 188, 33, 0.35);
}

.btn-whatsapp .wa-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
  fill: currentColor;
  stroke: none !important;
}

.btn-whatsapp .wa-icon path {
  fill: currentColor;
  stroke: none !important;
}

.btn-whatsapp::after {
  position: absolute;
  top: 0;
  left: -75%;
  width: 45%;
  height: 100%;
  content: "";
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 700ms ease;
}

.btn-whatsapp:hover::after {
  left: 130%;
}

.btn-whatsapp-outline {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
  box-shadow: none;
}

.btn-whatsapp-outline:hover {
  color: var(--bg);
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.nav-cta.btn-whatsapp-outline .wa-icon {
  width: 18px;
  height: 18px;
}

.nav-cta.btn-whatsapp.is-filled {
  color: #fff;
  background: linear-gradient(180deg, #8ed12f 0%, #76bc21 52%, #5fa019 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.nav-cta.btn-whatsapp.is-filled:hover {
  background: linear-gradient(180deg, #9fe048 0%, #82c928 55%, #6aad20 100%);
  box-shadow: 0 14px 30px rgba(118, 188, 33, 0.35);
}

.btn-whatsapp:not(.btn-whatsapp-outline) {
  color: #fff;
  background: linear-gradient(180deg, #8ed12f 0%, #76bc21 52%, #5fa019 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px rgba(118, 188, 33, 0.32);
}

.btn-whatsapp:not(.btn-whatsapp-outline):hover {
  color: #fff;
  background: linear-gradient(180deg, #9fe048 0%, #82c928 55%, #6aad20 100%);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 36px rgba(118, 188, 33, 0.42);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 133, 242, 0.35);
}

.btn:disabled {
  cursor: default;
  opacity: 0.8;
  transform: none;
}

.btn-large {
  min-height: 54px;
  padding: 0 24px;
}

.section-shell {
  position: relative;
  width: min(calc(100% - 38px), var(--max));
  margin-inline: auto;
}

.section-number {
  position: absolute;
  top: 70px;
  left: 0;
  z-index: 1;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  font-size: 0.85rem;
  line-height: 1;
  color: var(--ink);
  opacity: 0.55;
  pointer-events: none;
  letter-spacing: 0.06em;
}

.section-number::before {
  display: inline-block;
  margin-right: 14px;
  width: 28px;
  height: 1px;
  vertical-align: middle;
  content: "";
  background: currentColor;
  opacity: 0.5;
}

.solution .section-number {
  top: 90px;
  left: 38px;
  color: var(--ink);
}

@media (max-width: 860px) {
  .section-number {
    top: 32px;
    font-size: 0.75rem;
  }
  .solution .section-number {
    left: 24px;
    top: 50px;
  }
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 56px;
  padding: 32px 0 40px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  letter-spacing: -0.04em;
  overflow-wrap: break-word;
  color: var(--ink);
}

h1 em,
h2 em,
h3 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  opacity: 0.6;
}

h1 {
  margin-bottom: 32px;
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: 0.96;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 5.4vw, 5rem);
  line-height: 0.96;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

::selection {
  color: var(--bg);
  background: var(--ink);
}

/* AURORA — mesh gradient animado + spotlight cursor */
.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  opacity: 0.45;
  --mx: 50%;
  --my: 50%;
}


.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  mix-blend-mode: screen;
  opacity: 0.3;
  will-change: transform;
}

.aurora-blob-1 {
  top: -10%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, rgba(0, 133, 242, 0.5), transparent 65%);
  animation: auroraDrift1 22s ease-in-out infinite alternate;
}

.aurora-blob-2 {
  top: 20%;
  right: -15%;
  width: 55vw;
  height: 55vw;
  max-width: 720px;
  max-height: 720px;
  background: radial-gradient(circle, rgba(71, 160, 255, 0.42), transparent 65%);
  animation: auroraDrift2 28s ease-in-out infinite alternate;
}

.aurora-blob-3 {
  bottom: -20%;
  left: 20%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, rgba(118, 188, 33, 0.28), transparent 70%);
  animation: auroraDrift3 32s ease-in-out infinite alternate;
}

.aurora-blob-4 {
  bottom: 10%;
  right: 10%;
  width: 50vw;
  height: 50vw;
  max-width: 640px;
  max-height: 640px;
  background: radial-gradient(circle, rgba(71, 160, 255, 0.32), transparent 65%);
  animation: auroraDrift4 26s ease-in-out infinite alternate;
}

.aurora-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.07;
  mix-blend-mode: overlay;
}

@keyframes auroraDrift1 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(30vw, 20vh) scale(1.15); }
  100% { transform: translate(15vw, 35vh) scale(0.95); }
}

@keyframes auroraDrift2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-25vw, 25vh) scale(1.1); }
  100% { transform: translate(-10vw, 40vh) scale(1.2); }
}

@keyframes auroraDrift3 {
  0%   { transform: translate(0, 0) scale(1.05); }
  50%  { transform: translate(20vw, -25vh) scale(0.9); }
  100% { transform: translate(-15vw, -10vh) scale(1.15); }
}

@keyframes auroraDrift4 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-30vw, -30vh) scale(1.2); }
  100% { transform: translate(-15vw, -15vh) scale(0.95); }
}

a {
  color: inherit;
}

/* ==========================================================
   Nueva estructura editorial Fantasy-style
   ========================================================== */

/* SECCIÓN CLARA — invierte paleta para dar luz */
.section-light {
  --bg: #f4f6fa;
  --bg-alt: #e8edf4;
  --bg-card: #ffffff;
  --ink: #12131a;
  --ink-soft: rgba(18, 19, 26, 0.78);
  --muted: rgba(18, 19, 26, 0.52);
  --line: rgba(20, 50, 110, 0.1);
  --line-strong: rgba(20, 50, 110, 0.18);
  --accent: #0085f2;
  --accent-strong: #0066c7;
  --accent-soft: rgba(0, 133, 242, 0.12);
  --fresh: #3d9f8f;
  --fresh-strong: #2f8274;
  --fresh-soft: rgba(61, 159, 143, 0.12);
  background: var(--bg);
  color: var(--ink);
  position: relative;
  z-index: 1;
}

.section-light .eyebrow {
  background: rgba(0, 133, 242, 0.06);
  border-color: var(--line-strong);
}

/* SECCIÓN FRESH — cream con tinte azul/lavanda */
.section-fresh {
  --bg: #e7e8f0;
  --bg-alt: #d8d9e6;
  --bg-card: #f0f1f8;
  --ink: #1a1d2c;
  --ink-soft: rgba(26, 29, 44, 0.78);
  --muted: rgba(26, 29, 44, 0.55);
  --line: rgba(26, 29, 44, 0.14);
  --line-strong: rgba(26, 29, 44, 0.26);
  --accent: #5b6fcc;
  --accent-soft: rgba(91, 111, 204, 0.14);
  background: var(--bg);
  color: var(--ink);
  position: relative;
  z-index: 2;
}

.section-fresh .eyebrow {
  background: rgba(26, 29, 44, 0.05);
  border-color: var(--line-strong);
}

.section-fresh .vs-divider {
  color: var(--accent);
  opacity: 0.85;
}

.section-fresh .vs-mark.check {
  color: var(--accent);
}

.section-fresh .section-bar-title em,
.section-fresh h2 em {
  color: var(--accent);
}

/* SECCIÓN CTA final — bloque claro (contraste con secciones oscuras) */
.section-accent {
  --bg: #f4f6fc;
  --bg-alt: #e8edf8;
  --bg-card: #ffffff;
  --ink: #12131a;
  --ink-soft: rgba(18, 19, 26, 0.78);
  --muted: rgba(18, 19, 26, 0.52);
  --line: rgba(20, 40, 100, 0.1);
  --line-strong: rgba(20, 40, 100, 0.18);
  --accent: #0085f2;
  --accent-strong: #0066c7;
  --accent-soft: rgba(0, 133, 242, 0.12);
  --fresh: #3d9f8f;
  --fresh-strong: #2f8274;
  --fresh-soft: rgba(61, 159, 143, 0.12);
  background: linear-gradient(185deg, #fafbfd 0%, #eef2fb 50%, #e6ebf7 100%);
  color: var(--ink);
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.section-accent h2,
.section-accent h3,
.section-accent .cta-headline {
  color: var(--ink);
}

.section-accent h2 em,
.section-accent h3 em,
.section-accent .cta-headline em {
  color: var(--accent);
  opacity: 1;
}

.section-accent .section-index {
  color: var(--muted);
}

.section-accent .section-index::before {
  background: var(--accent);
}

/* HERO editorial — título dominante + imagen */
.hero-editorial {
  position: relative;
  width: min(calc(100% - 38px), var(--max));
  margin: 8px auto 0;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-editorial::before {
  content: "";
  position: absolute;
  top: 30%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(0, 133, 242, 0.24), transparent 65%);
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}

.hero-editorial::after {
  content: "";
  position: absolute;
  top: 5%;
  right: -10%;
  width: 50%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(178, 152, 220, 0.28), transparent 65%);
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.hero-meta .eyebrow {
  margin: 0;
  line-height: 1;
}

.hero-meta .hero-coords {
  margin-left: auto;
}

.hero-coords {
  display: inline-flex;
  align-items: center;
  height: 36px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}

.hero-coords em {
  font-style: normal;
  margin: 0 8px;
  opacity: 0.5;
  color: var(--accent);
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
  padding-top: 8px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-left .hero-subtitle {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 520px;
}

.hero-actions-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.hero-inline-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(20, 23, 25, 0.6);
  backdrop-filter: blur(12px);
}

.hero-inline-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.hero-inline-badge-icon svg {
  width: 18px;
  height: 18px;
}

.hero-inline-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.hero-inline-badge-text strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.hero-inline-badge-text span {
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-microbadges {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.hero-microbadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.hero-microbadge svg {
  width: 16px;
  height: 16px;
  color: var(--ink-soft);
}

.hero-figure {
  position: relative;
  margin: 0;
  min-height: 380px;
  aspect-ratio: 4 / 3;
  overflow: visible;
  border-radius: 4px;
  background: var(--bg-card);
}

.hero-figure--wa {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  aspect-ratio: auto;
  background: transparent;
  padding: 8px 0 24px;
}

/* Teléfono WhatsApp + mock de sitio web detrás */
.hero-phone-stack {
  position: relative;
  width: 100%;
  max-width: 360px;
  min-height: min(62vh, 580px);
  margin: 0 auto;
  /* Desplaza todo el bloque a la izquierda para enseñar más el “celular web” de atrás */
  transform: translateX(clamp(-10px, -3.5vw, -28px));
}

.hero-site-mock {
  position: absolute;
  z-index: 0;
  /* Menos salida hacia la izquierda (~10pp) = más tapado por el celular delantero */
  left: -8%;
  bottom: 5%;
  width: min(68%, 232px);
  opacity: 0;
  /* translateX primero = desplazamiento horizontal en pantalla; --hero-mock-tx lo mueve el scroll */
  transform: translateX(var(--hero-mock-tx, 0px)) rotate(-9deg) scale(1.034)
    translateY(18px);
  /* Solo opacity: si transform entra en transition, el parallax del scroll queda “lavado” */
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.35));
}

.js .hero-figure--wa.is-revealed .hero-site-mock {
  opacity: 0.96;
  transform: translateX(var(--hero-mock-tx, 0px)) rotate(-9deg) scale(1.034)
    translateY(0);
}

@media (max-width: 1040px) {
  .hero-phone-stack {
    transform: translateX(clamp(-6px, -2vw, -16px));
  }
}

.hero-site-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  /* Proporción tipo smartphone alargado (~9 : 19.5) */
  aspect-ratio: 9 / 19.5;
  padding: 8px;
  border-radius: 34px;
  background: linear-gradient(145deg, #3a3a3a, #0c0c0c);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero-site-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 20px;
  background: #0a0a0a;
  border-radius: 12px;
  z-index: 3;
}

.hero-site-chrome {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 30px 8px 7px;
  background: #eceff4;
  border-radius: 26px 26px 0 0;
}

.hero-site-traffic {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.hero-site-traffic span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c7ccd6;
}

.hero-site-traffic span:nth-child(1) {
  background: #ff5f56;
}
.hero-site-traffic span:nth-child(2) {
  background: #ffbd2e;
}
.hero-site-traffic span:nth-child(3) {
  background: #27c93f;
}

.hero-site-url {
  flex: 1;
  min-width: 0;
  padding: 6px 10px;
  border-radius: 8px;
  background: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  color: #5c6578;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-site-viewport {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 0 0 22px 22px;
  overflow: hidden;
}

.hero-site-screenshot {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-site-frame[data-mock-shot] .hero-site-page {
  display: none;
}

.hero-site-frame[data-mock-shot="dental"] .hero-site-screenshot--dental {
  display: block;
}

.hero-site-frame[data-mock-shot="tacos"] .hero-site-screenshot--tacos {
  display: block;
  /* Encuadre un poco a la derecha para que no se corte el contenido importante */
  object-position: 64% top;
}

.hero-site-frame[data-mock-shot="salon"] .hero-site-screenshot--salon {
  display: block;
}

.hero-site-frame[data-mock-shot="flor"] .hero-site-screenshot--flor {
  display: block;
}

.hero-site-page {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  overflow: hidden;
  background: #fafbfd;
}

.hero-site-hero {
  flex-shrink: 0;
  height: clamp(52px, 26%, 76px);
  min-height: 52px;
  transition: background 0.45s ease;
}

.hero-site-theme-tacos .hero-site-hero {
  background: linear-gradient(125deg, #ff8a14 0%, #e65100 55%, #bf360c 100%);
}

.hero-site-theme-dental .hero-site-hero {
  background: linear-gradient(125deg, #29b6f6 0%, #0288d1 50%, #01579b 100%);
}

.hero-site-theme-flor .hero-site-hero {
  background: linear-gradient(125deg, #ec407a 0%, #ad1457 55%, #880e4f 100%);
}

.hero-site-theme-salon .hero-site-hero {
  background: linear-gradient(125deg, #ab47bc 0%, #6a1b9a 55%, #4a148c 100%);
}

.hero-site-inner {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 10px 10px 12px;
  overflow: hidden;
}

.hero-site-inner::after {
  content: "";
  flex: 1 1 auto;
  min-height: 36px;
  margin-top: 6px;
  border-radius: 6px;
  background: linear-gradient(
    180deg,
    rgba(232, 236, 242, 0.35),
    rgba(245, 247, 251, 0.9)
  );
}

.hero-site-headline {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #141822;
}

.hero-site-lead {
  margin: 0 0 10px;
  font-size: 0.62rem;
  line-height: 1.35;
  color: rgba(20, 24, 34, 0.58);
}

.hero-site-blocks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.hero-site-block {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #e8ecf2, #dde3ec);
}

.hero-site-block--short {
  width: 72%;
}

.hero-site-wa-cta {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #25d366, #128c7e);
}

.hero-figure::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at 25% 70%, rgba(0, 133, 242, 0.34), transparent 60%),
              radial-gradient(ellipse at 75% 25%, rgba(118, 188, 33, 0.22), transparent 65%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

.hero-figure:not(.hero-figure--wa) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1300ms cubic-bezier(0.65, 0, 0.35, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .hero-figure.is-revealed:not(.hero-figure--wa) img,
.hero-figure:not(.hero-figure--wa) img {
  clip-path: inset(0 0 0 0);
}

/* WhatsApp hero demo (teléfono + chat animado) */
.hero-phone-device {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 292px;
  margin-left: auto;
  margin-right: 0;
  padding: 11px;
  border-radius: 42px;
  background: linear-gradient(145deg, #2a2a2a, #0a0a0a);
  box-shadow: var(--shadow),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 0 0 2px rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .hero-figure--wa.is-revealed .hero-phone-device {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-site-mock.hero-site-mock--switch {
  opacity: 0.45;
  transition: opacity 0.22s ease;
}

.hero-phone-screen {
  display: flex;
  flex-direction: column;
  height: min(58vh, 520px);
  max-height: 540px;
  border-radius: 32px;
  overflow: hidden;
  background: #efeae2;
  position: relative;
}

.hero-phone-screen::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 26px;
  background: #0a0a0a;
  border-radius: 20px;
  z-index: 5;
}

.hero-wa-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 44px 12px 12px;
  background: #075e54;
  color: #fff;
}

.hero-wa-header-icon {
  display: grid;
  place-items: center;
  opacity: 0.88;
  flex-shrink: 0;
}

.hero-wa-header-icon--end {
  margin-left: auto;
  opacity: 0.75;
}

.hero-wa-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff9800, #e65100);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  flex-shrink: 0;
}

.hero-wa-head-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hero-wa-head-name {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-wa-head-status {
  font-size: 0.72rem;
  opacity: 0.92;
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-wa-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffeb3b;
  box-shadow: 0 0 0 2px rgba(255, 235, 59, 0.35);
  flex-shrink: 0;
}

.hero-wa-chat-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background-color: #e5ddd5;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-wa-chat-day {
  text-align: center;
  padding: 10px 8px 6px;
}

.hero-wa-chat-day span {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.45);
}

.hero-wa-chat {
  flex: 1;
  overflow: hidden;
  padding: 4px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: flex-end;
  min-height: 0;
}

.hero-wa-row {
  display: flex;
  width: 100%;
}

.hero-wa-row--in {
  justify-content: flex-start;
}

.hero-wa-row--out {
  justify-content: flex-end;
}

.hero-wa-bubble {
  max-width: 88%;
  padding: 7px 10px 6px 11px;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.38;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
  position: relative;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  animation: heroWaBubbleIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-wa-row--in .hero-wa-bubble {
  background: #fff;
  border-top-left-radius: 3px;
  color: #050505;
}

.hero-wa-row--out .hero-wa-bubble {
  background: #dcf8c6;
  border-top-right-radius: 3px;
  color: #041f12;
}

.hero-wa-bubble p {
  margin: 0;
}

.hero-wa-row--in .hero-wa-bubble p {
  color: #030303;
  font-weight: 500;
}

.hero-wa-row--out .hero-wa-bubble p {
  color: #021209;
  font-weight: 600;
}

.hero-wa-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 4px;
  font-size: 0.65rem;
  color: rgba(0, 0, 0, 0.38);
}

.hero-wa-row--out .hero-wa-meta {
  color: rgba(13, 49, 24, 0.55);
}

.hero-wa-check {
  color: #53bdeb;
  font-size: 0.72rem;
  letter-spacing: -0.08em;
}

.hero-wa-typing-bubble {
  padding: 10px 14px;
  border-radius: 10px;
  background: #dcf8c6;
  border-top-right-radius: 3px;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(6px);
  animation: heroWaBubbleIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-wa-dots {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.hero-wa-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  animation: heroWaDotBounce 1.15s ease-in-out infinite;
}

.hero-wa-dots span:nth-child(2) {
  animation-delay: 0.18s;
}
.hero-wa-dots span:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes heroWaBubbleIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

.hero-wa-input-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 12px;
  background: #f0f0f0;
}

.hero-wa-input-fake {
  flex: 1;
  padding: 9px 14px;
  border-radius: 22px;
  background: #fff;
  font-size: 0.82rem;
  color: rgba(0, 0, 0, 0.38);
}

.hero-wa-mic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #075e54;
  display: grid;
  place-items: center;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .hero-wa-bubble,
  .hero-wa-typing-bubble {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-wa-dots span {
    animation: none !important;
    opacity: 0.6;
  }

  .hero-phone-device {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .hero-site-mock {
    transition: none;
    opacity: 1;
    transform: translateX(var(--hero-mock-tx, 0px)) rotate(-9deg) scale(1.034);
  }
}

.hero-figure-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(237, 230, 212, 0.22);
  border-radius: 999px;
  background: rgba(14, 17, 18, 0.82);
  backdrop-filter: blur(10px);
  color: #ede6d4;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-figure-tag-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fresh);
  box-shadow: 0 0 0 0 rgba(125, 143, 255, 0.6);
  animation: dotPulse 2.4s ease-out infinite;
}


.hero-figure .floating-card.float-result {
  top: -16px;
  right: -16px;
  z-index: 4;
  display: block;
  padding: 14px 20px;
}

.hero-figure .float-result strong {
  color: var(--fresh-strong);
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 500;
  align-self: center;
}

.hero-line {
  display: block;
  overflow: hidden;
}

.hero-line em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  color: var(--blue-strong);
  opacity: 1;
}

.hero-foot {
  display: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: rgba(20, 23, 25, 0.78);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 12px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.hero-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  row-gap: 4px;
  align-items: center;
  padding: 8px 24px;
  border-right: 1px solid var(--line);
  position: relative;
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat-icon {
  grid-row: 1 / 3;
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--stat-bg, rgba(237, 230, 212, 0.06));
  color: var(--stat-color, var(--ink-soft));
  align-self: center;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-stat-icon svg {
  width: 22px;
  height: 22px;
}

.hero-stat-num {
  grid-row: 1;
  grid-column: 2;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--stat-color, var(--ink));
  align-self: end;
}

.hero-stat-label {
  grid-row: 2;
  grid-column: 2;
  font-size: 0.84rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  line-height: 1.3;
  align-self: start;
}

.hero-stat--orange {
  --stat-color: #0085f2;
  --stat-bg: rgba(0, 133, 242, 0.14);
}

.hero-stat--blue {
  --stat-color: #47a0ff;
  --stat-bg: rgba(71, 160, 255, 0.16);
}

.hero-stat--purple {
  --stat-color: #b298dc;
  --stat-bg: rgba(178, 152, 220, 0.18);
}

.hero-stat--green {
  --stat-color: #76bc21;
  --stat-bg: rgba(118, 188, 33, 0.16);
}

.hero-stat:hover .hero-stat-icon {
  transform: translateY(-2px) scale(1.04);
}

/* SHOWCASE standalone image */
.showcase {
  position: relative;
  width: 100%;
  margin: 60px 0 100px;
  padding: 0;
}

.showcase::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(80%, 1200px);
  height: 60%;
  background: radial-gradient(ellipse, rgba(0, 133, 242, 0.22), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.showcase-frame {
  position: relative;
  z-index: 1;
}

.showcase-frame {
  position: relative;
  width: min(calc(100% - 38px), 1480px);
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-card);
}

.showcase-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1400ms cubic-bezier(0.65, 0, 0.35, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, clip-path;
}

.js .showcase.is-revealed .showcase-frame img {
  clip-path: inset(0 0 0 0);
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.showcase-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(12, 12, 14, 0.6);
  backdrop-filter: blur(10px);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.showcase-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0, 133, 242, 0.5);
  animation: dotPulse 2.4s ease-out infinite;
}

.showcase-cards {
  position: absolute;
  inset: 0;
}

.showcase-cards .floating-card {
  pointer-events: auto;
}

.showcase-cards .float-speed {
  bottom: 22px;
  left: 22px;
  top: auto;
}

.showcase-cards .float-result {
  top: 22px;
  right: 22px;
  display: block;
  padding: 14px 18px;
}

/* SECTION BAR (Fantasy style: índice + título grande) */
.section-bar {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
  margin-bottom: 80px;
  padding-top: 50px;
  border-top: 1px solid var(--line);
}

.section-bar-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-index {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-index::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-bar-note {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 280px;
}

.section-bar-title {
  margin: 0;
  font-size: clamp(2.4rem, 5.6vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.section-bar-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  opacity: 1;
}

/* Resultados — palabra clave del título: acento editorial en azul */
.results .section-bar-title .results-title-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.05em;
  color: var(--accent-strong);
}

/* WORKS LIST (services restructurado) */
.works-list {
  display: flex;
  flex-direction: column;
}

.work-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 60px;
  align-items: start;
  padding: 60px 0;
  border-top: 1px solid var(--line);
  width: min(calc(100% - 38px), var(--max));
  margin-inline: auto;
}

.works-list .work-row:last-child {
  border-bottom: 1px solid var(--line);
}

.work-row-flip .work-text {
  order: 3;
}

.work-row-flip .work-visual {
  order: 2;
}

.work-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 6px;
}

.work-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--accent);
}

.work-label {
  display: block;
  margin-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--fresh);
}

.work-title {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 3.6vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--ink);
  transition: opacity 300ms ease;
}

.work-lead {
  margin: 0 0 22px;
  max-width: 440px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
}

.work-features {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 440px;
}

.work-features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.work-features li::before {
  content: "→";
  flex-shrink: 0;
  margin-top: 1px;
  font-weight: 700;
  color: var(--fresh);
}

.work-features li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.work-visual {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-card);
}

.work-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.05);
  clip-path: inset(0 100% 0 0);
  transition: filter 700ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    clip-path 1300ms cubic-bezier(0.65, 0, 0.35, 1);
}

.js .work-row.is-revealed .work-visual img {
  clip-path: inset(0 0 0 0);
}

.work-row:hover .work-visual img {
  filter: grayscale(0) contrast(1);
  transform: scale(1.04);
}

.work-row:hover .work-title {
  font-style: italic;
  font-weight: 300;
  opacity: 0.85;
}

/* PAIN restructurado: aside sticky + ordered list */
.pain {
  padding: 30px 0 90px;
}

.pain-stack {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 80px;
  align-items: start;
}

.pain-aside {
  position: static;
  align-self: start;
}

.pain-aside .pain-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.pain-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pain-item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.pain-item:last-child {
  border-bottom: 1px solid var(--line);
}

.pain-item-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-weight: 300;
  font-style: italic;
  color: var(--accent);
}

.pain-item-tag {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.pain-item-title {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(244, 110, 110, 0.45);
  text-decoration-thickness: 1.5px;
}

.pain-item-body p {
  margin: 0 0 20px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 460px;
}

.pain-item-fix {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  transition: background 200ms ease, transform 200ms ease;
}

.pain-item-arrow {
  color: var(--accent);
  font-size: 1.1rem;
}

.pain-item:hover .pain-item-fix {
  background: var(--accent-soft);
  transform: translateX(4px);
}

/* PROCESS como manifesto numerado */
.process {
  position: relative;
  padding: 90px 0 110px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.process::before {
  content: "";
  position: absolute;
  top: 0;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 133, 242, 0.18), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.process::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(178, 152, 220, 0.18), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.process > * {
  position: relative;
  z-index: 1;
}

.process-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 60px;
  align-items: center;
  padding: 50px 0;
  border-top: 1px solid var(--line);
  transition: padding 300ms ease;
}

.process-step:last-child {
  border-bottom: 1px solid var(--line);
}

.process-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  opacity: 0.5;
  transition: color 300ms ease, opacity 300ms ease;
}

.process-step:hover .process-num {
  opacity: 1;
  color: var(--fresh);
}

.process-step:nth-child(2):hover .process-num {
  color: var(--accent);
}

.process-step:nth-child(3):hover .process-num {
  color: var(--purple);
}

.process-title {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: var(--ink);
}

.process-step p {
  margin: 0;
  max-width: 540px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted);
}

.process-arrow {
  font-size: 1.5rem;
  color: var(--ink);
  opacity: 0.4;
  transition: transform 300ms ease, opacity 300ms ease;
}

.process-step:hover .process-arrow {
  transform: translateX(8px);
  opacity: 1;
}

/* DIFFERENCE como vs. comparación tipográfica */
.difference .vs-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-top: 0;
}

.vs-divider {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 5.4rem);
  letter-spacing: -0.04em;
  color: var(--accent);
  opacity: 0.85;
  align-self: center;
}

.vs-column {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.vs-label {
  display: block;
  margin-bottom: 28px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

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

.vs-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vs-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.vs-list li:last-child {
  border-bottom: none;
}

.vs-muted .vs-list li {
  color: var(--muted);
}

.vs-mark {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  width: 24px;
}

.vs-mark.cross {
  color: rgba(244, 110, 110, 0.7);
}

.vs-mark.check {
  color: var(--fresh);
  font-weight: 500;
}

/* RESULTS rediseñado: pull-quote masivo + grid */
.results {
  padding: 90px 0 0;
}

.pull-quote {
  position: relative;
  margin: 0 0 100px;
  padding: 0;
}

.pull-quote-mark {
  position: absolute;
  top: -50px;
  left: -10px;
  font-family: var(--font-display);
  font-size: clamp(10rem, 18vw, 18rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
  opacity: 0.55;
  pointer-events: none;
  text-shadow: 0 0 80px rgba(0, 133, 242, 0.45);
}

.pull-quote blockquote {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 400;
  color: var(--ink);
  max-width: 1100px;
}

.pull-quote blockquote em {
  font-style: italic;
  font-weight: 300;
  color: var(--purple-strong);
  opacity: 1;
}

.pull-quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.pull-quote figcaption strong {
  font-weight: 600;
  color: var(--ink);
}

.pull-quote figcaption span {
  color: var(--muted);
}

.results-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  margin-bottom: 100px;
}

.results-portrait {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.results-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.results-stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-card);
}

.results-stat-meta strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.results-stat-meta span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* FINAL CTA editorial split */
.cta-bar {
  margin-bottom: 28px;
}

.cta-headline {
  font-size: clamp(2.4rem, 7vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin-bottom: 80px;
  max-width: 1100px;
}

.cta-headline em {
  font-style: italic;
  font-weight: 300;
  opacity: 0.55;
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 60px;
  align-items: start;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.cta-aside {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cta-aside p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 360px;
}

.cta-direct {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 200ms ease, border-color 200ms ease,
    transform 200ms ease, color 200ms ease;
  max-width: 320px;
}

.cta-direct:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.section-accent .lead-form input,
.section-accent .lead-form select {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
}

.section-accent .lead-form input:focus,
.section-accent .lead-form select:focus {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 133, 242, 0.12);
}

.section-accent .btn-whatsapp.btn-whatsapp-outline {
  border-color: var(--line-strong);
  color: var(--ink);
}

.section-accent .btn-whatsapp.btn-whatsapp-outline:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.cta-shell .lead-form {
  margin: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* RESPONSIVE para nueva estructura */
@media (max-width: 1040px) {
  .hero-editorial { gap: 40px; }
  .hero-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-figure:not(.hero-figure--wa) {
    min-height: 380px;
  }
  .hero-figure--wa {
    min-height: 0;
    padding-bottom: 12px;
  }

  .hero-figure::before {
    opacity: 0.35;
    filter: blur(48px);
    inset: -24px;
  }

  .hero-title {
    align-self: start;
    font-size: clamp(2rem, 7vw, 3.6rem);
  }
  .hero-foot {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    padding: 6px 8px;
    gap: 0;
    border-radius: 18px;
  }

  .hero-stat {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 16px 12px;
  }

  .hero-stat:last-child {
    border-bottom: none;
  }

  .hero-stat:nth-child(3),
  .hero-stat:nth-child(4) {
    border-top: none;
    margin-top: 0;
    padding-top: 16px;
  }

  .section-bar {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .work-row {
    grid-template-columns: 100px 1fr;
    grid-template-rows: auto auto;
    gap: 24px 36px;
  }
  .work-row .work-visual {
    grid-column: 1 / -1;
    order: 3 !important;
  }
  .work-row-flip .work-text { order: 2 !important; }

  .pain-stack {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .pain-aside {
    position: relative;
    top: 0;
  }

  .process-step {
    grid-template-columns: 80px 1fr auto;
    gap: 24px;
  }

  .difference .vs-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .vs-divider { justify-self: start; }

  .results-grid { grid-template-columns: 1fr; }

  .cta-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .hero-editorial { margin-top: 12px; gap: 28px; padding-bottom: 40px; }
  .hero-meta .hero-coords { display: none; }
  .hero-main { gap: 28px; }
  .hero-title {
    font-size: clamp(2rem, 8.5vw, 3rem);
    line-height: 0.98;
  }

  .hero-inline-badge {
    display: none;
  }

  .hero-figure:not(.hero-figure--wa) {
    min-height: 320px;
    aspect-ratio: 4 / 3;
  }
  .hero-figure--wa {
    min-height: 0;
    aspect-ratio: auto;
    padding-bottom: 8px;
  }
  .hero-phone-screen {
    height: min(56vh, 500px);
  }

  .hero-site-mock {
    left: -2%;
    width: min(66%, 208px);
    bottom: 10%;
    transform: translateX(var(--hero-mock-tx, 0px)) rotate(-7deg) scale(0.99)
      translateY(12px);
  }

  .js .hero-figure--wa.is-revealed .hero-site-mock {
    transform: translateX(var(--hero-mock-tx, 0px)) rotate(-7deg) scale(0.99)
      translateY(0);
  }

  .hero-phone-stack {
    transform: translateX(-8px);
  }
  .hero-figure .floating-card {
    padding: 8px 12px;
    gap: 8px;
  }
  .hero-figure .floating-card strong {
    font-size: 0.86rem;
  }
  .hero-figure .floating-card span {
    font-size: 0.74rem;
  }
  .hero-figure .float-speed {
    bottom: -8px;
    left: -8px;
  }
  .hero-figure .float-result {
    top: -8px;
    right: -8px;
    padding: 10px 14px;
  }
  .hero-figure .float-result strong {
    font-size: 1.2rem;
  }
  .hero-figure .float-result span {
    font-size: 0.7rem;
  }

  /* Stats: una columna legible (evita 2×2 apretado y texto partido raro) */
  .hero-figure::before {
    display: none;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 4px 4px 4px 8px;
    border-radius: 16px;
    background: rgba(24, 24, 24, 0.92);
  }

  .hero-stat {
    padding: 14px 10px;
    column-gap: 14px;
    row-gap: 2px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .hero-stat:last-child {
    border-bottom: none;
  }

  .hero-stat:nth-child(2) {
    border-right: none;
  }

  .hero-stat:nth-child(3),
  .hero-stat:nth-child(4) {
    border-top: none;
    margin-top: 0;
    padding-top: 14px;
  }

  .hero-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .hero-stat-icon svg {
    width: 20px;
    height: 20px;
  }

  .hero-stat-num {
    font-size: clamp(1.45rem, 5vw, 1.75rem);
  }

  .hero-stat-label {
    font-size: 0.8rem;
    line-height: 1.35;
    max-width: 100%;
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  .work-row { padding: 36px 0; gap: 18px; }
  .work-num { font-size: 0.7rem; }

  .pain-stack {
    gap: 18px;
  }

  .pain-aside .pain-photo {
    aspect-ratio: 1 / 1;
    max-height: min(92vw, 380px);
    margin-inline: auto;
    width: 100%;
    max-width: min(100%, 420px);
  }

  .pain-float {
    animation: none;
  }

  .pain-item {
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    row-gap: 6px;
    padding: 22px 0 22px 2px;
  }

  .pain-item-num {
    font-size: clamp(1.75rem, 7vw, 2.35rem);
    line-height: 1;
    padding-top: 2px;
    justify-self: start;
  }

  .process-step {
    grid-template-columns: 60px 1fr;
    padding: 28px 0;
  }
  .process-arrow { display: none; }
  .pull-quote-mark { font-size: 6rem; top: -20px; }
  .pull-quote blockquote { font-size: 1.7rem; }
}

.hero-subtitle {
  max-width: 560px;
  margin-bottom: 36px;
  color: var(--ink-soft);
  font-size: 1.22rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.microcopy,
.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.speed-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 520px;
  margin-top: 30px;
}

.speed-strip div {
  min-height: 100px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(236, 229, 211, 0.03);
  backdrop-filter: blur(6px);
}

.speed-strip strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.4rem;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.speed-strip span {
  color: var(--muted);
  font-size: 0.9rem;
}

.speed-strip span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-visual {
  perspective: 1200px;
  will-change: transform;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1400ms cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform, clip-path;
}

.js .hero-visual.is-revealed img {
  clip-path: inset(0 0 0 0);
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(236, 229, 211, 0.18);
  border-radius: var(--radius);
  background: rgba(12, 12, 14, 0.85);
  backdrop-filter: blur(12px);
  color: #ece5d3;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.floating-card strong {
  display: block;
  font-size: 0.98rem;
}

.floating-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.float-speed {
  left: -22px;
  bottom: 34px;
}

.float-result {
  right: 24px;
  top: 26px;
  display: block;
}

.float-result strong {
  color: var(--accent);
  font-size: 1.75rem;
}

.icon-dot,
.line-icon,
.solution-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius);
}

.icon-dot {
  width: 38px;
  height: 38px;
  color: var(--accent);
  background: var(--accent-soft);
}

.pain,
.services,
.results {
  padding: 110px 0;
}

.pain {
  padding-top: 70px;
  padding-bottom: 30px;
}

.services {
  padding-top: 90px;
  padding-bottom: 60px;
}

.section-heading {
  position: relative;
  max-width: 920px;
  margin-bottom: 60px;
  padding-top: 50px;
}

.section-heading p:not(.eyebrow) {
  max-width: 600px;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading.center p:not(.eyebrow) {
  margin-inline: auto;
}

.pain-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 26px;
  align-items: start;
}

.pain-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.pain-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    clip-path 1300ms cubic-bezier(0.65, 0, 0.35, 1);
}

.js .pain-photo img {
  clip-path: inset(100% 0 0 0);
}

.js .pain-photo.is-revealed img {
  clip-path: inset(0 0 0 0);
}

.pain-photo:hover img {
  transform: scale(1.03);
}

.pain-photo::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 50%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(11, 13, 16, 0.62));
  pointer-events: none;
}

.pain-photo-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  border: 1px solid rgba(236, 229, 211, 0.22);
  border-radius: var(--radius);
  background: rgba(12, 12, 14, 0.85);
  color: #ece5d3;
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.pain-photo-badge strong {
  font-size: 0.95rem;
  color: #ece5d3;
  font-weight: 600;
}

.pain-photo-badge span {
  color: rgba(236, 229, 211, 0.65);
}

.pain-photo-badge span {
  color: var(--muted);
  font-size: 0.82rem;
}

.pain-float {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border: 1px solid rgba(236, 229, 211, 0.22);
  border-radius: var(--radius);
  background: rgba(12, 12, 14, 0.88);
  color: #ece5d3;
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  animation: floatY 5s ease-in-out infinite;
}

.pain-float-icon {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  color: var(--accent);
  background: var(--accent-soft);
}

.pain-float-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pain-float-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  border: 2px solid var(--bg-card);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 0 0 rgba(0, 133, 242, 0.45);
  animation: badgePulse 2.4s ease-out infinite;
}

@keyframes badgePulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 133, 242, 0.45); }
  70%  { box-shadow: 0 0 0 8px rgba(0, 133, 242, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 133, 242, 0); }
}

.pain-float-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pain-float-text strong {
  color: #ece5d3;
  font-size: 0.86rem;
  line-height: 1.2;
}

.pain-float-text span {
  color: rgba(236, 229, 211, 0.65);
  font-size: 0.78rem;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.pain-card,
.solution-card,
.service-card,
.testimonial-card,
.lead-form,
.compare-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.35);
  color: var(--ink);
}

.pain-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 22px 22px 22px 24px;
}

.pain-card h3 {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 1.02rem;
  text-decoration: line-through;
  text-decoration-color: rgba(244, 63, 94, 0.45);
  text-decoration-thickness: 1.5px;
}

.pain-card .pain-card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pain-card .pain-card-body p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.pain-chip {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  margin-bottom: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(244, 110, 110, 0.12);
  color: rgba(244, 130, 130, 0.95);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pain-fix {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 220ms ease, background-color 220ms ease;
}

.pain-fix-icon {
  display: grid;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: var(--bg);
  background: var(--accent);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pain-fix-icon svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pain-card:hover .pain-fix {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--accent) 22%, transparent);
}

.pain-card:hover .pain-fix-icon {
  transform: rotate(-6deg) scale(1.08);
}

.line-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 0;
  color: var(--ink);
  background: #eef4ff;
}

.pain-card p,
.solution-card p,
.service-card p,
.testimonial-card p {
  margin-bottom: 0;
}

.solution {
  padding: 130px 0;
  background: var(--bg-alt);
}

.split-section {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 34px;
  align-items: start;
}

.solution-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.solution-flow {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 100px;
  margin-top: -10px;
  color: var(--accent);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.solution-flow-line {
  transition: stroke-dashoffset 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.solution-flow-dot {
  opacity: 0;
  transform: scale(0.4);
  transform-origin: center;
  transform-box: fill-box;
  transition: opacity 320ms ease, transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.solution-flow-dot:nth-child(2) { transition-delay: 400ms; }
.solution-flow-dot:nth-child(3) { transition-delay: 900ms; }
.solution-flow-dot:nth-child(4) { transition-delay: 1400ms; }

.solution-grid.is-flow-visible .solution-flow-line {
  stroke-dashoffset: 0;
}

.solution-grid.is-flow-visible .solution-flow-dot {
  opacity: 1;
  transform: scale(1);
}

.solution-grid > .solution-card {
  position: relative;
  z-index: 1;
}

.solution-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease,
    border-color 180ms ease;
}

.solution-card::after {
  position: absolute;
  right: -48px;
  bottom: -56px;
  width: 142px;
  height: 142px;
  content: "";
  border: 1px solid rgba(201, 126, 74, 0.18);
  border-radius: 50%;
}

.solution-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 133, 242, 0.35);
  box-shadow: 0 24px 50px rgba(16, 28, 45, 0.08);
}

.step {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.solution-icon {
  width: 48px;
  height: 48px;
  margin: 48px 0 22px;
  color: var(--bg);
  background: var(--ink);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4);
}

.solution-icon.green {
  background: var(--accent);
  box-shadow: 0 12px 26px rgba(0, 133, 242, 0.35);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  overflow: hidden;
  padding: 16px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 54px rgba(16, 28, 45, 0.08);
}

.service-card h3,
.service-card p {
  padding-inline: 8px;
}

.device-showcase {
  position: relative;
  min-height: 254px;
  margin-bottom: 22px;
  padding: 22px 18px 18px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 15% 15%, rgba(19, 185, 129, 0.13), transparent 28%),
    linear-gradient(135deg, #f7f9fc, #eaf0f7);
}

.browser-frame {
  position: relative;
  width: 82%;
  min-height: 188px;
  padding: 32px 14px 14px;
  overflow: hidden;
  border: 8px solid #111827;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.18);
}

.browser-frame > span {
  position: absolute;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
}

.browser-frame > span:nth-child(1) {
  left: 16px;
}

.browser-frame > span:nth-child(2) {
  left: 28px;
}

.browser-frame > span:nth-child(3) {
  left: 40px;
}

.phone-frame {
  position: absolute;
  right: 18px;
  bottom: 20px;
  width: 86px;
  min-height: 166px;
  padding: 14px 8px 8px;
  border: 6px solid #111827;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.2);
}

.phone-notch {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: #111827;
  transform: translateX(-50%);
}

.phone-content {
  display: grid;
  min-height: 136px;
  place-items: center;
  border-radius: 10px;
  background: #f8fafc;
}

.preview-nav {
  width: 60%;
  height: 7px;
  margin: 0 0 20px auto;
  border-radius: 999px;
  background: linear-gradient(90deg, #dbe4ef 35%, var(--blue) 35% 49%, #dbe4ef 49%);
}

.preview-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  min-height: 88px;
  padding: 16px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, #101820, #105cff);
}

.preview-hero b,
.preview-hero small {
  display: block;
}

.preview-hero small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.64rem;
}

.preview-hero button,
.shop-mini button {
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--green);
  font-size: 0.66rem;
  font-weight: 800;
}

.preview-hero button {
  padding: 8px 10px;
}

.preview-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.preview-bars i,
.corp-cards i,
.corp-mini i {
  display: block;
  border-radius: 6px;
  background: #e6edf6;
}

.preview-bars i {
  height: 30px;
}

.landing-mini {
  color: var(--green);
  background: linear-gradient(180deg, #f6fffb, #edf3ff);
}

.landing-mini b {
  font-size: 1.28rem;
}

.landing-mini span {
  margin-top: -26px;
  color: var(--muted);
  font-size: 0.68rem;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.product-card {
  min-height: 110px;
  border-radius: var(--radius);
  background:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(135deg, #cfe0ff, #eef2f7) border-box;
  border: 1px solid transparent;
}

.product-card::before,
.product-card::after {
  display: block;
  width: 68%;
  height: 8px;
  margin: 68px auto 0;
  content: "";
  border-radius: 999px;
  background: #d8e2ee;
}

.product-card::after {
  width: 44%;
  margin-top: 8px;
  background: var(--blue);
}

.product-card.hot {
  background:
    linear-gradient(180deg, rgba(19, 185, 129, 0.18), #fff 55%) padding-box,
    linear-gradient(135deg, var(--green), #dbeafe) border-box;
}

.checkout-line {
  width: 66%;
  height: 10px;
  margin: 14px 0 0 auto;
  border-radius: 999px;
  background: #dbe4ef;
}

.shop-mini {
  align-content: center;
  gap: 6px;
  padding: 10px;
}

.shop-mini span {
  color: var(--muted);
  font-size: 0.64rem;
}

.shop-mini b {
  color: var(--ink);
  font-size: 1rem;
}

.shop-mini button {
  width: 100%;
  min-height: 28px;
}

.corp-header {
  width: 42%;
  height: 14px;
  margin: 14px 0;
  border-radius: 999px;
  background: #111827;
}

.corp-copy {
  width: 74%;
  height: 46px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #e8eef6, #f7f9fc);
}

.corp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.corp-cards i {
  height: 46px;
}

.corp-mini {
  align-content: center;
  gap: 9px;
  padding: 12px;
}

.corp-mini i {
  width: 100%;
  height: 24px;
}

.difference {
  padding: 130px 0;
  background: var(--bg);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.difference .eyebrow {
  color: var(--ink);
  border-color: rgba(0, 80, 160, 0.2);
  background: rgba(0, 133, 242, 0.07);
}

.difference p {
  color: var(--ink-soft);
}

.compare-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 960px;
  margin-inline: auto;
  padding: 14px;
  background: var(--bg-card);
  border-color: var(--line);
}

.compare-column.muted {
  background: rgba(236, 229, 211, 0.04);
  color: var(--ink-soft);
}

.compare-column {
  padding: 28px;
  border-radius: var(--radius);
}

.compare-column.active {
  color: var(--bg);
  background: var(--ink);
}

.compare-column h3 {
  margin-bottom: 22px;
}

.compare-column ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-column li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: inherit;
  line-height: 1.45;
}

.cross,
.check {
  display: grid;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  font-size: 0.86rem;
  font-weight: 900;
}

.cross {
  color: rgba(244, 130, 130, 0.95);
  background: rgba(244, 110, 110, 0.18);
}

.check {
  color: var(--accent);
  background: var(--accent-soft);
}

.compare-column.active .check {
  color: var(--bg);
  background: rgba(12, 12, 14, 0.18);
}

.results-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: stretch;
}

.portrait-strip {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.portrait-strip img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

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

.testimonial-card {
  min-height: 100%;
  padding: 32px 28px;
}

.testimonial-card p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.stars {
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 1.08rem;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card strong {
  margin-top: 24px;
}

.testimonial-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.whatsapp-shot {
  display: grid;
  gap: 9px;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #effaf4, #f7f9fc);
}

.bubble {
  width: fit-content;
  max-width: 92%;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.38;
  color: #1a1a1d;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.bubble.in {
  background: #ffffff;
  color: #1a1a1d;
}

.bubble.out {
  justify-self: end;
  color: #052e1e;
  background: #a5e8c2;
  font-weight: 600;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.logo-row span {
  display: grid;
  min-height: 64px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #8a94a3;
  background: #fff;
  font-weight: 800;
}

.final-cta {
  padding: 130px 0 150px;
  position: relative;
  overflow: visible;
}

.cta-shell {
  display: block;
}

.cta-copy {
  max-width: 680px;
}

.cta-copy h2 {
  font-size: clamp(2.6rem, 7vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.88rem;
  font-size: 0.9rem;
  font-weight: 800;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(236, 229, 211, 0.04);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease,
    background-color 160ms ease;
}

.lead-form input::placeholder {
  color: var(--muted);
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: var(--ink);
  background: rgba(236, 229, 211, 0.07);
  box-shadow: 0 0 0 4px rgba(236, 229, 211, 0.06);
}

.lead-form .btn {
  width: 100%;
}

.form-note {
  margin: 0;
  text-align: center;
}

.site-footer {
  position: relative;
  background: var(--bg);
  color: var(--muted);
  padding: 90px 0 0;
  border-top: 1px solid var(--line);
}

.site-footer h4,
.site-footer .footer-brand strong {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  width: min(calc(100% - 38px), var(--max));
  margin-inline: auto;
  padding-bottom: 48px;
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  color: #8a93a3;
  font-size: 0.92rem;
  max-width: 320px;
  margin: 0;
}

.footer-nav,
.footer-contact,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav h4,
.footer-contact h4,
.footer-social h4 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-nav a,
.footer-contact a {
  color: #c2cad6;
  font-size: 0.94rem;
  transition: color 180ms ease;
  width: fit-content;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-contact span {
  color: #6b7383;
  font-size: 0.84rem;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.social-icons a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: #c2cad6;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 200ms ease, color 200ms ease,
    border-color 200ms ease, background-color 200ms ease;
}

.social-icons a:hover {
  transform: translateY(-2px);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.social-icons svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  width: min(calc(100% - 38px), var(--max));
  margin-inline: auto;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #6b7383;
  font-size: 0.84rem;
}

.footer-legal {
  display: flex;
  gap: 18px;
}

.footer-legal a {
  color: #c2cad6;
  transition: color 180ms ease;
}

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

.whatsapp-float,
.mobile-sticky-cta {
  position: fixed;
  z-index: 60;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.whatsapp-float {
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, #8ed12f 0%, #76bc21 52%, #5fa019 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: transform 160ms ease, box-shadow 160ms ease;
  isolation: isolate;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.42);
}

.whatsapp-float .wa-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
  fill: currentColor;
  stroke: none !important;
}

.whatsapp-float .wa-icon path {
  fill: currentColor;
  stroke: none !important;
}

.mobile-sticky-cta {
  display: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal.is-initial {
  transition: none;
}

.delay-1 {
  transition-delay: 80ms;
}

.delay-2 {
  transition-delay: 150ms;
}

/* ==========================================================
   Decoraciones de fondo globales
   ========================================================== */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-decor .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  will-change: transform;
}

.bg-decor .blob-1 {
  top: -140px;
  left: -100px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(0, 133, 242, 0.14), transparent 70%);
  animation: blobDrift 24s ease-in-out infinite;
}

.bg-decor .blob-2 {
  top: 35%;
  right: -160px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 133, 242, 0.07), transparent 70%);
  animation: blobDrift 30s ease-in-out -6s infinite reverse;
}

.bg-decor .blob-3 {
  bottom: -200px;
  left: 30%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(214, 176, 120, 0.06), transparent 70%);
  animation: blobDrift 36s ease-in-out -12s infinite;
}

.bg-decor .grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(236, 229, 211, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 229, 211, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at top, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at top, #000 0%, transparent 80%);
  opacity: 0.5;
}

@keyframes blobDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(60px, -40px, 0) scale(1.08); }
  66% { transform: translate3d(-50px, 50px, 0) scale(0.95); }
}

/* ==========================================================
   Eyebrows con punto y shimmer
   ========================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(236, 229, 211, 0.04);
  backdrop-filter: blur(6px);
  color: var(--ink);
}

.eyebrow-dot {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple-strong);
  box-shadow: 0 0 0 0 rgba(200, 179, 232, 0.55);
  animation: dotPulse 2.4s ease-out infinite;
}

@keyframes dotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(200, 179, 232, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(200, 179, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 179, 232, 0); }
}

.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  animation: shimmerSlide 4.2s ease-in-out 1.2s infinite;
}

@keyframes shimmerSlide {
  0%   { transform: translateX(-120%); }
  60%  { transform: translateX(220%); }
  100% { transform: translateX(220%); }
}

.difference .eyebrow {
  border-color: rgba(0, 80, 160, 0.24);
  background: rgba(0, 133, 242, 0.09);
}

.difference .eyebrow-dot {
  background: #47a0ff;
  animation: dotPulseLight 2.4s ease-out infinite;
}

@keyframes dotPulseLight {
  0%   { box-shadow: 0 0 0 0 rgba(0, 133, 242, 0.45); }
  70%  { box-shadow: 0 0 0 10px rgba(0, 133, 242, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 133, 242, 0); }
}

/* ==========================================================
   Hero: orbit + sparks + parallax sutil
   ========================================================== */
.hero {
  position: relative;
}

.hero-orbit {
  position: absolute;
  top: 8%;
  right: 4%;
  width: 360px;
  height: 360px;
  border: 1px dashed rgba(0, 133, 242, 0.22);
  border-radius: 50%;
  pointer-events: none;
  animation: orbitSpin 36s linear infinite;
}

.hero-orbit::before,
.hero-orbit::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 18px rgba(0, 133, 242, 0.55);
}

.hero-orbit::before {
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translateX(-50%);
}

.hero-orbit::after {
  bottom: 18%;
  right: -5px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(0, 133, 242, 0.5);
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-spark {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue) 0%, transparent 70%);
  opacity: 0.55;
  filter: blur(1px);
  animation: sparkFloat 6s ease-in-out infinite;
}

.hero-spark-1 {
  top: 18%;
  left: 38%;
  width: 14px;
  height: 14px;
}

.hero-spark-2 {
  bottom: 26%;
  left: 10%;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, rgba(0, 133, 242, 0.6) 0%, transparent 70%);
  animation-delay: -2s;
  animation-duration: 7.5s;
}

.hero-spark-3 {
  top: 60%;
  right: 18%;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  animation-delay: -4s;
  animation-duration: 8s;
  opacity: 0.7;
}

@keyframes sparkFloat {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.55; }
  50%      { transform: translate3d(14px, -22px, 0); opacity: 0.95; }
}

.hero-visual::before {
  position: absolute;
  inset: -22px;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 70% 30%, rgba(0, 133, 242, 0.14), transparent 60%);
  border-radius: 24px;
  filter: blur(10px);
}

.hero-visual img {
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-visual:hover img {
  transform: scale(1.02) translateY(-2px);
}

/* ==========================================================
   Floating cards: movimiento continuo
   ========================================================== */
.float-speed {
  animation: floatY 5.5s ease-in-out infinite;
}

.float-result {
  animation: floatY 6.5s ease-in-out -1.5s infinite;
}

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

.floating-card {
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.floating-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
}

/* ==========================================================
   Speed strip: hover con resalte y mini barra
   ========================================================== */
.speed-strip div {
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease,
    box-shadow 220ms ease;
}

.speed-strip div::before {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.speed-strip div:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 133, 242, 0.35);
  box-shadow: 0 18px 38px rgba(16, 28, 45, 0.08);
}

.speed-strip div:hover::before {
  transform: scaleX(1);
}

.speed-strip strong {
  color: var(--ink);
}

/* ==========================================================
   Plecas / dividers entre secciones
   ========================================================== */
.section-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(calc(100% - 38px), var(--max));
  margin: 32px auto 36px;
}

.editorial-marquee {
  position: relative;
  overflow: hidden;
  margin: 80px 0;
  padding: 28px 0;
  border-block: 1px solid var(--line);
  background: transparent;
}

.editorial-marquee.alt {
  background: transparent;
}

.editorial-marquee-track {
  display: flex;
  gap: 36px;
  width: max-content;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  color: var(--ink);
  animation: editorialScroll 42s linear infinite;
}

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

.editorial-marquee-track span {
  display: inline-block;
}

.editorial-marquee-track em {
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  opacity: 0.55;
  margin: 0 12px;
}

@keyframes editorialScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% / 3)); }
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(15, 23, 42, 0.14),
    transparent
  );
}

.divider-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border: 1px solid rgba(0, 133, 242, 0.22);
  border-radius: 999px;
  background: #fff;
  color: #303846;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 133, 242, 0.08);
}

.divider-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(0, 133, 242, 0.55);
  animation: dotPulse 2.2s ease-out infinite;
}

.divider-pill.alt {
  border-color: rgba(0, 133, 242, 0.35);
  box-shadow: 0 8px 24px rgba(0, 133, 242, 0.12);
}

.divider-pill.alt .divider-pulse {
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0, 133, 242, 0.55);
  animation: dotPulseAccent 2.2s ease-out infinite;
}

@keyframes dotPulseAccent {
  0%   { box-shadow: 0 0 0 0 rgba(0, 133, 242, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(0, 133, 242, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 133, 242, 0); }
}

/* ==========================================================
   Solution: glow + tarjeta con borde animado
   ========================================================== */
.solution {
  position: relative;
  overflow: hidden;
}

.section-glow {
  position: absolute;
  top: -140px;
  right: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 133, 242, 0.08), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.solution-card {
  position: relative;
}

.solution-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  border-radius: var(--radius);
  background: rgba(0, 133, 242, 0.08);
  opacity: 0;
  transition: opacity 220ms ease;
}

.solution-card:hover::before {
  opacity: 1;
  filter: blur(12px);
}

.solution-card > * {
  position: relative;
  z-index: 1;
}

.solution-icon {
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.solution-card:hover .solution-icon {
  transform: rotate(-6deg) scale(1.08);
}

/* ==========================================================
   Service cards: borde con gradiente al hover
   ========================================================== */
.service-card {
  position: relative;
}

.service-card {
  transition: transform 220ms ease, box-shadow 220ms ease,
    border-color 220ms ease;
}

.service-card:hover {
  border-color: rgba(0, 133, 242, 0.4);
}

.service-card .portfolio-visual {
  position: relative;
  overflow: hidden;
  margin: 0 0 16px;
  border-radius: var(--radius);
  background: #f7f9fc;
}

.service-card .portfolio-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    clip-path 1100ms cubic-bezier(0.65, 0, 0.35, 1);
  clip-path: inset(0 100% 0 0);
}

.js .service-card.is-revealed .portfolio-visual img {
  clip-path: inset(0 0 0 0);
}

.service-card:hover .portfolio-visual img {
  transform: scale(1.04);
}

.portfolio-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(12, 12, 14, 0.8);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ==========================================================
   Pain cards: mover icono al hover
   ========================================================== */
.pain-card {
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease,
    border-color 220ms ease;
}

.pain-card::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 110px;
  height: 110px;
  content: "";
  background: radial-gradient(circle, rgba(244, 63, 94, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
}

.pain-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 63, 94, 0.35);
  box-shadow: 0 22px 48px rgba(16, 28, 45, 0.08);
}

.pain-card:hover::after {
  opacity: 1;
}

.pain-card .line-icon {
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 280ms ease, color 280ms ease;
}

.pain-card:hover .line-icon {
  background: rgba(244, 63, 94, 0.1);
  color: rgba(244, 63, 94, 0.9);
  transform: rotate(-6deg) scale(1.06);
}

.pain-card .line-icon {
  background: #f3f5f8;
  color: #98a2b3;
  opacity: 0.95;
}

/* ==========================================================
   Difference: grid + orbes flotando
   ========================================================== */
.difference {
  position: relative;
  overflow: hidden;
}

.diff-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}

.diff-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: blobDrift 26s ease-in-out infinite;
}

.diff-orb-1 {
  top: -140px;
  left: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(139, 122, 224, 0.18), transparent 70%);
}

.diff-orb-2 {
  bottom: -160px;
  right: -120px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(61, 159, 143, 0.1), transparent 70%);
  animation-delay: -10s;
  animation-direction: reverse;
}

.compare-panel {
  position: relative;
}

.compare-column.active {
  position: relative;
  overflow: hidden;
}

.compare-column.active::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(0, 133, 242, 0.08) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  animation: shimmerSlide 6s ease-in-out 2s infinite;
  pointer-events: none;
}

.compare-column li {
  transition: transform 220ms ease;
}

.compare-column.active li:hover {
  transform: translateX(4px);
}

.check {
  transition: transform 240ms ease;
}

.compare-column.active li:hover .check {
  transform: scale(1.15) rotate(-6deg);
}

/* ==========================================================
   Logo marquee
   ========================================================== */
.logo-marquee {
  position: relative;
  margin-top: 48px;
  overflow: hidden;
  padding: 24px 0;
  border-block: 1px solid var(--line);
  background: var(--bg);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
}

.logo-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marqueeSlide 32s linear infinite;
}

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

.logo-track span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}

.logo-track span::after {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 26px;
  content: "";
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.5;
}

@keyframes marqueeSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================
   Final CTA: glow (apagado)
   ========================================================== */
.cta-glow {
  position: absolute;
  inset: auto -180px -200px auto;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(254, 244, 221, 0.55), transparent 65%);
  filter: blur(70px);
  pointer-events: none;
  animation: blobDrift 24s ease-in-out infinite;
}

.lead-form {
  position: relative;
}

.lead-form::before {
  position: absolute;
  inset: -2px;
  z-index: -1;
  content: "";
  border-radius: calc(var(--radius) + 2px);
  background: var(--accent-soft);
  opacity: 0;
  filter: blur(16px);
  transition: opacity 280ms ease;
}

.lead-form:focus-within::before {
  opacity: 1;
}

/* ==========================================================
   Botón primary con gradiente animado + brillo
   ========================================================== */
.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--bg);
  transition: transform 200ms ease, box-shadow 200ms ease,
    background-color 200ms ease;
}

.btn-primary:hover {
  background: #fff;
}

.btn-primary::after {
  position: absolute;
  top: 0;
  left: -75%;
  width: 45%;
  height: 100%;
  content: "";
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 700ms ease;
}

.btn-primary:hover::after {
  left: 130%;
}

.btn-primary svg {
  transition: transform 220ms ease;
}

.btn-primary:hover svg {
  transform: translateX(3px);
}


/* Hero H1 sin tratamiento de gradiente - color sólido */
.hero h1 {
  color: var(--ink);
}

/* ==========================================================
   Reduced motion: apaga todas las nuevas animaciones
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  .bg-decor .blob,
  .hero-orbit,
  .hero-spark,
  .float-speed,
  .float-result,
  .shimmer::after,
  .compare-column.active::before,
  .logo-track,
  .cta-glow,
  .diff-orb,
  .btn-primary,
  .hero h1,
  .eyebrow-dot,
  .divider-pulse,
  .brand-mark-svg circle,
  .pain-float,
  .pain-float-badge {
    animation: none !important;
  }

  .btn-primary {
    background: var(--ink);
  }

  .hero h1 {
    -webkit-text-fill-color: var(--ink);
    background: none;
  }
}

/* ==========================================================
   Responsive ajustes para nuevos elementos
   ========================================================== */
@media (max-width: 1040px) {
  .hero-orbit {
    width: 280px;
    height: 280px;
    top: -20px;
    right: -20px;
    opacity: 0.6;
  }
}

@media (max-width: 860px) {
  .section-divider {
    margin: 18px auto 22px;
  }

  .divider-pill {
    font-size: 0.74rem;
    padding: 6px 12px;
  }

  .hero-orbit,
  .hero-spark {
    display: none;
  }

  .logo-track {
    gap: 36px;
    animation-duration: 24s;
  }

  .logo-track span {
    font-size: 0.92rem;
  }
}

@media (max-width: 640px) {
  .bg-decor .blob {
    filter: blur(50px);
    opacity: 0.4;
  }

  .section-divider {
    gap: 10px;
    width: calc(100% - 28px);
  }

  .divider-line {
    display: none;
  }

  .pain-photo img,
  .js .pain-photo img,
  .js .pain-photo.is-revealed img {
    clip-path: inset(0 0 0 0);
    aspect-ratio: 1 / 1;
    max-height: min(92vw, 380px);
    width: 100%;
    object-fit: cover;
    min-height: 0;
  }

  .pain-photo-badge {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 10px 12px;
  }

  .pain-float {
    top: 12px;
    right: 12px;
    left: auto;
    max-width: calc(100% - 24px);
    padding: 8px 12px 8px 8px;
    gap: 10px;
  }

  .pain-float-icon {
    width: 34px;
    height: 34px;
  }

  .pain-float-icon svg {
    width: 16px;
    height: 16px;
  }

  .pain-float-text strong {
    font-size: 0.78rem;
  }

  .pain-float-text span {
    font-size: 0.7rem;
  }

  .pain-card {
    padding: 18px;
    gap: 14px;
  }

  .pain-fix {
    font-size: 0.82rem;
    padding: 6px 12px 6px 6px;
  }

  .pain-fix-icon {
    width: 20px;
    height: 20px;
  }

  .pain-fix-icon svg {
    width: 11px;
    height: 11px;
  }

  .portfolio-tag {
    top: 10px;
    left: 10px;
    font-size: 0.66rem;
    padding: 4px 10px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1040px) {
  .hero,
  .split-section,
  .cta-shell,
  .results-layout,
  .pain-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-copy {
    max-width: 800px;
  }

  .hero-visual {
    max-width: 760px;
  }

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

  .solution-card:last-child {
    grid-column: 1 / -1;
  }

  .solution-flow {
    display: none;
  }

  .portrait-strip img {
    max-height: 430px;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2,
  .cta-copy h2 {
    font-size: 2.35rem;
  }

  .pain-grid,
  .testimonial-grid,
  .compare-panel,
  .logo-row {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

  .compare-panel {
    padding: 10px;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: min(calc(100% - 24px), var(--max));
    margin-top: 10px;
    padding: 8px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    max-width: 168px;
    padding: 0 10px;
    font-size: 0.78rem;
    gap: 6px;
    white-space: nowrap;
  }

  .nav-cta.btn-whatsapp-outline .wa-icon {
    width: 16px;
    height: 16px;
  }

  .section-shell {
    width: calc(100% - 28px);
    margin-inline: auto;
  }

  .site-header {
    width: calc(100% - 24px);
    margin-inline: auto;
  }

  .hero {
    gap: 28px;
    padding: 30px 0 36px;
  }

  h1 {
    font-size: 2.16rem;
    line-height: 1.08;
  }

  h2,
  .cta-copy h2 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.04rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .speed-strip {
    display: none;
  }

  .hero-visual img {
    max-height: 250px;
  }

  .floating-card {
    position: static;
    margin-top: 10px;
  }

  .float-result {
    display: none;
  }

  .pain,
  .solution,
  .services,
  .difference,
  .results,
  .final-cta {
    padding: 66px 0;
  }

  .pain {
    padding-top: 26px;
  }

  .solution-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .solution-card:last-child {
    grid-column: auto;
  }

  .device-showcase {
    min-height: 224px;
  }

  .browser-frame {
    width: 88%;
    min-height: 164px;
  }

  .phone-frame {
    width: 76px;
    min-height: 146px;
  }

  .phone-content {
    min-height: 118px;
  }

  .portrait-strip img {
    min-height: 320px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }

  .mobile-sticky-cta {
    display: none;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 36px;
  }

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

/* =========================================================
   IMAGE MODAL — click portfolio images to zoom
   ========================================================= */
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 56px);
  background: rgba(8, 9, 10, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 320ms;
  cursor: zoom-out;
}

.image-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.image-modal-figure {
  position: relative;
  margin: 0;
  max-width: min(1200px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: scale(0.94);
  opacity: 0;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 320ms ease;
  cursor: default;
}

.image-modal.is-open .image-modal-figure {
  transform: scale(1);
  opacity: 1;
}

.image-modal-img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 160px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(237, 230, 212, 0.1);
}

.image-modal-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  max-width: min(640px, 100%);
  padding: 0 8px;
}

.image-modal-caption[hidden] {
  display: none;
}

.image-modal-lead {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fafafa;
}

.image-modal-detail {
  display: block;
  margin: 0;
  font-size: clamp(0.92rem, 2.1vw, 1.05rem);
  line-height: 1.45;
  font-weight: 500;
  color: rgba(250, 250, 250, 0.72);
  max-width: 52ch;
}

.image-modal-detail:empty {
  display: none;
}

.image-modal-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(237, 230, 212, 0.18);
  background: rgba(20, 23, 25, 0.78);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease, border-color 200ms ease;
  z-index: 2;
}

.image-modal-close:hover {
  background: rgba(237, 230, 212, 0.12);
  border-color: var(--line-strong);
  transform: rotate(90deg);
}

.image-modal-close svg {
  width: 20px;
  height: 20px;
}

body.modal-open {
  overflow: hidden;
}

/* Cursor pointer on portfolio images */
.work-visual {
  cursor: zoom-in;
}

@media (max-width: 640px) {
  .image-modal-close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }
  .image-modal-img {
    max-height: calc(100vh - 110px);
  }
}


/* =========================================================
   FINAL CTA — versión simple sin formulario, fondo sólido
   ========================================================= */
.final-cta .cta-glow {
  display: none;
}

.cta-simple {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  max-width: 640px;
  margin-top: 32px;
}

.cta-simple-text {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.cta-simple-btn {
  align-self: flex-start;
}

.cta-simple-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.section-accent .cta-simple-btn.btn-whatsapp {
  color: #fff;
  background: linear-gradient(180deg, #8ed12f 0%, #76bc21 52%, #5fa019 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 28px rgba(60, 100, 30, 0.22);
}

.section-accent .cta-simple-btn.btn-whatsapp:hover {
  background: linear-gradient(180deg, #9fe048 0%, #82c928 55%, #6aad20 100%);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 14px 34px rgba(60, 100, 30, 0.28);
}

/* =========================================================
   FUSIÓN COPY · Franja de valor + Paquetes + Casos WhatsApp
   ========================================================= */

.value-strip {
  padding: 48px 0 56px;
  border-block: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(0, 133, 242, 0.06),
    transparent 55%
  );
}

.value-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.value-strip-card {
  padding: 26px 22px;
  background: var(--bg-card);
  transition: background 220ms ease;
}

.value-strip-card:hover {
  background: var(--soft);
}

.value-strip-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 10px;
}

.value-strip-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.value-strip-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.packages-section {
  padding-block: 96px 100px;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 8px;
  align-items: stretch;
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 26px;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(0, 133, 242, 0.18);
  background: linear-gradient(165deg, #ffffff 0%, #f4f9ff 55%, #ffffff 100%);
  box-shadow: 0 14px 44px rgba(0, 80, 180, 0.09),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
  transition: border-color 200ms ease, transform 220ms ease,
    box-shadow 220ms ease;
}

.packages-grid .package-card:nth-child(1) {
  border-top: 3px solid #0085f2;
}

.packages-grid .package-card:nth-child(3) {
  border-top: 3px solid #2a9d8f;
  background: linear-gradient(165deg, #ffffff 0%, #f2fbfa 50%, #ffffff 100%);
  border-color: rgba(42, 157, 143, 0.22);
}

.package-card:hover {
  border-color: rgba(0, 133, 242, 0.38);
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(0, 100, 200, 0.14),
    0 1px 0 rgba(255, 255, 255, 1) inset;
}

.packages-grid .package-card:nth-child(3):hover {
  border-color: rgba(42, 157, 143, 0.45);
  box-shadow: 0 22px 56px rgba(42, 157, 143, 0.12),
    0 1px 0 rgba(255, 255, 255, 1) inset;
}

.package-card--featured {
  border: 2px solid rgba(0, 133, 242, 0.42);
  background: linear-gradient(
    155deg,
    #d8ecff 0%,
    #f5faff 38%,
    #ffffff 62%,
    #eefcf3 100%
  );
  box-shadow: 0 18px 52px rgba(0, 133, 242, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.75) inset,
    0 -1px 0 rgba(0, 133, 242, 0.06) inset;
}

.package-card--featured:hover {
  border-color: rgba(0, 133, 242, 0.58);
  box-shadow: 0 26px 64px rgba(0, 133, 242, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.85) inset;
}

.package-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 55%, #15803d 100%);
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
}

.package-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0066c7;
}

.packages-grid .package-card:nth-child(3) .package-card-label {
  color: #1d7a6e;
}

.package-card-name {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.package-card-desc {
  margin: 0 0 18px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
  flex-grow: 0;
}

.package-card-price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #0056b3;
  line-height: 1;
}

.packages-grid .package-card:nth-child(3) .package-card-price {
  color: #147569;
}

.package-card-currency {
  font-size: 0.55em;
  font-weight: 700;
  vertical-align: super;
  margin-right: 2px;
  opacity: 0.85;
}

.package-card-price-note {
  margin: 8px 0 20px;
  font-size: 0.88rem;
  color: var(--muted);
}

.package-card-list {
  margin: 0 0 22px;
  padding: 0 0 0 1.1em;
  flex-grow: 1;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.package-card-list li {
  margin-bottom: 8px;
}

.package-card-list li::marker {
  color: #0085f2;
}

.packages-grid .package-card:nth-child(3) .package-card-list li::marker {
  color: #2a9d8f;
}

.package-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 13px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  border: none;
  background: linear-gradient(180deg, #0d8bff 0%, #0078eb 48%, #0066c7 100%);
  box-shadow: 0 8px 22px rgba(0, 120, 220, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 160ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.package-card-cta:hover {
  color: #fff;
  filter: brightness(1.06);
  box-shadow: 0 12px 28px rgba(0, 120, 220, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.packages-grid .package-card:nth-child(3) .package-card-cta {
  background: linear-gradient(180deg, #34b8a8 0%, #2a9d8f 55%, #238f82 100%);
  box-shadow: 0 8px 22px rgba(42, 157, 143, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.packages-grid .package-card:nth-child(3) .package-card-cta:hover {
  filter: brightness(1.07);
  box-shadow: 0 12px 30px rgba(42, 157, 143, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.package-card--featured .package-card-cta {
  background: linear-gradient(180deg, #8ed12f 0%, #76bc21 45%, #5fa019 100%);
  box-shadow: 0 10px 26px rgba(95, 160, 25, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: #0f1f07;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}

.package-card--featured .package-card-cta:hover {
  filter: brightness(1.05) saturate(1.05);
  color: #0f1f07;
  box-shadow: 0 14px 34px rgba(95, 160, 25, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.chat-cases {
  padding-block: 96px 88px;
}

.chat-cases.section-light .chat-case-card {
  background: #ffffff;
  border-color: rgba(20, 50, 110, 0.12);
  box-shadow: 0 14px 40px rgba(20, 50, 110, 0.09);
}

.chat-cases.section-light .chat-case-card:hover {
  border-color: rgba(0, 133, 242, 0.28);
  box-shadow: 0 18px 48px rgba(0, 80, 160, 0.12);
}

.chat-cases.section-light .chat-case-title {
  color: var(--ink);
}

.chat-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.chat-case-card {
  padding: 26px 22px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  transition: border-color 200ms ease, transform 220ms ease;
}

.chat-case-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.chat-case-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: var(--blue-soft);
}

.chat-case-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.chat-case-sub {
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.chat-case-chat.whatsapp-shot {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .value-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }

  .package-card--featured {
    order: -1;
  }

  .chat-cases-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .value-strip {
    padding: 36px 0 40px;
  }

  .value-strip-grid {
    grid-template-columns: 1fr;
  }
}
