:root{
  --max: 1160px;
  --surface: #ffffff;
  --muted: #6b7280;
  --text: #0f172a;

  /* Colores AYS */
  --primary: #e11d2e;   /* rojo */
  --secondary: #1d4ed8; /* azul */

  --line: rgba(15, 23, 42, .10);
  --shadow: 0 10px 30px rgba(2, 6, 23, .08);
  --radius: 18px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  background: #f6f7fb;
  line-height: 1.5;
}

.container{ max-width: var(--max); margin:0 auto; padding:0 18px; }

/* HEADER */
.header{
  position: sticky;
  top:0;
  z-index: 50;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.98),
    rgba(255,255,255,.92)
  );
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15,23,42,.08);
}


.header__row{
  height: 84px; /* más aire */
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 20px;
}


.logo{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: .2px;
}

.logo img{
  height: 55px; /* +30% aprox */
  width: auto;
  display: block;
}


.nav{ display:flex; gap: 18px; align-items:center; }
.nav a{
  position: relative;
  text-decoration:none;
  color: #0f172a;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 12px;
  transition: color .2s ease, background .2s ease;
}

.nav a:hover{
  background: rgba(29,78,216,.08);
  color: var(--secondary);
}
.nav a::after{
  content:'';
  position:absolute;
  left:14px;
  right:14px;
  bottom:6px;
  height:2px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  opacity:0;
  transform: scaleX(0);
  transition: transform .25s ease, opacity .25s ease;
}

.nav a:hover::after{
  opacity:1;
  transform: scaleX(1);
}

.nav a:hover{ background: rgba(29,78,216,.08); color: var(--secondary); }

/* BOTONES */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.18);
  text-decoration:none;
  color: var(--text);
  background: #fff;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  border-color: rgba(29,78,216,.35);
}
.btn--primary{
  background: linear-gradient(135deg, #dc2626, #ef4444);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 30px rgba(220,38,38,.45);
}
.btn--primary:hover{
  box-shadow: 0 18px 40px rgba(220,38,38,.65);
}
.btn--ghost{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.22);
  color: #ffffff;
  backdrop-filter: blur(10px);
}
.btn--ghost:hover{
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.35);
}


/* WhatsApp button */
.btn--wa{
  background: #25D366;
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .35);
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 15px;
}
.btn--wa:hover{
  box-shadow: 0 18px 40px rgba(37, 211, 102, .55);
  transform: translateY(-1px);
}
.wa-icon{
  width: 18px;
  height: 18px;
  display:inline-block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M19.11 17.7c-.28-.14-1.64-.81-1.89-.9-.25-.09-.43-.14-.61.14-.18.28-.7.9-.86 1.08-.16.18-.32.21-.6.07-.28-.14-1.18-.43-2.25-1.37-.83-.74-1.39-1.65-1.55-1.92-.16-.28-.02-.43.12-.57.12-.12.28-.32.41-.48.14-.16.18-.28.28-.46.09-.18.05-.35-.02-.5-.07-.14-.61-1.48-.84-2.03-.22-.53-.45-.46-.61-.47h-.52c-.18 0-.46.07-.7.35-.25.28-.93.9-.93 2.2 0 1.3.96 2.56 1.09 2.74.14.18 1.89 2.88 4.58 4.04.64.28 1.14.45 1.53.58.64.2 1.22.17 1.68.1.51-.08 1.64-.67 1.87-1.32.23-.65.23-1.2.16-1.32-.07-.11-.25-.18-.53-.32zM16.03 27.3h-.01a11.23 11.23 0 0 1-5.71-1.57l-.41-.25-4.25 1.11 1.14-4.14-.27-.43a11.22 11.22 0 1 1 9.51 5.28zm9.62-20.9A13.56 13.56 0 0 0 16.02 2.8C8.46 2.8 2.3 8.95 2.3 16.51c0 2.43.64 4.81 1.86 6.9L2 31.2l7.94-2.07a13.68 13.68 0 0 0 6.08 1.42h.01c7.56 0 13.72-6.15 13.72-13.71 0-3.66-1.43-7.1-4.1-9.74z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M19.11 17.7c-.28-.14-1.64-.81-1.89-.9-.25-.09-.43-.14-.61.14-.18.28-.7.9-.86 1.08-.16.18-.32.21-.6.07-.28-.14-1.18-.43-2.25-1.37-.83-.74-1.39-1.65-1.55-1.92-.16-.28-.02-.43.12-.57.12-.12.28-.32.41-.48.14-.16.18-.28.28-.46.09-.18.05-.35-.02-.5-.07-.14-.61-1.48-.84-2.03-.22-.53-.45-.46-.61-.47h-.52c-.18 0-.46.07-.7.35-.25.28-.93.9-.93 2.2 0 1.3.96 2.56 1.09 2.74.14.18 1.89 2.88 4.58 4.04.64.28 1.14.45 1.53.58.64.2 1.22.17 1.68.1.51-.08 1.64-.67 1.87-1.32.23-.65.23-1.2.16-1.32-.07-.11-.25-.18-.53-.32zM16.03 27.3h-.01a11.23 11.23 0 0 1-5.71-1.57l-.41-.25-4.25 1.11 1.14-4.14-.27-.43a11.22 11.22 0 1 1 9.51 5.28zm9.62-20.9A13.56 13.56 0 0 0 16.02 2.8C8.46 2.8 2.3 8.95 2.3 16.51c0 2.43.64 4.81 1.86 6.9L2 31.2l7.94-2.07a13.68 13.68 0 0 0 6.08 1.42h.01c7.56 0 13.72-6.15 13.72-13.71 0-3.66-1.43-7.1-4.1-9.74z'/%3E%3C/svg%3E") center/contain no-repeat;
  background: #fff;
}

