/* Connections-Lab SaaS landing overrides (clean, professional) */
:root{
  --primary:#0B1F3A;
  --secondary:#2563EB;
  --accent:#00C2A8;
  --light:#F5F7FA;
  --text:#111827;
  --muted:#6B7280;
  --card:#FFFFFF;
  --border: rgba(17,24,39,.08);
  --shadow: 0 16px 40px rgba(11,31,58,.08);
}

html{ scroll-behavior:smooth; }
body{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: #fff;
}

a{ color: var(--secondary); text-decoration: none; }
a:hover{ color: #1d4ed8; }

.container-xl{ max-width: 1180px; }

/* Header */
.header{
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header .brand{
  display:flex; align-items:center; gap:.75rem;
}
.header .brand img{
  width:48px; height:48px; object-fit:contain;
}
.header .brand .brand-name{
  font-weight: 700;
  letter-spacing: .2px;
  color: var(--primary);
}
.header .navbar a{
  color: rgba(11,31,58,.78);
  font-weight: 600;
}
.header .navbar a:hover,
.header .navbar a.active{
  color: var(--primary);
}

/* Buttons */
.btn-primary-saas{
  background: var(--secondary);
  border: 1px solid rgba(37,99,235,.45);
  color: #fff;
  padding: .85rem 1.05rem;
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(37,99,235,.18);
}
.btn-primary-saas:hover{ filter: brightness(.98); transform: translateY(-1px); color:#fff; }
.btn-outline-saas{
  border: 1px solid rgba(11,31,58,.18);
  color: var(--primary);
  padding: .85rem 1.05rem;
  border-radius: 14px;
  font-weight: 700;
  background: #fff;
}
.btn-outline-saas:hover{ border-color: rgba(37,99,235,.35); color: var(--secondary); transform: translateY(-1px); }

.badge-soft{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: rgba(0,194,168,.12);
  color: rgba(11,31,58,.92);
  font-weight: 700;
  font-size: .9rem;
}

/* Hero */
.hero-saas{
  position: relative;
  padding: 7.5rem 0 3.5rem;
  overflow:hidden;
}
.hero-saas:before{
  content:"";
  position:absolute;
  inset:-40% -30% auto -30%;
  height: 520px;
  background: radial-gradient(circle at 20% 20%, rgba(37,99,235,.18), transparent 55%),
              radial-gradient(circle at 70% 30%, rgba(0,194,168,.14), transparent 60%);
  transform: rotate(-6deg);
}
.hero-saas .hero-inner{ position:relative; z-index:1; }
.hero-title{
  font-size: clamp(2.1rem, 3.4vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--primary);
  font-weight: 800;
}
.hero-subtitle{
  color: rgba(17,24,39,.72);
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 46ch;
}
.hero-metrics{
  display:flex; gap:1rem; flex-wrap:wrap;
  margin-top: 1.35rem;
}
.metric{
  background: rgba(255,255,255,.72);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: .85rem .95rem;
  box-shadow: 0 10px 28px rgba(11,31,58,.06);
  min-width: 180px;
}
.metric .kpi{
  font-weight: 800;
  color: var(--primary);
  font-size: 1.1rem;
}
.metric .label{
  color: rgba(17,24,39,.6);
  font-weight: 600;
  font-size: .92rem;
}

.video-card{
  border-radius: 22px;
  overflow:hidden;
  background: #0b1220;
  border: 1px solid rgba(11,31,58,.14);
  box-shadow: var(--shadow);
}
.video-card video{
  display:block;
  width:100%;
  height:auto;
}

/* Logos strip */
.section{
  padding: 4.25rem 0;
}
.section-title{
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
}
.section-lead{
  color: rgba(17,24,39,.68);
  max-width: 70ch;
}


.logo-grid{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items:center;
}
@media (max-width: 992px){ .logo-grid{ grid-template-columns: repeat(4, 1fr);} }
@media (max-width: 576px){ .logo-grid{ grid-template-columns: repeat(2, 1fr);} }

.client-logo{
  background:#fff;
  border:1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  height: 86px;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  box-shadow: 0 10px 24px rgba(11,31,58,.06);
  filter: grayscale(1) opacity(.78);
}
.client-logo:hover{
  transform: translateY(-2px);
  filter: grayscale(0) opacity(1);
  box-shadow: 0 16px 40px rgba(11,31,58,.10);
}
.client-logo img{
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
}

/* Feature cards */
.card-saas{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(11,31,58,.06);
  height:100%;
}
.card-saas .card-body{ padding: 1.35rem 1.25rem; }
.icon-bubble{
  width: 48px; height:48px;
  border-radius: 16px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(37,99,235,.12);
  color: var(--secondary);
  font-size: 1.25rem;
  border: 1px solid rgba(37,99,235,.20);
}
.card-saas h5{
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.card-saas p{ color: rgba(17,24,39,.68); margin-bottom: .75rem; }
.list-check{
  list-style:none; padding-left:0; margin:0;
}
.list-check li{
  display:flex; gap:.55rem;
  margin: .45rem 0;
  color: rgba(17,24,39,.72);
  font-weight: 600;
}
.list-check i{ color: var(--accent); }

/* CTA */
.cta{
  background: linear-gradient(135deg, var(--primary), #07162b);
  border-radius: 26px;
  padding: 2.25rem;
  color: #fff;
  box-shadow: 0 24px 60px rgba(11,31,58,.24);
  border: 1px solid rgba(255,255,255,.08);
}
.cta h3{ color:#fff; font-weight: 800; letter-spacing: -0.02em; }
.cta p{ color: rgba(255,255,255,.78); margin:0; }
.cta .btn-primary-saas{ box-shadow:none; }

/* Contact */
.form-control, .form-select{
  border-radius: 14px;
  border: 1px solid rgba(17,24,39,.12);
  padding: .85rem .95rem;
}
.form-control:focus, .form-select:focus{
  border-color: rgba(37,99,235,.45);
  box-shadow: 0 0 0 .2rem rgba(37,99,235,.10);
}
.btn-submit{
  width:100%;
  border-radius: 14px;
  padding: .9rem 1rem;
  font-weight: 800;
  border:0;
  background: var(--secondary);
  color:#fff;
}
.btn-submit:hover{ filter: brightness(.98); transform: translateY(-1px); }

/* Footer */
.footer{
  border-top: 1px solid var(--border);
}
.footer .footer-content{
  padding-top: 2.25rem;
}

/* WhatsApp floating button */
.wa-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px; height: 56px;
  border-radius: 18px;
  background: #25D366;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  box-shadow: 0 18px 42px rgba(0,0,0,.22);
  z-index: 9999;
  border: 1px solid rgba(255,255,255,.18);
}
.wa-float:hover{ color:#fff; transform: translateY(-2px); }

/* Reduce template leftovers if present */
.hero-animated{
  min-height:auto;
}

/* ===== Navbar fix (remove bullets + align) ===== */
#navbar ul{
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

#navbar li{
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#navbar .nav-link{
  display: inline-flex;
  align-items: center;
  padding: .65rem .6rem;
  border-radius: 12px;
  font-weight: 700;
}

#navbar .nav-link:hover{
  background: rgba(37,99,235,.08);
}
.hero-saas{
  position: relative;
  padding: 120px 0 60px;
  overflow: hidden;
  background: linear-gradient(180deg,#f8fafc 0%, #eef2f7 100%);
}

.hero-saas:before{
  display:none; /* esto elimina el fondo gigante que deja el espacio blanco */
}

.video-card{
  background:#0b1220;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 20px 50px rgba(0,0,0,.08);
}

.video-card video{
  width:100%;
  height:auto;
  display:block;
}
@media(max-width:991px){

  .hero-saas{
    padding:100px 0 40px;
  }

  .hero-title{
    font-size:28px;
  }

  .hero-subtitle{
    font-size:16px;
  }

}

/* Logos estilo enterprise */
.client-logo{
  position: relative;
  filter: grayscale(1) opacity(.55);
  transition: all .45s ease;
}

.client-logo.active{
  filter: grayscale(0) opacity(1);
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 0 0 2px rgba(37,99,235,.12),
    0 12px 28px rgba(37,99,235,.18);
}

/* layout base */
.container{
  max-width:1200px;
}

/* hero spacing + tech dot background */
#hero{
  position: relative;
  padding-top:120px;
  padding-bottom:80px;
  background-color:#f8fafc;
  background-image:
    radial-gradient(ellipse at 18% 60%, rgba(37,99,235,0.07) 0%, transparent 52%),
    radial-gradient(ellipse at 82% 30%, rgba(14,165,233,0.05) 0%, transparent 45%),
    radial-gradient(circle, rgba(37,99,235,0.12) 1px, transparent 1px);
  background-size: 100%, 100%, 26px 26px;
  overflow: hidden;
}

/* ── Marquee decorativo entre navbar y contenido ── */
.hero-strip{
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  height: 52px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  opacity: 0.14;
  color: #2563eb;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image:         linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.hero-strip-track{
  display: flex;
  align-items: center;
  gap: 44px;
  padding: 0 22px;
  width: max-content;
  animation: heroMarquee 32s linear infinite;
}

.hero-strip-track svg{
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

@keyframes heroMarquee{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media(max-width:767px){
  .hero-strip{ display:none; }
}

/* El contenido del hero siempre encima */
#hero .container{ position:relative; z-index:1; }

/* texto hero */
#hero h1{
  line-height:1.15;
  margin-bottom:20px;
}

#hero p{
  max-width:520px;
  font-size:18px;
  line-height:1.6;
  color:#475569;
}

/* separacion botones */
#hero .btn{
  margin-top:10px;
}

/* video hero */
.video-card{
  width:100%;
  max-width:520px;
  margin-left:auto;
}

@media(max-width:991px){

  #hero{
    padding-top:100px;
    padding-bottom:40px;
    text-align:center;
  }

  #hero p{
    margin-left:auto;
    margin-right:auto;
  }

  .video-card{
    margin:30px auto 0;
    max-width:100%;
  }

  .section-title{
    text-align:center;
  }

  .section-lead{
    text-align:center;
    margin-left:auto;
    margin-right:auto;
  }

}

.logo-grid{
  margin-top:40px;
}

body{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto;
}

.section-title{
  font-size:32px;
  margin-bottom:10px;
}

.section-lead{
  max-width:680px;
  line-height:1.6;
}

.btn-whatsapp{
  background:#25D366;
  color:white;
  border-radius:12px;
  padding:10px 18px;
  font-weight:600;
  display:inline-flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
}

.btn-whatsapp:hover{
  background:#1ebe5d;
  color:white;
}

@media(max-width:991px){

  #hero .btn{
    width:100%;
    margin-bottom:12px;
  }

  #hero .btn-whatsapp{
    width:100%;
  }

}

