/* ========================================= 0) Reset mínimo + helpers fluidos ========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

.container,
.container-xxl {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Motion-safe por defecto; respetar usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ========================================= 1) Tokens + Base tipográfica ========================================= */
:root {
  --tf-brand: #0d6efd;
  --tf-ink: #0b1220;
  --tf-muted: #6c757d;
  --tf-bg: #0f131a;
  /* fondo efectivo global */
  --tf-radius: 1rem;
  --tf-shadow: 0 12px 30px rgba(0, 0, 0, .08);
  --tf-focus: #2563eb;
  
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
small,
strong,
em,
a,
.nav-link,
.navbar,
.navbar-brand,
.dropdown-menu,
button,
.btn,
label,
input,
textarea,
select,
.form-control,
.form-select,
.badge,
.chip,
.list-group,
.card,
.toast,
.modal,
.popover,
.tooltip,
.lead,
.section-title,
.hero-title {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700 !important;
  letter-spacing: .2px;
}

.navbar-brand,
.btn,
.fw-semibold {
  font-weight: 600 !important;
}

.lead,
.fw-medium {
  font-weight: 500 !important;
}

em,
i {
  font-style: italic;
}

body {
  margin: 0;
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Inter, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  background: var(--tf-bg);
  color: #777;
}

a {
  color: #3b82f6;
}

.bg-taskflow { background-color: #1b3257 !important; }

/* Accesibilidad foco */
:focus-visible {
  outline: 2px solid var(--tf-focus);
  outline-offset: 2px;
}

/* Alto contraste (Windows HC) */
@media (forced-colors: active) {

  .topbar,
  .navbar,
  .hero {
    background: Canvas !important;
  }

  .chip,
  .btn,
  .badge {
    border: 1px solid CanvasText;
  }
}

/* ========================================= 2) Topbar + Navbar ========================================= */
.topbar {
  backdrop-filter: saturate(120%) blur(4px);
  background:#1b3257;
  border-bottom: 1px solid rgba(241, 239, 239, 0.515);
}

.navbar-brand .brand-logo {
  display: block;
  height: 30px;
  width: auto;
}

/* Navbar en blanco (override explícito) */
.navbar.navbar-dark {
  background: #fffefe !important;
  border-bottom: 1px solid #313131;
}

.navbar.navbar-dark .navbar-brand,
.navbar.navbar-dark .nav-link {
  color: #3b3a3a !important;
}

.navbar.navbar-dark .nav-link:hover,
.navbar.navbar-dark .nav-link:focus {
  color: #011b62 !important;
}

/* Nav suave (mejor foco y área táctil) */
.navbar .navbar-nav.navbar-soft .nav-link {
  color: #777 !important;
  transition: color .15s ease, background-color .15s ease;
  padding: .5rem .75rem;
  border-radius: .25rem;
}

.navbar .navbar-nav.navbar-soft .nav-link:hover,
.navbar .navbar-nav.navbar-soft .nav-link:focus {
  color: #555 !important;
  background-color: rgba(0, 0, 0, .04);
}

.navbar .navbar-nav.navbar-soft .nav-link[aria-current="page"] {
  color: #edd7d7 !important;
}

/* ========================================= 3) Hero + Slideshow (consolidado) ========================================= */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 86vh;
  display: grid;
  place-items: center;
  color: #fff;
  background: radial-gradient(100% 60% at 70% 20%, rgba(37, 99, 235, .35), transparent), linear-gradient(0deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .45)), url('assets/img/hero/0.png');
  background-size: cover;
  background-position: center;
}

.hero .form-control {
  max-width: 280px;
}

/* Capa slideshow por detrás */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-slideshow .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: brightness(.6);
  transform: scale(1.02);
  animation: heroFade 35s linear infinite;
  /* 7 slides → 35s */
  will-change: opacity, transform;
}

/* Escalonado 7 frames */
.slide.s1 {
  animation-delay: 0s;
}