/* SECCIONES */
.section{
  padding: 56px 0;
  position: relative;
}
.section::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(15,23,42,.15), transparent);
}
.section h1, .section h2{ margin:0 0 16px; }

/* HERO */
.hero{
  padding: 36px 0 28px;
  position: relative;
  overflow: hidden;
  color: #f8fafc;

  /* Fondo principal con azul del logo */
  background:
    linear-gradient(
      135deg,
      #1e3f6e 0%,
      #2E5B98 45%,
      #1b355c 100%
    );
}

/* ========================================= */
/*   TITULO PRO PARA SECCIONES (PRODUCTOS)   */
/* ========================================= */

.section-title{
  margin-bottom: 30px;
  text-align: left;
  position: relative;
}

.section-title h2{
  font-size: clamp(26px, 2.4vw, 38px);
  font-weight: 900;
  margin: 0;
  line-height: 1.15;

  /* efecto gradiente azul-rojo AYS */
  background: linear-gradient(
    90deg,
    #2E5B98 0%,
    #1d4ed8 45%,
    #e11d2e 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title p{
  margin-top: 8px;
  font-size: 15px;
  max-width: 520px;
  color: rgba(15,23,42,.65);
}

/* Línea decorativa debajo */
.section-title::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 120px;
  height: 4px;
  border-radius: 999px;

  background: linear-gradient(
    90deg,
    #2E5B98,
    #e11d2e
  );
}


/* Textura sutil tipo industrial */
.hero::before{
  content:'';
  position:absolute;
  inset:0;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,.03),
      rgba(255,255,255,.03) 2px,
      transparent 2px,
      transparent 6px
    );
  opacity:.35;
  pointer-events:none;
}

/* Forma diagonal inspirada en el banner rojo */
.hero::after{
  content:'';
  position:absolute;
  right:-18%;
  top:-30%;
  width:70%;
  height:160%;
  background:
    linear-gradient(
      135deg,
      rgba(46,91,152,.55),
      rgba(225,29,46,.18)
    );
  transform: rotate(-12deg);
  border-radius: 60px;
  opacity:.45;
  pointer-events:none;
}

/* Asegura que el contenido quede arriba */
.hero > .container{
  position: relative;
  z-index: 2;
}


.hero__wrap{
  display:grid;
  grid-template-columns: 1fr 1fr; /* slider más ancho */
  gap: 28px;
  align-items: stretch;
}

.hero__wrap > div:first-child{
  align-self: center;
}

.badge{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  background: rgba(255,255,255,.12);
  color: #e5e7eb;
}

