:root {
  --primary-dark: #0f1a3a;
  --primary: #1e2a5a;
  --primary-light: #2d3a6e;
  --accent: #d4af37;
  --accent-dark: #b8941f;
  --accent-light: #e6c34c;
  --text-light: #f8fafc;
  --text-gray: #e2e8f0;
  --card-bg: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.12);
  --grad-1: radial-gradient(
      1200px 600px at 10% -20%,
      rgba(79, 70, 229, 0.25),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 100% 20%,
      rgba(16, 185, 129, 0.2),
      transparent 60%
    ),
    linear-gradient(180deg, #0f1a3a 0%, #1e2a5a 50%, #2d3a6e 100%);
  --grad-btn: linear-gradient(135deg, #d4af37, #e6c34c 60%, #f7d95b 120%);
  --grad-btn-secondary: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.1),
    rgba(230, 195, 76, 0.15)
  );

  --particle-count: 80; /* número de partículas */
  --particle-speed: 0.2; /* velocidad base */
  --particle-color-primary: #64ffda;
  --particle-color-secondary: #8892b0;
  --particle-color-accent: #d4af3794;
  --particle-line: rgba(100, 255, 218, 0.15);
  --particle-glow: rgba(100, 255, 218, 0.6);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  overflow-x: hidden;
  width: 100%;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: "Montserrat", sans-serif;
  scroll-behavior: smooth;
  background: var(--grad-1);
  color: var(--text-light);
  margin: 0;
  padding-top: 0;
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

/* Navbar premium */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 26, 58, 0.95);
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.navbar.hidden {
  transform: translateY(-100%);
}

.navbar.scrolled {
  background: rgba(15, 26, 58, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 0.5rem 0;
}

.navbar .nav-links a {
  color: var(--text-light);
  padding: 1rem 1.5rem;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
}

.navbar .nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--grad-btn);
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

.navbar .nav-links a:hover {
  color: var(--accent-light);
}

.navbar .nav-links a:hover::after {
  width: 80%;
}

.logo {
  font-weight: 700;
  font-size: 1.4rem; /* 🔹 menos grande */
  background: var(--grad-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 0.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.menu-toggle:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  z-index: 1001;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  color: var(--dark);
  box-shadow: 0 0 20px rgba(46, 223, 75, 0.5);
  animation: logoPulse 4s infinite alternate;
}

@keyframes logoPulse {
  0% {
    box-shadow: 0 0 20px rgba(46, 223, 75, 0.5);
  }
  100% {
    box-shadow: 0 0 30px rgba(46, 223, 75, 0.8), 0 0 40px rgba(46, 223, 75, 0.4);
  }
}

.main-img {
  width: 100%;
  height: auto; /* Mantiene proporción original */
  max-width: 600px; /* límite de ancho en desktop */
  max-height: 700px; /* controla altura */
  margin: 0 auto;
  display: block;
  object-fit: contain; /* evita recortes */
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.main-img:hover {
  transform: scale(1.03);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* SOLO para pantallas grandes (web/desktop) */
@media (min-width: 1024px) {
  .main-img {
    max-width: 400px;
    max-height: 250px;
  }
  .main-image {
    margin-top: -330px; /* ajusta desplazamiento */
  }

  .main-image img {
    object-fit: cover;
    object-position: top bottom;
  }
  /* .w-full {
    width: 80%;

} */

  .h-96 {
    height: 40rem;
  }
}

/* Hero section premium */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 80px 20px 40px;

  /* Aquí el truco: aplicar máscara SOLO al pseudo-elemento */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.938) 10%,
    #000 10%,
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;

  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.9) 10%,
    #000 70%,
    transparent 100%
  );
  mask-repeat: no-repeat;
  mask-size: cover;

  z-index: 0; /* se mantiene debajo del contenido */
}