.feature-card{
  background:#f8fafc;
  padding:40px 30px;
  border-radius:18px;
  transition:.3s ease;
  height:100%;
}

.feature-card:hover{
  background:white;
  transform:translateY(-6px);
  box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.feature-icon{
  width:56px;
  height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eef2ff;
  color:#2563EB;
  border-radius:14px;
  margin-bottom:20px;
  font-size:22px;
}

.metric{
  background:white;
  padding:30px 20px;
  border-radius:16px;
  box-shadow:0 10px 25px rgba(0,0,0,.05);
  height:100%;
}

.metric-number{
  font-size:34px;
  font-weight:800;
  color:#0f172a;
  margin-bottom:6px;
}

.metric-text{
  font-size:14px;
  color:#64748b;
}

.metric{
  background:#f1f5f9;
  padding:34px 24px;
  border-radius:18px;
  transition:.3s;
}

.metric:hover{
  background:white;
  transform:translateY(-6px);
  box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.metric-number{
  font-size:40px;
  font-weight:900;
  color:#0f172a;
  margin-bottom:8px;
}

.metric-text{
  font-size:15px;
  color:#475569;
}

.autoridad-list{
  margin-top:25px;
  padding-left:0;
  list-style:none;
}

.autoridad-list li{
  margin-bottom:12px;
  padding-left:28px;
  position:relative;
  color:#e2e8f0;
}

.autoridad-list li:before{
  content:"✔";
  position:absolute;
  left:0;
  color:#22c55e;
  font-weight:bold;
}

.autoridad-card{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  padding:40px;
  border-radius:20px;
}

.autoridad-metric{
  display:flex;
  justify-content:space-between;
  margin-bottom:22px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(255,255,255,.06);
}

.autoridad-metric span{
  color:#94a3b8;
}

.autoridad-metric strong{
  font-size:20px;
}



#beneficios{
  padding-top:40px !important;
}

.modulo-card{
  opacity:0;
  transform:translateY(30px);
  transition:all .7s cubic-bezier(.2,.65,.3,1);
}

.modulo-card.visible{
  opacity:1;
  transform:translateY(0);
}

.modulo-card.active{
  background:white;
  box-shadow:0 25px 55px rgba(0,0,0,.12);
  transform:translateY(-4px);
}

.cta{
  padding:28px 34px !important;
  margin-bottom:0 !important;
}

.cta + section{
  margin-top:0 !important;
  padding-top:30px !important;
}

.cta{
  border-radius:20px;
  background:linear-gradient(135deg,#0f172a,#0b2a4a);
}
.accordion-button{
  font-weight:600;
  font-size:16px;
}

.accordion-button:not(.collapsed){
  background:#eef2ff;
  color:#0f172a;
}

.accordion-body{
  color:#475569;
  font-size:15px;
}

/* Legal footer – estilo corporativo discreto */
.footer .footer-content{
  padding-top:20px;
  padding-bottom:10px;
}

.footer .footer-content h5{
  font-size:14px;
  font-weight:700;
  color:#94a3b8 !important;
  letter-spacing:.4px;
  text-transform:uppercase;
  margin-bottom:8px;
}

.footer .footer-content p{
  font-size:13px;
  line-height:1.6;
  color:#64748b !important;  /* mejorado: de #94a3b8 a #64748b para cumplir WCAG AA */
  font-weight:500 !important;
  opacity:1;
}

.footer{
  margin-top:60px;
  border-top:1px solid rgba(0,0,0,.04);
}
#infraestructura:empty,
.section:empty {
  display:none;
  padding:0;
  margin:0;
}


/* === Conexiones: espaciado y secciones (evita huecos grandes del template) === */

#onfocus, #features, #portfolio, #faq, #contact { padding: 80px 0 !important; }

#beneficios{ padding: 80px 0 !important; }
#impacto{ padding: 70px 0 !important; }
#clientes{ padding: 70px 0 !important; }


/* Hero */
.hero-title{ font-size:44px; font-weight:900; color: var(--primary); line-height:1.1; }
.hero-text{ font-size:18px; color: #475569; }

/* Video */
.video-card{ background:#0b1220; border-radius:20px; overflow:hidden; box-shadow: var(--shadow); }
.video-card video{ width:100%; display:block; }

/* Contenedor video hero */
.video-hero-wrap{
  background: #0b1220;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Logos grid */
.logo-grid{
  display:grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap:18px;
  align-items:center;
}
@media (max-width: 991px){
  .logo-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
.client-logo{
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(17,24,39,.06);
  border-radius:16px;
  padding:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:76px;
  transition: .35s ease;
  opacity:.65;
}
.client-logo img{ max-height:34px; max-width:100%; filter: grayscale(1); opacity:.9; }
.client-logo.active{
  opacity:1;
  transform: translateY(-3px);
  background:#fff;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
}
.client-logo.active img{ filter: grayscale(0); opacity:1; }

/* Apple modules animation */
.modulo-card{ opacity:0; transform: translateY(30px); transition: all .7s cubic-bezier(.2,.65,.3,1); }
.modulo-card.visible{ opacity:1; transform: translateY(0); }
.modulo-card.active{ box-shadow: 0 25px 55px rgba(37,99,235,.18); transform: translateY(-6px) scale(1.01); }

/* Legal footer: discreto */
.footer .footer-content h5{
  font-size:14px !important;
  font-weight:700 !important;
  color:#94a3b8 !important;
  letter-spacing:.4px;
  text-transform:uppercase;
}
.footer .footer-content p{
  font-size:13px !important;
  color:#94a3b8 !important;
  font-weight:500 !important;
  opacity:.9;
}
body{
  padding-top: 90px;
}
/* separación hero → logos */
#hero{
  padding-bottom:120px;
}

/* separación logos desde arriba */
.section-muted{
  margin-top:60px;
}

/* versión más premium */
@media (min-width:992px){
  #hero{
    padding-bottom:140px;
  }

  .section-muted{
  background:#f8fafc;
  border-top:1px solid #eef2f7;
}
}



/* cards dolor */
#dolor .card-saas{
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  transition:.35s ease;
}

/* glow warning */
#dolor .card-saas.active{
  border-color:#f59e0b;
  box-shadow:0 20px 60px rgba(245,158,11,.25);
  background:linear-gradient(180deg,#fff9ec 0%, #ffffff 100%);
}

/* icon warning */
#dolor .icon-bubble{
  background:#fff3cd;
  color:#b45309;
  border:1px solid #fde68a;
}



/* eliminar margen inferior del bloque interno */
#dolor .text-center{
  margin-bottom:40px !important;
}

/* reducir separación del grid */
#dolor .row{
  margin-bottom:0 !important;
}

