/* ══════════════════════════════════════════════════════════════
   11 · PULIDO GENERAL
   Va última: ordena el inicio (titular, 2 botones, garantías) y
   corrige detalles de terminación en el resto de la landing.
   ══════════════════════════════════════════════════════════════ */

/* ═════════════════ INICIO ═════════════════
   Alineado a la izquierda (aprovecha el ancho, como antes); la red
   de puntos se luce a la derecha. */
.hero .hero-in{display:block !important}
.hero .hero-in > .hero-txt{max-width:1120px; margin:0; text-align:left}
.hero .hero-txt .eyebrow{margin-inline:0}

.hero h1.display{
  margin:24px 0 24px;
  font-size:clamp(3rem, 6.5vw, 6.1rem);
  line-height:1.0; letter-spacing:-.036em;
  max-width:none;
}
.hero h1.display em{padding-right:.06em}

/* «otro nivel.»: un trazo a mano alzada que se dibuja al final */
.hero h1 .hl{position:relative; display:inline-block; white-space:nowrap}
.hero h1 .hl::after{
  content:''; position:absolute; left:0; right:-3%; bottom:-.17em; height:.22em;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23C4B5FD'/%3E%3Cstop offset='.5' stop-color='%238B5CF6'/%3E%3Cstop offset='1' stop-color='%236D28D9'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M4 17C70 8 150 5 296 10' fill='none' stroke='url(%23g)' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M30 21C110 14 190 13 270 16' fill='none' stroke='url(%23g)' stroke-width='2.5' stroke-linecap='round' opacity='.55'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
  clip-path:inset(0 100% 0 0);
  transition:clip-path 1.1s cubic-bezier(.65,0,.25,1);
  pointer-events:none;
}
.hero h1 .hl.trazo::after{clip-path:inset(0 0 0 0)}

.hero .hero-txt .lede{
  max-width:56ch; margin:0;
  font-size:clamp(1.04rem, 1.2vw, 1.2rem); line-height:1.6; text-wrap:pretty;
}

/* ── los dos botones ── */
.hero .hero-cta{justify-content:flex-start; margin:36px 0 0; gap:14px}
.hero .hero-cta .hb{
  position:relative; isolation:isolate; overflow:hidden;
  height:60px; border-radius:18px; gap:12px;
  font-size:1.02rem; font-weight:700; letter-spacing:-.012em;
  transition:translate .45s var(--ease), box-shadow .45s var(--ease), border-color .3s, background .3s;
}
.hero .hero-cta .hb svg{fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round}

/* principal: violeta profundo, borde de luz y un brillo que pasa cada tanto */
.hero .hero-cta .hb--pri{
  padding:0 9px 0 20px; color:#fff; border:0;
  background:
    radial-gradient(120% 140% at 15% -20%, rgba(255,255,255,.28), rgba(255,255,255,0) 55%),
    linear-gradient(135deg, #8B5CF6 0%, #7C3AED 42%, #5B21B6 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.38) inset,
    0 -2px 0 rgba(30,10,70,.22) inset,
    0 0 0 1px rgba(255,255,255,.12) inset,
    0 20px 42px -18px rgba(124,58,237,.95),
    0 8px 18px -10px rgba(91,33,182,.6);
}
.hero .hero-cta .hb--pri::before{
  content:''; position:absolute; z-index:-1; top:0; bottom:0; left:-40%; width:32%;
  background:linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.38), rgba(255,255,255,0));
  transform:skewX(-18deg);
  animation:hbBrillo 5.5s cubic-bezier(.4,0,.2,1) 3.2s infinite;
}
/* con transform (no con «left»): no repinta ni recalcula en cada cuadro */
@keyframes hbBrillo{0%{transform:translateX(0) skewX(-18deg)} 22%,100%{transform:translateX(560%) skewX(-18deg)}}
@media (max-width:900px), (hover:none) and (pointer:coarse){
  /* el borde de colores que gira en los botones «Gratis» repintaba sin parar */
  .btn-free::before{animation:none !important}
}
.hero .hero-cta .hb-tag{
  font-size:.64rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase;
  padding:5px 8px 4px; border-radius:7px; line-height:1;
  background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.38); color:#fff;
}
.hero .hero-cta .hb-ar{
  width:42px; height:42px; border-radius:13px; margin-left:6px;
  display:grid; place-items:center; background:#fff; color:#6D28D9;
  box-shadow:0 6px 14px -6px rgba(30,10,70,.55);
  transition:transform .45s var(--ease);
}
.hero .hero-cta .hb-ar svg{width:19px; height:19px}
.hero .hero-cta .hb--pri:hover{translate:0 -2px; box-shadow:
    0 1px 0 rgba(255,255,255,.38) inset, 0 -2px 0 rgba(30,10,70,.22) inset, 0 0 0 1px rgba(255,255,255,.12) inset,
    0 26px 50px -18px rgba(124,58,237,1), 0 10px 22px -10px rgba(91,33,182,.7)}
