:root {
  --color-principal: #800000;     /* Rojo oscuro */
  --color-secundario: #990000;    /* Rojo intermedio */
  --color-destacado: #cc0000;     /* Rojo más claro */
  --color-accion: #ff3300;        /* Botones, hover */
  --color-accion-hover: #cc2900;  /* Hover oscuro */
  --color-fondo-suave: #fff5f5;   /* Fondo claro */
  --color-texto: #800000;         /* Texto principal */
  --color-blanco: #ffffff;
  --color-oscuro: #2c3e50;
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Typography normalization (site-wide consistency) */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.2;
}

/* Default paragraph size; specific sections can override if needed */
p {
  font-size: 1rem;
  line-height: 1.7;
}

/* Default heading sizes; hero or special sections may override */
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }

html, body {
  height: 100%;
  width: 100%;
}

/* El contenido principal (lo que está entre nav y footer) debe crecer */
/* main, section {
  flex: 1;
} */

/* Contenedor de fondo plomo para la barra de contacto */
.contenedor-barra-contacto {
  background-color: rgba(38, 54, 70, 0.9);
  width: 100%;
  padding: 43px 0;
  position: fixed;
  z-index: 999;
  top: 0;
}

/* Contenedor de fondo blanco para el nav */
.contenedor-nav {
  background-color: white;
  width: 95%; /* Hacemos el contenedor más ancho */
  margin: 0 auto; /* Centra el contenedor */
  border-radius: 0; /* Sin bordes redondeados, rectángulo normal */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Sombra sutil */
  padding: 3px 0; /* Reducimos aún más el padding vertical */
  position: fixed;
  z-index: 1000; 
  top: 25px;
  margin-top: 50px; /* Lo movemos hacia arriba para que se superponga */

  left: 0;
  right: 0;
}

/* Estilos para la sección de productos */
.product-section {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  padding-bottom: 60px;
  max-width: 100%;
  margin: 0 auto;
  flex-wrap: wrap; /* 👈 permite que se acomoden en varias filas */
}

.product-card {
  background: white;
  border-radius: 10px;
  height: 400px;
  width: 370px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  flex: 1 1 calc(33.333% - 1.5rem); /* 👈 por defecto 3 en fila */
  max-width: 370px; /* evita que se estiren demasiado */
}

/* Tablet: 2 en fila */
@media (max-width: 1076px){
  .product-card {
    flex: 1 1 calc(50% - 1.5rem);
  }
}

/* Celular: 1 en fila */
@media (max-width: 777px) ,
(max-width: 576px){
  .product-card {
    flex: 1 1 100%;
  }
}

@media (max-width: 426px) {
  .product-card {
    min-width: 320px;   /* nunca será más angosta de esto */
    max-width: 95%;
    margin: 0 auto;
  }
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.product-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem;
  background-color: var(--color-principal);
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 0 0 10px 10px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
  gap: 0.5rem; /* Reduced gap */
}

.product-btn span {
  margin-right: 0.25rem; /* Reduced margin */
}

.product-btn i {
  padding-top: 3px;
  font-size: 1.15rem; /* Slightly reduced icon size */
}

.product-btn:hover {
  background-color: var(--color-secundario);
}

/* Barra de contacto arriba */
.barra-contacto {
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.7);
  width: 100%;
  background-color: transparent; /* Ahora es transparente porque el contenedor padre tiene el fondo */
  backdrop-filter: none; /* Removemos el blur ya que no es necesario */
  -webkit-backdrop-filter: none;
  margin-top: 1.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.contacto-izquierda {
  display: flex;
  gap: 30px;
  margin-left: 80px;
  margin-top: -20px;
}

.contacto-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contacto-item i {
  font-size: 1.1rem;
}

.contacto-item span {
  margin: 0;
  text-align: left;
  color: white;
  text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.7);
}

.contacto-derecha {
  display: flex;
  align-items: center;
  gap: 30px; /* Aumentamos el espaciado entre elementos */
  margin-right: 80px; /* Aumentamos el espaciado desde la derecha */
  margin-top: -20px; /* Movemos un poco más arriba */
}

.redes-sociales {
  display: flex;
  gap: 15px;
  opacity: 0;
  transform: translateY(-10px);
  animation: fadeIn 0.4s ease-out forwards 0.4s;
}

