:root{
  --rojo:#a71919;
  --gris:#4A4A4A;
  --negro:#111;
  --fondo:white;
}

*{ margin:0; padding:0; box-sizing:border-box; }

body{
  font-family:Arial, sans-serif;
  background:var(--fondo);
  color:#111;
}

/* LOGO / HEADER */

.logo{
  display:flex;
  align-items:center;
}

.logo img{
  height:84px;
  width:auto;
  display:block;
}

.topbar{
  background:white;
  height:72px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 60px;
  border-bottom:1px solid #e5e5e5;
}

.menu{
  display:flex;
  align-items:center;
  gap:35px;
}

.menu a{
  text-decoration:none;
  color:#111;
  font-weight:600;
  font-size:14px;
}

.btn-header{
  background:#b31212;
  color:white !important;
  padding:14px 22px;
  border-radius:6px;
}

/* HOME HERO */

.hero-home{
  position:relative;
  height:430px;
  overflow:hidden;
  background-image:
  linear-gradient(
    90deg,
    rgba(255,255,255,.98) 0%,
    rgba(255,255,255,.96) 28%,
    rgba(255,255,255,.55) 48%,
    rgba(255,255,255,0) 72%
  ),
  url('/assets/hero.jpg');
  background-size:cover;
  background-position:center center;
  display:flex;
  align-items:center;
}

.hero-home::before{
  content:"";
  position:absolute;
  left:140px;
  top:0;
  width:120px;
  height:100%;
  background:var(--gris);
  transform:skewX(-18deg);
  z-index:1;
}

.hero-home::after{
  content:"";
  position:absolute;
  left:-10px;
  top:0;
  width:120px;
  height:100%;
  background:#b31212;
  transform:skewX(-18deg);
  z-index:1;
}

.hero-overlay{
  width:100%;
}

.hero-texto{
  max-width:1400px;
  width:100%;
  margin:auto;
  padding-left:300px;
  position:relative;
  z-index:2;
}

.hero-texto h1{
  font-size:62px;
  line-height:.95;
  margin-bottom:30px;
  font-weight:900;
  color:#111;
}

.hero-texto span{
  color:#b31212;
}

.hero-texto p{
  font-size:16px;
  max-width:700px;
  line-height:1.4;
  color:#333;
  margin-bottom:40px;
}

.hero-btn{
  display:inline-block;
  background:#b31212;
  color:white;
  text-decoration:none;
  padding:18px 34px;
  border-radius:6px;
  font-weight:bold;
  font-size:18px;
}

/* HOME */

.titulo-home{
  text-align:center;
  margin-bottom:50px;
}

.titulo-home h2{
  font-size:34px;
  font-weight:900;
  color:#111;
}

.equipos-home{
  padding:45px 30px;
  max-width:1450px;
  margin:auto;
}

.grid-home{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:28px;
}

.card-home{
  background:white;
  border:1px solid #ececec;
  padding:20px;
  text-align:center;
  transition:.25s;
}

.card-home:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.card-home img{
  width:100%;
  height:260px;
  object-fit:contain;
  display:block;
  margin-bottom:20px;
}

.card-home h3{
  font-size:28px;
  margin-bottom:12px;
}

.card-home p{
  color:#666;
  margin-bottom:25px;
}

.card-home a{
  display:inline-block;
  background:#b31212;
  color:white;
  text-decoration:none;
  padding:13px 22px;
  border-radius:5px;
  font-weight:bold;
}

.beneficios{
  max-width:1450px;
  margin:auto;
  padding:40px 30px 100px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:40px;
}

.beneficio{
  text-align:center;
}

.beneficio h3{
  font-size:26px;
  margin-bottom:18px;
  color:#111;
}

.beneficio p{
  color:#555;
  line-height:1.5;
}

.footer-home{
  background:#111;
  color:white;
  padding:35px 60px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* PRODUCTO */

.section{
  max-width:1280px;
  margin:auto;
  padding:45px 25px;
}

#producto{
  background:white;
  max-width:1180px;
  margin:auto;
  padding:20px 10px 40px;
}

.producto-header{
  border-bottom:3px solid var(--rojo);
  padding-bottom:20px;
  margin-bottom:35px;
}

.producto-header h1{
  font-size:46px;
  margin-bottom:16px;
}

.producto-header p{
  font-size:18px;
  color:#333;
}

.producto-layout{
  display:grid;
  grid-template-columns:1.3fr .8fr .9fr;
  gap:45px;
  align-items:start;
  min-height:auto;
}

.producto-imagen img{
  width:100%;
  max-height:560px;
  object-fit:contain;
}

.producto-info h2,
.producto-formulario h2{
  color:var(--rojo);
  font-size:30px;
  margin-bottom:22px;
}

.producto-info ul{
  list-style:none;
}