.slide.s2 {
  animation-delay: 5s;
}

.slide.s3 {
  animation-delay: 10s;
}

.slide.s4 {
  animation-delay: 15s;
}

.slide.s5 {
  animation-delay: 20s;
}

.slide.s6 {
  animation-delay: 25s;
}

.slide.s7 {
  animation-delay: 30s;
}

@keyframes heroFade {
  0% {
    opacity: 0;
  }

  4% {
    opacity: 1;
  }

  16% {
    opacity: 1;
  }

  20% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slideshow .slide {
    animation: none;
    opacity: 1;
  }

  .slide:not(.s1) {
    display: none;
  }
}

/* Asegura que tu sección .hero sea contenedor de posición */
.hero { position: relative; isolation: isolate; }

/* Capa de fondo en móvil */
.hero-bg-mobile{
  position: absolute;
  inset: 0;
  z-index: -1;         /* queda detrás del contenido */
  overflow: hidden;
}

.hero-bg-mobile__img{
  width: 100%;
  height: 100%;
  object-fit: cover;   /* cubre sin deformar */
  display: block;
  filter: brightness(.8); /* opcional: baja un poco el brillo */
}

/* Overlay sutil para texto más legible (opcional) */
.hero-bg-mobile__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,6,23,.55), rgba(2,6,23,.25));
  pointer-events: none;
}

/* Respeta preferencias de movimiento */
@media (prefers-reduced-motion: reduce){
  .hero-bg-mobile__img{ transform: none; }
}


/* Grid hero */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}

/* Título hero */
.hero-title {
  color: #fff !important;
  font-weight: 800;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.1;
  margin: 0 0 .5rem 0;
}

.hero-title>span {
  display: block;
}

/* Bloques que puedan crecer en móvil */
.hero .stats-flex {
  flex-wrap: wrap;
  row-gap: .25rem;
}

/* Badges */
.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border-radius: 999px;
  padding: .5rem .8rem;
  font-weight: 500;
}

.chip i {
  opacity: .9;
}

/* CTA + inputs compactos */
.signup {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.input {
  flex: 1 1 320px;
  min-width: 240px;
  color: #0b1020;
  padding: .9rem 1rem;
  border-radius: .75rem;
  border: 1px solid rgba(255, 255, 255, .12);
  background: #fff;
}

.input--short {
  flex: 0 0 220px;
  min-width: 220px;
  max-width: 220px;
}

.cta {
  padding: .9rem 1.1rem;
  border-radius: .75rem;
  border: 0;
  background: #3b82f6;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.cta:hover {
  background: #2563eb;
}

/* ========================================= 4) Media / Logos ========================================= */
.media {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
  border: 1px solid rgba(253, 250, 250, 0.1);
}

.trust {
  margin-top: 38px;
}

.trust small {
  color: #999;
  display: block;
  margin-bottom: 10px;
}

.logos {
  display: flex;
  gap: 60px;
  align-items: center;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  /* Safari */
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: scrollX 25s linear infinite;
  will-change: transform;
}

@keyframes scrollX {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.logo {
  width: 140px;
  height: 62px;
  opacity: .75;
  filter: grayscale(1);
  /* background: #e5e7eb1c; */
  border-radius: 6px;
  display: grid;
  place-items: center;
  /* border: 1px solid rgba(255, 255, 255, .08); */
}

.logo-img {
  height: clamp(50px, 3.2vw, 40px);
  width: auto;
}

.logos--lg .logo {
  width:500px;
  height: 80px;
  padding: 8px 12px;
  border: 1px solid rgba(2, 6, 23, .08);
  border-radius: 10px;
  filter: none;
  opacity: 1;
}

.logos--lg .logo-img {
  max-width: 100%;
  max-height: 100%;
}

@media (max-width:576px) {
  .logos--lg .logo {
    width: 150px;
    height: 48px;
  }
}

/* ========================================= 5) Utilities ========================================= */
.logo-strip img {
  filter: grayscale(100%);
  opacity: .75;
  transition: opacity .2s;
}

.logo-strip img:hover {
  opacity: 1;
}

.card-hover {
  transition: transform .2s, box-shadow .2s;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .08);
}

.section-title {
  font-weight: 700;
}

.play-badge {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.play-badge .btn {
  padding: .6rem .9rem;
  border-radius: 999px;
}

.ratio>img {
  object-fit: cover;
}

.shadow-soft {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .06);
}

.badge-chip {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
}

/* Toast */
.toast {
  position: fixed;
  left: 20px;
  bottom: 20px;
  background: #111827;
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, .1);
  padding: .75rem 1rem;
  border-radius: .75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: .25s ease;
}