/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-light);
  font-size: 0.9rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Canvas de partículas */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* encima del video, debajo del overlay */
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(15, 26, 58, 0.85), rgba(30, 42, 90, 0.9)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -2;

  /* Aquí el truco: aplicar máscara SOLO al pseudo-elemento */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.938) 10%,
    #000 10%,
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;

  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.9) 10%,
    #000 70%,
    transparent 100%
  );
  mask-repeat: no-repeat;
  mask-size: cover;

  z-index: 0; /* se mantiene debajo del contenido */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--grad-1);
  z-index: -1;
}

.hero-content {
  max-width: 950px;
  padding: 2.5rem;
  position: relative;
  z-index: 1;
  margin-top: 0;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleGlow 3s ease-in-out infinite alternate;
  /* NUEVO: permite saltos de línea naturales */
  white-space: normal;
  word-break: break-word;

  /* Para efecto escritura */
  overflow: hidden;
  position: relative;
  min-height: 7.8rem; /* previene salto vertical al inicio */
  text-align: center;
}

@keyframes titleGlow {
  0% {
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
  }
  100% {
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  line-height: 1.7;
  color: var(--text-gray);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
    margin-top: -50px; /* 🔹 Sube el texto */


}

/* Botones premium con gradientes animados */
.btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  cursor: pointer;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  z-index: -1;
  transition: all 0.5s ease;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.7s ease;
  z-index: -1;
}

.btn:hover::after {
  left: 100%;
}

.btn-primary {
  background: var(--grad-btn);
  color: #0f1a3a;
  position: relative;
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
  background: transparent;
  border: 2px solid;
  /* border-image: var(--grad-btn) 1; */
  color: var(--text-light);
  margin-left: 1.5rem;
  position: relative;
}

.btn-secondary:hover {
  background: var(--grad-btn-secondary);
  transform: translateY(-7px);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
}

/* --- Fondo mejorado para tarjetas de Misión y Visión --- */
.grid .p-6 {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.05)
  );
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
}