.producto-info li{
  font-size:17px;
  padding:13px 0;
  border-bottom:1px solid #ddd;
}

.producto-formulario form{
  background:#f8f8f8;
  padding:28px;
  border-radius:12px;
  border-top:5px solid var(--rojo);
  box-shadow:0 2px 10px rgba(0,0,0,.04);
}

input,
textarea{
  width:100%;
  padding:13px;
  margin-bottom:14px;
  border:1px solid #ccc;
  border-radius:7px;
  font-size:15px;
}

textarea{ min-height:135px; }

button{
  background:var(--rojo);
  color:white;
  border:none;
  padding:14px 30px;
  border-radius:7px;
  font-weight:bold;
  cursor:pointer;
}

button:hover{ background:#7d1111; }

/* CATEGORIA GENERAL */

.categoria-hero{
  background:white;
  height:260px;
  display:flex;
  align-items:center;
  border-bottom:1px solid #e5e5e5;
  position:relative;
  overflow:hidden;
}

.categoria-hero::before{
  content:"";
  position:absolute;
  left:-10px;
  top:0;
  width:120px;
  height:100%;
  background:#b31212;
  transform:skewX(-18deg);
}

.categoria-hero::after{
  content:"";
  position:absolute;
  left:140px;
  top:0;
  width:120px;
  height:100%;
  background:var(--gris);
  transform:skewX(-18deg);
}

.categoria-texto{
  max-width:1180px;
  margin:auto;
  padding-left:300px;
  position:relative;
  z-index:2;
}

.categoria-texto h1{
  font-size:52px;
  font-weight:900;
  color:#111;
  margin-bottom:12px;
}

.categoria-texto p{
  font-size:18px;
  color:#333;
}

.categoria-section{
  max-width:1180px;
  margin:auto;
  padding:55px 30px;
}

.categoria-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:34px;
}

.card-categoria{
  background:white;
  border:1px solid #e5e5e5;
  min-height:320px;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  overflow:hidden;
  transition:.25s;
}

.card-categoria:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 30px rgba(0,0,0,.08);
}

.card-categoria img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:30px;
}

.card-overlay{
  position:static;
  background:white;
  display:block;
}

.card-info{
  color:#111;
  padding:35px;
}

.card-info h3{
  color:#111;
  font-size:32px;
  line-height:1.15;
  margin-bottom:18px;
  font-weight:900;
}

.card-info p{
  color:#444;
  font-size:17px;
  line-height:1.5;
  margin-bottom:25px;
}

.card-info a{
  display:inline-block;
  background:#b31212;
  color:white;
  text-decoration:none;
  padding:14px 26px;
  border-radius:6px;
  font-weight:bold;
}

/* RESPONSIVE */

@media(max-width:1200px){
  .grid-home{
    grid-template-columns:1fr 1fr;
  }

  .beneficios{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:1100px){
  .producto-layout{
    grid-template-columns:1fr;
  }

  .producto-header h1{
    font-size:36px;
  }
}

@media(max-width:900px){
  .topbar{
    height:auto;
    padding:18px 20px;
    flex-direction:column;
    gap:15px;
  }

  .menu{
    flex-wrap:wrap;
    justify-content:center;
    gap:18px;
  }

  .hero-home{
    height:auto;
    min-height:520px;
    background-position:center center;
  }

  .hero-texto{
    padding:70px 30px;
  }

  .hero-texto h1{
    font-size:48px;
  }

  .hero-texto p{
    font-size:18px;
  }

  .hero-home::before,
  .hero-home::after{
    opacity:.35;
  }

  .categoria-grid{
    grid-template-columns:1fr;
  }

  .categoria-texto{
    padding-left:170px;
    padding-right:25px;
  }

  .categoria-texto h1{
    font-size:40px;
  }

  .card-categoria{
    grid-template-columns:1fr;
  }

  .card-categoria img{
    height:260px;
  }
}

@media(max-width:700px){
  .grid-home{
    grid-template-columns:1fr;
  }

  .beneficios{
    grid-template-columns:1fr;
  }

  .footer-home{
    flex-direction:column;
    gap:15px;
  }
}

@media(max-width:600px){
  .menu a{
    font-size:13px;
  }

  .btn-header{
    padding:11px 16px;
  }

  .hero-texto{
    padding:60px 24px;
  }

  .hero-texto h1{
    font-size:38px;
  }

  .hero-texto p{
    font-size:16px;
  }

  .hero-home::before,
  .hero-home::after{
    display:none;
  }

  .categoria-hero{
    height:auto;
    padding:70px 0;
  }

  .categoria-texto{
    padding-left:120px;
  }

  .categoria-texto h1{
    font-size:34px;
  }

  .categoria-texto p{
    font-size:16px;
  }

  .footer-home{
    flex-direction:column;
    text-align:center;
    gap:12px;
  }
}