.toast.show {
  opacity: 1;
  transform: none;
}

/* ========================================= 6) Feature tiles ========================================= */
.feature-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 .75rem 1.5rem rgba(0, 0, 0, .06);
  border-color: rgba(13, 110, 253, .25);
}

.icon-pill {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(13, 110, 253, .25);
  box-shadow: 0 .25rem .75rem rgba(13, 110, 253, .08), inset 0 0 0 6px rgba(13, 110, 253, .06);
  font-size: 1.5rem;
  color: var(--tf-brand);
}

@media (min-width:992px) {
  .icon-pill {
    width: 72px;
    height: 72px;
    font-size: 1.75rem;
  }
}

/* ========================================= 7) Colores de secciones (conservados) ========================================= */
h1,
h2,
h3,
h4,
h5,
h6,
p {
  color: #777 !important;
}

.lead {
  color: #ffffff !important;
}

#solutions {
  background-color: #fff !important;
}

#benefits {
  background-color: #f8fafc !important;
}

#integrations {
  background-color: #f3f4f6 !important;
}

#why-taskflow {
  background-color: #ffffff !important;
}

#legacy {
  background-color: #f8fafc !important;
}

#about-taskflow {
  background-color: #f3f4f6 !important;
}

#footer {
  background-color: #1b3257 !important;
}

#solutions,
#benefits,
#integrations,
#why-taskflow,
#legacy,
#about-taskflow {
  position: relative;
  box-shadow: inset 0 1px 0 rgba(2, 6, 23, .06), inset 0 -1px 0 rgba(2, 6, 23, .06);
}

/* Benefits */
#benefits .list-group-item {
  background: #fff;
  border-color: #eef2f7;
}

#benefits .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd5e1;
}

#benefits .carousel-indicators .active {
  background-color: #2563eb;
}

#benefits h3.h4 {
  color: #0f172a;
}

#benefits h5 {
  color: #999;
}

#benefits .ratio>img {
  object-fit: cover;
}

/* ========================================= 8) Responsive refinements ========================================= */
@media (max-width:992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .media {
    max-height: 48vh;
  }
}

@media (max-width:575.98px) {

  .feature-card,
  .card,
  .card-hover,
  .shadow-soft,
  .rounded-3 {
    overflow: hidden;
  }

  .card .card-body {
    padding: 1rem;
  }

  .btn-lg {
    width: 100%;
  }

  /* CTA full-width en móvil/offcanvas */
}

/* formulario */
/* Borde con brillo sutil */
.gradient-outline {
  position: relative;
}

.gradient-outline::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  padding: 1px;
  background: linear-gradient(135deg, #e9efff, #b9d1ff, #f0f7ff);
  
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Encabezado con blob */
.icon-blob {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0d6efd1a, #0d6efd33);
  color: #0d6efd;
  font-size: 1.25rem;
  box-shadow: 0 6px 18px rgba(13, 110, 253, .12) inset;
}

/* Inputs suaves y enfoque elegante */
.input-soft .input-group-text {
  background: #f6f8fb;
  border-color: #e8eef6;
}

.input-soft .form-control {
  background: #fff;
  border-color: #e8eef6;
}

.form-neo .form-control:focus,
.form-neo .input-soft .form-control:focus,
.input-soft-control:focus {
  border-color: #b6d0ff;
  box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .15);
}