/* Efecto hover sutil con color institucional */
.grid .p-6:hover {
  background: linear-gradient(
    145deg,
    rgba(0, 255, 198, 0.25),
    rgba(255, 255, 255, 0.08)
  );
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

/* ///////////////////////// */

/* --- Branding Title --- */
.brand-title {
  font-size: clamp(1.8rem, 4vw, 3rem); /* Escala fluida según pantalla */
  font-weight: 800;
  color: var(--dark, #ffffff);
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-transform: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.brand-title:hover {
  color: var(--accent, #00ffc6);
  transform: translateY(-2px);
}

/* --- Separator (|) --- */
.brand-title .separator {
  color: var(--accent, #00ffc6);
  font-weight: 600;
  margin: 0 0.5rem;
  font-size: 0.9em;
}

/* --- Subtitle (Corporate Innovation) --- */
.brand-title .subtitle {
  font-weight: 400;
  color: rgba(255, 253, 253, 0.973);
  letter-spacing: 0.5px;
  font-size: 0.85em;
}

/* --- Responsive refinements --- */
@media (max-width: 768px) {
  .brand-title {
    font-size: 1.6rem;
    font-weight: 700;
  }

  .brand-title .separator {
    margin: 0 0.3rem;
  }

  .brand-title .subtitle {
    display: block;
    margin-top: 0.3rem;
    font-size: 1rem;
  }
}
/* 
////////////////////////////////////////// */

.step-content h4 {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 14px; /* Espaciado más equilibrado */
  letter-spacing: 0.3px;
  line-height: 1.2;
  color: wheat;
}

/* Ícono dentro del subtítulo */
.step-content h4 i {
  font-size: 1.2rem;
  margin-right: 10px;
  opacity: 0.9;
}

/* Separación visual entre h4 y p */
.step-content h4 + p {
  margin-top: 15px; /* Pequeño respiro entre subtítulo y texto */
}

/* =================== VALORES =================== */

.valores-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 40px;
  text-align: center;
  background: linear-gradient(135deg, #fff, #e2e8f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Párrafo principal (el que mencionas) */
.valores-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #d1d5db;

  margin: 0 auto 3rem auto;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 8px rgba(0, 255, 198, 0.15);

  backdrop-filter: blur(8px);
  text-align: center;
  border-radius: 1rem;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.valor-item {
  display: flex;
  align-items: flex-start;
  padding: 25px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.valor-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.valor-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.valor-item:hover::before {
  opacity: 1;
}

.valor-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  margin-right: 20px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.valor-item:hover .valor-icon {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
}

.valor-icon i {
  font-size: 1.3rem;
  color: white;
}

.valor-content {
  flex-grow: 1;
}

.valor-content strong {
  color: white;
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 600;
}

.valor-content span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 768px) {
  .scroll-indicator {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
  }

  .header h1 {
    font-size: 2.2rem;
  }

  .header p {
    font-size: 1.1rem;
  }

  .cards-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .card {
    padding: 30px 25px;
  }

  .card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }

  .card h2 {
    font-size: 1.4rem;
  }

  .valores-section {
    padding: 40px 25px;
  }

  .valores-section h2 {
    font-size: 1.9rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
  }

  .valores-grid {
    grid-template-columns: 1fr;
  }

  .valor-item {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .header-content {
    padding: 25px 20px;
  }

  .header h1 {
    font-size: 2rem;
  }

  .card {
    padding: 25px 20px;
  }

  .card-icon {
    width: 70px;
    height: 70px;
  }

  .card-icon i {
    font-size: 2rem;
  }

  .valores-section {
    padding: 30px 20px;
  }
}

/* =================== ANIMACIONES =================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.header-content {
  animation: fadeInUp 0.8s ease-out;
}

.card,
.valor-item {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.card:nth-child(1) {
  animation-delay: 0.2s;
}
.card:nth-child(2) {
  animation-delay: 0.4s;
}
.card:nth-child(3) {
  animation-delay: 0.6s;
}
.valor-item:nth-child(1) {
  animation-delay: 0.8s;
}
.valor-item:nth-child(2) {
  animation-delay: 1s;
}
.valor-item:nth-child(3) {
  animation-delay: 1.2s;
}
.valor-item:nth-child(4) {
  animation-delay: 1.4s;
}

/* Efecto de flotación sutil en hover para cards */
.card:hover {
  animation: float 3s ease-in-out infinite;
}

/* //////////////////////////////// */

.slider-container {
  position: relative;
}

.slider-image {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 1s ease-in-out;
}

.slider-image.active {
  opacity: 1;
  z-index: 1;
}

.slider-image:not(.active) {
  opacity: 0;
  z-index: 0;
}

/* --- Estilos base (para móviles y tablets) --- */
.about-hero {
  display: flex;
  justify-content: center;
  border-radius: 1rem;
}

.about-hero img {
  width: 90%;
  height: 16rem;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

@media (min-width: 1024px) {
  .about-hero img {
    width: 40%;
    height: 20rem;
  }
}

/* //////////////////////////// */

.section-container {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.288),
    rgba(255, 255, 255, 0.1)
  );
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}
.section-container .card {
  background: rgba(255, 255, 255, 0.466);
  border-radius: 1rem;
  transition: all 0.3s ease;
}
.section-container .card:hover {
  background: rgba(0, 255, 198, 0.08);
  transform: translateY(-4px);
}

/* Stats grid mejorado */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.stat-card {
  background: var(--card-bg);
  backdrop-filter: blur(18px);
  padding: 2.8rem;
  border-radius: 22px;
  border: 1px solid var(--card-border);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--grad-btn);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(212, 175, 55, 0.3);
}

.stat-card:hover::before {
  opacity: 0.1;
}

.stat-card i {
  font-size: 2.8rem;
  background: var(--grad-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.8rem;
}

/* Secciones mejoradas con gradientes */
.section {
  padding: 7rem 4rem;
  position: relative;
}

.section-light {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );

  /* Aquí el truco: aplicar máscara SOLO al pseudo-elemento */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.938) 10%,
    #000 10%,
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;

  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.9) 10%,
    #000 70%,
    transparent 100%
  );
  mask-repeat: no-repeat;
  mask-size: cover;

  z-index: 0; /* se mantiene debajo del contenido */
}

.section-dark {
  background: linear-gradient(
    135deg,
    rgba(15, 26, 58, 0.9) 0%,
    rgba(30, 42, 90, 0.8) 100%
  );

  /* Aquí el truco: aplicar máscara SOLO al pseudo-elemento */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.938) 10%,
    #000 10%,
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;

  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.9) 10%,
    #000 70%,
    transparent 100%
  );
  mask-repeat: no-repeat;
  mask-size: cover;

  z-index: 0; /* se mantiene debajo del contenido */
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 3.5rem;
  position: relative;
  text-align: center;
  line-height: 1.3;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 6px;
  background: var(--grad-btn);
  border-radius: 6px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.content-card {
  background: var(--card-bg);
  backdrop-filter: blur(22px);
  padding: 2.8rem;
  border-radius: 28px;
  border: 1px solid var(--card-border);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.content-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--grad-btn);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.content-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border-color: rgba(212, 175, 55, 0.3);
}