.hero__title{
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.08;
  margin: 10px 0 12px;
  color: #f9fafb;
}

.hero__subtitle{
  margin: 0 0 18px;
  color: #cbd5f5;
  font-size: 16px;
}

.hero__actions{ display:flex; gap: 12px; flex-wrap: wrap; }

/* STATS */
.stats{
  margin-top: 22px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.stat{
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(241,245,249,.92));
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 8px 22px rgba(2,6,23,.12);
}
.stat__value{ font-size: 28px; font-weight: 900; color: var(--primary); }
.stat__label{ color: #475569; font-weight: 700; }

/* GRID + CARDS */
.grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr)); /* 👈 4 por fila */
  gap: 18px;
}



.card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0 !important;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(2,6,23,.05);
}

.card--link{
  text-decoration:none;
  color: var(--text);
  display:block;
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease;
}
.card--link:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(225,29,46,.25);
}

.card__img{
  width:100%;
  height: 140px;
  border-radius: 14px;
  object-fit: cover;
  display:block;
  margin-bottom: 12px;
  background: #eef2ff;
}

.card__title{ font-weight: 900; margin: 0 0 6px; }
.card__desc{ margin:0; color: var(--muted); font-size: 14px; }

.two-col{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items: start;
}

/* FOOTER */
.footer{
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
}

/* ANIMACIÓN REVEAL */
.reveal{ opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* HERO SLIDER (limpio, sin duplicados) */
.hero-slider{
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: #020617;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  min-height: 300px;
}

.hero-slider__track{
  position: relative;
  height: 300px;
}

.hero-slider__slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .6s ease, transform .8s ease;
}

.hero-slider__slide.is-active{
  opacity: 1;
  transform: scale(1);
}

.hero-slider__slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slider__slide::after{
  content:'';
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(2,6,23,.10), rgba(2,6,23,.82));
}

.hero-slider__caption{
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  color: #e5e7eb;
  display: grid;
  gap: 4px;
}

.hero-slider__caption strong{
  font-size: 16px;
  letter-spacing: .2px;
}

.hero-slider__caption span{
  font-size: 14px;
  color: rgba(229,231,235,.9);
}

/* Flechas */
.hero-slider__btn{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(2,6,23,.35);
  color: #fff;
  font-size: 28px;
  line-height: 0;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
  backdrop-filter: blur(8px);
}
.hero-slider__btn:hover{
  background: rgba(2,6,23,.55);
  border-color: rgba(255,255,255,.30);
  transform: translateY(-50%) scale(1.04);
}
.hero-slider__btn--prev{ left: 16px; }
.hero-slider__btn--next{ right: 16px; }

/* Dots (derecha) */
.hero-slider__dots{
  position:absolute;
  right: 16px;
  left: auto;
  bottom: 16px;
  z-index: 3;
  display:flex;
  gap: 8px;
  transform: none;
}
.hero-slider__dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.hero-slider__dot.is-active{
  background: #fff;
  transform: scale(1.2);
}

/* RESPONSIVE */