/* pegar infraestructura al bloque anterior */
#infraestructura{
 padding:80px 0;
}

/* ===== BENEFICIOS – SUCCESS GLOW ===== */

#beneficios{
  padding:100px 0 !important;
}

#beneficios .beneficio-card{
  transition: all .5s cubic-bezier(.2,.65,.3,1);
}

#beneficios .beneficio-card.active{
  border-color:#22c55e !important;
  box-shadow:0 25px 55px rgba(34,197,94,.25) !important;
  transform:translateY(-6px);
  background:linear-gradient(180deg,#f0fdf4 0%, #ffffff 100%);
}

#beneficios .beneficio-card.active .icon-bubble{
  background:#dcfce7 !important;
  color:#15803d !important;
  border-color:#86efac !important;
}

.footer .footer-content{
  font-size:13px;
  line-height:1.6;
  color:#64748b;
}

.footer .legal-strong{
  color:#475569;
  font-weight:600;
}

.footer .legal-soft{
  color:#64748b;
}

.footer .footer-link{
  color:#64748b;
  font-size:13px;
  text-decoration:none;
  transition:color .2s;
}
.footer .footer-link:hover{
  color:var(--primary);
}

@media(max-width:991px){

  .modulo-card{
    opacity:1 !important;
    transform:none !important;
  }

}