.red-social {
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.red-social:hover {
  color: #B51922; /* Color especificado por el usuario */
}

.btn-cotizar {
  background-color: #B51922; /* Color especificado por el usuario */
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1.1rem; /* Hacemos un poco más grande */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Mismo font que la barra de contacto */
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease;
  opacity: 0;
  transform: translateY(-10px);
  animation: fadeIn 0.4s ease-out forwards 0.4s;
}

.btn-cotizar:hover {
  background-color: #8B1419; /* Color similar pero más oscuro para el hover */
}

.btn-cotizar i {
  font-size: 1rem;
}

/* Navegación */
nav {
  display: flex;
  align-items: center;
  padding: 2px 40px; /* Reducimos aún más el padding vertical */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin-top: 0; /* Removemos el margin-top negativo */
  justify-content: space-between;
  flex-wrap: wrap;
  background-color: transparent; /* El nav es transparente, el contenedor padre tiene el fondo blanco */
}

/* CAMBIO DE TAMAÑO DE IMAGEN */
nav a img {
  height: 60px; /* Reducimos significativamente la altura */
  width: 220px; /* Aumentamos un poco más el ancho */
  margin-right: 20px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin-left: 0; /* para que no se superponga con la imagen */
  padding: 0;
  background-color: transparent; /* Ahora es transparente */
  border-radius: 8px;
  padding: 5px 25px; /* Reducimos aún más el padding vertical */
}

/* Estilos para los enlaces de navegación */
.nav-item {
  position: relative;
}

.nav-link {
  display: inline-block;
  padding: 2px 12px;
  color: var(--color-texto);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
  position: relative;
}

.nav-link:hover {
  color: var(--color-accion-hover);
}

/* Iconos de navegación */
.nav-icon {
  font-size: 14px;
  color: var(--color-accion-hover);
  opacity: 0;
  position: absolute;
  top: -10px; /* Posición más baja del icono */
  left: 50%;
  transform: translateX(-50%) translateY(100%); /* Inicia dentro del texto */
  transition: all 0.3s ease;
}

.nav-link:hover .nav-icon {
  opacity: 1;
  transform: translateX(-50%) translateY(-25%); /* Sale un poco hacia arriba */
}

.nav-link span {
  display: block;
  margin-top: 0;
  position: relative;
  z-index: 1; /* Para que el texto esté por encima del icono */
}

nav ul li a {
  color: #2F353A; /* Color especificado por el usuario */
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem; /* Hacemos un poco más pequeño */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Mismo font que la barra de contacto */
  padding: 4px 12px; /* Reducimos el padding vertical de los enlaces */
  border-radius: 4px;
  transition: color 0.3s ease; /* Transición suave para el color */
  text-shadow: none; /* Removemos la sombra ya que no es necesaria en fondo blanco */
  position: relative; /* Para el pseudo-elemento */
}

nav ul li::before, nav ul li a::before {
  content: '';
  position: absolute;
  top: -26px; /* Línea más pegada al tope del contenedor nav */
  left: 0;
  width: 0;
  height: 3px;
  background-color: #B51922;
  transition: width 0.3s ease; /* Transición suave para la línea */
}

nav ul li:hover::before, nav ul li a:hover::before,
nav ul li.active::before, nav ul li a.active::before {
  width: 100%; /* La línea se extiende del ancho de la palabra */
}

nav ul li a:hover,
nav ul li a.active {
  color: #B51922; /* Color principal especificado */
}
nav ul li:nth-child(1) { animation: slideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.1s; }
nav ul li:nth-child(2) { animation: slideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.2s; }
nav ul li:nth-child(3) { animation: slideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.3s; }
nav ul li:nth-child(4) { animation: slideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.4s; }
nav ul li:nth-child(5) { animation: slideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.5s; }
nav ul li:nth-child(6) { animation: slideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.6s; }
nav ul li:nth-child(7) { animation: slideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.7s; }

main {
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  background-color: var(--color-fondo-suave);
  margin-bottom: -80px;
}

h1 {
  margin-bottom: 30px;
  margin-top: 30px;
  color: var(--color-principal);
  text-align: center;
}

/*CARRUSEL*/

.carousel-section {
  width: 100%;
  max-width: 100%;
  padding: 10px 20px;
  margin: 0 auto;
  background: url("../../media/img/Inicio/carru3.webp");
  background-attachment: fixed; /* 👈 hace que quede estática */
  position: relative; 
}

.carousel-container {
  position: relative;
  margin: 30px auto 0 auto;
  width: 80%;
  height: 560px;
  padding: 20px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  background: rgba(0, 0, 0, 0.3);
}

.carousel-container h2 {
  text-align: center;
  color: white;
  font-size: 2.2em;
  padding: 0;
  margin: 0;
  font-weight: 700;
}

.carousel-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  padding: 0 50px;
}

.carousel-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-width: 100%;
  height: 100%;
  padding: 40px 0;
}

