/* === PALETA BLUEPAY OFICIAL === */
:root {
  --blue-primary: #0d47a1;
  --blue-deep: #0a2e6e;
  --blue-darker: #011641;
  --cyan-accent: #1ec6f3;
  --white: #ffffff;
  --black-soft: #111111;
  --gray-dark: #2a2a2a;
  --gray-medium: #6c757d;
  --gray-light-bg: #f5f7fa;
  --gradient-hero: linear-gradient(145deg, #011641 0%, #0a2e6e 100%);
  --gradient-card: linear-gradient(145deg, #0d47a1, #0a2e6e);
  --shadow-sm: 0 15px 30px -8px rgba(13, 71, 161, 0.12);
  --shadow-hover: 0 30px 45px -12px rgba(13, 71, 161, 0.25);
  --border-radius-lg: 24px;
  --border-radius-xl: 32px;
  --transition: all 0.4s cubic-bezier(0.2, 0, 0, 1);
}
html {
  overflow-x: hidden;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Inter", sans-serif;
  background-color: var(--white);
  color: var(--black-soft);
  line-height: 1.5;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* prueba margenes */
.row {
  padding-right: calc(var(--bs-gutter-x) * 0.2);
  padding-left: calc(var(--bs-gutter-x) * 0.2);
}

/* === UTILITIES === */
.bg-soft {
  background-color: var(--gray-light-bg);
}
.text-cyan {
  color: var(--cyan-accent);
}
.text-gray {
  color: var(--gray-medium);
}
.bg-gradient-blue {
  background: var(--gradient-hero);
}

/* === BOTONES === */
.btn-primary-blue {
  background-color: var(--blue-primary);
  border: none;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 60px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 6px 14px rgba(13, 71, 161, 0.25);
}
.btn-primary-blue:hover {
  background-color: #0b3a7a;
  transform: translateY(-3px);
  box-shadow: 0 16px 25px rgba(13, 71, 161, 0.35);
}
.acordeon-btn-primary-blue {
  background-color: var(--blue-primary);
  border: none;
  color: white;
  /* padding: 0.75rem 2rem; */
  border-radius: 60px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 6px 14px rgba(13, 71, 161, 0.25);
}
.acordeon-btn-primary-blue:hover {
  background-color: #0b3a7a;
  color: var(--cyan-accent);
  transform: translateY(-3px);
  box-shadow: 0 16px 25px rgba(13, 71, 161, 0.35);
}
.btn-outline-cyan {
  background: transparent;
  border: 2px solid var(--cyan-accent);
  color: var(--cyan-accent);
  padding: 0.8rem 2rem;
  border-radius: 60px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-outline-cyan:hover {
  background: var(--cyan-accent);
  color: var(--blue-deep);
  border-color: var(--cyan-accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(30, 198, 243, 0.3);
}
.btn-cyan {
  background: var(--cyan-accent);
  border: 2px solid transparent;
  color: var(--blue-deep);
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: 60px;
  transition: var(--transition);
  /* box-shadow: 0 6px 14px rgba(30, 198, 243, 0.3); */
}
.btn-cyan:hover {
  background: #18b8e6;
  transform: translateY(-3px);
  box-shadow: 0 14px 22px rgba(30, 198, 243, 0.4);
}

.logotop {
  height: 65px;
}
.logo_footer {
  height: 50px;
}

.language-loading {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

/* === NAVBAR === */
.navbar-bluepay {
  background: transparent !important;
  transition:
    background 0.3s ease,
    padding 0.3s ease;
  padding: 1.2rem 0;
}
.navbar-scrolled {
  background: var(--blue-deep) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 0.8rem 0 !important;
}
.nav-link {
  color: white;
  font-weight: 500;
  margin: 0 0.8rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-link:hover {
  color: var(--cyan-accent);
  opacity: 1;
}
.nav-link i {
  font-size: 0.75rem;
  transition: transform 0.2s;
}
.nav-link:hover i {
  transform: translateY(2px);
}
.dropdown-toggle::after {
  display: none !important;
}

@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
  .dropdown-menu {
    border-radius: 16px;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3);
    background: var(--blue-deep);
    border: none;
    display: none;
  }
  .dropdown-menu .dropdown-item {
    color: white;
    padding: 0.7rem 1.5rem;
  }
  .dropdown-menu .dropdown-item:hover {
    background: var(--cyan-accent);
    color: var(--blue-deep);
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--blue-deep);
    padding: 1rem;
    border-radius: 20px;
    margin-top: 0.5rem;
    width: 100%; /* ← añade esto */
    max-width: 100%; /* ← añade esto */
  }
  .dropdown-menu {
    background: var(--blue-deep) !important;
    border: none;
    padding-left: 0.5rem;
  }
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
  }
  .btn-cyan {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }
}

/* === HERO === */
.hero-section {
  padding: 140px 0 120px;
  background: var(--gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
}
.float-img {
  animation: float 6s ease-in-out infinite;
  transition: opacity 0.5s ease;
}
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0px);
  }
}
.animate-left {
  animation: fadeLeft 0.9s ease-out;
}
@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-35px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.animate-right {
  animation: fadeRight 0.9s ease-out;
}
@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(35px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* === FRASES ANIMADAS === */
#checkPhrasesContainer .phrase-item {
  /* min-height: 48px; */
  transition: all 0.3s ease;
}
#checkPhrasesContainer span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
}
#checkPhrasesContainer span.typing-active {
  border-right: 2px solid var(--cyan-accent);
  animation: blinkCursor 0.8s infinite;
}
@keyframes blinkCursor {
  0%,
  100% {
    border-color: transparent;
  }
  50% {
    border-color: var(--cyan-accent);
  }
}

