section:not(.hero) {
  margin-top: 4rem;
  margin-bottom: 3rem;
}
 /* HERO background */
    .hero {
      position: relative;
      background-image: url('../img/banner_mt.png');
      background-size: cover;
      background-position: center;
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      text-align: left;
    }

    .hero h1 {
  font-size: 2.2rem;
}
@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
}
@media (min-width: 1200px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

    .hero::before {
      content: "";
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      /*background: rgba(0, 0, 0, 0.5);*/
      z-index: 1;
    }
@media (max-width: 767px) {
  .hero {
    height: 40vh;        
    min-height: 30rem;   
    padding-top: 0;
    margin-top: 0;
    margin-bottom: -18rem;
  background-size: contain;     
  background-repeat: no-repeat;
  }
}
    .hero .container {
      position: relative;
      z-index: 2;
    }

    .btn-play {
      background-color: #e12a26;
      color: white;
      border-radius: 50px;
      padding: 0.75em 2em;
      font-size: 1.5em;
      border: none;
    }
    .btn-body {
      background-color: #e12a26;
      color: white;
      border-radius: 50px;
      padding: 0.75em 2em;
      font-size: 1.3em;
      border: none;
    }

    /* Navbar */
    .navbar {
      transition: background-color 0.3s, box-shadow 0.3s, color 0.3s;
      --bs-navbar-padding-y: 2rem !important;
  font-family: "Titillium Web", sans-serif;
    }

    .navbar-transparent:not(.hero) {
      background-color: transparent !important;
    }
    

    .navbar-transparent .nav-link,
    .navbar-transparent .navbar-brand,
    .navbar-transparent .navbar-toggler-icon {
      color: black !important;
    }

    .navbar-scrolled {
      background-color: white !important;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .navbar-brand img {
      height: 60px;
    }

    .navbar-toggler {
      border-color: transparent;
    }

    @media (max-width: 991.98px) {
  .navbar.navbar-transparent {
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  }
}
    @media (max-width: 767.98px) {
  .navbar-brand img {
      height: 40px;
    }
}

    /* FOOTER   */
.footer-mt {
  background: #fff;
  color: #333;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-banner1 {
  width: 100%;
  height: auto;
  max-width: 450px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 767.98px) {
  .footer-banner1 {
    max-width: 90vw;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}
.footer-social .footer-icon {
  color: #333;
  font-size: 2.5rem;
  transition: color 0.2s;
}
.footer-social .footer-icon:hover {
  color: #e12a26;
}
.footer-title {
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.footer-divider {
  border-top: 3px solid #444;
  width: 100%;
  margin: 0 0 1rem 0;
}
.footer-menu li {
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.footer-menu li.text-muted {
  color: #ccc;
  font-weight: 400;
}
.footer-link {
  color: #111;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover {
  color: #e12a26;
  text-decoration: underline;
}
.footer-contact i {
  color: #444;
  font-size: 1.2rem;
  vertical-align: middle;
}
.footer-bottom {
  background: #e12a26;
  color: #fff;
  font-size: 1rem;
  margin-top: 2rem;
}
.footer-bottom small {
  opacity: 0.7;
}

/* Carrusel de productos estilo tarjetas */
.producto-img.casco {
  margin-top: 18px; /* Ajuste solo para el casco */
}

.producto-card {
  transition: transform 0.4s cubic-bezier(.4,2,.3,1), box-shadow 0.3s;
  will-change: transform;
}
.producto-card:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  z-index: 2;
}

.producto-img {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin: 0 auto;
  display: block;
}
@media (min-width: 768px) {
  .producto-img {
    max-width: 150px;
  }
}


@media (max-width: 767px) {
  .producto-card {
    min-height: 140px;
    height: 140px;
    border-radius: 18px;
  }
  .producto-img {
    max-width: 90px;
    margin-bottom: 10px;
  }
  .producto-titulo {
    font-size: 1rem;
    margin-bottom: 10px;
  }
}

.carousel-inner,
.carousel-item,
.row.g-4 {
  overflow: visible !important;
}

/* Marcas  */
.logo-marca {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin: 0 auto;
  display: block;
}
@media (min-width: 768px) {
  .logo-marca {
    max-width: 180px;
  }
}


@media (max-width: 575.98px) {
  #marcas .logo-marca {
    max-width: 120px;
  }
  #marcas h4 {
    font-size: 1.2rem !important;
    padding-top: 1.5rem !important;
  }
}

/* Servicio sección */
.servicio-section {
  background: #fafbfc;
}
.servicio-card {
  background: #fff;
  border-radius: 0 2.5rem 2.5rem 0;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.03);
  font-size: 1rem;
  transition: background 0.2s;
  color: #888;
}
.servicio-card:hover {
  background: #f2f3f5 !important;
  color: #272727;
}
.valor-pill {
  background: #222;
  color: #fff;
  border-radius: 1.2rem;
  padding: 0.2rem 1rem;
  font-size: 0.98rem;
  display: inline-block;
  margin-bottom: 0.2rem;
}
.moto-bg-figure {
  position: absolute;
  right: 10%;
  top: 10%;
  width: 60%;
  height: 80%;
  background: #e12a26;
  border-radius: 1.2rem;
  z-index: 1;
  opacity: 0.85;
}
.servicio-moto {
  position: relative;
  z-index: 2;
  max-width: 90%;
  margin-top: 2rem;
  margin-bottom: 2rem;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.12));
}
@media (max-width: 991px) {
  .moto-bg-figure {
    display: none;
  }
  .servicio-moto {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}

.historia-card {
  position: relative;
  border-radius: 2rem;
  width: 370px;
  height: 340px;
  margin: 0 1.5rem;
  box-shadow: 0 2px 18px 0 rgba(0,0,0,0.08);
  transition: transform 0.35s cubic-bezier(.4,2,.6,1), box-shadow 0.35s;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
}
.historia-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2rem;
  filter: brightness(0.85);
  transition: filter 0.3s;
}
.historia-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  color: #fff;
  z-index: 2;
  width: 100%;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.0) 100%);
  border-radius: 0 0 2rem 2rem;
  transition: background 0.3s;
}
.historia-year {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.historia-desc {
  font-size: 1rem;
  color: #e0e0e0;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.historia-arrow {
  position: absolute;
  left: 50%;
  bottom: -28px;
  transform: translateX(-50%);
  z-index: 3;
}
/* HOVER: agranda y pone texto rojo */
.historia-card:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px 0 rgba(225,31,39,0.18);
  z-index: 2;
}
.historia-card:hover .historia-year,
.historia-card:hover .historia-desc {
  color: #e12a26 !important;
  text-shadow: none;
}
.historia-card:hover .historia-overlay {
  background: linear-gradient(0deg, rgba(255,255,255,0.85) 60%, rgba(255,255,255,0.0) 100%);
}
.historia-card:hover .historia-img {
  filter: brightness(1);
}
/* Responsive */
@media (max-width: 991px) {
  .historia-card {
    width: 90vw;
    height: 240px;
    margin: 0 0.5rem;
  }
  .historia-overlay {
    padding: 1rem 1rem 0.8rem 1rem;
  }
}