/* Floating labels con fondo sutil */
.form-floating>.form-control,
.form-floating>textarea.form-control {
  background: #fbfdff;
  border-color: #e8eef6;
}

.form-floating>label {
  color: #6b7280;
}

/* Botón gradiente */
.btn-gradient {
  --g1: #0d6efd;
  --g2: #2563eb;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  color: #fff;
  border: none;
  box-shadow: 0 10px 20px rgba(13, 110, 253, .18);
}

.btn-gradient:hover {
  filter: brightness(.96);
}

@media (max-width: 575.98px) {
  .icon-blob {
    width: 44px;
    height: 44px;
  }
}

/* Quienes somos estilos */
/* ========================== ¿Quiénes Somos? – estilos Scope: #quienes-somos ========================== */
#quienes-somos {
  background: #fff;
}

#quienes-somos .section-title {
  letter-spacing: .2px;
}

#quienes-somos .qs-kicker {
  display: inline-block;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), .08);
  border: 1px solid rgba(var(--bs-primary-rgb), .15);
  padding: .25rem .6rem;
  border-radius: 999px;
}

#quienes-somos .qs-underline {
  width: 120px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bs-primary), #7aa7ff);
}

/* Blobs decorativos */
#quienes-somos .qs-blob {
  position: absolute;
  filter: blur(50px);
  opacity: .35;
  z-index: 0;
  background: radial-gradient(closest-side, rgba(13, 110, 253, .25), transparent 70%);
  pointer-events: none;
}

#quienes-somos .qs-blob-1 {
  width: 340px;
  height: 340px;
  top: -80px;
  left: -60px;
}

#quienes-somos .qs-blob-2 {
  width: 280px;
  height: 280px;
  bottom: -60px;
  right: -40px;
}

/* Tarjetas misión/visión con acento lateral */
#quienes-somos .qs-feature {
  position: relative;
  z-index: 1;
  transition: transform .2s ease, box-shadow .2s ease;
}

#quienes-somos .qs-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  padding: 1px;
  background: linear-gradient(135deg, #e9efff, #b9d1ff, #f0f7ff);

  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

#quienes-somos .qs-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(2, 6, 23, .08);
}

/* Icono en cápsula */
#quienes-somos .qs-icon-blob {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  color: var(--bs-primary);
  background: linear-gradient(135deg, rgba(13, 110, 253, .08), rgba(13, 110, 253, .18));
  box-shadow: inset 0 6px 18px rgba(13, 110, 253, .12);
  font-size: 1.25rem;
}

/* Valores con borde luminoso */
#quienes-somos .qs-value {
  border: 0;
  background: #fff;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}

#quienes-somos .qs-value::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  padding: 1px;
  background: linear-gradient(135deg, #edf2ff, #dbeafe, #f8fafc);
  
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

#quienes-somos .qs-value:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(2, 6, 23, .08);
}

/* Icono redondo de valores */
#quienes-somos .qs-value-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(var(--bs-primary-rgb), .08);
  color: var(--bs-primary);
  border: 1px solid rgba(var(--bs-primary-rgb), .18);
  font-size: 1.2rem;
}

/* Entrada suave de elementos (sin JS) */
#quienes-somos .reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: qsFadeUp .6s ease forwards;
}

#quienes-somos .reveal.d1 {
  animation-delay: .05s;
}

#quienes-somos .reveal.d2 {
  animation-delay: .15s;
}

#quienes-somos .reveal.d3 {
  animation-delay: .25s;
}