.gap-0 {
  gap: 1.5rem !important;
}

/* === MARQUEE === */
.marquee-container {
  background: white;
  padding: 2rem 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(108, 117, 125, 0.1);
}
.marquee-track {
  display: flex;
  gap: 5rem;
  animation: scroll 40s linear infinite;
  width: max-content;
}
.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}
.logo-gray {
  /* Estado inicial: gris suave */
  filter: grayscale(1) brightness(0.45);
  -webkit-filter: grayscale(1) brightness(0.45);
  opacity: 0.7;
  height: 30px;
  transition: all 0.25s;
}

.logo-gray:hover {
  /* 1. brightness(0) saturate(100%) -> Convierte cualquier logo en negro puro.
       2. El resto de valores calculan el camino desde negro hasta #0A2E6E.
    */
  filter: brightness(0) saturate(100%) invert(12%) sepia(48%) saturate(4975%)
    hue-rotate(211deg) brightness(92%) contrast(102%);
  -webkit-filter: brightness(0) saturate(100%) invert(12%) sepia(48%)
    saturate(4975%) hue-rotate(211deg) brightness(92%) contrast(102%);

  opacity: 1;
  transform: scale(1.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 2.5rem));
  }
}

/* === ACORDEÓN VISUAL === */
.accordion-visual {
  display: flex;
  gap: 14px;
  height: 400px;
}
.acc-item {
  flex: 1;
  border-radius: 28px;
  overflow: hidden;
  transition: flex 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.04);
}
.acc-item:hover {
  flex: 2.2;
}
.acc-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === OPCIONES INTERACTIVAS === */
.opt-card {
  display: flex;
  align-items: center;
  padding: 1.5rem 1.5rem;
  border-radius: 20px;
  transition: all 0.25s;
  cursor: pointer;
  border-left: 4px solid transparent;
  background: #f5f7fa;
  margin-bottom: 5px;
}
.opt-card:hover {
  background: rgba(30, 198, 243, 0.07);
  border-left-color: var(--cyan-accent);
  box-shadow: inset 0 0 0 1px rgba(30, 198, 243, 0.1);
}

.opt-icon {
  /* color y font-size ya no afectan a la imagen, pero el margin sí */
  margin-right: 1.2rem;
  display: block; /* Ayuda a que los márgenes funcionen mejor si hay flexbox */
}
.fade-transition {
  transition: opacity 0.3s ease;
}

.opt-card.active {
  background: rgba(30, 198, 243, 0.1);
  border-left-color: var(--cyan-accent);
  box-shadow: inset 0 0 0 1px rgba(30, 198, 243, 0.2);
}

/* === TARJETAS === */
.card-raised {
  transition: var(--transition);
  border-radius: var(--border-radius-lg);
  border: none;
  box-shadow: var(--shadow-sm);
}
.card-raised:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.glow-card {
  background: var(--gradient-card);
  transition: all 0.3s;
  border-radius: var(--border-radius-lg);
}
.glow-card:hover {
  box-shadow: 0 0 0 3px rgba(30, 198, 243, 0.4);
}