.swiper {
  overflow: hidden !important;  
}
.swiper-slide {
  overflow: visible !important;  
}

.historia-section {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
  min-height: 600px; 
}

.swiper {
  /*padding-top: 2.5rem !important;*/
  padding-bottom: 2.5rem !important;
}

/* team - equipo slider y cards */
.equipo-slider-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.equipo-swiper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.equipo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 32rem;
  border-radius: 2.5rem;
  font-size: 2rem;
  font-weight: 700;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  box-shadow: none;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  position: relative;
}
.equipo-card-inactive {
  background: #f3f3f3;
  color: #e12a26;
}
.equipo-card-active {
  background: #e12a26;
  color: #fff;
  box-shadow: 0 8px 32px rgba(227,43,38,0.15);
}
.equipo-title {
  color: #e12a26;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  align-self: flex-start;
  letter-spacing: 1px;
}
.equipo-title-active {
  color: #fff;
}
.equipo-img {
  width: 80%;
  max-width: 260px;
  height: auto;
  border-radius: 1.5rem;
  object-fit: cover;
  margin-top: 0.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Info box debajo del slider */
.equipo-info {
  background: #fff;
  border-radius: 0 2rem 2rem 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 1.5rem 2rem;
  max-width: 500px;
  margin: 0 auto;
  border: 1px solid #eee;
}

/* Título barra gris */
.equipo-title-bar {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: #d1d4d6;
  padding: 1.5rem 0 1rem 2rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

/* Responsive */
@media (max-width: 991px) {
  .equipo-card, .equipo-card-inactive, .equipo-card-active {
    height: 220px;
    font-size: 1.2rem;
    padding: 1rem 0.5rem 0.5rem 0.5rem;
  }
  .equipo-img {
    max-width: 110px;
  }
  .equipo-title {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }
  .equipo-info {
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
    border-radius: 0 1rem 1rem 0;
  }
  .equipo-title-bar {
    padding: 1rem 0 0.7rem 1rem;
  }
}

/* Operacion */
.cobertura-section {
  background: #fff;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.mapa-cobertura {
  max-width: 90%;
  height: auto;
  min-width: 320px;
}
.cobertura-card {
  background: #f3f4f4;
  border-radius: 2rem;
  box-shadow: 0 2px 18px 0 rgba(0,0,0,0.03);
  min-width: 350px;
  max-width: 600px;
}
@media (max-width: 991px) {
  .cobertura-card {
    padding: 2rem 1rem;
    min-width: unset;
    max-width: 100%;
  }
  .cobertura-section .row {
    flex-direction: column;
    align-items: center;
  }
  .mapa-cobertura {
    min-width: 200px;
    margin-bottom: 2rem;
  }
}

.cobertura-title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cobertura-title-1 {
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1;
}
.cobertura-title-2 {
  font-size: 3.2rem;
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1;
  margin-left: 6rem;
  margin-top: -0.7rem;
}
@media (max-width: 991.98px) {
  .cobertura-title-1 {
    font-size: 2rem;
  }
  .cobertura-title-2 {
    font-size: 2.3rem;
    margin-left: 2.5rem;
    margin-top: -0.5rem;
  }
}
@media (max-width: 575.98px) {
  .cobertura-title-wrapper {
    align-items: flex-start;
  }
  .cobertura-title-1 {
    font-size: 2.4rem;
  }
  .cobertura-title-2 {
    font-size: 2.7rem;
    margin-left: 6.2rem;
    margin-top: -0.3rem;
  }
}

/* Graficos */

/* Barras gráficas animadas y con forma personalizada */
.grafica-bar {
  position: relative;
  width: 220px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: linear-gradient(90deg, #ccc 0%, #e12a26 100%);
  cursor: pointer;
  box-shadow: 0 2px 18px 0 rgba(0,0,0,0.04);
  overflow: hidden;
  /* Animación de crecimiento */
  transform: scaleY(0);
  transform-origin: bottom;
  transition: 
    transform 1s cubic-bezier(.4,2,.6,1),
    background 0.3s,
    box-shadow 0.3s;
  /* Forma superior personalizada: solo inclinada a la izquierda */
  clip-path: polygon(
    0 40px,         /* esquina superior izquierda bajada */
    200px 0,         /* ángulo inclinado arriba izq */
    100% 0,         /* esquina superior derecha */
    100% 100%,      /* esquina inferior derecha */
    0 100%          /* esquina inferior izquierda */
  );
  border-top-right-radius: 2.5rem;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.grafica-bar.animated {
  transform: scaleY(1);
}

.grafica-bar-1 { height: 240px; margin-top: 80px; }
.grafica-bar-2 { height: 320px; margin-top: 40px; }
.grafica-bar-3 { height: 400px; margin-top: 0; }

.grafica-info {
  width: 100%;
  padding: 2.2rem 1.2rem 1.2rem 1.2rem;
  text-align: left;
  position: absolute;
  bottom: 0;
  left: 0;
  color: #222;
  z-index: 2;
  transition: color 0.3s;
}

.grafica-porcentaje {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  opacity: 0.7;
  transition: color 0.3s, opacity 0.3s;
}

.grafica-label {
  font-size: 1.2rem;
  font-weight: 400;
  opacity: 0.7;
  transition: color 0.3s, opacity 0.3s;
}

/* Hover: cambia color y muestra porcentaje más fuerte */
.grafica-bar:hover {
  background: linear-gradient(90deg, #e12a26 0%, #ff7b47 100%);
  box-shadow: 0 8px 32px 0 rgba(225,31,39,0.10);
}
.grafica-bar:hover .grafica-porcentaje,
.grafica-bar:hover .grafica-label {
  color: #fff;
  opacity: 1;
}

/* Responsive */
@media (max-width: 991px) {
  .grafica-bar {
    width: 90vw;
    min-width: 180px;
    max-width: 320px;
  }
  .grafica-bar-1, .grafica-bar-2, .grafica-bar-3 {
    margin-top: 0;
    margin-bottom: 2rem;
  }
}


/* Fondo rojo con esquinas redondeadas y flechas */
.servicios-bg-red {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 260px;
  background: #e12a26;
  border-radius: 0 0 60px 40px;
  z-index: 1;
}
.servicios-casco {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  width: 100%;
  height: auto;
  margin-left: 40px;
}

/* Botones */
.servicios-btns-wrapper {
  margin-left: 0;
  margin-top: 2rem;
}
.btn-servicio-mt {
  background: #e12a26;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 2.5rem;
  padding: 0.8rem 2.5rem 0.8rem 2.5rem;
  border: none;
  margin-bottom: 1rem;
  position: relative;
  box-shadow: none;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.btn-servicio-mt .servicios-arrow {
  font-size: 2rem;
  margin-right: 0.5rem;
  color: #222;
}
.btn-servicio-mt:hover {
  background: #c51c1c;
}
.btn-servicio-distribuidor {
  background: #fff;
  color: #e12a26;
  font-weight: 700;
  font-size: 1.1rem;
  border: 2px solid #e12a26;
  border-radius: 2.5rem;
  padding: 0.8rem 2.5rem;
  box-shadow: none;
  transition: background 0.2s, color 0.2s;
}
.btn-servicio-distribuidor:hover {
  background: #e12a26;
  color: #fff;
}

/* Responsive */
@media (max-width: 991.98px) {
  .servicios-bg-red {
    width: 220px;
    height: 160px;
    border-radius: 0 0 40px 20px;
  }
  .servicios-casco {
    max-width: 260px;
    margin-left: 20px;
  }
  .servicios-btns-wrapper {
    margin-top: 1.5rem;
  }
}
@media (max-width: 575.98px) {
  .servicios-bg-red {
    display: none;
  }
  .servicios-casco {
    margin-left: 0;
    max-width: 90vw;
  }
  .servicios-btns-wrapper {
    margin-top: 1rem;
  }
}

/* Botones servicios - ambos transparentes, borde rojo, texto rojo */
.btn-servicio-mt,
.btn-servicio-distribuidor {
  background: transparent;
  color: #e12a26;
  font-weight: 700;
  font-size: 1.2rem;
  border: 2px solid #e12a26;
  border-radius: 2.5rem;
  padding: 0.8rem 2.5rem;
  box-shadow: none;
  margin-bottom: 1rem;
  transition: background 0.2s, color 0.2s;
  text-align: center;
}

.btn-servicio-mt:hover,
.btn-servicio-distribuidor:hover {
  background: #e12a26;
  color: #fff;
  border-color: #e12a26;
}


/* distribuidores cards */
.servicios-card {
  background: #f6f6f8;
  border-radius: 0.75rem;
  min-width: 7.5rem;
  max-width: 26.25rem;
  height: 12.875rem;
  position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(.4,2,.6,1), box-shadow 0.35s;
  will-change: transform;
  overflow: hidden;
  flex: 0 1 180px;
  width: 11.25rem;
  cursor: pointer;
  z-index: 1;
}
.servicios-card:hover,
.servicios-card.active {
  transform: scale(1.12);
  z-index: 10;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.servicios-card .servicios-card-text {
  display: none;
}
.servicios-card:hover .servicios-card-text,
.servicios-card.active .servicios-card-text {
  display: flex;
}
.servicios-card .servicios-card-expand {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: none;
  color: #e12a26;
  font-size: 1.5rem;
  font-weight: bold;
  pointer-events: none;
  user-select: none;
}
.servicios-card:hover .servicios-card-expand,
.servicios-card.active .servicios-card-expand {
  display: none;
}
.servicios-cards-wrapper {
  gap: 3.5rem;
  position: relative;
}
@media (max-width: 767.98px) {
  .servicios-cards-wrapper {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .servicios-card {
    margin-bottom: 1.5rem;
    max-height: 16rem;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .servicios-card:last-child {
    margin-bottom: 0;
  }
}

/* Tarjetas de productos */
.productos-card {
  border-radius: 40px;
  border: 4px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}
.productos-card:hover {
  border-color: #e12a26;
  box-shadow: 0 8px 32px 0 rgba(225,31,39,0.10);
  transform: scale(1.03);
  z-index: 2;
}
.productos-card-sm {
  min-height: 220px;
  background: #232628;
  border-radius: 32px;
  border: 4px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
.card-img-bg {
  min-width: 260px;
  width: 20rem;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center right;
  border-radius: 0 32px 32px 0;
  background-color: rgba(255,255,255,0.02);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
@media (max-width: 991.98px) {
  .productos-card-lg {
    min-height: 20rem;
  }
  .card-img-bg {
    min-width: 7.5rem;
    width: 10rem;
  }
}
@media (max-width: 767.98px) {
  .productos-card, .productos-card-lg, .productos-card-sm {
    min-height: 11.25rem;
    padding: 1.2rem !important;
    border-radius: 20px;
  }
  .card-img-bg {
    min-width: 80px;
    width: 6.25rem;
    border-radius: 0 20px 20px 0;
  }
}
.btn-productos-mt {
  background: #e12a26;
  color: #fff;
  border-radius: 2rem;
  padding: 0.2rem 2.2rem;
  font-weight: 700;
  border: none;
  transition: background 0.2s;
  display: inline-block;
  text-decoration: none;
  font-size: 1.2rem;
}
.btn-productos-mt:hover {
  background: #b71c1c;
  color: #fff;
}

/* Cars de promociones  */
.promo-card {
  position: relative;
  min-height: 13.75rem;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
  transition: transform 0.4s cubic-bezier(.4,2,.3,1), box-shadow 0.3s;
  will-change: transform;
}
.promo-card .promo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.promo-card:hover{
  transform: scale(1.05);
}
.promo-card .promo-content {
  position: relative;
  z-index: 2;
  padding: 2rem 2.5rem;
  width: 100%;
}
@media (max-width: 767px) {
  .promo-card .promo-content { padding: 1.2rem; }
  .promo-card { min-height: 160px; }
}
.btn-promo-mt {
  background: #e12a26;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 0.6rem 2rem;
  font-weight: bold;
  margin-top: 1.2rem;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: inline-block;
}
.btn-promo-mt:hover {
  background: #b71c1c;
  color: #fff;
  text-decoration: none;
}

/* Login */
 .login-header {
      padding: 2rem 0 1rem 0;
    }
    .login-header .logo-mt {
      max-width: 10rem;
    }
    .login-header .logo-italika {
      max-width: 10rem;
    }
    .login-card {
      max-width: 25rem;
      margin: 0 auto;
      background: #fff;
      border: none;
      box-shadow: none;
      padding: 0;
    }
    .login-title {
      color: #e12a26;
      font-weight: 700;
    }
    .login-subtitle {
      font-size: 0.95rem;
      color: #222;
      font-weight: 500;
      margin-bottom: 1.5rem;
    }
    .form-label {
      color: #e12a26;
      font-weight: 700;
      margin-bottom: 0.2rem;
      margin-top: 1rem;
    }
    .form-control {
      border-radius: 0.5rem;
      border: 1.5px solid #e0e0e0;
      font-size: 1.05rem;
    }
    .btn-login {
      background: #e12a26;
      color: #fff;
      border-radius: 2rem;
      font-weight: 700;
      font-size: 1.1rem;
      padding: 0.7rem 0;
      margin-top: 1.5rem;
      margin-bottom: 0.5rem;
      transition: background 0.2s;
    }
    .btn-login:hover {
      background: #b71c1c;
      color: #fff;
    }
    .privacy-link {
      color: #e12a26;
      font-size: 0.95rem;
      text-decoration: underline;
      display: inline-block;
      margin-bottom: 1.5rem;
    }
    .login-alert {
      background: #f6f6f6;
      border-radius: 1rem;
      padding: 1.1rem 1.5rem;
      font-size: 1.05rem;
      color: #222;
      margin: 2rem auto 1rem auto;
      max-width: 600px;
    }
    .login-alert .text-danger {
      color: #e12a26 !important;
      font-weight: 500;
    }
    .login-info {
      color: #888;
      font-size: 0.95rem;
      margin-top: 0.7rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
.footer-mt-login {
  background: #f2f2f3;
  color: #555;
  font-size: 1rem;
  border-top: 1px solid #e0e0e0;
}

.footer-mt-login .footer-title {
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: #555;
}

.footer-mt-login i {
  font-size: 1.5rem;
  vertical-align: middle;
  margin-right: 0.5rem;
  color: #555;
}

.footer-mt-login .footer-social a {
  color: #555;
  font-size: 2.2rem;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  transition: color 0.2s;
}

.footer-mt-login .footer-social a:hover {
  color: #e12a26;
}

.footer-mt-login .footer-copy {
  color: #a55;
  font-size: 1rem;
}

@media (max-width: 767.98px) {
  .footer-mt-login .footer-title {
    margin-top: 1rem;
  }
  .footer-mt-login .footer-social {
    margin-top: 1rem;
  }
}
html, body {
  height: 100%;
  min-height: 100%;
  font-family: 'Roboto Condensed', 'Montserrat', sans-serif;
}
body {
  /*display: flex;*/
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'Roboto Condensed', 'Montserrat', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Titillium Web", sans-serif;
}

main {
  flex: 1 0 auto;
}

    /* Responsive logos */
    .login-header {
      padding: 2rem 0 1.5rem 0;
    }
    .logo-mt {
      max-width: 180px;
      height: auto;
    }
    .logo-italika {
      max-width: 140px;
      height: auto;
    }
    @media (max-width: 565px) {
      .login-header {
        flex-direction: column !important;
        gap: 1rem;
        padding: 1.5rem 0 1rem 0;
      }
      .logo-mt, .logo-italika {
        max-width: 60vw;
      }
    }
    /* Responsive login card */
    .login-card {
      width: 100%;
      max-width: 370px;
      margin: 0 auto;
      border-radius: 1.5rem;
      background: #fff;
    }
    @media (max-width: 575.98px) {
      .login-card {
        max-width: 98vw;
        padding-left: 0;
        padding-right: 0;
      }
    }
    .login-title {
      font-weight: 700;
      letter-spacing: 1px;
    }
    .login-subtitle {
      font-size: 1rem;
      color: #888;
      margin-bottom: 1.5rem;
    }
    .btn-login {
      background: #e12a26;
      color: #fff;
      font-weight: 700;
      border-radius: 2rem;
      transition: background 0.2s;
    }
    .btn-login:hover {
      background: #b81a21;
      color: #fff;
    }
    .login-alert {
      max-width: 400px;
      font-size: 0.98rem;
      text-align: center;
      margin: 0 auto;
    }
    .login-info {
      font-size: 0.95rem;
      color: #555;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
    }
    @media (max-width: 575.98px) {
      .login-alert {
        font-size: 0.93rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
      }
    }

/* Letras blancas solo en hero/index */
.navbar-hero .nav-link,
.navbar-hero .navbar-brand,
.navbar-hero .navbar-toggler-icon {
  color: #fff !important;
  fill: #fff !important;
}

.navbar-scrolled .nav-link,
.navbar-scrolled .navbar-brand,
.navbar-scrolled .navbar-toggler-icon,
.navbar:not(.navbar-hero) .nav-link,
.navbar:not(.navbar-hero) .navbar-brand,
.navbar:not(.navbar-hero) .navbar-toggler-icon {
  color: #111 !important;
  fill: #111 !important;
}

.navbar .nav-link.active,
.navbar-hero .nav-link.active,
.navbar-scrolled .nav-link.active,
.navbar:not(.navbar-hero) .nav-link.active {
  color: #e12a26 !important;
  font-weight: bold;
}

/* Responsive para el mapa de cobertura */
.mapa-cobertura {
  width: 100%;
  max-width: 50rem; 
  height: auto;
  display: block;
}

@media (max-width: 991.98px) {
  .mapa-cobertura {
    max-width: 320px;
  }
}

@media (max-width: 575.98px) {
  .mapa-cobertura {
    max-width: 95vw;
    margin-left: auto;
    margin-right: auto;
  }
  .cobertura-section .row.align-items-center > div[class^="col-"] {
    text-align: center;
  }
}


.card-hover {
  border: 4px solid transparent;
  transition: border 0.3s, box-shadow 0.3s;
}

.card-img-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(.4,2,.6,1), filter 0.3s;
  z-index: 1;
}

.card-hover-content {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 2.5rem;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.3s;
  pointer-events: none;
}

.card-hover:hover {
  border-color: #e12a26;
  box-shadow: 0 0 24px 0 rgba(225,31,39,0.18);
}

.card-hover:hover .card-img-bg {
 /* transform: scale(1.15) translateX(30%);*/ 
  box-shadow: 0 6px 32px rgba(0,0,0,1);
  filter: brightness(0.57);
}

.card-hover:hover .card-hover-content {
  opacity: 1;
  pointer-events: auto;
}

.card-hover > a.btn-productos-mt {
  z-index: 3;
  position: absolute;
  bottom: 2rem;
  left: 2rem;
}

@media (max-width: 991.98px) {
  .card-hover-content {
    width: 70%;
    padding-left: 1.2rem;
  }
  .card-hover > a.btn-productos-mt {
    bottom: 1rem;
    left: 1rem;
  }
}

@media (max-width: 767.98px) {
  .card-hover-content {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    align-items: flex-start;
  }
  .card-hover > a.btn-productos-mt {
    bottom: 1rem;
    left: 1rem;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
  }
}

.volver-arriba {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #e12a26;
  font-size: 12px;
}

.circle-outer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e12a26; 
  border-radius: 50%;
}

.circle-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  background-color: #e12a26; 
  border-radius: 50%;
}

.circle-inner i {
  color: #fff; /* Flecha blanca */
  font-size: 14px;
}

.volver-arriba {
  position: absolute;
  right: -19rem; /* Pegado al margen derecho del col-md-6 */
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #e12a26;
  font-size: 12px;
}

@media (max-width: 1200px) {
  .volver-arriba {
   right: -9rem; /* Pegado al margen derecho del col-md-6 */
  }
}

@media (max-width: 767.98px) {
  .volver-arriba {
    right: 0; /* Pegado al margen derecho del col-md-6 */
  }
}

  .marquee {
    overflow: hidden;
    width: 100%;
    background: #fff;
  }
/* Deja width y animación igual */
.marquee__inner {
  display: flex;
  width: 300%;          /* 6 × 50% = 300% */
  animation: scroll 15s linear infinite;
}
/* Antes: flex: 0 0 50%; */
.marquee__group {
  flex: 0 0 50%;        /* 2 grupos por pantalla */
}
  .marquee__group span {
    font-size: clamp(2rem, 7vw, 7rem);
    font-weight: bold;
    margin-right: 2rem;
  }
  .red   { color: #e12a26; }
  .black { color: #000;      }

@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

  /* LAPTOP */
  @media (max-width: 2500px) {
    .marquee__group span {
      font-size: clamp(2rem, 6vw, 7rem);
      margin-right: 2rem;
    }
  }

  /* TABLET */
  @media (max-width: 768px) {
    .marquee__group span {
      font-size: clamp(4rem, 8vw, 4rem);
      margin-right: 1rem;
    }
  }

  /* MÓVIL */
  @media (max-width: 480px) {
    .marquee__group span {
      font-size: 6vw;
      margin-right: 0.5rem;
    }
  }

.video-block {     
  overflow: hidden;       
}

.video-block video {
  object-fit: cover;       
}

.productos-swiper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 2.5rem;
}
.productos-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: stretch;
}
.producto-card {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-radius: 32px;
  min-height: 260px;
  height: 315px;
  max-width: 261px;
  width: 116%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  padding-bottom: 1.5rem;
  overflow: hidden;
  margin: 0 auto;
}

.producto-titulo {
  color: #fff;
  font-weight: bold;
  font-size: .80rem;
  text-align: center;
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  z-index: 2;
  width: 100%;
  padding: 0 0.5rem;
  border-radius: 0 0 32px 32px;
  min-height: 48px; 
  display: flex;
  align-items: center;
  justify-content: center;
}
.producto-img {
  max-width: 120px;
  max-height: 220px;
  margin-bottom: 1rem;
  object-fit: contain;
  width: 100%;
  height: auto;
  display: block;
}
.producto-card {
 /* background-size: contain !important;  */
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.producto-card {
  aspect-ratio: 1/1.2;
}
@media (max-width: 767px) {
  .producto-card {
    min-height: 357px;
    height: 357px;
    max-width: 90vw;
    border-radius: 18px;
    padding-bottom: 1rem;
  }
  .producto-titulo {
    font-size: 1rem;
    min-height: 36px;
    border-radius: 0 0 18px 18px;
  }
}

.brand-logo {
      transition: transform 0.3s ease;  
      width: 100%;
      max-width: 220px; 
      height: auto;
    }

    .brand-logo:hover {
      transform: scale(1.1);
    }

    .divider {
      border-top: 1px solid #ddd;
      margin: 20px 0;
    }

@media (max-width: 576px) {
  .brand-logo {
    max-width: 120px; 
  }
}

@media (min-width: 768px) {
  .brand-row {
    gap: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (min-width: 768px) {
  .brand-row {
    gap: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Categoría card personalizada */
/* Efecto hover 3D para la tarjeta de categoría */
.categoria-card-custom {
  background: linear-gradient(90deg, #f7f7f7 60%, #e0e0e0 100%);
  border-radius: 0 0 60px 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: none;
  padding: 1.5rem 2rem;
  min-height: 220px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible; /* Permite que la imagen sobresalga */
  transition: transform 0.3s cubic-bezier(.25,.8,.25,1), box-shadow 0.3s, background 0.3s;
}

.categoria-card-custom:hover {
  transform: scale(1.04);
  background: linear-gradient(90deg, #e12a26 60%, #b71c1c 100%);
  box-shadow: 0 8px 32px rgba(225,31,39,0.18);
  z-index: 2;
}

/* Imagen sobresaliente y efecto 3D */
.categoria-img-wrap {
  flex: 0 0 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  position: relative;
  z-index: 3;
}

.categoria-card-custom:hover .categoria-img-custom {
  transform: translateY(-20px) scale(1.18);
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.18));
}

.categoria-img-custom {
  max-width: 13rem;
  max-height: 20rem;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.10));
  transition: transform 0.3s cubic-bezier(.25,.8,.25,1), filter 0.3s;
}

/* Texto y botón en hover */
.categoria-card-custom:hover .categoria-title-custom {
  color: #fff;
}
.categoria-card-custom:hover .btn-categoria-custom{
  background-color: #fff;
  color:#e12a26;
}

.categoria-title-custom {
  font-size: 1.5rem;
  font-weight: 700;
  color: #444;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.btn-categoria-custom {
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 2rem;
  padding: 0.4rem 1rem;
  margin-top: 0.5rem;
  box-shadow: 0 2px 8px rgba(225,31,39,0.10);
  background: #e12a26;
  border: none;
  transition: color 0.3s, background 0.3s;
}

/* Responsive */
@media (max-width: 767.98px) {
  .categoria-card-custom {
    flex-direction: column;
    border-radius: 24px;
    padding: 1.2rem 1rem;
    min-height: 180px;
    text-align: center;
  }
  .categoria-img-wrap {
    height: 90px;
    margin-bottom: 1rem;
    justify-content: center;
  }
  .categoria-img-custom {
    max-width: 11rem;
    max-height: 11rem;
  }
  .categoria-info {
    padding-left: 0;
    align-items: center;
  }
  .categoria-title-custom {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
  }
  .btn-categoria-custom {
    font-size: 1rem;
    padding: 0.3rem 1.2rem;
  }
  .categoria-card-custom:hover .categoria-img-custom {
    transform: translateY(-10px) scale(1.08);
  }
}

.btn-categoria-filter.active {
  background: #e12a26;
  color: #fff;
  font-weight: bold;
}
.btn-categoria-filter {
  background: #f7f7f7;
  color: #444;
  margin: 0 0.5rem 0.5rem 0;
  border-radius: 2rem;
  padding: 0.5rem 1.5rem;
  border: none;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;

  
}

/* Categorías trapezoidales estilo imagen */
.categorias-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 3rem;
  justify-content: flex-start;
  margin-bottom: 2rem;
}

.categoria-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 54px;
  padding: 0 24px;
  font-weight: bold;
  font-size: 1.15rem;
  color: #2d2d2d;
  background: linear-gradient(90deg, #eaeaea 60%, #bdbdbd 100%);
  border: none;
  border-radius: 0 0 55px 0; /* Solo esquina inferior derecha redondeada */
  cursor: pointer;
  box-shadow: none;
  outline: none;
  position: relative;
  transition: background 0.2s, color 0.2s;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0% 100%);
  /* Trapezoide inclinado a la izquierda */
}

.categoria-btn.active,
.categoria-btn:hover,
.categoria-btn:focus {
  background: linear-gradient(90deg, #e12a26 70%, #b71c1c 100%);
  color: #fff;
}

/*.categoria-btn.active {
  box-shadow: 0 4px 24px rgba(225,31,39,0.18);
}*/
@media (max-width: 1000px) {
  .categorias-grid {
    gap: 1rem 2rem;
    justify-content: center;
  }
}
@media (max-width: 767.98px) {
  .categorias-grid {
    gap: 0.7rem 0.7rem;
    justify-content: center;
  }
  .categoria-btn {
    min-width: 120px;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 18px;
    clip-path: polygon(0 0, 95% 0, 100% 100%, 0% 100%);
  }
}



.surtido-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: #ededed;
  padding: 0;
  min-height: 170px;
  display: flex;
  align-items: stretch;
  border: none;
}

.surtido-counter {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  background: #ededed; /* Fondo gris igual que la sección */
  padding: 0 2rem;
  min-height: 170px;
}

.surtido-panel {
  background: #e12a26;
  border-radius: 0 0 40px 40px;
  min-width: 400px;
  max-width: 440px;
  height: 100%;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.surtido-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 1px;
}

.surtido-desc {
  font-size: 1.1rem;
  text-align: center;
  font-weight: 400;
  margin-top: 0.5rem;
}

.surtido-counter {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.2rem;
  background: #ededed;
  padding: 0 2rem;
  min-height: 170px;
}

.surtido-digit {
  background: #fff;
  border: 3px solid #c2c4c3;
  border-radius: 28px;
  width: 140px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  font-weight: 700;
  color: #333;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: background 0.2s, color 0.2s;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .surtido-section,
  .surtido-container {
    width: 100%;
    min-height: 120px;
    margin-left: 0;
    flex-direction: column;
  }
  .surtido-panel {
    min-width: 0;
    max-width: 100vw;
    padding: 1.2rem 0.7rem;
    border-radius: 0 0 24px 24px;
  }
  .surtido-counter {
    gap: 0.5rem;
    padding: 0 0.5rem;
    min-height: 80px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .surtido-digit {
    width: 70px;
    height: 70px;
    font-size: 2.2rem;
    border-radius: 16px;
  }
}

@media (max-width: 575px) {
  .surtido-panel {
    padding: 0.7rem 0.3rem;
    border-radius: 0 0 12px 12px;
  }
  .surtido-title {
    font-size: 1.3rem;
  }
  .surtido-desc {
    font-size: 0.9rem;
  }
  .surtido-counter {
    gap: 0.3rem;
    padding: 0 0.2rem;
    min-height: 60px;
  }
  .surtido-digit {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    border-radius: 8px;
  }
}

.inventario-section {
  background: #fff;
}
.inventario-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}
.inventario-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.inventario-marca {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-width: 180px;
}
.inventario-logo {
  width: 10rem;
  height: 3rem;
  object-fit: contain;
}
/*.inventario-nombre {
  font-size: 2.1rem;
  font-weight: 700;
  color: #e12a26;
  font-family: inherit;
  letter-spacing: 1px;
}*/
.inventario-bar-container {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.inventario-bar {
  height: 32px;
  min-width: 40px;
  border-radius: 16px;
  background: linear-gradient(90deg, #c2c4c3 0%, #e12a26 100%);
  transition: width 1.2s cubic-bezier(.7,.2,.3,1);
  width: 40px; /* posición mínima */
  position: relative;
}
.inventario-row:hover .inventario-bar,
.inventario-bar.active {
  width: calc(var(--percent, 100) * 1.8px); /* barra crece según porcentaje */  
  background: linear-gradient(90deg, #e12a26 0%, #eb7711b4 100%);
}
.inventario-bar-italika { --percent: 100; }
.inventario-bar-hero { --percent: 25; }
.inventario-bar-benelli { --percent: 100; }
.inventario-percent {
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
  margin-left: 0.5rem;
}


@media (max-width: 767px) {
  .inventario-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .inventario-marca { min-width: 0; }
  .inventario-bar-container { width: 100%; gap: 0.7rem; }
  .inventario-bar { height: 22px; min-width: 30px; }
  .inventario-percent { font-size: 1.1rem; }
}

.vendido-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 5.5rem;
}
.vendido-card-svg {
  position: relative;
  width: 250px;
  height: 252px;
  margin: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(.7,.2,.3,1), box-shadow 0.35s;
  cursor: pointer;
}
.vendido-card-svg:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 32px rgba(225,31,39,0.18);
  z-index: 2;
}
.vendido-card-bg-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.vendido-card-float-svg {
  position: absolute;
  top: -89px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  width: 90px;
}
.vendido-card-label-svg {
  fill: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 2px;
  font-family: inherit;
}
.vendido-card-icon-bg-svg {
  width: 70px;
  height: 70px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  transition: background 0.4s, box-shadow 0.4s;
}
.vendido-card-icon-img-svg {
  width: 38px;
  height: 38px;
  object-fit: contain;
  transition: filter 0.4s;
}
.vendido-card-svg:hover .vendido-card-icon-bg-svg {
  background: radial-gradient(circle at 60% 40%, #e12a26 0%, #fff 100%);
  box-shadow: 0 4px 24px rgba(225,31,39,0.18);
}
.vendido-card-svg:hover .vendido-card-icon-img-svg {
  filter: brightness(0) invert(1) drop-shadow(0 0 8px #e12a26);
}
.vendido-card-chart-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -10%);
  width: 170px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.vendido-donut {
  width: 170px;
  height: 170px;
  transform: rotate(-90deg);
}
.vendido-donut-bg {
  fill: none;
  stroke: #d6d6d6;
  stroke-width: 20;
}
.vendido-donut-fill {
  fill: none;
  stroke: url(#vendido-gradient);
  stroke-width: 20;
  stroke-linecap: round;
  stroke-dasharray: 427.2566;
  stroke-dashoffset: 427.2566;
  transition: stroke-dashoffset 1.2s cubic-bezier(.7,.2,.3,1);
}
.vendido-card-svg:hover .vendido-donut-fill {
  stroke-dashoffset: 0;
}
.vendido-card-center-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 3;
}
.vendido-card-percent-svg {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}
.vendido-card-text-svg {
  font-size: 1.1rem;
  color: #eee;
  margin-top: 0.1rem;
}
@media (max-width: 767px) {
  .vendido-cards { gap: 1.2rem; }
  .vendido-card-svg { min-width: 140px; max-width: 180px; width: 180px; height: 180px; }
  .vendido-card-chart-svg { width: 90px; height: 90px; }
  .vendido-donut { width: 90px; height: 90px; }
  .vendido-card-float-svg { width: 50px; top: -18px; }
  .vendido-card-icon-bg-svg { width: 36px; height: 36px; }
  .vendido-card-icon-img-svg { width: 22px; height: 22px; }
}
/* timeline */


#horizontal-scroll{
  padding: 160px 0;
  background-image: url("../../assets/img/backtime.jpg");
}

.horizontal-scroll-wrapper{
  overflow: hidden;
  height: 55vh;
}

.horizontal{
  display: flex;
  align-items: center; 
  height: 100%;
  padding-left: 40vw;
}

.horizontal > div {
  padding: 0 2vw;
}

.horizontal .card{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 17vw;
  /*padding: 50px 40px;*/
  border: 2px solid;
  border-color: #ffffff;
  transform: skew(-12deg);
  border-radius: 0;
}

.horizontal-card-diagonal-down {
  position: absolute;
  top: 5.7vw;
  right: -0.1vw;
  width: 0;
  height: 11.7rem;
  border-right: 2px solid #ffffff;
  z-index: 3;
}

.horizontal-card-diagonal-up {
  position: absolute;
  top: -9.9vw;
  right: -0.1vw;
  width: 0;
  height: 11.7rem;
  border-right: 2px solid #ffffff;
  z-index: 3;
}

.card h2{
  font-size: 3vw;
  font-weight: 300;
}

.card .count{
  color: #ffffff;
  font-size: 4vw;
  font-weight: bold;
  line-height: 1.4;
}

.timeline-card-icon {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 2;
  transform: skew(12deg);
}

.timeline-card-content {
  display: flex;
  flex-direction: column;
  text-align: justify;
  width: 17vw;
  padding: 25px 0px;
  transform: skew(-12deg);
  border-radius: 0;
}

.timeline-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.timeline-card-desc {
  padding-top: 1rem;
  font-size: 1rem;
  color: #fff;
  line-height: 1.3;
  width: 20rem;
}

.timeline-card-content.top {
  /* Aquí va el estilo común */
  padding-left: 1.5vw;
}

/* ============================= */ 


/* Responsive */
@media (max-width: 1600px) {
 .count { font-size: 1rem; }
  .timeline-card-title { font-size: 0.92rem; }
  .timeline-card-desc { font-size: 0.8rem; }
}

@media (max-width: 1100px) {
  .horizontal {
    flex-direction: column;
    gap: 1.2rem;
    min-width: 0;
  }
  .horizontal > div {
    min-width: 98vw;
    max-width: 98vw;
    margin-right: 0;
  }
  .card {
    min-width: 51vw;
    max-width: 60vw;
    height: 48px;
    font-size: 1rem;
    margin-top: 0.8rem;
  }
  .count { font-size: 1rem; }
  .timeline-card-title { font-size: 0.95rem; }
  .timeline-card-desc { font-size: 0.9rem; }
  
  
  .horizontal-card-diagonal-up{
    display: none;
  }
  .horizontal-card-diagonal-down{
    display: none;
  }
}

@media (max-width: 900px) {
  .horizontal {
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: flex-start;
  }
  .horizontal > div {
    min-width: 90vw;
    max-width: 98vw;
    margin-right: 0;
  }
  .card {
    min-width: 90vw;
    max-width: 98vw;
    height: 60px;
    font-size: 1.1rem;
    margin-top: 1.2rem;
  }
  .timeline-card-title { font-size: 1rem; }
  .timeline-card-desc { font-size: 0.95rem; }
  .count { font-size: 1.3rem; }
  .timeline-card-content.top,
  .timeline-card-content.bottom {
    margin-bottom: 0.3rem;
    margin-top: 0.3rem;
    padding-left: 2.03rem;
  }
  .horizontal-card-diagonal-up{
    position: absolute;
    top: -9.9vw;
    right: -0.1vw;
    width: 0;
    height: 11.7rem;
    border-right: 2px solid #ffffff;
    z-index: 3;
  }
  .horizontal-card-diagonal-down{
    position: absolute;
    top: 5.7vw;
    right: -0.1vw;
    width: 0;
    height: 11.7rem;
    border-right: 2px solid #ffffff;
    z-index: 3;
  }
   
  .horizontal-card-diagonal-up{
    display: none;
  }
  .horizontal-card-diagonal-down{
    display: none;
  }
}


@media (max-width: 600px) {
  .horizontal {
    flex-direction: column;
    gap: 1.2rem;
    min-width: 0;
  }
  .horizontal > div {
    min-width: 98vw;
    max-width: 98vw;
    margin-right: 0;
  }
  .card {
    min-width: 67vw;
    max-width: 98vw;
    height: 48px;
    font-size: 1rem;
    margin-top: 0.8rem;
  }
  .count { font-size: 1rem; }
  .timeline-card-title { font-size: 0.95rem; }
  .timeline-card-desc { font-size: 0.9rem; }
  
  .horizontal-card-diagonal-up{
    display: none;
  }
  .horizontal-card-diagonal-down{
    display: none;
  }
}

@media (max-width: 600px) {
  .horizontal-scroll-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    width: 100vw;
    height: auto;
  }
  .horizontal {
    flex-direction: row;
    min-width: 100vw;
    gap: 0;
    width: max-content;
  }
  .horizontal > div.card {
    min-width: 98vw;
    max-width: 98vw;
    scroll-snap-align: center;
    margin-right: 0;
    margin-left: 0;
    height: auto;
    font-size: 1rem;
    margin-top: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 1000px) {
  .navbar-transparent {
    background: #fff !important;
    color: #222 !important;
  }
  .navbar-transparent .navbar-brand img {
    filter: none !important;
  }
  .navbar-transparent .nav-link,
  .navbar-transparent .navbar-toggler {
    color: #222 !important;
  }
}

#servicios {
  background-image: url('../img/dist.png');
      background-size: cover;
      background-position: center;
      height: 100vh;
      display: flex;
}

.swiper-pagination-bullet-active {
    background: white !important;
}

.vendido-card-float-svg,
.vendido-card-float-svg svg,
.vendido-card-label-svg {
  overflow: visible !important;
}

.vendido-card-label-svg {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  font-family: inherit;
}


.servicio-section {
  background: #fafbfc;
  padding: 0;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.servicio-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}

.servicio-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 420px;
  max-width: 520px;
}

.servicio-subtitle {
  font-size: 1.2rem;
  color: #888;
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.servicio-title {
  font-size: 2.6rem;
  color: #b3b3b3;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.servicio-title span {
  color: #222;
  font-weight: 700;
  font-size: 2.1rem;
  letter-spacing: 0.5px;
  display: block;
  margin-top: 0.3rem;
}

.servicio-divider {
  width: 2px;
  height: 160px;
  background: #e1e1e1;
  margin: 0 2.5rem;
}

.servicio-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 340px;
  max-width: 520px;
}

.servicio-right-title {
  font-size: 1.2rem;
  color: #222;
  font-weight: 700;
  margin-bottom: 0.7rem;
  letter-spacing: 1px;
}

.servicio-right-text {
  font-size: 1.25rem;
  color: #444;
  font-weight: 400;
  line-height: 1.3;
  max-width: 420px;
}

@media (max-width: 991px) {
  .servicio-container {
    flex-direction: column;
    gap: 2rem;
    padding: 1.5rem 0.5rem;
  }
  .servicio-divider {
    width: 80vw;
    height: 2px;
    margin: 2rem 0;
  }
  .servicio-left, .servicio-right {
    min-width: 0;
    max-width: 100vw;
    align-items: center;
    text-align: center;
  }
  .servicio-title, .servicio-title span, .servicio-right-title, .servicio-right-text {
    text-align: center;
  }
}

@media (max-width: 575px) {
  .servicio-title {
    font-size: 1.3rem;
  }
  .servicio-title span {
    font-size: 1rem;
  }
  .servicio-right-title {
    font-size: 1rem;
  }
  .servicio-right-text {
    font-size: 0.95rem;
  }
}
/*@media (max-width: 991px) {
  section {
    padding-top: 70px;
  }
}*/


.valores-section {
  background: #efefef;
  width: 100vw;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.valores-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  max-width: 1800px;
  min-height: 380px;
  padding: 0rem 1rem;
  gap: 2.5rem;
}

.valores-img-col {
  position: relative;
  min-width: 420px;
  max-width: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.valores-img {
  width: 33rem;
  max-width: 520px;
  height: auto;
  display: block;
}
.valores-titulo-img {
  position: absolute;
  top: 9rem;
  left: 20rem;
  transform: translate(-50%, -50%);
  text-align: center;
}
.valores-titulo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #444;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.valores-logo-cres img {
  height: 48px;
}

.valores-letras-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 320px;
  max-width: 900px;
  padding-left: 11vw;
}

.valores-letras-row {
  display: flex;
  gap: 5.5vw;
  margin-bottom: 1.5rem;
}

.valor-letra {
  font-size: 10rem;
  font-weight: 800;
  color: #d3d3d3;
  cursor: pointer;
  transition: 
    color 0.25s cubic-bezier(.7,.2,.3,1),
    transform 0.25s cubic-bezier(.7,.2,.3,1),
    text-shadow 0.25s;
  position: relative;
  user-select: none;
  line-height: 1;
}

.valor-letra:hover,
.valor-letra.active {
  color: #222;
  transform: scale(1.18) translateY(-18px);
  text-shadow: 0 6px 24px rgba(0,0,0,0.10);
  z-index: 2;
}
.valor-letra .letra-bold { display: none; }
.valor-letra:hover .letra-normal { display: none; }
.valor-letra:hover .letra-bold { display: inline; }

.valor-palabra {
  min-height: 2.5rem;
  font-size: 2.2rem;
  font-weight: 600;
  color: #222;
  margin-top: 0.5rem;
  margin-left: 0.2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}

.valor-palabra.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .valores-container {
    flex-direction: column;
    gap: 1.5rem;
    min-height: 0;
    padding: 1.5rem 0.5rem;
  }
  .valores-img-col {
    min-width: 0;
    max-width: 90vw;
  }
  .valores-img {
    max-width: 90vw;
  }
  .valores-letras-col {
    min-width: 0;
    max-width: 100vw;
    padding-left: 0;
    align-items: center;
  }
  .valores-letras-row {
    gap: 3vw;
  }
  .valor-letra {
    font-size: 3.5rem;
  }
  .valor-palabra {
    font-size: 1.2rem;
  }
}

.valor-letra {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.valor-palabra {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  min-width: max-content;
  margin: 0;
  background: transparent;
  color: #222;
  font-size: 2.2rem;
  font-weight: 600;
  z-index: 3;
}

.valor-letra:hover .valor-palabra,
.valor-letra.active .valor-palabra {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}


.distribucion-logo {
  background: #fff;
  border-radius: 2.5rem;
  width: 19rem; /* Tamaño fijo para todos los logos */
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 70px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  margin: 0.5rem 0;
  transition: box-shadow 0.2s;
  padding: 0; /* Elimina padding para que el logo ocupe todo el espacio */
}
.distribucion-logo-italika {
  background: #1a2747;
}
.distribucion-logo-hero {
  background: #e53e3e;
}
.distribucion-logo-benelli {
  background: #2ca55c;
}
.distribucion-logo-morbidelli {
  background: #111;
}
.distribucion-logo img {
  max-height: 16rem;
  width: 13rem;
  filter: none;
}
@media (max-width: 767px) {
  .distribucion-logo {
    width: 14rem;
    height: 57px;
    padding: 0.3rem 1rem;
  }
  .container h2 {
    font-size: 1.5rem !important;
  }
  .distribucion-logo img {
    max-height: 26px;
  }
}

.dist-card {
  background: #555;
  border-radius: 2.5rem;
  width: 15rem;
  height: 16rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 2.5rem;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  touch-action: manipulation;
}

.dist-card-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Centra icono y desc verticalmente */
  position: relative;
  transition: padding 0.35s cubic-bezier(.7,.2,.3,1);
}

.dist-card-icon {
  width: 161px;
  height: 90px;
  object-fit: contain;
  transition: 
    filter 0.3s,
    transform 0.35s cubic-bezier(.7,.2,.3,1),
    margin 0.35s cubic-bezier(.7,.2,.3,1);
  z-index: 2;
  filter: invert(1);
}

.dist-card-desc {
  width: 100%;
  color: #fff;
  font-size: 1.1rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.35s cubic-bezier(.7,.2,.3,1);
  font-weight: 400;
  z-index: 3;
  margin-top: 0;
  transform: translateY(0);
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;
}

/* HOVER/ACTIVE: Card cambia a degradado, icono sube, descripción aparece */
.dist-card:hover,
.dist-card:focus,
.dist-card.active {
  background: linear-gradient(135deg, #e12a26 0%, #e1d9d2 100%);
  box-shadow: 0 8px 32px rgba(225,42,38,0.10);
}

.dist-card:hover .dist-card-inner,
.dist-card:focus .dist-card-inner,
.dist-card.active .dist-card-inner {
  justify-content: flex-start;
  padding-top: 32px;
}

.dist-card:hover .dist-card-icon,
.dist-card:focus .dist-card-icon,
.dist-card.active .dist-card-icon {
  filter: brightness(0) invert(1) drop-shadow(0 0 8px #e12a26);
  transform: translateY(-38px) scale(1.08); /* Sube el icono */
}

.dist-card:hover .dist-card-desc,
.dist-card:focus .dist-card-desc,
.dist-card.active .dist-card-desc {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  color: #fff;
}

@media (max-width: 1199px) {
  .dist-card {
    width: 170px;
    height: 200px;
  }
  .dist-card-icon {
    width: 60px;
    height: 60px;
  }
  .dist-card-desc {
    font-size: 0.95rem;
    min-height: 40px;
    bottom: 18px;
  }
  .dist-card:hover .dist-card-inner,
  .dist-card:focus .dist-card-inner,
  .dist-card.active .dist-card-inner {
    padding-top: 18px;
  }
}

@media (max-width: 767px) {
  .dist-card {
    width: 120px;
    height: 120px;
    border-radius: 1.2rem;
    margin-bottom: 2.2rem;
  }
  .dist-card-icon {
    width: 38px;
    height: 38px;
  }
  .dist-card-desc {
    font-size: 0.8rem;
    min-height: 24px;
    bottom: 10px;
  }
  .dist-card:hover .dist-card-inner,
  .dist-card:focus .dist-card-inner,
  .dist-card.active .dist-card-inner {
    padding-top: 10px;
  }
}



/* --- Hover doble imagen para vendido (fix Swiper) --- */
.vendido-card-img-hover-fix {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
}
.vendido-card-img-hover-fix img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s;
}
.vendido-card-img-hover-fix .vendido-img-base {
  z-index: 1;
  opacity: 1;
}
.vendido-card-img-hover-fix .vendido-img-hover {
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}
.vendido-card-img-hover-fix:hover .vendido-img-base {
  opacity: 0;
}
.vendido-card-img-hover-fix:hover .vendido-img-hover {
  opacity: 1;
}

/* --- Fix: tamaño fijo para hover de vendido --- */
.vendido-card-img-hover-fix {
  position: relative;
  display: block;
  width: 17.625rem;
  height: 24rem;
  aspect-ratio: 1/1;
  min-height: 17.813rem;
  max-width: 100%;
  margin: 0 auto;
}
.vendido-card-img-hover-fix img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s;
  pointer-events: none;
}
.vendido-card-img-hover-fix .vendido-img-base {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}
.vendido-card-img-hover-fix .vendido-img-hover {
  z-index: 2;
  opacity: 0;
}
.vendido-card-img-hover-fix:hover .vendido-img-base {
  opacity: 0;
}
.vendido-card-img-hover-fix:hover .vendido-img-hover {
  opacity: 1;
}

.whatsapp-float {
  position: fixed;
  bottom: 3rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  z-index: 9999;
  transition: box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.whatsapp-float:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  color: #e12a26 !important;
}
@media (max-width: 600px) {
  .whatsapp-float {
    bottom: 4.5rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }
}