@keyframes qsFadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Respeto reduce motion */
@media (prefers-reduced-motion: reduce) {
  #quienes-somos .reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* Ajustes responsive finos */
@media (max-width: 575.98px) {

  #quienes-somos .qs-icon-blob,
  #quienes-somos .qs-value-icon {
    width: 52px;
    height: 52px;
  }
}

/* ========================== SOPORTE – estilos responsivos ========================== */
#soporte {
  background: #fff;
}

/* Tipografía fluida */
#soporte .section-title {
  font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.5rem);
  line-height: 1.15;
}

#soporte .lead {
  font-size: clamp(1rem, .95rem + .4vw, 1.15rem);
}

/* Kicker + subrayado */
#soporte .sup-kicker {
  display: inline-block;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), .08);
  border: 1px solid rgba(var(--bs-primary-rgb), .15);
  padding: .25rem .6rem;
  border-radius: 999px;
}

#soporte .sup-underline {
  width: clamp(96px, 10vw, 120px);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bs-primary), #7aa7ff);
}

/* Blobs que se adaptan al viewport */
#soporte .sup-blob {
  position: absolute;
  filter: blur(60px);
  opacity: .35;
  z-index: 0;
  background: radial-gradient(closest-side, rgba(13, 110, 253, .25), transparent 70%);
  pointer-events: none;
}

#soporte .sup-blob-1 {
  width: 34vw;
  max-width: 340px;
  aspect-ratio: 1;
  top: -6rem;
  left: -3rem;
}

#soporte .sup-blob-2 {
  width: 30vw;
  max-width: 300px;
  aspect-ratio: 1;
  bottom: -5rem;
  right: -2rem;
}

@media (max-width: 575.98px) {
  #soporte .sup-blob-1 {
    width: 55vw;
    top: -5rem;
    left: -5rem;
    filter: blur(50px);
  }

  #soporte .sup-blob-2 {
    display: none;
  }

  /* limpia solapamientos en XS */
}

/* Cards con borde luminoso y hover */
#soporte .sup-card {
  position: relative;
  background: #fff;
  z-index: 1;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 20px rgba(2, 6, 23, .05);
}

#soporte .sup-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  padding: 1px;
  background: linear-gradient(135deg, #edf2ff, #dbeafe, #f8fafc);
 
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

#soporte .sup-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(2, 6, 23, .10);
}

@media (max-width: 575.98px) {
  #soporte .sup-card .card-body {
    padding: 1.25rem !important;
  }
}

/* Icono en cápsula (escala fluida) */
#soporte .sup-icon {
  inline-size: clamp(52px, 6vw, 56px);
  block-size: clamp(52px, 6vw, 56px);
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--bs-primary);
  background: linear-gradient(135deg, rgba(13, 110, 253, .08), rgba(13, 110, 253, .18));
  box-shadow: inset 0 6px 18px rgba(13, 110, 253, .12);
  font-size: clamp(1.1rem, .9rem + .6vw, 1.25rem);
}

/* Botón gradiente (full-width en móvil) */
#soporte .btn-gradient {
  --g1: #0d6efd;
  --g2: #2563eb;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  color: #fff;
  border: none;
  box-shadow: 0 10px 20px rgba(13, 110, 253, .18);
}

#soporte .btn-gradient:hover {
  filter: brightness(.96);
}

@media (max-width: 575.98px) {

  #soporte .btn,
  #soporte .btn-gradient {
    width: 100%;
  }
}

/* Accordion: mejor legibilidad en XS */
#soporte .accordion-button {
  padding: .85rem 1rem;
}

#soporte .accordion-body {
  font-size: .95rem;
}

/* Animación de entrada (sin JS) */
#soporte .sup-reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: supFade .55s ease forwards;
}

#soporte .sup-reveal.d1 {
  animation-delay: .05s;
}

#soporte .sup-reveal.d2 {
  animation-delay: .15s;
}

