
#clientes {
  position: relative;
  padding: 5rem 6vw;
  background: transparent;
  overflow: hidden;
}

.clientes-container {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.clientes-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #7A8450;
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #7A8450, transparent);
}

.section-eyebrow::after {
  transform: rotate(180deg);
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1rem;
}

.section-title .gold {
  color: #7A8450;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #7A8450, transparent);
  margin: 1rem auto 1.5rem;
}

.clientes-desc {
  color: var(--gray-light);
  font-size: 0.9rem;
  max-width: 550px;
  margin: 0 auto;
}

/* Carrusel de logos  */
.clientes-track-wrap {
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
}

.clientes-track {
  display: flex;
  gap: 2rem;
  align-items: center;
  animation: marqueeInfinite 28s linear infinite;
  width: max-content;
}

.clientes-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeInfinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Logo de cliente  */
.cliente-logo {
  flex-shrink: 0;
  min-width: 180px;  
  height: 90px;      
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(85,107,47,0.15);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.2rem;  
  transition: all 0.3s ease;
  cursor: pointer;
}

.cliente-logo:hover {
  border-color: rgba(85,107,47,0.4);
  background: rgba(85,107,47,0.08);
  transform: translateY(-3px);
}

/* IMÁGENES MÁS GRANDES */
.cliente-logo img {
  max-width: 140px;      
  max-height: 70px;      
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0.85) grayscale(0.2);
  transition: all 0.3s ease;
}

.cliente-logo:hover img {
  filter: brightness(1) grayscale(0);
  transform: scale(1.08);
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .cliente-logo {
    min-width: 160px;
    height: 85px;
    padding: 0.8rem 1rem;
  }
  
  .cliente-logo img {
    max-width: 120px;
    max-height: 60px;
  }
}

/* Responsive - Móvil */
@media (max-width: 768px) {
  #clientes {
    padding: 3rem 5vw;
  }
  
  .cliente-logo {
    min-width: 140px;
    height: 75px;
    padding: 0.6rem 0.9rem;
  }
  
  .cliente-logo img {
    max-width: 110px;
    max-height: 55px;
  }
  
  .clientes-track {
    gap: 1.5rem;
    animation-duration: 22s;
  }
}

@media (max-width: 480px) {
  .cliente-logo {
    min-width: 120px;
    height: 65px;
    padding: 0.5rem 0.8rem;
  }
  
  .cliente-logo img {
    max-width: 90px;
    max-height: 45px;
  }
  
  .clientes-track {
    gap: 1.2rem;
    animation-duration: 18s;
  }
}

/* Para imágenes más pequeñas que necesitan ajuste especial */
.cliente-logo img[alt="Platino"],
.cliente-logo img[alt="BID"] {
  max-width: 130px;
  max-height: 65px;
}

/* Ajuste para móvil de imágenes pequeñas */
@media (max-width: 480px) {
  .cliente-logo img[alt="Platino"],
  .cliente-logo img[alt="BID"] {
    max-width: 85px;
    max-height: 42px;
  }
}


/*  FOOTER — GLASSMORPHISM (SIN ANIMACIÓN DE SCROLL) */
footer {
  position: relative;
  width: 100%;
  z-index: 100;
  overflow: hidden;
}

/* EFECTO VIDRIO REAL - VERSIÓN ESTÁTICA */
.footer-glass {
  position: relative;
  width: 100%;
  background: rgba(6, 11, 9, 0.25);
  backdrop-filter: blur(10px) saturate(1.3);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  border-top: 1px solid rgba(85,107,47,0.25);
  box-shadow: 0 -8px 30px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.05);
}

/* DESTELLOS SUPERIOR E INFERIOR MÁS SUTILES */
.footer-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 80%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(122,132,80,0.6),
    rgba(85,107,47,0.8),
    rgba(122,132,80,0.6),
    transparent
  );
  filter: blur(1px);
  animation: shineFooterTop 8s ease-in-out infinite;
  opacity: 0.5;
  z-index: 2;
}

.footer-glass::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -100%;
  width: 80%;
  height: 1px;
  background: linear-gradient(
    270deg,
    transparent,
    rgba(122,132,80,0.6),
    rgba(85,107,47,0.8),
    rgba(122,132,80,0.6),
    transparent
  );
  filter: blur(1px);
  animation: shineFooterBottom 8s ease-in-out infinite;
  animation-delay: 2s;
  opacity: 0.5;
  z-index: 2;
}

@keyframes shineFooterTop {
  0% { left: -100%; opacity: 0; }
  40%,60% { opacity: 0.4; }
  100% { left: 100%; opacity: 0; }
}

@keyframes shineFooterBottom {
  0% { right: -100%; opacity: 0; }
  40%,60% { opacity: 0.4; }
  100% { right: 100%; opacity: 0; }
}

.footer-top-strip {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(85,107,47,0.3), rgba(85,107,47,0.6), rgba(85,107,47,0.3), transparent);
  margin-top: 0;
}

/* CTA Band */
.footer-cta-band {
  padding: 2.5rem 6vw;
  border-bottom: 1px solid rgba(85,107,47,0.1);
}

.footer-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-cta-text {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--white);
  line-height: 1.2;
}

.footer-cta-text span {
  color: #7A8450;
}

