/* Ventana «Síguenos en redes» — migrada del sitio actual de GrupoNEXT */
.gnx-fb-backdrop{position:fixed;inset:0;background:rgba(6,18,38,.62);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:16px;z-index:99999;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s}
.gnx-fb-backdrop.is-open{opacity:1;visibility:visible}
.gnx-fb-card{position:relative;font-family:'Ubuntu',system-ui,sans-serif;width:100%;max-width:660px;display:grid;grid-template-columns:230px 1fr;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 24px 60px rgba(6,18,38,.35);transform:translateY(16px) scale(.98);transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.gnx-fb-backdrop.is-open .gnx-fb-card{transform:none}
.gnx-fb-side{background:#0B1E33;position:relative;min-height:300px;overflow:hidden}
.gnx-fb-side>svg{position:absolute;inset:0;width:100%;height:100%}
.gnx-fb-line{fill:none;stroke-width:2;stroke-linecap:round;stroke-dasharray:420;stroke-dashoffset:420}
.gnx-fb-backdrop.is-open .gnx-fb-line{animation:gnxDraw 1.6s ease forwards}
.gnx-fb-backdrop.is-open .gnx-fb-line:nth-child(2){animation-delay:.12s}
.gnx-fb-backdrop.is-open .gnx-fb-line:nth-child(3){animation-delay:.24s}
.gnx-fb-backdrop.is-open .gnx-fb-line:nth-child(4){animation-delay:.36s}
@keyframes gnxDraw{to{stroke-dashoffset:0}}
.gnx-fb-badge{position:absolute;left:62%;transform:translate(-50%,-50%);width:66px;height:66px;border-radius:50%;display:grid;place-items:center}
.gnx-fb-badge svg{width:32px;height:32px}
.gnx-badge-fb{top:33%;background:#1877F2;box-shadow:0 0 0 9px rgba(24,119,242,.2)}
.gnx-badge-ig{top:67%;background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fd5949 45%,#d6249f 60%,#285AEB 90%);box-shadow:0 0 0 9px rgba(214,36,159,.2)}
.gnx-fb-body{padding:34px 30px 26px}
.gnx-fb-body h2{margin:0 0 10px;font-size:1.55rem;line-height:1.2;color:#0B1E33;font-weight:700}
.gnx-fb-body p{margin:0 0 22px;color:#64798C;font-size:.98rem;line-height:1.55}
.gnx-fb-cta{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:13px 18px;color:#fff !important;text-decoration:none !important;border-radius:8px;font-weight:500;font-size:1rem;transition:filter .2s}
.gnx-fb-cta+.gnx-fb-cta{margin-top:10px}
.gnx-fb-cta:hover{filter:brightness(.92)}
.gnx-cta-fb{background:#1877F2}
.gnx-cta-ig{background:linear-gradient(90deg,#F58529,#DD2A7B 45%,#8134AF 75%,#515BD4)}
.gnx-fb-cta.is-done::after{content:"✓";margin-left:4px}
.gnx-fb-later{display:block;margin:12px auto 0;background:none;border:0;color:#6B7A90;font:inherit;font-size:.9rem;cursor:pointer;padding:10px 12px}
.gnx-fb-later:hover{color:#0B1E33;text-decoration:underline}
.gnx-fb-close{position:absolute;top:10px;right:10px;width:40px;height:40px;border:0;border-radius:50%;background:rgba(11,30,51,.06);color:#0B1E33;font-size:22px;line-height:1;cursor:pointer;z-index:2}
.gnx-fb-close:hover{background:rgba(11,30,51,.14)}
.gnx-fb-card :focus-visible{outline:3px solid #12B5A6;outline-offset:2px}
@media (max-width:600px){
  .gnx-fb-card{grid-template-columns:1fr}
  .gnx-fb-side{min-height:110px}
  .gnx-fb-badge{width:54px;height:54px;top:50%}
  .gnx-fb-badge svg{width:26px;height:26px}
  .gnx-badge-fb{left:40%}
  .gnx-badge-ig{left:60%}
  .gnx-fb-side>svg{display:none}
  .gnx-fb-body{padding:24px 22px 20px}
  .gnx-fb-body h2{font-size:1.3rem}
}
@media (prefers-reduced-motion:reduce){
  .gnx-fb-backdrop,.gnx-fb-card{transition:none}
  .gnx-fb-line{animation:none !important;stroke-dashoffset:0}
}
