.footer-full .footer-bottom{
  max-width:1180px;
  margin:0 auto;
  padding:1.75rem 0 0;
  border-top:1px solid rgba(255,255,255,.08);
  text-align:left;
}
.footer-copy{
  margin:0 0 .4rem;
  font-size:.95rem;
  font-weight:500;
  color:#fff;
}
.footer-legal-note{
  margin:0;
  font-size:.78rem;
  line-height:1.55;
  color:#64748b;
  max-width:720px;
}
.footer-legal-note a{
  color:#64748b;
  text-decoration:underline;
  text-underline-offset:2px;
}
.footer-legal-note a:hover{
  color:#94a3b8;
}
.footer-google-note{
  margin:.35rem 0 0;
  font-size:.68rem;
  line-height:1.5;
  color:#475569;
}
.footer-google-note a{
  color:#475569;
  text-decoration:underline;
  text-underline-offset:2px;
}
.footer-google-note a:hover{
  color:#94a3b8;
}

/* Footer background (match black cards) */
.footer-full{
  background:#0B0F14!important;
}
.footer-full .footer-bottom{
  border-top-color:rgba(255,255,255,.08)!important;
}

/* Tipografía cuerpo — estilo subtítulo udia (Poppins regular) */
body,
button,
input,
select,
textarea {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 400;
}

p,
li,
.section-sub,
.testimonial-text,
.footer-brand p,
.faq-body p,
.cta-box > p,
.cta-ps-text,
.cta-ps-emphasis,
.pain-card p,
.timeline-step-content p,
.caso-desc,
.service-card p {
  font-weight: 400;
  line-height: 1.6;
}

.section-sub {
  font-size: 1.3125rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .section-sub {
    font-size: 1.1875rem;
  }
}

/* Floating pill navigation (dark glass) */
html{scroll-padding-top:120px}
html:has(body.page-inner){scroll-padding-top:80px}

/* WhatsApp FAB (global) */
.wa-fab{
  position:fixed;bottom:28px;right:28px;z-index:99;
  width:58px;height:58px;border-radius:50%;
  background:#25d366;color:#fff;
  animation:waPulse 3.5s ease-out 2s infinite;
  display:inline-flex;align-items:center;justify-content:center;
  box-shadow:0 4px 18px rgba(37,211,102,.35);
  transition:transform .2s ease,box-shadow .2s ease;
  text-decoration:none;
}
.wa-fab:hover{transform:scale(1.05);box-shadow:0 6px 24px rgba(37,211,102,.45);animation:none}
@keyframes waPulse{
  0%{box-shadow:0 4px 14px rgba(37,211,102,.35)}
  8%{box-shadow:0 0 0 0 rgba(37,211,102,.45)}
  20%{box-shadow:0 0 0 14px rgba(37,211,102,0)}
  100%{box-shadow:0 4px 14px rgba(37,211,102,.35)}
}

nav{
  position:fixed;
  top:1.5rem;left:0;right:0;
  z-index:102;
  padding:0 2rem;
  pointer-events:none;
}
.nav-pill{
  pointer-events:auto;
  width:min(840px,calc(100% - 2rem));
  max-width:100%;
  margin:0 auto;
  padding:.55rem 1.2rem .55rem 1.6rem;
  border-radius:17px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.30);
  backdrop-filter:blur(24px) saturate(180%);
  -webkit-backdrop-filter:blur(24px) saturate(180%);
  box-shadow:
    0 10px 40px rgba(0,0,0,.18),
    0 2px 6px rgba(0,0,0,.1),
    inset 0 1px 0 rgba(255,255,255,.1);
  transition:background .4s ease,border-color .4s ease,box-shadow .4s ease;
  overflow:visible;
}
nav.scrolled .nav-pill{
  background:rgba(0,0,0,.40);
  border-color:rgba(255,255,255,.14);
  box-shadow:
    0 12px 44px rgba(0,0,0,.24),
    0 3px 8px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.1);
}
.nav-inner{
  display:flex;
  align-items:center;
  gap:1rem;
  min-height:44px;
}
.nav-logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  width:56px;
  height:56px;
  overflow:visible;
  border-radius:12px;
  background:transparent;
  box-shadow:none;
  color:inherit;
  flex-shrink:0;
  line-height:0;
}
.nav-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  mix-blend-mode:normal;
  filter:none;
  transform:scale(1) translateZ(0);
  transform-origin:center center;
  transition:transform .45s ease;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}