@media (max-width: 1200px){
  .grid{
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}

@media (max-width: 900px){
  .grid{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 520px){
  .grid{
    grid-template-columns: 1fr;
  }
}


/* Estado activo del menú */
.nav a.is-active{
  background: rgba(29,78,216,.10);
  color: var(--secondary);
}

.nav a.is-active::after{
  opacity: 1;
  transform: scaleX(1);
}


.cat-card{
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 0px;
  position: relative;
  display: block;
}

/* cuadrado: mismo alto/ancho */
.cat-card__media{
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* puedes probar 4 / 5 si quieres menos alto */
  overflow: hidden;
  border-radius: 0px;
  background: #eef2ff;
}

/* imagen ocupa todo el cuadrado */
.cat-card__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .35s ease;
}

/* overlay encima */
.cat-card__overlay{
  position: absolute;
  inset: 0;
  background: rgba(46, 91, 152, .78); /* azul AYS */
  opacity: 0;
  transition: opacity .22s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

/* CTA */
.cat-card__cta{
  background: rgba(255,255,255,.95);
  color: #0f172a;
  padding: 12px 16px;
  border-radius: 1px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(2,6,23,.18);
}

/* hover */
.cat-card:hover .cat-card__overlay{ opacity: 1; }
.cat-card:hover .cat-card__img{ transform: scale(1.06); }

/* texto dentro del overlay (abajo) */
.cat-card__caption{
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  color: #fff;
  display: grid;
  gap: 6px;
  pointer-events: none; /* no bloquea el hover */
}

.cat-card__title{
  font-weight: 900;
  font-size: 16px;
  line-height: 1.2;
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.cat-card__desc{
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,.92);
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}
/* Texto visible SIEMPRE (degradado fijo abajo) */
.cat-card__media::before{
  content:'';
  position:absolute;
  left:0; right:0; bottom:0;
  height: 52%;
 background: linear-gradient(
  180deg,
  rgba(46, 91, 152, 0) 0%,
  rgba(30, 58, 95, .75) 70%,
  rgba(23, 46, 77, .9) 100%
);

  z-index: 2;
  pointer-events:none;
}

/* Asegura que caption esté arriba del degradado */
.cat-card__caption{
  z-index: 4;
}
/* === SECCIÓN KARCHER (fondo azul + imagen + reveal) === */
.section--karcher{
  padding: 70px 0;
  color: #eef2ff;
  background:
    radial-gradient(900px 420px at 15% 15%, rgba(46,91,152,.35), transparent 55%),
    radial-gradient(1000px 520px at 85% 85%, rgba(29,78,216,.25), transparent 55%),
    linear-gradient(180deg, #0b1220 0%, #10264a 55%, #0b1220 100%);
  position: relative;
  overflow: hidden;
}

/* patrón sutil (como textura) */
.section--karcher::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    repeating-linear-gradient(45deg,
      rgba(255,255,255,.06) 0px,
      rgba(255,255,255,.06) 2px,
      transparent 2px,
      transparent 10px);
  opacity: .10;
  pointer-events:none;
}

.karcher__wrap{
  position: relative;
  z-index: 2;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  align-items: center;
}

.karcher__content{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 26px;
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
}

.karcher__title{
  margin: 10px 0 10px;
  font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1.15;
  color: #ffffff;
}

.karcher__text{
  margin: 0 0 14px;
  color: rgba(226,232,240,.92);
}

.karcher__list{
  margin: 0;
  padding-left: 18px;
  color: rgba(226,232,240,.92);
  display:grid;
  gap: 8px;
}

.karcher__actions{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===================================================== */
/*   IMAGEN KARCHER CON EFECTO IGUAL A CATEGORÍAS */
/* ===================================================== */

.karcher-media{
  position: relative;
  overflow: hidden;
  border-radius: 18px; /* si quieres sin redondeo pon 0 */
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.04);
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
}

/* Imagen ocupa todo */
.karcher-media img{
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;

  transform: scale(1);
  transition: transform .45s ease;
}

/* Degradado fijo abajo (para texto visible siempre) */
.karcher-media::before{
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:55%;

  background: linear-gradient(
    180deg,
    rgba(46, 91, 152, 0) 0%,
    rgba(30, 58, 95, .78) 70%,
    rgba(23, 46, 77, .92) 100%
  );

  z-index:2;
  pointer-events:none;
}

/* Overlay azul que aparece en hover */
.karcher-media__overlay{
  position:absolute;
  inset:0;
  background: rgba(46, 91, 152, .78);

  opacity:0;
  transition: opacity .25s ease;

  display:flex;
  align-items:center;
  justify-content:center;

  z-index:3;
}

/* Botón central */
.karcher-media__cta{
  background: rgba(255,255,255,.95);
  color: #0f172a;
  font-weight: 900;

  padding: 12px 18px;
  border-radius: 14px;

  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

/* Texto abajo */
.karcher-media__caption{
  position:absolute;
  left:16px;
  right:16px;
  bottom:16px;

  z-index:4;
  display:grid;
  gap:6px;

  color:#fff;
  pointer-events:none;
}

.karcher-media__caption strong{
  font-size: 17px;
  font-weight: 900;
  text-shadow: 0 10px 25px rgba(0,0,0,.35);
}

.karcher-media__caption span{
  font-size: 13px;
  color: rgba(255,255,255,.9);
  text-shadow: 0 10px 25px rgba(0,0,0,.35);
}

/* Hover: overlay + zoom */
.karcher-media:hover .karcher-media__overlay{
  opacity:1;
}

.karcher-media:hover img{
  transform: scale(1.06);
}

/* Responsive */
@media(max-width: 980px){
  .karcher-media img{
    height: 280px;
  }
}


/* cuando aparece por reveal */
.reveal.is-visible .karcher__media img{
  transform: scale(1);
}

/* overlay para dar look premium */
.karcher__media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(2,6,23,.10), rgba(2,6,23,.65));
  pointer-events:none;
}

/* responsive */
@media (max-width: 980px){
  .karcher__wrap{
    grid-template-columns: 1fr;
  }
  .karcher__media img{
    height: 280px;
  }
}
/* ===== FOOTER MINIMAL PRO ===== */
/* ===== FOOTER AZUL ESTILO HERO ===== */
.footer-min{
  background:
    radial-gradient(900px 500px at 90% 10%, rgba(46,91,152,.35), transparent 55%),
    radial-gradient(700px 400px at 10% 90%, rgba(46,91,152,.25), transparent 60%),
    linear-gradient(180deg, #2E5B98 0%, #1f3f6d 100%);

  padding: 26px 0;
  box-shadow: 0 -12px 40px rgba(0,0,0,.25);

  text-align: center;

  color: #ffffff;

  font-weight: 600;
  font-size: 14px;

  border-top: 1px solid rgba(255,255,255,.15);
}

.footer-min small{
  display:block;
  letter-spacing: .4px;
}

.footer-min small strong{
  color: #ffffff;
}


/* efecto suave premium */
.footer-min{
  box-shadow: 0 -8px 25px rgba(2,6,23,.04);
}
/* ===== MARCAS (auto scroll) ===== */
.brands{
  padding: 42px 0 22px;
  background: #ffffff;
  border-top: 1px solid rgba(15,23,42,.08);
}

.brands__title{
  display:flex;
  align-items:center;
  gap: 14px;
  margin: 0 0 18px;
}

.brands__title h3{
  margin: 0;
  font-size: 16px;
  letter-spacing: .18em;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  white-space: nowrap;
}

.brands__title span{
  height: 1px;
  background: rgba(15,23,42,.12);
  flex: 1;
}

.brands__marquee{
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 14px 40px rgba(2,6,23,.06);
}

.brands__marquee::before,
.brands__marquee::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width: 90px;
  z-index: 2;
  pointer-events:none;
}

.brands__marquee::before{
  left:0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0) 100%);
}