@keyframes supFade {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Accesibilidad / reduce motion */
@media (prefers-reduced-motion:reduce) {
  #soporte .sup-reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ===== HERO corto (una sola imagen) ===== */
.hero {
  position: relative;
  isolation: isolate;
  /* asegura que el overlay no afecte fuera */
  color: #fff;
}

.hero--short {
  /* alto compacto y padding fluido */
  min-height: clamp(180px, 24vh, 320px);
  padding-block: clamp(1rem, 0.8rem + 1.2vw, 2rem);
  /* UNA sola imagen de fondo (configurada vía --hero-bg) */
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* overlay sutil para legibilidad del texto (no agrega otra imagen) */
.hero--short::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.55), rgba(2, 6, 23, 0.25));
  z-index: -1;
}

/* asegura que el contenido quede encima del overlay */
.hero .container-xxl {
  position: relative;
  z-index: 1;
}

/* bala de icono (si no la tienes definida) */
.icon-bullet {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .65rem;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, .2);
}

/* responsivo: que el bloque derecho no desborde en móvil */
@media (max-width: 991.98px) {
  .right-stack {
    flex-wrap: wrap;
    row-gap: .25rem;
  }
}

/* reduce motion friendly */
@media (prefers-reduced-motion: reduce) {
  .hero--short::before {
    transition: none;
  }
}

:root {
  --tf-ink: #0b1220;
  --tf-muted: #6b7280;
  --tf-radius: 1rem;
}

body {
  font-family: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--tf-ink);
  background: #fff;
}

/* HERO corto, una sola imagen */
.hero--news {
  position: relative;
  isolation: isolate;
  color: #fff;
  min-height: clamp(180px, 24vh, 320px);
  padding-block: clamp(1rem, 0.8rem + 1.2vw, 2rem);
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero--news::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, .55), rgba(2, 6, 23, .25));
  z-index: -1;
}

.news-breadcrumb {
  --bs-breadcrumb-divider: '›';
}

/* Artículo */
.news-article .byline {
  color: var(--tf-muted);
}

.news-article .badge {
  background: #f3f4f6;
  color: #111827;
  border: 1px solid #e5e7eb;
}

.news-article blockquote {
  border-left: 4px solid rgba(13, 110, 253, .35);
  padding: .75rem 1rem;
  margin: 1rem 0;
  color: #374151;
  background: #f9fafb;
  border-radius: .5rem;
}

/* Card CTA */
.cta-card {
  border: 0;
  border-radius: var(--tf-radius);
  box-shadow: 0 10px 30px rgba(2, 6, 23, .06);
}

.cta-card .btn-gradient {
  --g1: #0d6efd;
  --g2: #2563eb;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  color: #fff;
  border: none;
  box-shadow: 0 10px 20px rgba(13, 110, 253, .18);
}

.cta-card .btn-gradient:hover {
  filter: brightness(.96);
}

/* Galería */
.news-gallery img {
  object-fit: cover;
  border-radius: .75rem;
}

/* Compartir */
.share a {
  text-decoration: none;
}

.share .btn {
  gap: .4rem;
}

/* Reduce motion */
@media (prefers-reduced-motion:reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* HERO corto con 1 imagen */
.hero--news {
  position: relative;
  isolation: isolate;
  /* asegura capas limpias */
  color: #fff;
  /* alto y padding compactos */
  min-height: clamp(180px, 24vh, 320px);
  padding-block: clamp(1rem, 0.8rem + 1.2vw, 2rem);
  /* fondo: usa la variable si existe */
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* overlay sutil para legibilidad */
.hero--news::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, .55), rgba(2, 6, 23, .25));
  z-index: 0;
}

/* contenido por encima del overlay */
.hero--news .container-xxl {
  position: relative;
  z-index: 1;
}

/* Tema oscuro del footer */
.footer-dark {
  background: #0b1220;
  color: #c8cfdb;
}

.footer-dark a {
  color: #e5ecff;
  text-decoration: none;
}

.footer-dark a:hover {
  text-decoration: underline;
}

