/* ============================================================
   NATEXA — shared.css
   Variables, reset, tipografía, nav, footer, botón WA, utils
   ============================================================ */

/* ============ FUENTES ============ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Paleta de marca */
  --azul-900: #1e3d8f;
  --azul-700: #2c4cc7;
  --azul-500: #44aaec;
  --azul-300: #6dbcff;
  --blanco:   #ffffff;

  /* Colores de apoyo */
  --gris-bg:     #f4f7fc;
  --gris-borde:  #e3eaf5;
  --texto:       #1a2647;
  --texto-suave: #52608a;

  /* Tipografías */
  --font-titulo: 'Montserrat', sans-serif;
  --font-cuerpo: 'Garet', 'Montserrat', sans-serif;

  /* Espaciado / forma */
  --radius:    18px;
  --radius-lg: 28px;
  --max:       1200px;

  /* Sombras */
  --shadow-sm: 0 4px 14px rgba(30, 61, 143, .08);
  --shadow-md: 0 18px 40px -12px rgba(30, 61, 143, .18);
  --shadow-lg: 0 30px 60px -20px rgba(30, 61, 143, .25);
}

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-cuerpo);
  color: var(--texto);
  background: var(--blanco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Bloqueo de scroll centralizado — se usa con modalCount para soportar múltiples modales */
body.no-scroll { overflow: hidden; }
h1, h2, h3, h4 { font-family: var(--font-titulo); color: var(--azul-900); line-height: 1.15; letter-spacing: -.01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ============ BOTONES ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-family: var(--font-titulo); font-weight: 600; font-size: 14px;
  cursor: pointer; border: none; transition: all .3s ease; white-space: nowrap;
}
.btn-primary {
  background: var(--azul-900); color: var(--blanco);
  box-shadow: 0 8px 20px -8px rgba(30, 61, 143, .5);
}
.btn-primary:hover {
  background: var(--azul-700);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(30, 61, 143, .6);
}
.btn-secondary {
  background: transparent; color: var(--azul-900);
  border: 1.5px solid var(--azul-900);
}
.btn-secondary:hover { background: var(--azul-900); color: var(--blanco); }
.btn-arrow { transition: transform .3s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============ NAVBAR ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all .3s ease;
}
.nav.scrolled {
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--gris-borde);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: var(--max); margin: 0 auto; gap: 24px;
}
.logo-img { height: 54px; width: auto; display: block; }

/* Nav links + dropdown */
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links > a,
.nav-dropdown-trigger {
  font-family: var(--font-titulo); font-weight: 500; font-size: 14px;
  color: var(--texto); transition: color .2s ease; position: relative;
  background: none; border: none; cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; gap: 5px;
}
.nav-links > a::after,
.nav-dropdown-trigger::after {
  content: ''; position: absolute; bottom: -6px; left: 0;
  width: 0; height: 2px; background: var(--azul-500); transition: width .3s ease;
}
.nav-links > a:hover, .nav-dropdown-trigger:hover { color: var(--azul-700); }
.nav-links > a:hover::after, .nav-dropdown-trigger:hover::after { width: 100%; }

/* Chevron del dropdown */
.nav-chevron {
  width: 13px; height: 13px; transition: transform .3s ease;
  color: var(--texto-suave);
}
.nav-dropdown-wrap:hover .nav-chevron,
.nav-dropdown-wrap.open .nav-chevron { transform: rotate(180deg); color: var(--azul-700); }

/* Dropdown wrapper */
.nav-dropdown-wrap { position: relative; }
.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: white;
  border: 1px solid var(--gris-borde);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -12px rgba(30, 61, 143, .2);
  min-width: 290px;
  padding: 10px;
  opacity: 0; visibility: hidden;
  /* cierre con delay para que el mouse pueda llegar */
  transition: opacity .2s ease, transform .2s ease, visibility 0s .22s;
  pointer-events: none;
}
.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap.open .nav-dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
  transition: opacity .18s ease, transform .18s ease, visibility 0s 0s;
}
/* Puente invisible: evita que al mover el mouse hacia abajo se pierda el hover */
.nav-dropdown::before {
  content: ''; position: absolute;
  top: -14px; left: -10px; right: -10px; height: 14px;
}
.nav-dropdown a {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px; border-radius: 12px;
  font-family: var(--font-titulo); font-size: 13.5px; font-weight: 500;
  color: var(--texto); transition: all .2s ease;
}
.nav-dropdown a:hover { background: var(--gris-bg); color: var(--azul-700); }
.nav-dropdown a::after { display: none; } /* override underline */
.nav-dd-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(68,170,236,.15), rgba(44,76,199,.15));
  display: flex; align-items: center; justify-content: center;
  color: var(--azul-700); transition: background .2s ease;
}
.nav-dropdown a:hover .nav-dd-icon { background: linear-gradient(135deg, var(--azul-500), var(--azul-700)); color: white; }
.nav-dd-text strong { display: block; font-weight: 600; font-size: 13.5px; }
.nav-dd-text span { font-size: 11.5px; color: var(--texto-suave); font-weight: 400; }
.nav-dropdown-divider { height: 1px; background: var(--gris-borde); margin: 6px 0; }