.brands__marquee::after{
  right:0;
  background: linear-gradient(270deg, #ffffff 0%, rgba(255,255,255,0) 100%);
}

.brands__track{
  display:flex;
  align-items:center;
  gap: 46px;
  padding: 22px 26px;
  width: max-content;
  animation: brands-move 22s linear infinite;
}

.brands__track img{
  height: 46px;
  width: auto;
  display:block;
  filter: saturate(1.05);
  opacity: .92;
  transition: transform .2s ease, opacity .2s ease;
}

.brands__track img:hover{
  transform: translateY(-2px) scale(1.02);
  opacity: 1;
}

/* Pausa al pasar el mouse (pro) */
.brands__marquee:hover .brands__track{
  animation-play-state: paused;
}

@keyframes brands-move{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); } /* porque duplicamos el set */
}

@media (max-width: 600px){
  .brands__track{ gap: 26px; }
  .brands__track img{ height: 38px; }
}
/* ===== FOOTER PROFESIONAL CON REDES ===== */
.footer-min{
  background:
    radial-gradient(900px 500px at 90% 10%, rgba(46,91,152,.35), transparent 55%),
    radial-gradient(700px 400px at 10% 90%, rgba(46,91,152,.25), transparent 60%),
    linear-gradient(180deg, #2E5B98 0%, #1f3f6d 100%);

  padding: 32px 0;
  text-align: center;

  color: rgba(255,255,255,.85);
  font-weight: 600;
  font-size: 14px;

  border-top: 1px solid rgba(255,255,255,.15);
}

.footer-wrap{
  display:flex;
  flex-direction: column;
  gap: 14px;
  align-items:center;
  justify-content:center;
}

/* Redes sociales */
.footer-socials{
  display:flex;
  gap: 14px;
}

/* Botones redondos */
.footer-socials a{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;

  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);

  color: #ffffff;
  font-size: 18px;

  transition: all .25s ease;
}