/* === BANNER PARTNER === */
.partner-block {
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  background: var(--gradient-hero);
}
.partner-left {
  background: var(--gradient-hero);
  padding: 3rem 2.5rem;
  border-radius: 32px 0 0 32px;
}
.partner-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 32px 32px 0;
}

/* === FOOTER === */
.footer-dark {
  background-color: #0c0f12;
  color: #dbdbdb;
}
.footer-link {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover {
  color: var(--cyan-accent);
}

/* === CARRUSEL ARTÍCULOS === */
#articlesCarousel {
  position: relative;
}
#articlesCarousel .carousel-control-prev,
#articlesCarousel .carousel-control-next {
  width: 48px;
  height: 48px;
  background: var(--gray-medium);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.9;
}
#articlesCarousel .carousel-control-prev {
  left: -60px;
}
#articlesCarousel .carousel-control-next {
  right: -60px;
}
#articlesCarousel .carousel-control-prev:hover,
#articlesCarousel .carousel-control-next:hover {
  background: var(--blue-primary);
}

/* Mobile: flechas dentro del contenedor, no afuera */
@media (max-width: 991.98px) {
  #articlesCarousel .carousel-control-prev {
    left: 0;
  }
  #articlesCarousel .carousel-control-next {
    right: 0;
  }
}

/* === ESTADÍSTICAS === */
.stats-section {
  background-color: var(--gray-light-bg);
  padding: 5rem 0;
}
.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.stat-item {
  flex: 1 1 250px;
  text-align: center;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: 32px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}
.stat-item:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 25px 35px -10px rgba(13, 71, 161, 0.15);
}
.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--blue-deep);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

/* === TESTIMONIAL SECTION === */
.testimonial-section {
  background-color: #f3f5f7;
  padding: 5rem 0;
  width: 100%;
}
.testimonial-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(12px, 4vw, 24px);
}
.testimonial-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.testimonial-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0a2e6e;
  margin-bottom: 0.5rem;
}
.testimonial-carousel {
  position: relative;
  display: flex;
  align-items: center;
}
.testimonial-track-container {
  overflow: hidden;
  width: 100%;
  margin: 0 10px;
}
.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.2, 0, 0, 1);
  gap: 24px;
}
.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 40px -12px rgba(13, 71, 161, 0.18);
}
.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: #f8b84a;
  font-size: 1.25rem;
}
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 20px;
}
.profile-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.carousel-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: #0a2e6e;
  font-size: 1.5rem;
  z-index: 10;
  flex-shrink: 0;
}
.carousel-arrow:hover {
  background: #0a2e6e;
  color: white;
  border-color: #0a2e6e;
}
@media (max-width: 1400px) {
  h1.display-1 {
    font-size: 3.1rem !important;
  }
  #checkPhrasesContainer .fs-3 {
    font-size: 1.5rem !important;
  }
  .gap-0 {
    gap: 1.2rem !important;
  }
}

@media (max-width: 992px) {
  .hero-section {
    height: auto;
    min-height: 600px;
    padding: 120px 0 70px;
  }
  #checkPhrasesContainer .fs-3 {
    font-size: 1.3rem !important;
  }
  h1.display-1 {
    font-size: 2.8rem !important;
  }
  .accordion-visual {
    flex-direction: column;
    height: auto;
  }
  .acc-item {
    height: 90px;
  }
  .partner-block {
    flex-direction: column;
  }
  .partner-left {
    border-radius: 32px 32px 0 0;
  }
  .partner-right img {
    border-radius: 0 0 32px 32px;
  }
  .testimonial-card {
    flex: 0 0 calc(50% - 12px);
  }
  .gap-0 {
    gap: 0.7rem !important;
  }
  .contenedor-letras{
    min-height: 202px !important;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 120px 0 70px;
  }
  h1.display-1 {
    font-size: 2.2rem !important;
  }
  h2.display-3 {
    font-size: 2.2rem !important;
  }
  .lead.fs-3 {
    font-size: 1.1rem !important;
  }
  #checkPhrasesContainer .fs-3 {
    font-size: 1.2rem !important;
  }
  #checkPhrasesContainer span {
    white-space: normal;
  }
  .testimonial-card {
    flex: 0 0 100%;
    padding: 15px;
  }
  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
  .stat-number {
    font-size: 2.2rem;
  }
  #articlesCarousel .carousel-control-prev,
  #articlesCarousel .carousel-control-next {
    width: 36px;
    height: 36px;
  }
  .gap-0 {
    gap: 0.5rem !important;
  }

  .contenedor-letras{
    min-height: 184px !important;
  }
}