.nav-logo:hover img,
.nav-logo:focus-visible img{
  transform:scale(1.06) translateZ(0);
}
@media(prefers-reduced-motion:reduce){
  .nav-logo img{transition-duration:.01ms}
}
.nav-links{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:1.35rem;
  list-style:none;
  flex:1;
  min-width:0;
  margin-left:3.5rem;
}
.nav-links a{
  display:inline-block;
  padding:.48rem .6rem;
  font-family:'Poppins',system-ui,sans-serif;
  font-size:1.02rem;
  font-weight:600;
  color:rgba(255,255,255,.95);
  text-decoration:none;
  letter-spacing:.01em;
  transition:color .2s ease;
}
.nav-links a:hover,
.nav-links a.active{
  color:#fff;
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:.45rem;
  margin-left:auto;
  flex-shrink:0;
}
.nav-cta-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.62rem 1.15rem;
  background:#374151;
  border:1px solid rgba(255,255,255,.08);
  color:rgba(255,255,255,.95);
  font-family:'Poppins',system-ui,sans-serif;
  font-size:.875rem;
  font-weight:500;
  text-decoration:none;
  border-radius:12px;
  white-space:nowrap;
  box-shadow:0 2px 10px rgba(0,0,0,.12);
  transition:background .2s ease,border-color .2s ease,color .2s ease;
}
.nav-cta-secondary:hover{
  background:#4b5563;
  border-color:rgba(255,255,255,.12);
  color:#fff;
}
.nav-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.62rem 1.15rem;
  background:#2563eb;
  color:#fff;
  font-family:'Poppins',system-ui,sans-serif;
  font-size:.875rem;
  font-weight:500;
  text-decoration:none;
  border-radius:12px;
  white-space:nowrap;
  box-shadow:0 2px 12px rgba(37,99,235,.28);
  border:1px solid transparent;
  transition:background .25s ease,color .25s ease,transform .2s ease,box-shadow .25s ease,border-color .25s ease;
}
.nav-cta:hover{
  background:#fff;
  color:#0f172a;
  box-shadow:0 6px 20px rgba(0,0,0,.18);
  border-color:rgba(255,255,255,.35);
}
.nav-cta--mobile,
.nav-cta-secondary--mobile{
  display:none;
  margin-top:.75rem;
  width:100%;
  padding:.75rem 1.25rem;
  font-size:.95rem;
  justify-content:center;
}