.hero .hero-cta .hb--pri:hover .hb-ar{transform:translateX(3px)}

/* secundario: claro, con icono y borde lila */
.hero .hero-cta .hb--sec{
  padding:0 24px 0 9px; color:var(--ink);
  background:linear-gradient(180deg, #FFFFFF, #FAF8FF);
  border:1px solid #E4DBFB;
  box-shadow:0 1px 0 #fff inset, 0 14px 30px -20px rgba(76,29,149,.5), 0 2px 6px -3px rgba(76,29,149,.12);
}
.hero .hero-cta .hb-ic{
  width:42px; height:42px; border-radius:13px;
  display:grid; place-items:center; color:#7C3AED;
  background:linear-gradient(145deg, #F4F0FF, #EAE2FE);
  box-shadow:0 0 0 1px rgba(196,181,253,.45) inset;
}
.hero .hero-cta .hb-ic svg{width:20px; height:20px}
.hero .hero-cta .hb--sec:hover{translate:0 -2px; border-color:#C4B5FD; box-shadow:0 1px 0 #fff inset, 0 20px 38px -20px rgba(76,29,149,.6), 0 2px 6px -3px rgba(76,29,149,.12)}
.hero .hero-cta .hb:focus-visible{outline:2px solid #7C3AED; outline-offset:3px}

/* ── garantías debajo de los botones ── */
.hero-trust{
  display:flex; flex-wrap:wrap; justify-content:flex-start; gap:8px 22px;
  margin:22px 0 0; padding:0; list-style:none;
  font-size:.86rem; font-weight:500; color:var(--muted);
}
.hero-trust li{display:inline-flex; align-items:center; gap:7px}
.hero-trust svg{
  width:18px; height:18px; padding:3px; border-radius:50%;
  fill:none; stroke:#7C3AED; stroke-width:3; stroke-linecap:round; stroke-linejoin:round;
  background:#EFE9FE;
}
.hero .hero-meta{justify-content:flex-start; margin-top:30px; text-align:left}

/* ── celu ── */
@media (max-width:640px){
  .hero h1.display{font-size:clamp(2.3rem, 10.2vw, 3.2rem); margin:20px 0 18px; letter-spacing:-.034em}
  .hero .hero-txt .lede{font-size:1.02rem; max-width:none; text-wrap:pretty}
  .hero .hero-cta{width:100%; max-width:420px; margin-top:28px; gap:12px}
  .hero .hero-cta .hb{width:100%; height:58px}
  .hero .hero-cta .hb--pri{justify-content:space-between; padding-left:16px}
  .hero .hero-cta .hb--pri .hb-tx{flex:1; text-align:left}
  .hero .hero-cta .hb--sec{justify-content:center; padding-right:20px}
  .hero-trust{flex-direction:column; align-items:flex-start; margin:18px 0 0; gap:8px; font-size:.88rem}
  .hero .hero-meta{margin-top:24px; gap:14px}
}
@media (prefers-reduced-motion:reduce){
  .hero .hero-cta .hb--pri::before{animation:none; display:none}
  .hero h1 .hl::after{transition:none}
}

/* ═════════════════ BOTONES FLOTANTES ═════════════════
   El de redes, más chico y alineado con el del asistente:
   menos peso visual en la esquina, sobre todo en celu. */
.fab{right:30px; bottom:96px; gap:10px}
.fab-main{width:46px; height:46px}
.fab-main .ic-net{width:21px; height:21px}
.fab-main .ic-x{width:19px; height:19px}
.fab-item{width:44px; height:44px}
.fab-item svg{width:21px; height:21px}
@media (max-width:640px){
  .fab{right:23px; bottom:90px}
  .fab-main{width:44px; height:44px}
}

/* ═════════════════ TERMINACIONES EN EL RESTO ═════════════════ */

/* Trabajos: el resplandor violeta ya no arranca cortado en el borde
   de arriba (se veía una línea al pasar del bloque del cerebro) */
.works-sec{
  background:
    radial-gradient(820px 560px at 88% 34%, rgba(124,58,237,.20), transparent 66%),
    radial-gradient(700px 520px at -6% 108%, rgba(124,58,237,.18), transparent 68%),
    linear-gradient(180deg, #08070F 0%, #0B0918 52%, #08070F 100%);
}
/* las líneas decorativas no cruzan los títulos: tenues arriba */
.works-sec::before{
  opacity:.55 !important;
  -webkit-mask-image:linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.12) 20%, #000 52%);
          mask-image:linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.12) 20%, #000 52%);
}
/* sección del servicio: la red blanca queda de fondo, sin competir con el texto */
.sysnet{opacity:.4}

/* «No comprás una página»: el texto de apoyo centrado como el título */
.buying .lede{margin-left:auto; margin-right:auto; max-width:52ch}

/* caso Lavorato: título a escala de su columna (antes cortaba «vos.» solo) */
.show-title{font-size:clamp(2rem, 3.1vw, 2.85rem); text-wrap:balance}

/* tarjeta «La IA que estás usando»: texto alineado a la izquierda */
.tryit > div{text-align:left}
.tryit h2, .tryit p{text-wrap:balance}

/* planes: el botón de Mercado Pago entra entero, sin que la flecha se salga */
.plan-foot .btn{max-width:100%; padding-left:18px; padding-right:18px; gap:9px}
.plan-foot .btn .ar{display:none}

/* comprobante: mismo tono de botón que el resto (sin mayúsculas gritadas) */
.btn-wa{text-transform:none !important; letter-spacing:-.01em !important}

/* textos de apoyo sin palabras huérfanas al final */
.lede, .show-lede{text-wrap:pretty}
@media (max-width:640px){
  .hero .hero-meta small{max-width:30ch}
}

/* cierre: los dos botones con la misma terminación que los del inicio */
.final .btn{border-radius:18px; min-height:58px}
.final .btn-free{
  background:
    radial-gradient(120% 140% at 15% -20%, rgba(255,255,255,.26), rgba(255,255,255,0) 55%),
    linear-gradient(135deg, #8B5CF6 0%, #7C3AED 42%, #5B21B6 100%);
  box-shadow:0 1px 0 rgba(255,255,255,.38) inset, 0 -2px 0 rgba(30,10,70,.22) inset, 0 20px 42px -18px rgba(124,58,237,.95);
}

/* ═════════════════ ESTABILIDAD (sin parpadeos) ═════════════════
   El fondo titilaba en celu al bajar, sobre todo llegando a Planes:
   - cada bloque con aparición (.rv) reservaba una capa de GPU desde
     que cargaba la página (decenas a la vez) y el teléfono se quedaba
     sin memoria de video: al bajar, partes de la pantalla se
     redibujaban de a pedazos;
   - las auras decorativas de «Servicio» y del cierre eran capas
     gigantes (más grandes que la sección) animadas sin parar;
   - las redes decorativas (Planes y Servicio) y el fondo difuminado
     del caso se repintaban en cada cuadro;
   - el menú desenfocaba en vivo todo lo que pasaba por debajo.
   Ahora las capas se crean solo mientras algo se mueve, las auras
   quedan quietas y, en celu, los fondos decorativos son estáticos. */
.js .rv{will-change:auto}
.final::after, .system::after{animation:none !important; will-change:auto !important; transform:none !important}

@media (max-width:900px), (hover:none) and (pointer:coarse){
  /* fondos decorativos quietos (se ven igual, sin repintar) */
  .nnet *, .sysnet *, .sysnet-svg, .show-bg-im{animation:none !important}
  .nnet-corriente, .sysnet-flow{display:none}
  .show-bg-im{filter:brightness(.5) saturate(.75)}
  /* menú: fondo sólido en vez de desenfoque en vivo */
  #nav, #nav.scrolled{
    -webkit-backdrop-filter:none !important; backdrop-filter:none !important;
    background:rgba(250,249,255,.96) !important;
  }
  /* aparición más liviana: solo sube y aparece (sin escalar ni desenfocar) */
  .js .rv:not(.in){transform:translate3d(0,26px,0) !important; filter:none !important}
  .js .rv{
    transition:opacity .7s cubic-bezier(.16,.72,.24,1), transform .85s cubic-bezier(.16,.72,.24,1) !important;
  }
  .js .rv.in{transform:none !important}
}

/* La red blanca de «Servicio» queda quieta en todos los equipos: eran
   grupos de más de 4.000 px animados sin parar (con desenfoque y una capa
   de video gigante reservada). Pesaban en PC y en el celu se comían la
   memoria de video, que es lo que hace que el fondo titile al bajar. */
.sysnet-svg, .sysnet-svg *{animation:none !important}
.sysnet-svg{will-change:auto !important; transform:scale(1.05)}
.sysnet-flow{display:none}
.sysnet-far{filter:none !important; opacity:.18}
/* los bloques ya aparecidos no conservan un filtro «blur(0)» de más */
.js .rv.in{filter:none}

@media (max-width:900px), (hover:none) and (pointer:coarse){
  /* sin desenfoques en vivo dentro de la página: se reemplazan por fondos sólidos */
  .work-cat{-webkit-backdrop-filter:none !important; backdrop-filter:none !important; background:rgba(12,10,25,.82) !important}
  .plan .btn-ghost{-webkit-backdrop-filter:none !important; backdrop-filter:none !important; background:rgba(255,255,255,.07) !important}
  .system .flow{-webkit-backdrop-filter:none !important; backdrop-filter:none !important; background:rgba(22,18,40,.9) !important}
  .btn-ghost{-webkit-backdrop-filter:none !important; backdrop-filter:none !important}
  /* el halo del botón del asistente late sin escalar capas */
  .ai-float-btn::before{animation:none !important; opacity:.45 !important}
}