/* === CARRUSEL MOBILE (acordeones) === */
.acc-carousel-img {
  height: 300px;
  object-fit: cover;
  border-radius: 24px;
}

#carrusel_acordeones .carousel-inner {
  padding: 0 8px;
}

#carrusel_acordeones .carousel-item {
  padding: 0 6px;
}

#carrusel_acordeones .carousel-control-prev,
#carrusel_acordeones .carousel-control-next {
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gray-medium);
  border-radius: 50%;
  opacity: 0.85;
}

/* Dots de navegación */
.acc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}
.acc-dot-active {
  background: var(--cyan-accent);
  transform: scale(1.3);
}

.marquee-container {
  position: relative;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 20%,
    black 80%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 20%,
    black 80%,
    transparent 100%
  );
}

/* === Powering Growth Section === */
.powering-block {
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(13, 71, 161, 0.05);
  display: flex;
  align-items: stretch;
}

.powering-block:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* Variante: imagen a la IZQUIERDA (row-reverse) */
.powering-block--reverse {
  flex-direction: row-reverse;
}

/* Variante: imagen a la DERECHA (normal) */
.powering-block--normal {
  flex-direction: row;
}

/* === Columna de texto === */
.powering-left {
  position: relative;
  overflow: hidden;
  flex: 1 1 0;
}

.powering-left p{
  max-width: 80%;
}

.powering-left::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(30, 198, 243, 0.03) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