/* botón loading */
.btn-submit{
  position:relative;
  overflow:hidden;
}

.btn-loader{
  width:18px;
  height:18px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.3);
  border-top:2px solid #fff;
  animation:spin .7s linear infinite;
  display:none;
}

.btn-submit.loading .btn-loader{
  display:inline-block;
}

.btn-submit.loading .btn-text{
  opacity:.6;
}

@keyframes spin{
  to{ transform:rotate(360deg); }
}

/* toast error */
.toast-error{
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #7f1d1d;
  color: white;
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  z-index: 9999;
  transform: translateY(30px);
  opacity: 0;
  transition: all .35s cubic-bezier(.2,.65,.3,1);
}

.toast-error.show{
  transform: translateY(0);
  opacity: 1;
}

/* ===== FIX TOAST ===== */
#toast-success{
  position: fixed !important;
  left: 24px;
  bottom: 24px;
  z-index: 99999;

  background: #0f172a;
  color: white;
  border-radius: 18px;
  padding: 16px 18px;

  display:flex;
  align-items:center;
  gap:14px;

  box-shadow: 0 25px 60px rgba(0,0,0,.25);

  transform: translateY(40px);
  opacity: 0;
  pointer-events: none;

  transition: all .45s cubic-bezier(.2,.65,.3,1);
}

