* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f4f4;
  color: #222;
}

.contenedor {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.hero .contenedor {
  margin-left: 8%;
  margin-right: auto;
}

.header {
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px 0 0px;
}

.logo {
    position: relative;
    z-index: 2;
    height: 72px;
    width: auto;
    object-fit: contain;
    display: block;
    margin-left: -180px;
}

.menu {
  display: flex;
  gap: 30px;
}

.menu a {
  text-decoration: none;
  color: #2b2b2b;
  font-weight: 700;
  font-size: 15px;
  transition: 0.3s;
}

.menu a:hover {
  color: #f37000;
}

.menu-btn {
  display: none;
  background: #f37000;
  color: white;
  border: none;
  padding: 10px 14px;
  font-size: 24px;
  border-radius: 6px;
}

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 90px;
}

.hero-contenido {
  width: 100%;
}

.hero-texto {
  max-width: 720px;
  color: #ffffff;
  animation: aparecer 1s ease forwards;
}

.hero-etiqueta {
  display: inline-block;
  color: #f37000;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 18px;
  border-left: 4px solid #f37000;
  padding-left: 12px;
}

.hero h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 48px;
  line-height: 1.12;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 800;
  max-width: 680px;
}

.hero p {
  font-family: "Roboto", sans-serif;
  font-size: 19px;
  line-height: 1.6;
  color: #eeeeee;
  max-width: 620px;
}

.hero-botones {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  transition: 0.3s ease;
}


.btn-principal {
  background: #f37000;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(243,112,0,0.35);
}

.btn-principal:hover {
  background: #ff8a1c;
  transform: translateY(-3px);
}

.btn-secundario {
  border: 2px solid #ffffff;
  color: #ffffff;
}

.btn-secundario:hover {
  background: #ffffff;
  color: #222222;
  transform: translateY(-3px);
}

.hero-datos {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 760px;
}

.hero-datos div {
  border-left: 4px solid #f37000;
  padding-left: 14px;
}

.hero-datos strong {
  display: block;
  color: #ffffff;
  font-size: 16px;
  text-transform: uppercase;
}

.hero-datos span {
  display: block;
  color: #cccccc;
  font-size: 14px;
  margin-top: 5px;
}

.categorias {
  padding: 85px 0;
  background: #f7f7f7;
}

.seccion-etiqueta {
  display: inline-block;
  color: #f37000;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-left: 4px solid #f37000;
  padding-left: 12px;
  margin-bottom: 12px;
}


.categorias h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 36px;
  color: #222222;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.subtitulo {
  color: #555555;
  font-size: 18px;
  margin-bottom: 38px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
  transition: 0.35s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.16);
}
.card-img {
  height: 175px;
  position: relative;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-icono {
  position: absolute;
  left: 24px;
  bottom: -28px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #ffffff;
  color: #f37000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
  border-bottom: 4px solid #f37000;
}

.card-body {
  padding: 42px 24px 26px;
}

.card h3 {
  font-family: "Montserrat", sans-serif;
  color: #f37000;
  font-size: 20px;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.card p {
  color: #444444;
  line-height: 1.6;
  font-size: 16px;
}

@media (max-width: 1000px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .categorias h2 {
    font-size: 28px;
  }
}


.nosotros {
  padding: 80px 0;
  background: #252525;
  color: white;
}

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}

.nosotros p {
  margin-top: 18px;
  line-height: 1.7;
  color: #e5e5e5;
  font-size: 17px;
}

.bloque-info {
  background: #ffffff;
  color: #252525;
  padding: 35px;
  border-radius: 16px;
  border-left: 8px solid #f37000;
}

.bloque-info h3 {
  color: #f37000;
  margin-top: 15px;
  text-transform: uppercase;
}

.footer {
  background: #1d1d1d;
  color: white;
  padding: 35px 0;
  border-top: 6px solid #f37000;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.footer h4 {
  color: #f37000;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.footer p {
  color: #dddddd;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .menu {
    position: absolute;
    top: 85px;
    right: 0;
    background: #252525;
    width: 100%;
    flex-direction: column;
    display: none;
    padding: 25px;
  }

  .menu.activo {
    display: flex;
  }

  .menu a {
    color: white;
  }

  .menu-btn {
    display: block;
  }

 .hero {
  min-height: 100vh;
  background: linear-gradient(90deg, rgba(20,20,20,0.95), rgba(20,20,20,0.72)), url("../img/portada-industrial.jpeg");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 50px;
  align-items: center;
}

.hero-texto {
  color: #ffffff;
}

.hero-etiqueta {
  display: inline-block;
  color: #f37000;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.08;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero p {
  font-size: 19px;
  line-height: 1.7;
  color: #eeeeee;
  max-width: 720px;
}

.hero-botones {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  transition: 0.3s;
}

.btn-principal {
  background: #f37000;
  color: #ffffff;
}

.btn-principal:hover {
  background: #ff8a1c;
}

.btn-secundario {
  border: 2px solid #ffffff;
  color: #ffffff;
}

.btn-secundario:hover {
  background: #ffffff;
  color: #222222;
  transform: translateY(-3px);
}

.hero-datos {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 760px;
}

.hero-datos div {
  border-left: 4px solid #f37000;
  padding-left: 14px;
}

.hero-datos strong {
  display: block;
  color: #ffffff;
  font-size: 16px;
  text-transform: uppercase;
}

.hero-datos span {
  display: block;
  color: #cccccc;
  font-size: 14px;
  margin-top: 5px;
}

@keyframes aparecer {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

  .grid,
  .nosotros-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}


.menu {
  position: relative;
  z-index: 2;
}


.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slider img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slider img.active {
  opacity: 1;
}

.hero-contenido {
  position: relative;
  z-index: 3;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.80), rgba(0,0,0,0.45), rgba(0,0,0,0.20));
  z-index: 2;
}


.hero-texto {
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-texto.ocultar {
  opacity: 0;
  transform: translateY(20px);
}
.whatsapp-float{
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 70px;
    height: 70px;
    background: #25D366;
    border-radius: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 8px 25px rgba(0,0,0,.25);
    transition: all .3s ease;
}

.whatsapp-float:hover{
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(0,0,0,.35);
}

.whatsapp-float img{
    width: 80px;
    height: 80px;
    object-fit: contain;
}