/* === Columna de imagen === */
.powering-right {
  flex: 0 0 38%;
  max-width: 38%;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.powering-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.powering-block:hover .powering-right img {
  transform: scale(1.05);
}

/* Border-radius: imagen a la DERECHA */
.powering-block--normal .powering-left {
  border-radius: 32px 0 0 32px !important;
}
.powering-block--normal .powering-right {
  border-radius: 0 32px 32px 0 !important;
}
.powering-block--normal .powering-right img {
  border-radius: 0 32px 32px 0 !important;
}

/* Border-radius: imagen a la IZQUIERDA */
.powering-block--reverse .powering-left {
  border-radius: 0 32px 32px 0 !important;
}
.powering-block--reverse .powering-right {
  border-radius: 32px 0 0 32px !important;
  -webkit-border-radius: 32px 0 0 32px !important;
  -moz-border-radius: 32px 0 0 32px !important;
  -ms-border-radius: 32px 0 0 32px !important;
  -o-border-radius: 32px 0 0 32px !important;
}
.powering-block--reverse .powering-right img {
  border-radius: 32px 0 0 32px !important;
}

@media (max-width: 1200px) {
  .powering-left p{
    max-width: 100% !important;
  }
}

/* === Responsive tablet (≤992px) === */
@media (max-width: 992px) {
  .powering-block,
  .powering-block--reverse,
  .powering-block--normal {
    flex-direction: column !important;
    max-height: none !important;
  }

  .powering-left {
    border-radius: 32px 32px 0 0 !important;
    padding: 2.5rem 1.5rem !important;
    flex: unset;
  }

  .powering-left p {
    max-width: 100% !important;
    font-size: 1.1rem !important;
  }

  .powering-left h2 {
    font-size: 2.2rem !important;
  }

  .powering-right {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    min-height: 280px;
    max-height: 350px;
    border-radius: 0 0 32px 32px !important;
  }

  .powering-right img {
    border-radius: 0 0 32px 32px !important;
    width: 100% !important;
    height: 100% !important;
  }
}

/* === Responsive móvil (≤576px) === */
@media (max-width: 576px) {
  .powering-left h2 {
    font-size: 1.8rem !important;
  }

  .powering-left .d-flex {
    flex-direction: column;
  }

  .powering-left .btn {
    width: 100%;
  }

  .powering-right {
    min-height: 220px;
    max-height: 260px;
  }
}

/* Clase personalizada para limitar a 3 líneas */
.text-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Número de líneas */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Estilo para el enlace de Solarium en el footer */
.footer-link-solarium {
  text-decoration: none !important; /* Quita el subrayado */
  color: inherit; /* Hereda el color gris del span (text-secondary) */
  font-weight: 500; /* Un poco más de peso para que se note que es clicable */
  transition: opacity 0.3s ease;
}

.footer-link-solarium:hover {
  opacity: 0.8;
  color: var(--cyan-accent); /* Opcional: un toque de color al pasar el mouse */
  text-decoration: none !important;
}
/* Transición suave para el carrusel de artículos */
#articlesCarousel .carousel-item {
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Asegurar que las imágenes no se deformen */
.card-img-top {
  transition: transform 0.3s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

/* Evitar que se encimen en desktop si el carrusel está activo */
@media (min-width: 992px) {
  #articlesCarousel .carousel-inner {
    overflow: hidden;
  }

  #articlesCarousel .carousel-item > .row {
    display: flex;
    flex-wrap: nowrap;
  }

  #articlesCarousel .carousel-item .col {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

/* === MÉTRICAS INLINE (dentro del componente chargeback) === */
.stats-grid-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.stats-grid-inline .stat-item {
  flex: 1 1 140px;
  padding: 1rem 0.75rem;
  background: #eaeef4;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.stats-grid-inline .stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue-deep);
  margin-bottom: 0.2rem;
}

.stats-grid-inline .stat-subtitle {
  font-size: 1rem;
  color: var(--gray-medium);
}

@media (max-width: 992px) {
  .stats-grid-inline {
    justify-content: center;
  }

  .stats-grid-inline .stat-item {
    flex: 1 1 120px;
  }

  .stats-grid-inline .stat-subtitle {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .stats-grid-inline .stat-item {
    flex: 1 1 100%;
  }

  .stats-grid-inline .stat-number {
    font-size: 1.5rem;
  }
}

@media (max-width: 1400px) {
  .powering-block {
    max-height: none !important;
    height: auto !important;
  }

  .powering-left {
    overflow: visible !important;
  }

  .powering-block .stats-grid-inline {
    margin-top: 1.25rem;
    padding-bottom: 0.5rem;
  }
}

/* === NUEVA SECCIÓN WHY BLUEPAY - FONDO CARBON === */
.why-bluepay-section {
  background: #101218;  /* carbon / gris oscuro profundo */
  color: white;
  padding: 5rem 0;
  position: relative;
  border-top: 1px solid rgba(30,198,243,0.15);
  border-bottom: 1px solid rgba(30,198,243,0.1);
}
.why-bluepay-section .section-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #FFFFFF 0%, #CCE7FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.why-bluepay-section .section-subhead {
  font-size: 1.6rem;
  font-weight: 500;
  color: #E0E7FF;
  /* margin-bottom: 3rem; */
  /* border-bottom: 2px solid rgba(30,198,243,0.4); */
  display: inline-block;
  /* padding-bottom: 0.5rem; */
}
.bluepay-feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2rem;
}
.feature-card {
  flex: 1 1 200px;
  text-align: center;
  padding: 1.2rem 0.8rem;
  transition: all 0.3s ease;
  border-radius: 48px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(2px);
}
.feature-card:hover {
  transform: translateY(-6px);
  background: rgba(30,198,243,0.08);
  box-shadow: 0 12px 28px -10px rgba(0,0,0,0.5);
}
.feature-icon {
  font-size: 2.8rem;
  color: var(--cyan-accent);
  margin-bottom: 0.75rem;
  display: inline-block;
}
.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: white;

  display: flex;
  align-items: center;   /* 👈 clave */
  justify-content: center;
  gap: 12px;

  flex-wrap: nowrap;     /* 👈 evita saltos raros */
}
.feature-check-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;

  /* Alineación perfecta */
  display: block;
}
@media (max-width: 768px) {
  .why-bluepay-section .section-title { font-size: 2.2rem; }
  .why-bluepay-section .section-subhead { font-size: 1.2rem; }
  .feature-title { font-size: 1.25rem; }
  .feature-icon { font-size: 2rem; }
  .bluepay-feature-grid { gap: 1rem; }
}