.content-card:hover::before {
  opacity: 0.1;
}

.content-card i {
  font-size: 2.2rem;
  background: var(--grad-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.8rem;
}

.content-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  display: block;
  margin-top: 1.8rem;
  transition: color 0.4s ease;
  position: relative;
}

.content-card a::after {
  content: "→";
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.content-card a:hover {
  color: var(--accent-light);
}

.content-card a:hover::after {
  transform: translateX(5px);
}

/* CTA Section mejorada */
.cta-section {
  background: linear-gradient(rgba(15, 26, 58, 0.9), rgba(30, 42, 90, 0.9)),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 7rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 80% 20%,
    rgba(212, 175, 55, 0.15) 0%,
    transparent 50%
  );
}

/* Footer mejorado */
.footer {
  background: linear-gradient(180deg, var(--primary-dark) 0%, #0a1229 100%);
  color: var(--text-gray);
  padding: 5rem 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 20% 80%,
    rgba(212, 175, 55, 0.05) 0%,
    transparent 50%
  );
}

.footer-content {
  position: relative;
  z-index: 1;
}

.footer a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.4s ease;
}

.footer a:hover {
  color: var(--accent);
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.social-icons a:hover {
  background: var(--grad-btn);
  transform: translateY(-5px);
}

.footer-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  margin: 3rem 0 2rem;
}

/* Animaciones mejoradas */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.pulse-animation {
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.floating {
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Efectos de partículas para fondo */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float-particle 15s infinite linear;
}

@keyframes float-particle {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

/* Imágenes con efectos */
.image-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.5s ease;
}

.image-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-card:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 2rem;
  color: white;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.image-card:hover .image-overlay {
  transform: translateY(0);
}

/* Slider Container */
.slider-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
}

/* Wrapper */
.slider-wrapper {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Slide */
.slide {
  min-width: 100%;
  transition: opacity 0.5s ease;
}

/* Reuse estilos image-card */
.image-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  padding: 2rem;
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.image-card:hover .image-overlay {
  transform: translateY(0);
}

/* Botones */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 26, 58, 0.7);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  /* padding: 0.6rem 0.6rem; */
  height: 40px;
  width: 40px;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
}

.slider-btn:hover {
  background: rgba(0, 255, 198, 0.9);
  color: #0f1a3a;
}

.prev {
  left: 12px;
}
.next {
  right: 12px;
}

