/* [WEB-PYG-2 · 25-09] Página pública de PyG Digital. Oscura, con los 3 colores del logo. Mobile-first, compacta, con carriles deslizables. */
:root {
  --fondo: #07080F; --fondo2: #0D0F1C; --tarjeta: #121528; --tarjeta2: #171B33; --borde: rgba(255,255,255,.09);
  --txt: #EEF0F8; --txt2: #A3A9C2; --txt3: #6F7592;
  --verde: #1BC41D; --naranja: #FF7620; --violeta: #8E4FE0;
  --verde-o: #099A0A; --violeta-o: #663399;
  --deg: linear-gradient(95deg, var(--verde) 0%, var(--naranja) 50%, var(--violeta) 100%);
  --radio: 18px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; font-family: Poppins, system-ui, sans-serif; font-size: 16px; line-height: 1.6; color: var(--txt); background: var(--fondo); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(32px, 8.4vw, 58px); font-weight: 800; }
h2 { font-size: clamp(23px, 5.4vw, 36px); font-weight: 700; margin: 0; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 1em; color: var(--txt2); }
.cont { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.deg { background: var(--deg); -webkit-background-clip: text; background-clip: text; color: transparent; }
i[data-ico] { display: inline-flex; width: 1.2em; height: 1.2em; flex: none; }
i[data-ico] svg { width: 100%; height: 100%; }

/* logo (el real, /portal/logo.png recortado) */
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { display: block; height: 40px; width: auto; }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 14px; border: 1px solid transparent; font: 600 16px Poppins, sans-serif; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:active { transform: scale(.98); }
.btn-pri { background: var(--naranja); color: #fff; box-shadow: 0 8px 30px rgba(255,118,32,.35); }
.btn-pri:hover { box-shadow: 0 10px 40px rgba(255,118,32,.55); }
.btn-grande { min-height: 56px; font-size: 17px; padding: 0 26px; }
.btn-sec { background: rgba(255,255,255,.04); color: var(--txt); border-color: var(--borde); }
.btn-sec:hover { border-color: rgba(142,79,224,.6); background: rgba(142,79,224,.1); }
.btn-luz { background: transparent; color: var(--txt); border-color: rgba(255,118,32,.5); }
.btn-chico { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn-wa { background: var(--verde-o); color: #fff; box-shadow: 0 8px 30px rgba(27,196,29,.25); }
:focus-visible { outline: 2px solid var(--naranja); outline-offset: 2px; }

/* barra */
.barra { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(7,8,15,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--borde); }
.barra-in { display: flex; align-items: center; gap: 12px; height: 60px; }
.menu { display: none; }
.barra-cta { margin-left: auto; min-height: 38px; padding: 0 12px; font-size: 13px; box-shadow: none; }
.hamb { width: 42px; height: 42px; border: 1px solid var(--borde); border-radius: 12px; background: transparent; display: grid; place-content: center; gap: 5px; cursor: pointer; flex: none; }
.hamb span { display: block; width: 20px; height: 2px; background: var(--txt); border-radius: 2px; }
.menu.abierto { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--fondo2); border-bottom: 1px solid var(--borde); padding: 8px 16px 16px; }
.menu.abierto a { padding: 12px 4px; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--borde); }

/* hero */
.hero { position: relative; padding: 84px 0 48px; overflow: hidden; }
.hero-fondo { position: absolute; inset: 0; pointer-events: none; }
.grilla { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); }
.halo { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; }
.h1 { width: 340px; height: 340px; background: var(--verde-o); top: -60px; left: -120px; }
.h2 { width: 380px; height: 380px; background: var(--naranja); top: 120px; right: -160px; opacity: .3; }
.h3 { width: 360px; height: 360px; background: var(--violeta-o); bottom: -160px; left: 30%; }
.hero-in { position: relative; display: grid; gap: 28px; }
.hero-marca { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.hero-logo { width: 62px; height: auto; flex: none; filter: drop-shadow(0 8px 30px rgba(255,118,32,.25)); }
.etiqueta { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--borde); background: rgba(255,255,255,.04); font-size: 12px; color: var(--txt2); margin: 0; line-height: 1.3; }
.etiqueta i { color: var(--naranja); }
.bajada { font-size: 16px; max-width: 560px; margin-bottom: 0; }
.hero-btns { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 0; }

/* equipos: compu y celular dibujados con CSS */
.laptop { position: relative; }
.lap-pant { position: relative; background: #05060c; border: 7px solid #1b1e33; border-bottom-width: 9px; border-radius: 14px 14px 4px 4px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 70px rgba(0,0,0,.55); }
.lap-pant img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.lap-base { height: 12px; margin: 0 -7%; border-radius: 0 0 14px 14px; background: linear-gradient(#2a2e4a, #14172a); box-shadow: 0 12px 30px rgba(0,0,0,.5); position: relative; }
.lap-base::before { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 4px; border-radius: 0 0 6px 6px; background: #0b0d18; }
.tel { position: relative; width: 100%; aspect-ratio: 390 / 800; background: #05060c; border: 7px solid #1b1e33; border-radius: 30px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 26px 60px rgba(0,0,0,.55); }
.tel::before { content: ""; position: absolute; z-index: 2; top: 6px; left: 50%; width: 34%; height: 14px; transform: translateX(-50%); background: #1b1e33; border-radius: 99px; }
.tel-pant { position: absolute; inset: 0; overflow: hidden; background: #f4f5f9; }
.tel-pant img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-vis { position: relative; padding: 9% 19% 0 0; }
.tel-hero { position: absolute; right: 0; top: 0; width: 30%; }
.hero-vis::after { content: "Omnicanal: la IA contesta con los datos de tu negocio"; position: absolute; left: 0; bottom: -30px; font-size: 12px; color: var(--txt3); }

/* secciones */
.sec { padding: 40px 0; position: relative; }
.sec-oscura { background: var(--fondo2); border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde); }
.sec-suave { background: linear-gradient(180deg, var(--fondo) 0%, var(--fondo2) 100%); }
.sec-cab { max-width: 680px; margin-bottom: 18px; }
.con-flechas { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.sobre { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--naranja); margin-bottom: 6px; }
.aclara { font-size: 13px; color: var(--txt3); margin: 14px 0 0; }

/* carriles deslizables */
.carril { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; list-style: none; }
.carril::-webkit-scrollbar { display: none; }
.carril > * { scroll-snap-align: start; flex: none; }
.flechas { display: none; gap: 8px; flex: none; }
.flechas[hidden] { display: none !important; }
.fl { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--borde); background: rgba(255,255,255,.05); color: var(--txt); cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.fl:hover:not(:disabled) { border-color: var(--naranja); background: rgba(255,118,32,.12); }
.fl:disabled { opacity: .3; cursor: default; }
.fl i { width: 20px; height: 20px; }
.fl-izq i { transform: rotate(180deg); }

/* módulos */
.mod { width: 78%; max-width: 300px; position: relative; background: var(--tarjeta); border: 1px solid var(--borde); border-radius: var(--radio); padding: 18px; transition: transform .2s, border-color .2s; }
.mod:hover { border-color: rgba(255,118,32,.4); }
.mod-cab { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mod-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.04); border: 1px solid var(--borde); }
.mod-ico i { width: 24px; height: 24px; }
.mod:nth-child(3n+1) .mod-ico { color: var(--verde); } .mod:nth-child(3n+2) .mod-ico { color: var(--naranja); } .mod:nth-child(3n) .mod-ico { color: #B58CF0; }
.mod h3 { margin-bottom: 6px; }
.mod p { font-size: 14px; margin: 0; line-height: 1.55; }
.mod p b { color: var(--txt); font-weight: 600; }
.destacado { background: linear-gradient(var(--tarjeta), var(--tarjeta)) padding-box, var(--deg) border-box; border: 1px solid transparent; }
.chip { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: rgba(255,118,32,.15); color: var(--naranja); }

/* pantallas */
.carril-pant { align-items: center; }
.pant { margin: 0; width: 46%; max-width: 210px; }
.pant-pc { width: 86%; max-width: 560px; padding: 0 4%; }
.pant figcaption { margin-top: 12px; font-size: 13px; color: var(--txt2); line-height: 1.35; }
.pant figcaption b { display: block; color: var(--txt); font-size: 14px; }

/* por qué nosotros (tips) */
.razon { width: 66%; max-width: 240px; padding: 18px; border-radius: var(--radio); border: 1px solid var(--borde); background: rgba(255,255,255,.02); }
.razon > i { width: 26px; height: 26px; color: var(--verde); margin-bottom: 8px; }
.razon:nth-child(3n+2) > i { color: var(--naranja); } .razon:nth-child(3n) > i { color: #B58CF0; }
.razon h3 { font-size: 16px; margin-bottom: 4px; }
.razon p { margin: 0; font-size: 14px; line-height: 1.5; }

/* planes */
.planes { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 12px 16px 14px; scrollbar-width: none; }
.planes::-webkit-scrollbar { display: none; }
.plan { position: relative; flex: none; width: 80%; max-width: 330px; scroll-snap-align: start; background: var(--tarjeta); border: 1px solid var(--borde); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; }
.plan .chip { position: absolute; top: -11px; left: 20px; background: var(--naranja); color: #fff; }
.plan h3 { font-size: 20px; margin: 0; }
.plan-baj { font-size: 13px; margin: 2px 0 10px; }
.plan-precio { font-size: 22px; font-weight: 700; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--borde); }
.plan-precio small { font-size: 13px; color: var(--txt3); font-weight: 500; }
.plan-fila { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--txt2); margin-bottom: 6px; line-height: 1.4; }
.plan-fila i { width: 16px; height: 16px; color: var(--naranja); margin-top: 1px; }
.plan-fila b { color: var(--txt); font-weight: 600; }
.plan ul { list-style: none; padding: 8px 0 0; margin: 4px 0 16px; border-top: 1px dashed var(--borde); display: grid; gap: 5px; }
.plan li { display: flex; gap: 8px; font-size: 13px; color: var(--txt2); line-height: 1.4; }
.plan li i { width: 15px; height: 15px; color: var(--verde); margin-top: 2px; }
.plan-btn { margin-top: auto; width: 100%; min-height: 44px; font-size: 15px; }

/* armamos tu página + cómo empezás */
.sec-pagina { background: radial-gradient(ellipse at 80% 50%, rgba(102,51,153,.25), transparent 60%), radial-gradient(ellipse at 10% 80%, rgba(9,154,10,.15), transparent 55%), var(--fondo); border-top: 1px solid var(--borde); }
.pagina { display: grid; gap: 22px; }
.pagina-txt { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; }
.pagina-txt p { font-size: 15px; margin: 8px 0 14px; }
.reloj { width: 96px; height: 96px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: linear-gradient(var(--fondo2), var(--fondo2)) padding-box, conic-gradient(var(--verde), var(--naranja), var(--violeta), var(--verde)) border-box; border: 4px solid transparent; box-shadow: 0 0 50px rgba(255,118,32,.2); }
.r-num { font-size: 36px; font-weight: 800; line-height: 1; }
.r-txt { font-size: 10px; color: var(--txt2); text-transform: uppercase; letter-spacing: .15em; }
.pasos { counter-reset: p; margin-top: 0; margin-bottom: 0; }
.pasos li { width: 58%; max-width: 230px; background: var(--tarjeta); border: 1px solid var(--borde); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.pasos b { font-size: 15px; } .pasos small { font-size: 13px; color: var(--txt2); line-height: 1.4; }
.n { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: rgba(255,118,32,.14); color: var(--naranja); border: 1px solid rgba(255,118,32,.35); margin-bottom: 4px; }
.pasos li:nth-child(odd) .n { background: rgba(142,79,224,.16); color: #B58CF0; border-color: rgba(142,79,224,.4); }

/* contacto */
.contacto { display: grid; gap: 20px; }
.contacto-txt p { margin: 8px 0 14px; font-size: 15px; }
.contacto-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form { background: var(--tarjeta); border: 1px solid var(--borde); border-radius: 20px; padding: 18px; display: grid; gap: 12px; }
.form-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form label { display: grid; gap: 4px; font-size: 13px; font-weight: 500; color: var(--txt2); }
.form input, .form textarea { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: #0A0C18; color: var(--txt); font: 16px Poppins, sans-serif; }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--naranja); box-shadow: 0 0 0 3px rgba(255,118,32,.2); }
.form-mods { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.form-mods legend { font-size: 13px; font-weight: 500; color: var(--txt2); margin-bottom: 6px; padding: 0; }
.form-mods label { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 99px; border: 1px solid var(--borde); cursor: pointer; font-size: 12px; color: var(--txt); background: rgba(255,255,255,.03); }
.form-mods input { width: 14px; min-height: 0; height: 14px; accent-color: var(--naranja); }
.form-mods label:has(input:checked) { border-color: var(--naranja); background: rgba(255,118,32,.12); }
.form-estado { margin: 0; font-size: 15px; min-height: 1.4em; }
.form-estado.ok { color: #6FE070; } .form-estado.mal { color: #FF9A6B; }

/* pie */
.pie { border-top: 1px solid var(--borde); padding: 24px 0 96px; background: var(--fondo2); }
.pie-in { display: grid; gap: 14px; }
.pie .logo img { height: 36px; }
.pie p { font-size: 13px; margin: 0; }
.pie nav { display: flex; flex-wrap: wrap; gap: 16px; }
.pie nav a { text-decoration: none; color: var(--txt2); font-size: 14px; }
.pie nav a:hover { color: var(--txt); }
.pie-copy { color: var(--txt3); }

/* asesor */
.asesor-burbuja { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 99px; border: 0; cursor: pointer; font: 600 15px Poppins, sans-serif; color: #fff; background: linear-gradient(95deg, var(--violeta-o), var(--naranja)); box-shadow: 0 10px 34px rgba(102,51,153,.5); }
.asesor-burbuja i { width: 24px; height: 24px; }
.asesor-burbuja[hidden] { display: none; }
.asesor { position: fixed; z-index: 70; inset: 0; display: flex; flex-direction: column; background: var(--fondo2); }
.asesor[hidden] { display: none; }
.asesor-cab { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--borde); background: var(--tarjeta); }
.asesor-cab b { display: block; font-size: 15px; }
.asesor-cab small { display: block; font-size: 12px; color: var(--txt3); }
.asesor-cab > div { flex: 1; }
.asesor-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--deg); color: #fff; }
.asesor-av i { width: 22px; height: 22px; }
.asesor-x { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--borde); background: transparent; color: var(--txt); cursor: pointer; display: grid; place-items: center; }
.asesor-msjs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.burb { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.burb.ia { align-self: flex-start; background: var(--tarjeta2); border: 1px solid var(--borde); border-bottom-left-radius: 4px; }
.burb.yo { align-self: flex-end; background: var(--naranja); color: #fff; border-bottom-right-radius: 4px; }
.burb a { color: var(--naranja); font-weight: 600; }
.burb.escribiendo { color: var(--txt3); }
.burb.escribiendo span { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: var(--txt3); animation: late 1s infinite; }
.burb.escribiendo span:nth-child(2) { animation-delay: .15s; } .burb.escribiendo span:nth-child(3) { animation-delay: .3s; }
@keyframes late { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.asesor-sug { display: flex; gap: 8px; padding: 0 14px 10px; overflow-x: auto; }
.asesor-sug button { flex: none; padding: 8px 12px; border-radius: 99px; border: 1px solid rgba(142,79,224,.45); background: rgba(142,79,224,.1); color: var(--txt); font: 13px Poppins, sans-serif; cursor: pointer; }
.asesor-form { display: flex; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--borde); }
.asesor-form input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: #0A0C18; color: var(--txt); font: 16px Poppins, sans-serif; }
.asesor-form input:focus { outline: none; border-color: var(--naranja); }
.asesor-env { width: 48px; height: 48px; border: 0; border-radius: 14px; background: var(--naranja); color: #fff; cursor: pointer; display: grid; place-items: center; }
.asesor-env i { width: 20px; height: 20px; }
.asesor-env:disabled { opacity: .5; }
.asesor-wa { display: block; text-align: center; font-size: 13px; color: var(--txt2); padding: 4px 14px 14px; }

@media (min-width: 560px) {
  .hero-btns { flex-direction: row; }
  .mod { width: 300px; }
  .razon { width: 240px; }
  .pant { width: 210px; }
}
@media (min-width: 900px) {
  .menu { display: flex; gap: 20px; margin-left: auto; }
  .menu a { text-decoration: none; font-size: 14px; color: var(--txt2); font-weight: 500; }
  .menu a:hover { color: var(--txt); }
  .barra-cta { margin-left: 0; min-height: 40px; padding: 0 16px; font-size: 14px; }
  .hamb { display: none; }
  .barra-in { height: 66px; }
  .logo img { height: 44px; }
  html { scroll-padding-top: 70px; }
  .hero { padding: 110px 0 64px; }
  .hero-in { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
  .hero-marca { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 18px; }
  .hero-logo { width: 96px; }
  .bajada { font-size: 17px; }
  .flechas { display: flex; }
  .sec { padding: 64px 0; }
  .sec-cab { margin-bottom: 24px; }
  .carril { margin: 0; padding: 4px 0 14px; scroll-padding: 0; }
  .pant { width: 230px; max-width: none; }
  .pant-pc { width: 560px; }
  .planes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; overflow: visible; margin: 0; padding: 12px 0 0; }
  .plan { width: auto; max-width: none; padding: 24px; }
  .plan.destacado { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(255,118,32,.15); }
  .pagina { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 40px; }
  .pagina-txt { grid-template-columns: 130px 1fr; gap: 24px; }
  .reloj { width: 130px; height: 130px; } .r-num { font-size: 48px; }
  .pasos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; overflow: visible; }
  .pasos li { width: auto; max-width: none; }
  .contacto { grid-template-columns: .8fr 1.2fr; align-items: start; gap: 40px; }
  .contacto-btns { display: flex; }
  .form-mods label { font-size: 13px; }
  .pie-in { grid-template-columns: 1fr auto auto; align-items: center; }
  .asesor { inset: auto 24px 24px auto; width: 390px; height: min(620px, calc(100vh - 110px)); border-radius: 22px; border: 1px solid var(--borde); box-shadow: 0 30px 80px rgba(0,0,0,.6); overflow: hidden; }
  .pie { padding-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