.footer-head {
  color: #fff;
  font-weight: 600;
  letter-spacing: .2px;
}

/* Pills de redes */
.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: background .15s ease, transform .15s ease;
}

.footer-social:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-1px);
}

/* ========================== SOLUCIONES – estilos scopeados ========================== */
#soluciones {
  background: #fff;
}

/* Kicker + subrayado */
#soluciones .sol-kicker {
  display: inline-block;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), .08);
  border: 1px solid rgba(var(--bs-primary-rgb), .15);
  padding: .25rem .6rem;
  border-radius: 999px;
}

#soluciones .sol-underline {
  width: 120px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bs-primary), #7aa7ff);
}

/* Blobs decorativos */
#soluciones .sol-blob {
  position: absolute;
  filter: blur(60px);
  opacity: .35;
  z-index: 0;
  background: radial-gradient(closest-side, rgba(13, 110, 253, .25), transparent 70%);
  pointer-events: none;
}

#soluciones .sol-blob-1 {
  width: 340px;
  height: 340px;
  top: -80px;
  left: -60px;
}

#soluciones .sol-blob-2 {
  width: 300px;
  height: 300px;
  bottom: -70px;
  right: -40px;
}

/* Card con borde luminoso y hover suave */
#soluciones .solution-card {
  background: #fff;
  position: relative;
  z-index: 1;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 6px 18px rgba(2, 6, 23, .04);
}

#soluciones .solution-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  padding: 1px;
  background: linear-gradient(135deg, #edf2ff, #dbeafe, #f8fafc);

  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

#soluciones .solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(2, 6, 23, .10);
}

#soluciones .solution-card a:hover i {
  transform: translateX(2px);
}

#soluciones .solution-card i {
  transition: transform .15s ease;
}

/* Icono en cápsula */
#soluciones .sol-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--bs-primary);
  background: linear-gradient(135deg, rgba(13, 110, 253, .08), rgba(13, 110, 253, .18));
  box-shadow: inset 0 6px 18px rgba(13, 110, 253, .12);
  font-size: 1.6rem;
  margin-inline: auto;
}

/* Entradas animadas (sin JS) */
#soluciones .sol-reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: solFade .55s ease forwards;
}

#soluciones .sol-reveal.d1 {
  animation-delay: .05s;
}

#soluciones .sol-reveal.d2 {
  animation-delay: .15s;
}

#soluciones .sol-reveal.d3 {
  animation-delay: .25s;
}