/* Estilos mejorados para móvil */
@media (max-width: 768px) {
  body {
    padding-top: 0;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(15, 26, 58, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.active {
    display: flex;
    max-height: 500px;
    animation: slideDown 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-links a {
    padding: 1.2rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 2rem;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--grad-btn);
    transition: height 0.3s ease;
    border-radius: 0 2px 2px 0;
  }

  .nav-links a:hover::before {
    height: 60%;
  }

  .navbar .container {
    padding: 0.75rem 1rem;
  }

  .logo {
    font-size: 1.7rem;
  }

  .nav-links .btn-contact-mobile {
    display: block;
    margin: 1rem 1.5rem;
    text-align: center;
    padding: 1rem 2rem;
    background: var(--grad-btn);
    color: #0f1a3a;
    border-radius: 60px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  }

  .nav-links .btn-contact-mobile:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.6);
  }

  .hero {
    padding: 70px 15px 30px;
    min-height: 90vh;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
      margin-top: 0px; /* 🔹 Sube el texto */
  }

  .section,
  .cta-section {
    padding: 4.5rem 1.5rem;
  }

  .footer {
    padding: 3.5rem 1.5rem 1.5rem;
  }

  .stats-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .btn-secondary {
    margin-left: 0;
    margin-top: 1rem;
  }

  .btn {
    padding: 1rem 2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

.btn-contact-mobile {
  display: none;
}

@media (max-width: 768px) {
  .btn-contact-desktop {
    display: none;
  }
}

/* Nuevos estilos para secciones agregadas */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--card-bg);
  backdrop-filter: blur(22px);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--card-border);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(212, 175, 55, 0.3);
}

.team-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  background: var(--grad-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #0f1a3a;
  font-weight: bold;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.partner-logo {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  transition: all 0.4s ease;
}

.partner-logo:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.testimonial-card {
  background: var(--card-bg);
  backdrop-filter: blur(22px);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--card-border);
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 5rem;
  color: rgba(212, 175, 55, 0.2);
  font-family: Georgia, serif;
  line-height: 1;
}

.process-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 60px;
  left: 25px;
  width: 2px;
  height: calc(100% - 60px);
  background: var(--grad-btn);
}

.step-number {
  background: var(--grad-btn);
  color: #0f1a3a;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

/* Efectos de scroll suave mejorados */
html {
  scroll-behavior: smooth;
}

/* Efectos de brillo en elementos interactivos */
.glow-on-hover {
  transition: box-shadow 0.3s ease;
}

.glow-on-hover:hover {
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

/* Galería de imágenes */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}


/* Mejoras de contraste y legibilidad */
.text-accent {
  color: var(--accent);
}

.text-accent-light {
  color: var(--accent-light);
}

.bg-accent {
  background: var(--grad-btn);
}

.text-sm {
  font-size: 0.768rem;
}

.ml-2 {
  padding-bottom: 10px;
}

.px-4 {
  padding-left: 0.1rem;
  padding-right: 0.01rem;
  padding-bottom: 0.56rem;
}

.px-3 {
  padding-bottom: 0.56rem;
}

.mt-4 {
  padding: auto;
}

/* Ajuste general de números grandes */
.stat-card .text-5xl {
  font-size: 2.5rem; /* menos exagerado que el default de Tailwind */
  line-height: 1.1;
  font-weight: 700;
  color: var(--accent, #facc15); /* o tu color corporativo */
  display: block;
  margin-bottom: 0.25rem;
  text-align: center; /* 🔹 centrado */
}

/* También centramos los textos debajo */
.stat-card p {
  text-align: center;
}

/* Y si el ícono también debe estar centrado */
.stat-card i {
  display: block;
  text-align: center;
  margin: 0 auto 0.5rem auto; /* auto centra horizontalmente */
  font-size: 2rem;
  color: var(--accent, #facc15);
}

/* Ajuste responsivo en móviles */
@media (max-width: 640px) {
  .stat-card .text-5xl {
    font-size: 1.8rem; /* más compacto */
  }
}

/* Efectos de iluminación en secciones */
.section-glow::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.1) 0%,
    transparent 70%
  );
  z-index: 0;
}

/* Nuevos estilos para contenido corporativo */
.initiative-card {
  background: var(--card-bg);
  backdrop-filter: blur(22px);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--card-border);
  transition: all 0.5s ease;
  height: 100%;
}

.initiative-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.industry-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.industry-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}

/* Casos de Éxito */
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.case-study-card {
  background: var(--card-bg);
  backdrop-filter: blur(22px);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--card-border);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.case-study-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(212, 175, 55, 0.3);
}

.case-study-logo {
  height: 60px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.case-study-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.case-study-stat {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
}

/* Metodología */
/* Título principal */
.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  text-align: center;

  color: #fff;
}