.footer-cta-sub {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 0.3rem;
}

.btn-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #7A8450, #556B2F);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  border-radius: 100px;
  padding: 0.9rem 1.8rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(85,107,47,0.2);
}

.btn-footer-cta:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(85,107,47,0.3);
}

/* Footer Main */
.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 6vw 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

/* Logo */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(85,107,47,0.4));
}

.footer-logo-name {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1;
}

.footer-logo-sub {
  font-size: 0.55rem;
  color: #7A8450;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 0.2rem;
}

.footer-brand-desc {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 280px;
}

/* Badges */
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.7rem;
  background: rgba(85,107,47,0.08);
  border: 1px solid rgba(85,107,47,0.2);
  border-radius: 100px;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7A8450;
}

.footer-badge i {
  font-size: 0.7rem;
}

/* Redes Sociales */
.footer-socials {
  display: flex;
  gap: 0.6rem;
}

.footer-social {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-light);
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-social:hover {
  background: #7A8450;
  border-color: #7A8450;
  color: #fff;
  transform: translateY(-3px);
}

/* Columnas */
.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7A8450;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray);
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.2s;
}

.footer-links li a i {
  font-size: 0.65rem;
  color: #7A8450;
  opacity: 0.6;
}

.footer-links li a:hover {
  color: var(--white);
  gap: 0.7rem;
}

.footer-links li a:hover i {
  opacity: 1;
}

/* Contacto */
.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(85,107,47,0.08);
  border: 1px solid rgba(85,107,47,0.2);
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #7A8450;
  flex-shrink: 0;
}

.footer-contact-label {
  font-size: 0.55rem;
  color: var(--gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-contact-value {
  font-size: 0.75rem;
  color: var(--gray-light);
  line-height: 1.4;
}

.footer-contact-value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-value a:hover {
  color: #7A8450;
}

/* Footer Bottom */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-copy {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.2);
}

.footer-copy a {
  color: rgba(255,255,255,0.25);
  text-decoration: none;
}

.footer-copy a:hover {
  color: #7A8450;
}



/* Dev Seal - Dual Logo: uno visible, uno oculto que aparece con hover */
.dev-seal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.7rem 0.25rem 0.3rem;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 100px;
  background: rgba(255,255,255,0.02);
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  cursor: pointer;
  position: relative;
}

.dev-seal:hover {
  border-color: rgba(85,107,47,0.3);
  background: rgba(85,107,47,0.08);
  gap: 0.8rem;
  padding: 0.25rem 1rem 0.25rem 0.5rem;
}

/* Logo izquierdo - SIEMPRE VISIBLE */
.logo-visible {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: contain;
  opacity: 0.7;
  transition: all 0.3s;
}

.dev-seal:hover .logo-visible {
  opacity: 1;
  transform: rotate(-3deg) scale(1.05);
}

/* Logo derecho - OCULTO (aparece desde la derecha con hover) */
.logo-hidden-wrapper {
  width: 0;
  overflow: hidden;
  transition: width 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
  display: flex;
  align-items: center;
}

.logo-hidden {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: contain;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease 0.05s;
}

/* Hover: el segundo logo aparece */
.dev-seal:hover .logo-hidden-wrapper {
  width: 26px;
}

.dev-seal:hover .logo-hidden {
  opacity: 0.8;
  transform: translateX(0);
  animation: logoPop 0.4s ease-out;
}

/* Animación de aparición del segundo logo */
@keyframes logoPop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

/* Textos */
.dev-seal-text {
  font-size: 0.5rem;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.3s;
}

.dev-seal-initials {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  transition: all 0.3s;
}

.dev-seal:hover .dev-seal-initials {
  color: #7A8450;
}

.dev-seal:hover .dev-seal-text {
  color: rgba(122,132,80,0.7);
}

/* ========= LUCIÉRNAGAS (MEDIA LUNA + BINARIO) ========= */
.firefly-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

/* Luciérnaga individual */
.firefly {
  position: absolute;
  pointer-events: none;
  animation: fireflyFloat 2s ease-out forwards;
  filter: drop-shadow(0 0 4px currentColor);
}

/* Media luna */
.firefly-moon {
  width: 14px;
  height: 14px;
  background: radial-gradient(ellipse at 30% 40%, #ffd966, #d4a373);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 8px rgba(255, 217, 102, 0.8);
}

.firefly-moon::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  top: 2px;
  right: 2px;
  box-shadow: inset -2px -1px 0 rgba(0,0,0,0.2);
}

/* Número binario */
.firefly-binary {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  font-weight: bold;
  color: #7A8450;
  text-shadow: 0 0 5px #4a5b2e, 0 0 3px #9bb87a;
  white-space: nowrap;
  background: rgba(0,0,0,0.2);
  padding: 2px 4px;
  border-radius: 12px;
  backdrop-filter: blur(2px);
}

/* Animación de luciérnaga */
@keyframes fireflyFloat {
  0% {
    transform: translate(0, 0) scale(0.3);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 0.9;
  }
  100% {
    transform: translate(var(--tx, 80px), var(--ty, -120px)) scale(1);
    opacity: 0;
  }
}


/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-cta-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-brand-desc {
    max-width: 100%;
  }
}