/* Hamburger */
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--azul-900); margin: 5px 0; transition: .3s; }

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 199;
  background: white; padding: 100px 24px 40px; overflow-y: auto;
  flex-direction: column; gap: 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a, .mobile-nav-section-title {
  font-family: var(--font-titulo); font-weight: 600; font-size: 18px;
  color: var(--texto); padding: 16px 0; border-bottom: 1px solid var(--gris-borde);
  display: block;
}
.mobile-nav-section-title { color: var(--texto-suave); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; padding-top: 24px; border-bottom: none; }
.mobile-nav a.mobile-sub { font-size: 16px; padding: 13px 0 13px 20px; font-weight: 500; color: var(--azul-700); }
.mobile-nav .mobile-cta { margin-top: 28px; }

/* ============ FOOTER ============ */
footer {
  background: var(--gris-bg);
  color: var(--texto-suave);
  padding: 70px 0 30px;
  border-top: 1px solid var(--gris-borde);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-logo { height: 60px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 14px; max-width: 320px; line-height: 1.65; color: var(--texto-suave); }
.footer-col h4 {
  color: var(--azul-900); font-size: 14px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 20px; font-family: var(--font-titulo);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--texto-suave); transition: color .2s ease; }
.footer-col a:hover { color: var(--azul-700); }
.footer-contact li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--texto-suave); }
.footer-contact svg { color: var(--azul-700); }
.footer-bottom {
  padding-top: 30px; border-top: 1px solid var(--gris-borde);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--texto-suave); flex-wrap: wrap; gap: 12px;
}

/* ============ WHATSAPP FLOTANTE ============ */
@keyframes waPulse { 0%{transform:scale(1);opacity:.6} 100%{transform:scale(1.5);opacity:0} }
@keyframes waIn { from{opacity:0;transform:translateY(20px) scale(.8)} to{opacity:1;transform:translateY(0) scale(1)} }

.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; animation: waIn .6s 1s ease both;
}
.wa-float-btn {
  width: 62px; height: 62px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  color: white;
  box-shadow: 0 10px 30px -6px rgba(37,211,102,.55), 0 4px 12px rgba(0,0,0,.12);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
  position: relative;
}
.wa-float-btn::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: #25D366; opacity: .6; animation: waPulse 2.2s ease-out infinite; z-index: -1;
}
.wa-float:hover .wa-float-btn { transform: scale(1.08) rotate(-4deg); }
.wa-float-btn svg { width: 32px; height: 32px; }
.wa-tooltip {
  background: white; padding: 10px 16px; border-radius: 12px 12px 4px 12px;
  box-shadow: 0 8px 24px -6px rgba(30,61,143,.2), 0 2px 6px rgba(0,0,0,.06);
  font-family: var(--font-titulo); font-size: 13px; font-weight: 600; color: var(--azul-900);
  white-space: nowrap; position: relative;
  opacity: 0; transform: translateX(10px); transition: all .3s ease; pointer-events: none;
}
.wa-tooltip::after {
  content: ''; position: absolute; right: -6px; bottom: 8px;
  width: 0; height: 0;
  border-left: 8px solid white; border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.wa-float:hover .wa-tooltip, .wa-float.wa-show-tooltip .wa-tooltip { opacity: 1; transform: translateX(0); }

/* ============ SECCIÓN GENÉRICA ============ */
section { padding: 56px 0; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-titulo); font-weight: 600; font-size: 12px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--azul-500);
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: ''; width: 20px; height: 2px; background: var(--azul-500);
}
.section-head { text-align: center; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 800; margin-bottom: 16px; }
.section-head p { font-size: 17px; color: var(--texto-suave); }

/* ============ BREADCRUMB ============ */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-titulo); font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,.7); margin-bottom: 24px; flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,.7); transition: color .2s; }
.breadcrumb a:hover { color: white; }
.breadcrumb-sep { opacity: .5; }