/* Subtítulo */
.section-subtitle {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #d1d5db; /* gris claro */
  position: relative;
  padding-bottom: 0.8rem;
}

.section-subtitle::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #00ffc6, #0077ff);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Contenedor de pasos */
.methodology-steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Cada paso */
.methodology-step {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.methodology-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* Imagen superior */
.step-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* Contenido */
.step-content {
  padding: 2.2rem;
  position: relative;
  color: #f3f4f6;
}

.step-number {
  position: absolute;
  top: -28px;
  left: 28px;
  background: linear-gradient(135deg, #00ffc6, #0077ff);
  color: #0f1a3a;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 0 14px rgba(0, 255, 198, 0.6);
}

/* Títulos dentro de pasos */
.step-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1.2rem 0 0.8rem;
  color: #fff;
}

/* Descripción */
.step-content p {
  font-size: 1rem;
  color: #c0c4d6;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Lista con viñetas */
.step-content ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.step-content ul li {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
}

.step-content ul li i {
  color: #00ffc6;
  font-size: 1rem;
  margin-top: 0.2rem;
}

/* Programas de Transformación */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.program-card {
  background: var(--card-bg);
  backdrop-filter: blur(22px);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--card-border);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.program-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--grad-btn);
  color: #0f1a3a;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.program-features {
  list-style: none;
  margin-top: 1.5rem;
}

.program-features li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}

.program-features li i {
  color: var(--accent);
  margin-right: 0.8rem;
}

/* Alianzas Tecnológicas */
.partners-grid-extended {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.partner-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 150px;
  transition: all 0.4s ease;
  text-align: center;
}

.partner-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.partner-certifications {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--accent);
}

/* Sostenibilidad */
.sustainability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.sustainability-card {
  background: var(--card-bg);
  backdrop-filter: blur(22px);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--card-border);
  transition: all 0.5s ease;
}

.sustainability-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.sustainability-metric {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* Centro de Recursos */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.resource-card {
  background: var(--card-bg);
  backdrop-filter: blur(22px);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--card-border);
  transition: all 0.4s ease;
  text-align: center;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.resource-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: var(--grad-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.resource-download {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 1.5rem;
  background: var(--grad-btn);
  color: #0f1a3a;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.resource-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/*         
          ////////////////////////////NUEVO////////////////////// */
/* ==========================
             Partners Slider - CSS
             ========================== */

/* Animación scroll infinito */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Contenedor principal */
.slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: transparent; /* 🔹 Mantener fondo transparente */
  padding: 20px 0;
}

/* Pista de logos */
.logo-track {
  display: flex;
  gap: 60px;
  animation: scroll 45s linear infinite; /* 🔹 Velocidad más lenta en desktop */
  width: max-content;
  will-change: transform;
}

/* Logos */
.logo-track img {
  height: 80px;
  width: auto;
  object-fit: contain;
  /* filter: grayscale(100%) brightness(0) invert(1);  */
  /* filter: grayscale(100%) sepia(100%) hue-rotate(90deg) saturate(200%) brightness(50%); */
  filter: grayscale(100%) contrast(50%) brightness(120%);

  transition: filter 0.3s ease, transform 0.3s ease;
}

/* Hover: vuelve al color original */
.logo-track img:hover {
  filter: none; /* 🔹 Quita el filtro y se ve el color natural */
  transform: scale(1.1);
}

/* ==========================
             Responsive
             ========================== */

/* Tablets */
@media (max-width: 768px) {
  .logo-track {
    gap: 50px;
    animation-duration: 60s; /* 🔹 Más lento */
  }
  .logo-track img {
    height: 100px; /* 🔹 Logos más grandes */
  }
}

/* Móviles */
@media (max-width: 480px) {
  .logo-track {
    gap: 40px;
    animation-duration: 70s; /* 🔹 Mucho más lento */
  }
  .logo-track img {
    height: 85px; /* 🔹 Aún más grandes en móvil */
  }
}