/* Hover pro */
.footer-socials a:hover{
  background: #ffffff;
  color: #2E5B98;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}

/* Texto */
.footer-min small{
  letter-spacing: .4px;
}

.footer-min strong{
  color: #ffffff;
}
/* Grid especial de productos */
.grid--products{
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* Las 2 primeras: 2 columnas */
.cat-card--wide{
  grid-column: span 2;
}

/* Ajuste visual: que las wide se vean bien */
.cat-card--wide .cat-card__media{
  aspect-ratio: 2 / 1; /* más “banner” */
}

/* Las normales: cuadradas */
.cat-card__media{
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

/* Responsive: en pantallas medianas (2 columnas) que no rompa */
@media (max-width: 860px){
  .grid--products{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cat-card--wide{ grid-column: span 2; }
  .cat-card--wide .cat-card__media{ aspect-ratio: 16 / 9; }
}

@media (max-width: 520px){
  .grid--products{ grid-template-columns: 1fr; }
  .cat-card--wide{ grid-column: auto; }
  .cat-card--wide .cat-card__media{ aspect-ratio: 1 / 1; }
}
/* ===================================================== */
/*  QUITAR BORDES REDONDEADOS EN CATEGORÍAS */
/* ===================================================== */

.cat-card {
  border: none !important;
}
.cat-card {
  border: 2px solid rgba(0,0,0,.08);
}

/* ===================================================== */
/* FIX: EFECTO KARCHER tipo categorías (forzado) */
/* ===================================================== */

.karcher-media{
  position: relative !important;
  overflow: hidden !important;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.04);
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
}

.karcher-media img{
  width: 100% !important;
  height: 380px !important;
  object-fit: cover !important;
  display: block !important;
  transform: scale(1);
  transition: transform .45s ease;
}

/* degradado fijo abajo */
.karcher-media::before{
  content:"";
  position:absolute !important;
  left:0; right:0; bottom:0;
  height:55%;
  background: linear-gradient(
    180deg,
    rgba(46, 91, 152, 0) 0%,
    rgba(30, 58, 95, .75) 70%,
    rgba(23, 46, 77, .92) 100%
  );
  z-index: 2;
  pointer-events:none;
}

/* overlay hover */
.karcher-media__overlay{
  position:absolute !important;
  inset:0 !important;
  background: rgba(46, 91, 152, .78);
  opacity:0;
  transition: opacity .25s ease;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index: 3;
}

.karcher-media__cta{
  background: rgba(255,255,255,.95);
  color: #0f172a;
  font-weight: 900;
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

/* caption dentro de la imagen */
.karcher-media__caption{
  position:absolute !important;
  left:16px !important;
  right:16px !important;
  bottom:16px !important;
  z-index: 4 !important;
  display:grid !important;
  gap:6px !important;
  color:#fff !important;
  pointer-events:none !important;
}

.karcher-media__caption strong{
  font-size: 17px;
  font-weight: 900;
  text-shadow: 0 10px 25px rgba(0,0,0,.35);
}

.karcher-media__caption span{
  font-size: 13px;
  color: rgba(255,255,255,.9);
  text-shadow: 0 10px 25px rgba(0,0,0,.35);
}

/* hover */
.karcher-media:hover .karcher-media__overlay{
  opacity: 1;
}
.karcher-media:hover img{
  transform: scale(1.06);
}
/* SOLO sucursales: reduce padding del hero */
.page-sucursales .hero{
  padding: 36px 0 28px !important;
}
/* =============================== */
/* CONTACT PRO (igual look & feel) */
/* =============================== */

.hero--contact{
  padding: 56px 0 46px; /* más compacto que inicio */
}

/* Ajuste del grid del hero para contacto */
.hero__wrap--contact{
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
}

/* Chips */
.contact-chips{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.chip{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.88);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .2px;
  backdrop-filter: blur(10px);
}

/* Card derecha del hero (glass) */
.contact-hero-card{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  backdrop-filter: blur(12px);
  position: relative;
}
.contact-hero-card__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: #fff;
}
.contact-hero-card__head .pill{
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  background: rgba(225,29,46,.18);
  border: 1px solid rgba(225,29,46,.35);
}

.contact-quick{
  display:grid;
  gap: 12px;
  margin-top: 10px;
}
.qitem{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
.qicon{
  width: 38px;
  height: 38px;
  display:grid;
  place-items:center;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
}
.qlabel{
  font-size: 12px;
  font-weight: 900;
  color: rgba(255,255,255,.80);
  letter-spacing: .3px;
}
.qvalue{
  font-size: 14px;
  font-weight: 800;
  color: rgba(255,255,255,.94);
  margin-top: 2px;
}
.contact-hero-card__cta{
  margin-top: 14px;
  display:flex;
  justify-content:flex-end;
}

/* Sección principal */
.section--contact{
  padding: 56px 0;
}

.contact-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: start;
}

/* Card del formulario */
.contact-card{
  background: #fff;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(2,6,23,.08);
}
.contact-card__title h2{
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 950;
}
.contact-card__title p{
  margin: 0 0 16px;
  color: rgba(15,23,42,.65);
}

/* Form */
.contact-form{
  display:grid;
  gap: 12px;
}
.form-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contact-form label{
  display:grid;
  gap: 6px;
  font-weight: 900;
  color: rgba(15,23,42,.80);
  font-size: 12px;
  letter-spacing: .2px;
}
.contact-form input,
.contact-form textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.12);
  outline: none;
  font: inherit;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.contact-form textarea{
  min-height: 140px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus{
  border-color: rgba(29,78,216,.45);
  box-shadow: 0 0 0 4px rgba(29,78,216,.12);
}
.form-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.form-note{
  margin: 6px 0 0;
  color: rgba(15,23,42,.55);
  font-size: 13px;
}

/* Honeypot oculto */
.hp{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  opacity:0;
}

/* Lado derecho */
.contact-side{
  display:grid;
  gap: 14px;
}

.info-cards{
  display:grid;
  gap: 12px;
}
.info-card{
  background: linear-gradient(180deg, #fff, #f8fafc);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 14px 40px rgba(2,6,23,.06);
  display:flex;
  gap: 12px;
  align-items:flex-start;
}
.info-card__icon{
  width: 44px;
  height: 44px;
  display:grid;
  place-items:center;
  border-radius: 16px;
  background: rgba(29,78,216,.10);
}
.info-card__title{
  font-weight: 950;
  margin-bottom: 4px;
}
.info-card__text{
  color: rgba(15,23,42,.65);
  font-size: 14px;
  line-height: 1.6;
}

.map-card{
  background: #fff;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 22px;
  overflow:hidden;
  box-shadow: 0 18px 50px rgba(2,6,23,.08);
}
.map-card__head{
  padding: 14px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom: 1px solid rgba(15,23,42,.08);
}
.map-card__head strong{ font-weight: 950; }
.map-card__head span{ color: rgba(15,23,42,.55); font-weight: 800; font-size: 12px; }

.map-embed iframe{
  width:100%;
  height: 320px;
  border:0;
  display:block;
}

/* Responsive */
@media (max-width: 980px){
  .hero__wrap--contact{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .map-embed iframe{ height: 280px; }
}
/* =========================
   FIX HOME HERO / SLIDER
   (evita que otros CSS lo muevan)
   ========================= */

.hero .hero__wrap{
  align-items: center !important;
}

.hero .hero-slider{
  margin-top: 0 !important;
  align-self: center !important;
}

.hero .hero-slider__track{
  height: 460px !important;
}

.hero .hero-slider{
  min-height: 460px !important;
}
.alert{
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 14px;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
}

.alert--ok{
  background: rgba(34,197,94,.14);
  border-color: rgba(34,197,94,.28);
  color: #0f172a;
}

.alert--warn{
  background: rgba(245,158,11,.14);
  border-color: rgba(245,158,11,.30);
  color: #0f172a;
}

.alert--err{
  background: rgba(225,29,46,.14);
  border-color: rgba(225,29,46,.28);
  color: #0f172a;
}