.image-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  position: relative;
  background: white;
}

.image-card.side {
  display: block;
  width: 320px;
  height: 320px;
  opacity: 0.7;
  transform: scale(0.9);
  filter: brightness(0.8);
}

.image-card.center {
  width: 350px;
  height: 350px;
  opacity: 1;
  transform: scale(1);
  filter: brightness(1);
  z-index: 5;
}

.image-card a {
  position: relative;
  z-index: 2; /* Más alto que el ::before */
}

.image-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(44, 83, 100, 0.3), rgba(15, 32, 39, 0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

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

.image-card:hover {
  transform: scale(1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.image-card.center:hover {
  transform: scale(1.15);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.image-card:hover img {
  transform: scale(1.05);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgb(255, 255, 255);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.dot.active {
  background: #d62727;
  transform: scale(1.4);
}

.dot:hover {
  background: rgb(255, 167, 167);
  transform: scale(1.5);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 20px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  font-weight: bold;
}

.carousel-nav:hover {
  background: rgba(246, 100, 100, 0.3);
  border-color: rgba(246, 100, 100, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.nav-prev {
  left: 15px;
  width: 70px;
  height: 70px;
}

.nav-next {
  right: 15px;
  width: 70px;
  height: 70px;
}

.carousel-title {
  text-align: center;
  color: black;
  font-size: 2.2em;
  margin-bottom: 15px;
  font-weight: 700;
}

.image-counter {
  position: absolute;
  top: 45px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 5;
}

@media (max-width: 1400px) {
  .image-card.side {
      width: 250px;
      height: 250px;
  }

  .image-card.center {
      transform: scale(1);
      width: 350px;
      height: 350px;
      margin: 0 auto;
  }

  .carousel-container {
    margin: 0 auto;
      width: 90%;
      height: 500px;
  }

  .carousel-title {
      font-size: 1.8em;
  }

  .carousel-slide {
      justify-content: center;
      gap: 0;
      padding: 20px 0;
  }
}

@media (max-width: 1200px) {
  .image-card.side {
      width: 240px;
      height: 240px;
  }

  .image-card.center {
      transform: scale(1);
      width: 300px;
      height: 300px;
      margin: 0 auto;
  }

  .carousel-container {
      width: 90%;
      height: 450px;
  }

  .carousel-title {
      font-size: 1.8em;
  }

  .carousel-slide {
      justify-content: center;
      gap: 0;
      padding: 20px 0;
  }
}

@media (max-width: 1100px) {
  .image-card.side {
      width: 200px;
      height: 200px;
  }

  .image-card.center {
      transform: scale(1);
      width: 300px;
      height: 300px;
      margin: 0 auto;
  }

  .carousel-container {
      width: 100%;
      height: 450px;
  }

  .carousel-title {
      font-size: 1.8em;
  }

  .carousel-slide {
      justify-content: center;
      gap: 0;
      padding: 20px 0;
  }
}

@media (max-width: 900px) {

  .carousel-track {
      border-radius: 0;
      margin: 0 auto;
      width: 100%;
      height: 100%;
  }
  
  .image-card.side {
      display: none;
      width: 80px;
      height: 80px;
  }

  .image-card.center {
      width: 320px;
      height: 320px;
  }

  .carousel-container {
    border-radius: 0;
    width: 100%;
    height: 450px;
}

  .carousel-slide {
      gap: 10px;
  }

  .nav-next {
    width: 55px;
    height: 55px;
    top: 55%;
  }

  .nav-prev {
    width: 55px;
    height: 55px;
    top: 55%;
  }
}

@media (max-width: 480px) {

  .carousel-track {
      border-radius: 0;
      margin: 0 auto;
      width: 100%;
      height: 100%;
  }
  
  .image-card.side {
      display: none;
      width: 80px;
      height: 80px;
  }

  .image-card.center {
      margin-top: -60px;
      width: 250px;
      height: 220px;
  }

  .carousel-section {
    padding: 0;
  }

  .carousel-container {
    border-radius: 0;
    width: 100%;
    height: 400px;
    padding: 0;
  }

  .carousel-slide {
      gap: 10px;
  }

  .nav-next {
    width: 55px;
    height: 55px;
    top: 60%;
  }

  .nav-prev {
    width: 55px;
    height: 55px;
    top: 60%;
  }
}



.acoples-section {
  max-width: 100%;
  padding: 220px 20px;
  background: linear-gradient(135deg, #f1f1f1, #ffffff);
  position: relative;
  overflow: hidden;
  box-shadow: 
  0 25px 50px rgba(65, 54, 22, 0.5),   /* abajo */
  0 5px 50px rgba(0, 0, 0, 0.4);   /* arriba */
}

.acoples-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
  position: relative;
  z-index: 2;
}


/* --- Imágenes --- */
.acoples-images {
  position: relative;
  flex: 1;
  min-width: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-wrapper {
  position: absolute;
  width: 100%;
  max-width: 350px; /* límite máximo */
  height: 260px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s ease;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  background: #fff;
}

/* Imagen superior */
.img-top {
  top: 0;
  left: 0;
  transform: rotate(-5deg);
}

/* Imagen inferior */
.img-bottom {
  bottom: 0;
  left: 120px;
  transform: rotate(5deg);
}

/* Hover efecto */
.img-wrapper:hover {
  transform: scale(1.05);
}

/* --- Formas decorativas detrás --- */
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  z-index: -1;
}

.shape-1 {
  width: 180px;
  height: 180px;
  background: var(--color-accion);
  top: -40px;
  left: -50px;
}

.shape-2 {
  width: 140px;
  height: 140px;
  background: var(--color-accion-hover);
  bottom: -30px;
  right: 20px;
}

/* --- Texto a la derecha --- */
.acoples-text {
  flex: 1;
  max-width: 500px;
}

.acoples-text h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: #222;
  position: relative;
}

.acoples-text p {
  line-height: 1.7;
  margin-bottom: 15px;
  color: #444;
  font-size: 1rem;
  text-align: justify;
}

/* --- Responsivo --- */
@media (max-width: 900px) {
  .carousel-section {
    padding: 10px 20px;
  }
  .acoples-section {
    padding: 65px 20px;
  }
  .acoples-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .acoples-images {
    width: 100%;
    height: auto;
    position: relative;
  }

  .img-wrapper {
    position: relative;
    transform: rotate(0);
    margin: 0 auto;
    width: 220px;
    height: 220px;
  }

  .img-bottom {
    margin-top: 30px;
    left: 0;
  }

  .shape {
    display: none;
  }
}



/* --- Sección general --- */
.puntas-section {
  padding: 80px 20px;
  background: linear-gradient(rgb(255, 255, 255), rgba(255, 255, 255, 0.5)),
    url(../../media/img/fondos3.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  text-align: center;
}

/* --- Título --- */
.puntas-title {
  max-width: 800px;
  margin: 0 auto 50px;
}

.puntas-title h2 {
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 15px;
}

.puntas-title p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* --- Contenedor de tarjetas --- */
.puntas-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto 50px;
}

/* --- Tarjeta individual --- */
.punta-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.punta-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.punta-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-bottom: 3px solid #D3D3D3;
}

.punta-info {
  padding: 20px;
}

.punta-info h3 {
  font-size: 1.5rem;
  color: #222;
  margin-bottom: 10px;
}

.punta-info p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* --- Sección de beneficios --- */
.puntas-extra {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.puntas-extra h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #222;
}

.puntas-extra ul {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 600px;
  margin: 0 auto 20px;
}

.puntas-extra ul li {
  background: #f9f9f9;
  padding: 12px 15px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1rem;
  color: #444;
  border-left: 4px solid #D3D3D3;
}

/* --- Botón de llamada a la acción --- */
.cta {
  margin-top: 20px;
}

.cta-btn {
  display: inline-block;
  padding: 12px 25px;
  background: #B71922;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cta-btn:hover {
  background: #D4394A;
  transform: scale(1.05);
}


/* --- Responsivo --- */
@media (max-width: 900px) {
  .puntas-container {
    grid-template-columns: 1fr;
  }

  .punta-image img {
    height: 220px;
  }
}

@media (max-width: 600px) {
  .puntas-title h2 {
    font-size: 2rem;
  }

  .punta-info h3 {
    font-size: 1.3rem;
  }

  .punta-info p {
    font-size: 0.95rem;
  }
}


.repuestos-section {
  background: url("../../media/img/Inicio/carru2.webp") center/cover no-repeat fixed; 
  /* puedes abreviar así en una sola línea */
  position: relative;
  z-index: 1;
  padding: 80px 20px;
}

.repuestos-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* capa oscura */
  z-index: 0;
}

.repuestos-section > * {
  position: relative;
  z-index: 1; /* para que el contenido esté encima */
}

.repuestos-container {
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

/* --- Texto --- */
.repuestos-text {
  flex: 1;
  min-width: 280px;
}

.repuestos-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #fff;
}

.repuestos-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
  margin-bottom: 25px;
  font-weight: 600;
  text-align: justify;
}

/* --- Galería --- */
.repuestos-gallery {
  flex: 1;
  min-width: 280px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.gallery-item {
  background: #f9f9f9;
  padding: 10px;
  border: 2px solid #eee;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 2px solid #eee;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);  /* efecto zoom suave al pasar el mouse */
}

.gallery-item span {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}

.gallery-item:hover span {
  color: #0077cc; /* un azul de acento */
}

/* --- Responsivo --- */
@media (max-width: 900px) {
  .repuestos-container {
    flex-direction: column;
    text-align: center;
    height: auto;
  }

  .repuestos-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 550px;
    height: auto;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .repuestos-container {
    flex-direction: column;
    text-align: center;
    height: auto;
  }

  .repuestos-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 400px;
    height: auto;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .repuestos-container {
    flex-direction: column;
    text-align: center;
    height: auto;
  }

  .repuestos-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 350px;
    height: auto;
    margin: 0 auto;
  }
}

.mantenimiento-section {
  position: relative;  /* necesario para que el z-index funcione */
  padding: 90px 20px;
  z-index: 2;
  background: linear-gradient(rgb(255, 255, 255), rgba(255, 255, 255, 0.5)),
    url(../../media/img/fondos2.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  box-shadow: 
    0 -25px 30px rgba(0, 0, 0, 0.2); /* sombra arriba */
}

.mantenimiento-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

/* --- Imagen con overlay --- */
.mantenimiento-image {
  border-radius: 0;
  flex: 1;
  min-width: 320px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border-radius: 35px;
}

.mantenimiento-image img {
  width: 600px;
  height: 500px;
  border-radius: 35px;
  object-fit: cover;
  display: block;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
  opacity: 0.3;
}

/* --- Texto y contenido --- */
.mantenimiento-content {
  flex: 1;
  min-width: 320px;
}

.mantenimiento-content h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: #222;
}

.mantenimiento-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 30px;
  text-align: justify;
}

/* --- Lista de beneficios --- */
.benefits-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #333;
}

.benefits-list i {
  color: var(--color-accion-hover);
  font-size: 1.2rem;
}


/* --- Responsivo --- */
@media (max-width: 768px) {
  .mantenimiento-container {
    flex-direction: column-reverse;
    text-align: center;
    gap: 30px; /* reduce el espacio entre imagen y contenido */
  }

  .mantenimiento-image {
    width: 100%;
    height: auto; /* que la imagen se ajuste al ancho */
    min-width: 0;
  }

  .mantenimiento-image img {
    height: auto; /* mantiene proporción */
    max-width: 100%;
  }

  .mantenimiento-content {
    width: 100%;
    padding: 0 10px; /* evita que toque los bordes */
  }

  .benefits-list {
    text-align: left;
    margin: 0 auto 20px;
    max-width: 100%; /* ocupa todo el ancho disponible */
  }

  .benefits-list li {
    font-size: 0.9rem; /* ajusta tamaño de texto */
  }

  .mantenimiento-content h2 {
    font-size: 1.8rem; /* títulos más pequeños en móviles */
  }

  .mantenimiento-content p {
    font-size: 0.95rem; /* texto más legible en pantallas pequeñas */
    line-height: 1.5;
  }

  .mantenimiento-content button {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}


/* --- Banner General --- */
/* --- Banner General --- */
.cta-banner {
  background: linear-gradient(135deg, #2C2C2C, #B71922);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0px auto;
  margin-bottom: 40px;
  max-width: 100%;
  box-shadow: 
    0 -15px 30px rgba(0, 0, 0, 0.3),
    0 15px 40px rgba(0, 0, 0, 0.4);
}

/* --- Contenido --- */
.cta-content h2 {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  color: #f2f2f2;
}


/* --- Efecto decorativo (círculos luminosos) --- */
.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  filter: blur(30px);
  z-index: 0;
}

.cta-banner::before {
  width: 180px;
  height: 180px;
  top: -40px;
  left: -40px;
}

.cta-banner::after {
  width: 250px;
  height: 250px;
  bottom: -60px;
  right: -60px;
}

/* --- Asegurar que el texto quede arriba --- */
.cta-content {
  position: relative;
  z-index: 1;
}

/* --- Responsivo --- */
@media (max-width: 768px) {
  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-content p {
    font-size: 1rem;
    padding: 0 10px;
  }

  .cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

/* Grid para productos */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Martillos Section */
.martillos-section {
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem;
}

.martillos-section h1{
  font-size: 2.3rem;
  color: var(--color-accion-hover);
}

.martillos-section h3{
    margin-bottom: 20px;
    color: var(--color-secundario);
    text-align: center;
}
.martillo-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.martillo-card:hover {
  transform: translateY(-5px);
}

.martillo-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.btn-martillos {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #B51922;
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 5px;
  margin: 1.5rem;
  transition: background-color 0.3s ease;
  justify-content: center;
}

.btn-martillos:hover {
  background: #8B1419;
}

.btn-martillos span {
  font-size: 1.2rem;
  font-weight: 600;
}

.btn-martillos i {
  font-size: 1.2rem;
}

.producto {
  background-color: var(--color-fondo-suave);
  border-radius: 8px;
  padding: 12px; /* Reducimos el padding para ser consistente */
  box-shadow: 0 1px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.producto:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.producto img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  border-radius: 5px;
  margin-bottom: 12px;
}

.producto h2 {
  color: var(--color-principal);
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.producto p {
  font-size: 0.95rem;
  color: var(--color-texto);
  flex-grow: 1;
}

/* Modal para imagen ampliada */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.modal-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 20px #000;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  user-select: none;
  transition: background 0.3s;
}

.close-btn:hover {
  background: var(--color-accion-hover);
}

/* Contenedor principal del footer */
.footer-col {
  flex: 1;
  min-width: 200px;
  margin-bottom: 2rem;
  padding: 0 15px;
  overflow: hidden;
  transition: var(--transicion);
  position: relative;
}

.footer-brand .redes-sociales-container h5{
  color: #fff;
  font-size: 1rem;
  margin: 0 0 1rem 0;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

/* Contenedor de sedes */
.sedes-container {
  flex: 2; /* Ocupa más espacio que las otras columnas */
  min-width: 300px;
}

.sedes-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 1rem;
  margin: 0 auto;
}

.map-container {
  width: 100%;
}

iframe {
  width: 100%;
}

.video-reference {
  margin-top: 1rem;
  transition: all 0.3s ease;
  background-color: #B51922;
  padding: 10px 15px;
  border-radius: 5px;
}

.video-reference:hover {
  transform: translateY(-3px);
}

.video-reference a {
  font-weight: 500;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 5s ease;
}

.video-reference a:hover {
  transform: translateY(-3px);
}
/* Estilos para cada sede */
.sede {
  flex: 1;
  min-width: 250px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.sede:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.sede h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.sede-info p {
  color: #e0e0e0;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.telefono a {
  color: #fff;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.telefono a:hover {
  color: #B51922;
}

/* Columna de horario */
.horario-col {
  min-width: 220px;
  display: flex;
  flex-direction: column;
}

/* Contenedor de horario personalizado */
.horario-container {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  flex-direction: column;
}

.horario-container:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.horario-icon {
  background: rgba(181, 25, 34, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.horario-icon i {
  font-size: 1.5rem;
  color: #B51922;
}

.horario-info h5 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 1rem 0;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.horario-sede {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.sede-nombre {
  color: #e0e0e0;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}

.sede-horario {
  font-weight: 500;
  background: rgba(181, 25, 34, 0.2);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  white-space: nowrap;
}

@media (max-width: 992px) {
  .horario-col {
    order: 3;
    max-width: 100%;
    margin-top: 1rem;
  }
  
  .horario-container {
    flex-direction: row;
    text-align: left;
    padding: 1.2rem;
    height: auto;
  }
  
  .horario-icon {
    margin-right: 1rem;
    margin-bottom: 0;
  }
}

@media (max-width: 992px) {
  .horario-col {
    order: 3;
    max-width: 100%;
    margin-top: 1rem;
  }
  
  .horario-container {
    padding: 1rem;
  }
  
  .horario-sede {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .horario-col {
    margin-top: 0.5rem;
  }
  
  .horario-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
  }
  
  .horario-info {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
  }
  
  .horario-sede {
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
  }
  
  .sede-horario {
    margin: 0 auto;
  }
  
  .horario-container {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .horario-icon {
    margin: 0 auto 1rem;
  }
  
  .horario-info h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .horario-info p {
    font-size: 0.85rem;
  }
}

/* Estilos responsivos */
@media (max-width: 1200px) {
  .sedes-wrapper {
    flex-direction: column;
  }
  
  .sede {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .footer{
    padding: 70px 20px 30px !important;
  }
  
  .footer-col {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
  }

  .footer-container{
    gap: 40px !important;
  }
  
  .sedes-container {
    order: 1; /* Mover las sedes arriba en móviles */
  }
  
  .sede {
    padding: 0.8rem;
  }
  
  .sede h5 {
    font-size: 0.95rem;
  }
  
  .sede-info p {
    font-size: 0.8rem;
  }
}

@media (min-width: 1201px) {
  .sede {
    flex: 1;
    min-width: 250px;
  }

}
/* Footer */
.footer {
  background: linear-gradient(180deg, var(--color-oscuro), #253546); /* Rojo vino degradado más elegante */
  color: #f5f5f5;
  padding: 70px 50px 30px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin-top: 80px;
  font-size: 0.95rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 60px;
  max-width: 1600px;
  margin: auto;
}

.footer-logo {
  background-color: #fff;     /* Fondo blanco */
  padding: 0 10px;          /* Espacio alrededor */
  border-radius: 8px;         /* Opcional: esquinas redondeadas */
  display: inline-block;
}

.footer-logo-box {
  width: 180px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}

.footer-logo-box img {
  max-height: 150%;  /* o auto */
  max-width: 150%;
  object-fit: contain;
}

.footer h4 {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  display: inline-block;
  padding-bottom: 6px;
}

.footer p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
  color: #e4e4e4;
}

.footer a {
  font-size: 15px;
  color: #f1f1f1;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 10px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer a:hover {
  color: white; /* Dorado elegante */
  font-weight: 700;
  transform: translateX(5px);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin: 12px 0;
}

.social-links {
  margin-top: 15px;
}

.social-links a {
  display: inline-flex;        /* para centrar el ícono */
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  font-size: 20px;             /* tamaño del ícono */
  background: rgb(255, 255, 255); /* fondo circular suave */
  color: #BC1922;
  width: 40px;
  height: 40px;
  border-radius: 50%;          /* círculo */
  transition: background 0.3s ease, transform 0.2s ease;
}

.social-links a:hover {
  background: #fff;       /* círculo blanco en hover */
  color: #BC1922;         /* el vino para contraste */
  transform: scale(1.15);
}

.footer-bottom {
  text-align: center;
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 25px;
  font-size: 14px;
  color: #bbb;
  letter-spacing: 0.5px;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float .whatsapp-text {
  position: absolute;
  right: 70px;
  background-color: #128C7E;
  padding: 8px 15px;
  border-radius: 30px;
  font-size: 14px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
  pointer-events: none;
  color: white;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  letter-spacing: 0.3px;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  scale: 1.1;
}

.whatsapp-float:hover .whatsapp-text {
  opacity: 1;
  transform: translateX(0);
  right: 75px;
}

/* Spacer */
.spacer {
  height: 50px;
}

.wave-divider {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 120px;
  line-height: 0;
  overflow: hidden;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

.wave-divider path {
  fill: url(#waveGradient);
  /* aquí NO ponemos drop-shadow en CSS, 
     la sombra la da el <filter> del SVG */
}



/* Hero Image Section - Animación de desvanecimiento desde la izquierda */
.hero-image {
  width: 100%;
  height: 750px;
  overflow: hidden;
  position: relative;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInFromLeft 1s ease-out forwards;
  animation-delay: 0.3s;
  margin-top: -55px;
}

@keyframes slideInFromLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%; /* Adjusted to show more of the middle part */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for better text visibility */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 20px;
}

.hero-overlay h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: scale(0.9);
  animation: scaleIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  animation-delay: 0.5s;
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-overlay p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(20px) rotate(-2deg);
  animation: slideUpRotate 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  animation-delay: 0.8s;
}

@keyframes slideUpRotate {
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}
/* --- Hero de Productos --- */
.intro-hero {
  position: relative;
  width: 100%;
  height: 95vh; /* alto atractivo sin ser demasiado */
  background: url("../../media/img/Productos/Productos-Intro.webp") center/cover no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Overlay para legibilidad */
.intro-hero .intro-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Contenido centrado */
.intro-hero .intro-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  max-width: 900px;
}

.intro-hero .intro-content h1 {
  color: whitesmoke;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.3;
}

.intro-hero .intro-content h1 span {
  font-weight: 700;
  color: var(--color-blanco); /* tono corporativo/acento */
}

.intro-hero .intro-content p {
  font-size: 1.2rem;
  font-weight: 500;
  color: white;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .intro-hero {
    height: 95vh;
  }

  .intro-hero .intro-content h1 {
    font-size: 2rem;
  }

  .intro-hero .intro-content p {
    font-size: 1rem;
  }
}


.hero-section {
  position: relative;
  background-size: cover, cover, 50px 50px;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin: 0 auto;
  max-width: 100%;
  height: 780px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 0%, rgba(188, 25, 34, 0.1) 50%, transparent 100%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 70%;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
  z-index: 2;
}

.content {
  flex: 1;
  color: white;
  animation: slideInLeft 1s ease-out;
}

.badge {
  display: inline-block;
  background: linear-gradient(135deg, #BC1922, #8B0000);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(188, 25, 34, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hero-section h1 {
  text-align: left;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: black;
}

.plus-icon {
  color: #FFD700; /* amarillo base */
  font-weight: 900;
  text-shadow:
    1px 1px 0 #000,    /* sombra principal negra */
    2px 2px 3px rgba(0, 0, 0, 0.8), /* profundidad */
   -1px -1px 0 #333,   /* borde superior más oscuro */
    0 0 5px #ffea00;   /* brillo amarillo suave */
  filter: brightness(1.1);
  letter-spacing: 1px;
}


.kit-text {
  color: #0D68B7; /* azul solicitado */
  font-weight: 800;
}


.hero-section p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: black;
  max-width: 500px;
}

.highlight {
  color: #BC1922;
  -webkit-text-fill-color: #BC1922;
}

.description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #e2e8f0;
  max-width: 500px;
  text-align: justify;
}

.features {
  display: flex;
  gap: 30px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #BC1922;
  font-weight: 600;
  font-size: 1rem;
}

.feature::before {
  content: '⚡';
  font-size: 1.2rem;
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.btn {
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #BC1922, #8B0000);
  color: white;
  box-shadow: 0 8px 25px rgba(188, 25, 34, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(188, 25, 34, 0.6);
}

.btn-secondary {
  background: linear-gradient(135deg, #ffffffbb, #e2e8f0);
  color: black;
  border: 2px solid #BC1922;
  box-shadow: 0 4px 15px rgba(188, 25, 34, 0.2);
}

.btn-secondary:hover {
  background: #BC1922;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(188, 25, 34, 0.4);
}

.image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: slideInRight 1s ease-out;
}

.hammer-image {
  width: 600px;
  height: 600px;
  background: url('../../media/img/martillos-hidraulicos/LC400/LC400-T.webp') center/contain no-repeat;
  position: relative;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
  --base-rot: 0deg;           /* 👈 rotación base */
  transform-origin: center;   /* recomendable al rotar */
}


@keyframes float {
  0%, 100% { transform: rotate(calc(var(--base-rot) - 2deg)) translateY(0); }
  50%      { transform: rotate(calc(var(--base-rot) + 2deg)) translateY(-10px); }
}

.image-container::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(188, 25, 34, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { transform: scale(0.8); opacity: 0.5; }
  to { transform: scale(1.2); opacity: 0.8; }
}

@keyframes slideInLeft {
  from {
      opacity: 0;
      transform: translateX(-100px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
      opacity: 0;
      transform: translateX(100px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

@media (max-width: 1550px){
  .hammer-image {
    width: 480px;
    height: 480px;
}

.container {
    width: 85%;
}
}

@media (max-width: 1215px){
  .hammer-image {
    margin-left: -50px;
    --base-rot: 90deg;
    width: 500px;
    height: 500px;
}
.container{
  width: 95%;
  padding: 0 60px;
}
}

@media (max-width: 940px){
  .hammer-image {
    width: 500px;
    height: 500px;
}

.container {
    width: 100%;
}
}

@media (max-width: 946px){
  .hero-section {
    height: auto;
    padding: 40px 0;
}

.container {
    flex-direction: column;
    text-align: center;
    padding: 0 30px;
    gap: 40px;
    width: 100%;
}
.hero-section h1 {
  text-align: center;
  font-size: 3rem;
}

.hero-section p {
  text-align: center;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px) rotate(-2deg);
  animation: slideUpRotate 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  animation-delay: 0.4s;
}

  .hammer-image {
    --base-rot: 0deg;
    width: 450px;
    height: 450px;
    margin: 0 auto;
}
.buttons {
  flex-direction: column;
  align-items: center;
}

.features {
  justify-content: center;
}
}

@media (max-width: 768px) {
  .hero-section {
      height: auto;
      padding: 40px 0;
  }

  .container {
      flex-direction: column;
      text-align: center;
      padding: 0 30px;
      gap: 40px;
      width: 100%;
  }

  .hero-section h1 {
      text-align: center;
      font-size: 2.5rem;
  }

  .hero-section p {
      text-align: center;
      font-size: 1.2rem;
      max-width: 800px;
      margin: 0 auto;
      opacity: 0;
      transform: translateY(20px) rotate(-2deg);
      animation: slideUpRotate 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
      animation-delay: 0.4s;
  }

  .hammer-image {
    --base-rot: 0deg;
      width: 400px;
      height: 400px;
      margin: 0 auto;
  }

  .buttons {
      flex-direction: column;
      align-items: center;
  }

  .features {
      justify-content: center;
  }

}