.nav-burger{
  display:none;
  align-items:center;
  justify-content:center;
  width:38px;height:38px;
  border-radius:10px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  color:rgba(255,255,255,.9);
  cursor:pointer;
  flex-shrink:0;
  transition:border-color .2s ease,background .2s ease;
}
.nav-burger:hover{
  border-color:rgba(255,255,255,.28);
  background:rgba(255,255,255,.12);
}
.nav-burger-icon{display:block;width:20px;height:20px}
.nav-burger-line{
  transition:transform .32s cubic-bezier(.25,.1,.25,1),opacity .2s ease;
  transform-origin:center;
  transform-box:fill-box;
}
.nav-burger[aria-expanded="true"] .nav-burger-line--top{
  transform:translateY(5px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] .nav-burger-line--mid{
  opacity:0;
  transform:scaleX(0);
}
.nav-burger[aria-expanded="true"] .nav-burger-line--bot{
  transform:translateY(-5px) rotate(-45deg);
}

.nav-overlay{
  position:fixed;inset:0;
  background:rgba(0,0,0,.5);
  opacity:0;pointer-events:none;
  transition:opacity .3s ease;
  z-index:101;
}
.nav-overlay.open{opacity:1;pointer-events:auto}
.nav-mobile{display:none}
.nav-mobile ul{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:.15rem;
  padding-bottom:0;
  margin-bottom:0;
  border-bottom:none;
}
.nav-mobile a{
  display:block;padding:.65rem .15rem;
  font-family:'Poppins',system-ui,sans-serif;
  font-size:1.02rem;font-weight:600;
  color:rgba(255,255,255,.95);
  text-decoration:none;
}
.nav-mobile a:hover{color:#fff}
.nav-mobile .nav-cta-secondary--mobile,
.nav-mobile .nav-cta--mobile{
  display:none!important;
}
.nav-mobile-close{display:none!important}

@media(max-width:768px){
  html{scroll-padding-top:80px}
  nav{top:1.05rem;padding:0 .7rem}
  .nav-pill{
    width:100%;
    max-width:100%;
    padding:.45rem .75rem .45rem .95rem;
    border-radius:14px;
    overflow:hidden;
    transition:background .4s ease,border-color .4s ease,box-shadow .4s ease,padding-bottom .38s cubic-bezier(.25,.1,.25,1);
  }
  .nav-pill:has(.nav-mobile.open){
    padding-bottom:1rem;
    background:rgba(0,0,0,.34);
    border-color:rgba(255,255,255,.14);
    box-shadow:
      0 12px 44px rgba(0,0,0,.28),
      0 3px 8px rgba(0,0,0,.14),
      inset 0 1px 0 rgba(255,255,255,.1);
  }
  .nav-inner{
    display:flex;
    gap:.45rem;
    min-height:44px;
    min-width:0;
  }
  .nav-links{display:none}
  .nav-actions{
    display:flex;
    align-items:center;
    gap:.45rem;
    margin-left:auto;
    flex-shrink:0;
  }
  .nav-actions .nav-cta-secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:.785rem;
    font-weight:500;
    padding:.56rem .9rem;
    border-radius:11px;
    box-shadow:0 2px 10px rgba(0,0,0,.12);
  }
  .nav-actions .nav-cta{display:none}
  .nav-burger{display:inline-flex}
  .nav-mobile{
    display:block;
    position:relative;
    width:100%;
    max-height:0;
    opacity:0;
    overflow:hidden;
    pointer-events:none;
    padding:0;
    margin:0;
    transition:max-height .4s cubic-bezier(.25,.1,.25,1),opacity .28s ease,padding .35s ease;
  }
  .nav-mobile.open{
    max-height:200px;
    opacity:1;
    pointer-events:auto;
    padding-top:.4rem;
    padding-bottom:.15rem;
  }
  .nav-logo{
    width:50px;
    height:50px;
    border-radius:10px;
  }
  .nav-logo img{
    transform:none;
  }

  /* WhatsApp FAB */
  .wa-fab{width:52px;height:52px;bottom:20px;right:20px}
}

@media(max-width:480px){
  html{scroll-padding-top:75px}
  nav{top:.8rem;padding:0 .45rem}
  .nav-pill{
    padding:.42rem .62rem .42rem .78rem;
    border-radius:13px;
  }
  .nav-inner{gap:.35rem}
  .nav-inner{min-height:42px}
  .nav-actions{gap:.3rem}
  .nav-actions .nav-cta-secondary{
    font-size:.75rem;
    font-weight:500;
    padding:.54rem .78rem;
    border-radius:11px;
    box-shadow:0 2px 10px rgba(0,0,0,.12);
  }
  .nav-burger{
    width:34px;
    height:34px;
    border-radius:10px;
  }
  .nav-logo{
    width:46px;
    height:46px;
    border-radius:9px;
  }
  .nav-logo img{
    transform:none;
  }
  .nav-pill:has(.nav-mobile.open){
    padding-bottom:.85rem;
  }
  .nav-mobile.open{
    max-height:180px;
  }

  /* WhatsApp FAB */
  .wa-fab{width:50px;height:50px;bottom:18px;right:18px}
}

/* Complementario: modales y enlaces sin handlers inline (CSP / mantenimiento) */
.casos-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 5.5rem 0 0 2rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-600);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--slate-200);
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.casos-back-link:hover {
  border-color: #3b82f6;
  color: #2563eb;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

/* Legal modals — fondo oscuro y scrollbar neutra (no azul global) */
#modalLegal.modal-overlay.open,
#modalPrivacidad.modal-overlay.open,
#modalCookies.modal-overlay.open,
#modalTerminos.modal-overlay.open{
  background:rgba(15,23,42,.62);
}
.modal-box.modal-box--legal{
  background-color:#101318;
  background-image:linear-gradient(135deg,#0B0F14 0%,#101318 100%);
  background-attachment:local;
  border:1px solid rgba(59,130,246,.22);
  color:rgba(255,255,255,.85);
  scrollbar-width:thin;
  scrollbar-color:rgba(148,163,184,.4) #101318;
}
.modal-box.modal-box--legal::-webkit-scrollbar{width:8px}
.modal-box.modal-box--legal::-webkit-scrollbar-track{background:#101318}
.modal-box.modal-box--legal::-webkit-scrollbar-thumb{
  background:rgba(148,163,184,.4);
  border-radius:999px;
}
.modal-box.modal-box--legal::-webkit-scrollbar-thumb:hover{background:rgba(148,163,184,.55)}
.modal-box.modal-box--legal h2{color:#fff}
.modal-box.modal-box--legal h3{color:rgba(255,255,255,.92)}
.modal-box.modal-box--legal p,
.modal-box.modal-box--legal li{color:rgba(255,255,255,.65)}
.modal-box.modal-box--legal a{color:#60a5fa}
.modal-box.modal-box--legal a:hover{color:#93c5fd}
.modal-box.modal-box--legal .modal-close{
  background:#101318;
  color:rgba(255,255,255,.75);
  box-shadow:0 0 12px 8px #101318;
}
.modal-box.modal-box--legal .modal-close:hover{
  background:#1a1f28;
  color:#fff;
}