/* ============ SUBHERO (páginas internas) ============ */
.subhero {
  background: linear-gradient(135deg, var(--azul-900) 0%, var(--azul-700) 100%);
  color: white; padding: 130px 0 72px;
  position: relative; overflow: hidden;
}
.subhero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(109,188,255,.2), transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(68,170,236,.15), transparent 50%);
}
.subhero-inner { position: relative; z-index: 1; max-width: 760px; }
.subhero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(6px);
  font-family: var(--font-titulo); font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--azul-300);
  margin-bottom: 22px;
}
.subhero h1 {
  font-size: clamp(34px, 5vw, 58px); font-weight: 800; color: white;
  margin-bottom: 20px; line-height: 1.1;
}
.subhero h1 .accent {
  background: linear-gradient(135deg, var(--azul-300), #a5d8ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.subhero p {
  font-size: 18px; color: rgba(255,255,255,.82);
  max-width: 600px; margin-bottom: 32px;
}
.subhero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.subhero .btn-primary { background: white; color: var(--azul-900); }
.subhero .btn-primary:hover { background: var(--azul-300); color: var(--azul-900); }
.subhero .btn-secondary { border-color: rgba(255,255,255,.4); color: white; }
.subhero .btn-secondary:hover { background: rgba(255,255,255,.15); border-color: white; }

/* Decoración isotipo subhero */
.subhero-iso-deco {
  position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  width: 420px; height: 420px;
  background-image: url('../assets/img/natexa-iso.png');
  background-size: contain; background-repeat: no-repeat;
  opacity: .13;
}

/* ============ GALERÍA E-COMMERCE ============ */

/* Filtros por categoría */
.cat-filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 44px;
}
.cat-filter {
  padding: 8px 18px; border-radius: 999px;
  font-family: var(--font-titulo); font-size: 12.5px; font-weight: 600;
  letter-spacing: .5px;
  border: 1.5px solid var(--gris-borde);
  background: white; color: var(--texto-suave);
  cursor: pointer; transition: all .25s ease;
}
.cat-filter:hover { border-color: var(--azul-500); color: var(--azul-700); }
.cat-filter.active {
  background: var(--azul-900); color: white; border-color: var(--azul-900);
}

/* Grid de productos */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Card de producto */
.shop-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gris-borde);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
  cursor: pointer;
}
.shop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

/* Imagen / placeholder */
.shop-card-img {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #eef3fb, #dce8f8);
}
.shop-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.shop-card:hover .shop-card-img img { transform: scale(1.05); }

/* Placeholder cuando no hay foto real */
.shop-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, var(--azul-700), var(--azul-900));
}
.shop-placeholder svg { color: rgba(255,255,255,.6); }
.shop-placeholder span {
  font-family: var(--font-titulo); font-size: 10px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.5);
}

/* Botón de zoom sobre la imagen */
.shop-zoom-btn {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.9); backdrop-filter: blur(6px);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--azul-900);
  opacity: 0; transform: scale(.8);
  transition: all .25s ease;
}
.shop-card:hover .shop-zoom-btn { opacity: 1; transform: scale(1); }
.shop-zoom-btn:hover { background: white; }

/* Tag de categoría sobre imagen */
.shop-card-tag {
  position: absolute; bottom: 12px; left: 12px; z-index: 2;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(6px);
  font-family: var(--font-titulo); font-size: 10px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; color: var(--azul-900);
}

/* Información del producto */
.shop-card-info { padding: 18px 20px 22px; }
.shop-card-info h3 {
  font-size: 15px; font-weight: 700; margin-bottom: 6px;
  color: var(--azul-900); line-height: 1.25;
}
.shop-card-info p {
  font-size: 13px; color: var(--texto-suave); line-height: 1.55;
  margin-bottom: 14px;
}
.shop-card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-titulo); font-size: 12px; font-weight: 600;
  color: var(--azul-700); transition: gap .2s ease;
}
.shop-card:hover .shop-card-cta { gap: 10px; }