#toast-success.show{
  transform: translateY(0);
  opacity: 1;
}

#toast-success .toast-icon{
  width:34px;
  height:34px;
  border-radius:12px;
  background:#22c55e;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
}

#toast-success .toast-content strong{
  display:block;
  font-weight:800;
}

#toast-success .toast-content span{
  font-size:13px;
  color:#cbd5e1;
}

/* ============================= */
/* FIX FINAL ESPACIOS ENTRE SECCIONES */
/* ============================= */

section{
  margin:0 !important;
}

.section{
  padding:0 !important;
}

#dolor{
  padding:60px 0 30px !important;
  margin:0 !important;
}

#dolor + section{
  margin-top:0 !important;
}

#autoridad{
  padding:80px 0 !important;
  margin:0 !important;
}

#infraestructura{
  padding:80px 0 !important;
  margin:0 !important;
}

/* evita que bootstrap agregue altura fantasma */
.row{
  margin-bottom:0 !important;
}

/* evita contenedor estirado */
.container, .container-xl{
  margin-bottom:0 !important;
}

/* ============================= */
/* ACCESIBILIDAD – FOCUS VISIBLE */
/* ============================= */

/* Elimina outline por defecto solo para mouse, lo mantiene para teclado */
:focus:not(:focus-visible){ outline: none; box-shadow: none; }

:focus-visible{
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
  border-radius: 6px;
}

.btn:focus-visible,
.btn-primary-saas:focus-visible,
.btn-outline-saas:focus-visible,
.btn-submit:focus-visible,
.btn-whatsapp:focus-visible{
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(37,99,235,.18);
}