@keyframes solFade {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Accesibilidad y responsive */
@media (prefers-reduced-motion: reduce) {
  #soluciones .sol-reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

@media (max-width: 575.98px) {
  #soluciones .sol-icon {
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
  }
}

/* Mantiene tamaño y nitidez del logo */
.brand-logo img {
  display: block;
  height: 28px;
  /* ajusta si necesitas otro alto */
  width: auto;
}

/* Fuerza logo blanco si el arte no lo es (raster o SVG de color) */
.brand-logo--force-white img {
  filter: brightness(0) invert(1);
}

/* ===== Partners (scope: #partners) ===== */
#partners { background:#fff; }

/* Kicker y subrayado */
#partners .partners-kicker{
  display:inline-block;
  font-size:.85rem; letter-spacing:.12em; text-transform:uppercase;
  color: var(--bs-primary, #0d6efd);
  background: rgba(13,110,253,.08);
  border:1px solid rgba(13,110,253,.18);
  padding:.25rem .6rem; border-radius:999px;
}
#partners .partners-underline{
  width: clamp(96px, 10vw, 120px);
  height:4px; border-radius:999px;
  background: linear-gradient(90deg, var(--bs-primary, #0d6efd), #7aa7ff);
}

/* Blobs decorativos */
#partners .partners-blob{
  position:absolute; filter: blur(60px); opacity:.35; z-index:0;
  background: radial-gradient(closest-side, rgba(13,110,253,.25), transparent 70%);
  pointer-events:none;
}
#partners .partners-blob-1{ width:34vw; max-width:360px; aspect-ratio:1; top:-6rem; left:-3rem; }
#partners .partners-blob-2{ width:30vw; max-width:320px; aspect-ratio:1; bottom:-5rem; right:-2rem; }
@media (max-width: 575.98px){
  #partners .partners-blob-1{ width:55vw; top:-5rem; left:-5rem; filter: blur(50px); }
  #partners .partners-blob-2{ display:none; }
}

/* Tarjeta con borde luminoso + hover */
#partners .partner-card{
  position:relative; z-index:1; background:#fff;
  border:0; border-radius:1rem;
  box-shadow:0 8px 22px rgba(2,6,23,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
#partners .partner-card::before{
  content:""; position:absolute; inset:0; border-radius:inherit; padding:1px;
  background: linear-gradient(135deg, #edf2ff, #dbeafe, #f8fafc);

  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events:none;
}
#partners .partner-card:hover{
  transform: translateY(-4px);
  box-shadow:0 16px 36px rgba(2,6,23,.12);
}

/* Marco del logo */
#partners .logo-badge{
  width: clamp(160px, 38vw, 220px);
  border-radius:14px; padding:10px 14px;
  background: linear-gradient(135deg, rgba(2,6,23,.03), rgba(13,110,253,.06));
  border:1px solid rgba(2,6,23,.08);
  box-shadow: inset 0 6px 18px rgba(13,110,253,.06);
}
#partners .partner-logo{
  display:block; margin-inline:auto;
  height: clamp(32px, 6vw, 56px);
  width:auto;
  filter: grayscale(100%) contrast(1.05);
  opacity: .85;
  transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}
#partners .partner-card:hover .partner-logo{
  filter: grayscale(0%); opacity:1; transform: translateY(-1px);
}

/* Tags/badges */
#partners .tag-list{
  display:flex; flex-wrap:wrap; gap:.5rem; padding:0; margin:0; list-style:none;
}
#partners .tag{
  font-size:.8rem; line-height:1; padding:.4rem .6rem; border-radius:999px;
  color:#0f172a; background:#f3f4f6; border:1px solid #e5e7eb;
}

/* A11y + motion */
#partners a:focus-visible{ outline:2px solid #2563eb; outline-offset:2px; }
@media (prefers-reduced-motion: reduce){
  #partners *{ transition:none !important; animation:none !important; }
}



/* En offcanvas (móvil), separa mejor los enlaces */
@media (max-width: 991.98px){
  .offcanvas .nav-link { padding:.65rem .75rem; }
}


/* ===== Navbar toggler: gris & negro ===== */
.navbar-toggler{
  padding: .45rem .6rem;
  border-radius: .5rem;
  border: 1px solid #3a3f44;            /* gris oscuro */
  background: linear-gradient(180deg,#2b2f33,#1f2327); /* gris → casi negro */
  transition: background .15s ease, border-color .15s ease, transform .06s ease;
}

/* Icono hamburguesa (gris carbón) */
.navbar-toggler-icon{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M5 9.5h22M5 16h22M5 22.5h22' stroke='%23adb5bd' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Hover y Active: más oscuro, borde definido */
.navbar-toggler:hover{
  background: linear-gradient(180deg,#272b2f,#181c20);
  border-color: #dadada;
}
.navbar-toggler:active{
  transform: scale(.98);
}

/* Focus accesible (teclado) */
.navbar-toggler:focus{
  outline: none;
  box-shadow: 0 0 0 .2rem rgba(194, 199, 204, 0.35); /* gris bootstrap */
  border-color: #212529;
}

/* Cuando está abierto, cambia a icono “X” gris claro */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M8 8l16 16M24 8L8 24' stroke='%23ced4da' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.text-bg-dark2 {
    color: #767474 !important;
    background-color: #bebfc1e5 !important;
}