/* ============ MODAL DE ZOOM ============ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(10, 20, 50, .75);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden; transition: all .3s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal-box {
  background: white; border-radius: 24px;
  max-width: 900px; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden;
  transform: scale(.95); transition: transform .3s ease;
  box-shadow: 0 40px 100px -20px rgba(10, 20, 50, .4);
}
.modal-overlay.open .modal-box { transform: scale(1); }

.modal-img {
  aspect-ratio: 3 / 4; overflow: hidden; background: linear-gradient(135deg, #eef3fb, #dce8f8);
  position: relative;
}
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-img-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--azul-700), var(--azul-900));
  display: flex; align-items: center; justify-content: center;
}
.modal-img-placeholder svg { color: rgba(255,255,255,.4); }

.modal-info { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.modal-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(68,170,236,.12); color: var(--azul-700);
  font-family: var(--font-titulo); font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px;
}
.modal-info h2 { font-size: 26px; font-weight: 800; margin-bottom: 16px; }
.modal-info p { font-size: 15px; color: var(--texto-suave); line-height: 1.7; margin-bottom: 28px; }

.modal-specs { margin-bottom: 28px; }
.modal-spec-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--gris-borde);
  font-size: 14px;
}
.modal-spec-item:last-child { border-bottom: none; }
.modal-spec-label { font-family: var(--font-titulo); font-weight: 600; min-width: 100px; color: var(--texto); }
.modal-spec-val { color: var(--texto-suave); }

.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: 50%;
  background: white; border: 1px solid var(--gris-borde);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--texto); transition: all .2s ease; z-index: 10;
}
.modal-close:hover { background: var(--azul-900); color: white; border-color: var(--azul-900); }
.modal-overlay { position: fixed; } /* reset */

/* ============ CTA FINAL (páginas internas) ============ */
.cta-final {
  background: linear-gradient(135deg, var(--azul-900) 0%, var(--azul-700) 100%);
  color: white; text-align: center; padding: 64px 0;
  position: relative; overflow: hidden;
}
.cta-final::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(109,188,255,.2), transparent 40%),
              radial-gradient(circle at 80% 80%, rgba(68,170,236,.2), transparent 40%);
}
.cta-final-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-final h2 { color: white; font-size: clamp(32px, 4.5vw, 48px); font-weight: 800; margin-bottom: 20px; }
.cta-final p { color: rgba(255,255,255,.85); font-size: 18px; margin-bottom: 36px; }
.cta-final .btn-primary { background: white; color: var(--azul-900); }
.cta-final .btn-primary:hover { background: var(--azul-300); color: var(--azul-900); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-right-cta { display: none; }
  .menu-toggle { display: block; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-box { grid-template-columns: 1fr; max-width: 440px; }
  .modal-img { aspect-ratio: 1 / 1; }
  .subhero-iso-deco { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .nav-inner { gap: 12px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .shop-card-info { padding: 14px 16px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .subhero { padding: 110px 0 54px; }
  .cta-final { padding: 60px 0; }
}



/* =========================================
   CARRUSEL DE CLIENTES — Premium
========================================= */

/* Wrapper principal */
.clientes-section {
  background: white;
  padding: 56px 0 40px;
}

.clientes-carousel-wrap {
  position: relative;
  overflow: hidden;
  /* fades laterales */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

/* Track infinito — animación CSS pura */
.clientes-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: logoScroll 28s linear infinite;
}

.clientes-track:hover {
  animation-play-state: paused;
}

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

/* Cada card de logo */
.cliente-card {
  flex-shrink: 0;
  width: 200px;
  height: 110px;
  margin: 0 20px;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--gris-borde);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  box-shadow: 0 4px 20px -6px rgba(30, 61, 143, .08),
              0 1px 4px rgba(0,0,0,.04);
  transition: transform .35s cubic-bezier(.2,.8,.2,1),
              box-shadow .35s ease,
              border-color .25s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

/* Brillo sutil al hover */
.cliente-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(68,170,236,.06) 0%,
    rgba(44,76,199,.06) 100%);
  opacity: 0;
  transition: opacity .3s ease;
  border-radius: inherit;
}

.cliente-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 16px 36px -8px rgba(30, 61, 143, .18),
              0 4px 12px rgba(0,0,0,.06);
  border-color: rgba(68, 170, 236, .3);
}

.cliente-card:hover::before {
  opacity: 1;
}

/* Imagen del logo */
.cliente-card img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%) contrast(1.1);
  transition: filter .3s ease, transform .3s ease;
  position: relative;
  z-index: 1;
}

.cliente-card:hover img {
  filter: grayscale(0%) contrast(1.15);
  transform: scale(1.06);
}

/* Responsive */
@media (max-width: 768px) {
  .cliente-card {
    width: 160px;
    height: 90px;
    margin: 0 14px;
    padding: 16px 18px;
  }
  .cliente-card img {
    max-height: 50px;
  }
  .clientes-track {
    animation-duration: 22s;
  }
}