.form-control:focus,
.form-select:focus{
  outline: none;
  border-color: rgba(37,99,235,.6);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

.nav-link:focus-visible{
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ============================= */
/* IMPACTO OPERATIVO – TARJETAS  */
/* ============================= */

#impacto{
  padding: 80px 0;
  background: white;
}

.impacto-card{
  background: #f8fafc;
  border: 1px solid rgba(17,24,39,.06);
  border-radius: 20px;
  padding: 34px 24px;
  text-align: center;
  transition: all .35s ease;
  height: 100%;
}

.impacto-card:hover{
  background: white;
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(37,99,235,.10);
  border-color: rgba(37,99,235,.15);
}

.impacto-icon{
  width: 56px;
  height: 56px;
  background: rgba(37,99,235,.10);
  color: var(--secondary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 16px;
  border: 1px solid rgba(37,99,235,.15);
}

.impacto-number{
  font-size: 38px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.impacto-card p{
  font-size: 14px;
  color: #64748b;
  font-weight: 600;
  margin: 0;
}

/* ============================= */
/* FOOTER – CONTRASTE WCAG AA   */
/* ============================= */

/* Asegura legibilidad en toda la zona del footer */
.footer .footer-legal .copyright,
.footer .footer-legal .credits{
  color: #64748b;
  font-size: 13px;
}

/* ============================= */
/* HERO BADGE                   */
/* ============================= */

.hero-badge{
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.20);
  color: var(--secondary);
  font-size: .85rem;
  font-weight: 700;
  padding: .4rem .85rem;
  border-radius: 999px;
  letter-spacing: .01em;
}

.hero-badge i{
  color: #22c55e;
  font-size: 1rem;
}

/* ============================= */
/* IMPACTO – MEJORA VISUAL      */
/* ============================= */

#impacto{
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  border-top: 1px solid rgba(17,24,39,.05);
  border-bottom: 1px solid rgba(17,24,39,.05);
}

.impacto-number{
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================== */
/* IMAGENOLOGÍA – SECCIÓN COMPLETA */
/* =============================== */

#imagenologia{
  background: linear-gradient(180deg, #f0f4ff 0%, #e8effe 100%);
  border-top: 1px solid rgba(37,99,235,.08);
  border-bottom: 1px solid rgba(37,99,235,.08);
}

.imag-badge-section{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(0,194,168,.12);
  border: 1px solid rgba(0,194,168,.30);
  color: #047857;
  font-size: .82rem;
  font-weight: 800;
  padding: .35rem .85rem;
  border-radius: 999px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Variante teal para iconos de imagenología */
.imag-icon-bubble{
  width: 48px; height: 48px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,194,168,.12);
  color: #0d9488;
  font-size: 1.25rem;
  border: 1px solid rgba(0,194,168,.25);
}

/* Cards imagenología: resaltan cuando activas */
.imag-card{
  border-color: rgba(37,99,235,.08) !important;
  background: rgba(255,255,255,.85);
}

.imag-card:hover,
.imag-card.active{
  background: #fff !important;
  border-color: rgba(0,194,168,.30) !important;
  box-shadow: 0 20px 55px rgba(0,194,168,.18) !important;
  transform: translateY(-6px);
}

.imag-card.active .imag-icon-bubble{
  background: rgba(0,194,168,.20);
  color: #0d9488;
  border-color: rgba(0,194,168,.35);
}

/* Diferenciadores (fila inferior) */
.imag-diferenciadores{
  margin-top: 2.5rem;
  padding: 2rem;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(37,99,235,.10);
  border-radius: 22px;
  backdrop-filter: blur(6px);
}

.imag-dif-card{
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.imag-dif-card > i{
  font-size: 1.6rem;
  color: #0d9488;
  flex-shrink: 0;
  margin-top: 2px;
}

.imag-dif-card strong{
  display: block;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 4px;
  font-size: .95rem;
}

.imag-dif-card span{
  color: #64748b;
  font-size: .88rem;
  line-height: 1.5;
}

@media(max-width:767px){
  .imag-dif-card{
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(17,24,39,.06);
  }
  .imag-dif-card:last-child{ border-bottom: none; padding-bottom: 0; }
}

/* =============================== */
/* SKIP LINK – ACCESIBILIDAD TECLADO */
/* =============================== */

.skip-link{
  position: absolute;
  top: -100%;
  left: 8px;
  background: var(--secondary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: 14px;
  z-index: 99999;
  text-decoration: none;
  transition: top .2s;
}

.skip-link:focus{
  top: 0;
  color: #fff;
}