/* =========================
SERVICIOS
========================= */
.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin-top:24px;
}

.service{
  position:relative;
  border:1px solid rgba(0,0,0,.06);
  border-radius:24px;
  padding:26px;
  background:linear-gradient(180deg, #ffffff 0%, #fffdfd 100%);
  box-shadow:0 14px 40px rgba(0,0,0,.06);
  transition:all .28s ease;
}

.service:hover{
  transform:translateY(-6px);
  box-shadow:0 22px 55px rgba(0,0,0,.10);
  border-color:rgba(217,11,63,.18);
}

.service::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:4px;
  background:linear-gradient(90deg, var(--rojo) 0%, #ef335f 100%);
}

.service h3{
  font-size:22px;
  margin-bottom:10px;
  color:var(--negro);
}

.service p{
  color:var(--gris);
  font-size:15px;
  line-height:1.6;
}

/* =========================
PRODUCTOS
========================= */
.products{
  background:
    radial-gradient(circle at top right, rgba(217,11,63,.06), transparent 24%),
    var(--gris-claro);
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.product{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 14px 40px rgba(0,0,0,.06);
  transition:all .28s ease;
}

.product:hover{
  transform:translateY(-8px);
  box-shadow:0 24px 60px rgba(0,0,0,.12);
  border-color:rgba(217,11,63,.18);
}

.product img{
  width:100%;
  height:220px;
  object-fit:cover;
  background:#f3f3f3;
  transition:transform .5s ease;
}

.product:hover img{
  transform:scale(1.04);
}

.product-body{
  padding:22px;
}

.product-body h3{
  margin-bottom:8px;
  font-size:22px;
  color:var(--negro);
}

.product-body p{
  color:var(--gris);
  font-size:15px;
  line-height:1.6;
}

/* =========================
CLIENTES
========================= */
.clients-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.client-box{
  border:1px solid rgba(0,0,0,.06);
  border-radius:20px;
  padding:24px 18px;
  background:#fff;
  text-align:center;
  font-weight:700;
  box-shadow:0 12px 34px rgba(0,0,0,.05);
  transition:all .25s ease;
}

.client-box:hover{
  transform:translateY(-5px);
  box-shadow:0 20px 45px rgba(0,0,0,.10);
  border-color:rgba(217,11,63,.18);
  color:var(--rojo);
}

/* =========================
EQUIPO
========================= */
.team-wrap{
  max-width:900px;
  margin:0 auto;
  border:1px solid rgba(0,0,0,.06);
  border-radius:26px;
  overflow:hidden;
  box-shadow:0 18px 48px rgba(0,0,0,.08);
  background:#fff;
  transition:all .3s ease;
}

.team-wrap:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 60px rgba(0,0,0,.12);
  border-color:rgba(217,11,63,.16);
}

.team-wrap img{
  width:100%;
  display:block;
  object-fit:cover;
}

/* =========================
CATALOGO MODAL SIMPLE
========================= */
.modal-catalogo{
  display:none;
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  background:rgba(17,17,17,.58);
  backdrop-filter:blur(7px);
  z-index:9999;
  justify-content:center;
  align-items:center;
  padding:20px;
}

.catalogo-contenido-simple{
  background:#fff;
  width:min(1100px, 92vw);
  max-height:90vh;
  overflow-y:auto;
  border-radius:24px;
  padding:24px;
  position:relative;
  box-shadow:0 24px 70px rgba(0,0,0,.28);
}

.cerrar{
  position:absolute;
  top:14px;
  right:18px;
  width:44px;
  height:44px;
  border:none;
  border-radius:50%;
  background:#f4f4f4;
  color:#222;
  font-size:28px;
  cursor:pointer;
  z-index:40;
}

.cerrar:hover{
  background:var(--rojo);
  color:#fff;
}

.catalogo-header-simple{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  padding-right:56px;
  margin-bottom:24px;
  flex-wrap:wrap;
}

.catalogo-kicker{
  color:var(--rojo);
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
}

.catalogo-header-simple h3{
  margin:0;
  font-size:28px;
}

.catalogo-acciones{
  display:flex;
  align-items:center;
  gap:12px;
}

.btn-ir-pedido{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#2bb673;
  color:#fff !important;
  padding:8px 14px;
  border-radius:10px;
  font-weight:700;
  text-decoration:none;
  font-size:13px;
  line-height:1;
  box-shadow:0 6px 14px rgba(43,182,115,0.25);
  transition:.2s ease;
}

.btn-ir-pedido:hover{
  background:#239e62;
  transform:translateY(-1px);
}

.catalogo-simple{
  display:flex;
  flex-direction:column;
  gap:28px;
}

.catalogo-bloque{
  width:100%;
}

.catalogo-img{
  display:block;
  width:100%;
  height:auto;
  border-radius:20px;
  box-shadow:0 12px 32px rgba(0, 0, 0, 0.14);
}

.descarga-catalogos-simple{
  display:grid;
  grid-template-columns:repeat(2, minmax(260px, 1fr));
  gap:20px;
}

.bloque-descarga{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  padding:24px;
  box-shadow:0 10px 24px rgba(0,0,0,.05);
}

.bloque-descarga h4{
  margin:0 0 10px;
  font-size:24px;
}

.bloque-descarga p{
  margin:0 0 18px;
  color:#666;
  font-size:14px;
}

.btn-descarga{
  display:inline-block;
  background:#c4002f;
  color:#fff !important;
  text-decoration:none;
  padding:12px 18px;
  border-radius:12px;
  font-weight:700;
  font-size:14px;
}

.btn-descarga:hover{
  background:#a80028;
}

/* =========================
RESPONSIVE GLOBAL PRODUCTOS / SERVICIOS
========================= */
@media (max-width:1024px){
  .services-grid,
  .product-grid,
  .clients-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width:768px){
  .services-grid,
  .product-grid,
  .clients-grid{
    grid-template-columns:1fr !important;
    gap:16px !important;
  }

  .service,
  .product,
  .client-box{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
  }

  .service{
    padding:20px !important;
    border-radius:20px !important;
  }

  .service h3,
  .product-body h3{
    font-size:20px !important;
    line-height:1.2 !important;
  }

  .service p,
  .product-body p{
    font-size:14px !important;
    line-height:1.55 !important;
  }

  .product img{
    height:auto !important;
    aspect-ratio:4 / 3;
    object-fit:cover !important;
  }

  .product-body{
    padding:18px !important;
  }

  .team-wrap{
    border-radius:20px !important;
  }

  .modal-catalogo{
    padding:10px;
  }

  .catalogo-contenido-simple{
    width:94vw;
    max-height:92vh;
    padding:16px;
    border-radius:18px;
  }

  .catalogo-header-simple{
    margin-bottom:16px;
    padding-right:44px;
  }

  .catalogo-header-simple h3{
    font-size:18px;
  }

  .catalogo-kicker{
    font-size:11px;
  }

  .catalogo-img{
    border-radius:12px;
  }

  .descarga-catalogos-simple{
    grid-template-columns:1fr;
    gap:14px;
  }

  .bloque-descarga{
    padding:16px;
    border-radius:14px;
  }

  .bloque-descarga h4{
    font-size:20px;
    margin-bottom:8px;
  }

  .bloque-descarga p{
    font-size:14px;
    margin-bottom:12px;
  }

  .btn-descarga{
    width:100%;
    text-align:center;
    padding:12px 14px;
    font-size:14px;
  }

  .cerrar{
    width:38px;
    height:38px;
    top:10px;
    right:10px;
    font-size:24px;
  }

  .catalogo-acciones{
    width:100%;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }

  .btn-ir-pedido{
    width:100%;
    text-align:center;
  }
}

@media (min-width:1440px){
  .services-grid,
  .product-grid{
    gap:28px;
  }

  .service,
  .product{
    border-radius:26px;
  }

  .product img{
    height:260px;
  }
}/* =========================
SERVICIOS
========================= */
.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin-top:24px;
}

.service{
  position:relative;
  border:1px solid rgba(0,0,0,.06);
  border-radius:24px;
  padding:26px;
  background:linear-gradient(180deg, #ffffff 0%, #fffdfd 100%);
  box-shadow:0 14px 40px rgba(0,0,0,.06);
  transition:all .28s ease;
}

.service:hover{
  transform:translateY(-6px);
  box-shadow:0 22px 55px rgba(0,0,0,.10);
  border-color:rgba(217,11,63,.18);
}

.service::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:4px;
  background:linear-gradient(90deg, var(--rojo) 0%, #ef335f 100%);
}

.service h3{
  font-size:22px;
  margin-bottom:10px;
  color:var(--negro);
}

.service p{
  color:var(--gris);
  font-size:15px;
  line-height:1.6;
}

/* =========================
PRODUCTOS
========================= */
.products{
  background:
    radial-gradient(circle at top right, rgba(217,11,63,.06), transparent 24%),
    var(--gris-claro);
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.product{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 14px 40px rgba(0,0,0,.06);
  transition:all .28s ease;
}

.product:hover{
  transform:translateY(-8px);
  box-shadow:0 24px 60px rgba(0,0,0,.12);
  border-color:rgba(217,11,63,.18);
}

.product img{
  width:100%;
  height:220px;
  object-fit:cover;
  background:#f3f3f3;
  transition:transform .5s ease;
}

.product:hover img{
  transform:scale(1.04);
}

.product-body{
  padding:22px;
}

.product-body h3{
  margin-bottom:8px;
  font-size:22px;
  color:var(--negro);
}

.product-body p{
  color:var(--gris);
  font-size:15px;
  line-height:1.6;
}

/* =========================
CLIENTES
========================= */
.clients-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.client-box{
  border:1px solid rgba(0,0,0,.06);
  border-radius:20px;
  padding:24px 18px;
  background:#fff;
  text-align:center;
  font-weight:700;
  box-shadow:0 12px 34px rgba(0,0,0,.05);
  transition:all .25s ease;
}

.client-box:hover{
  transform:translateY(-5px);
  box-shadow:0 20px 45px rgba(0,0,0,.10);
  border-color:rgba(217,11,63,.18);
  color:var(--rojo);
}

/* =========================
EQUIPO
========================= */
.team-wrap{
  max-width:900px;
  margin:0 auto;
  border:1px solid rgba(0,0,0,.06);
  border-radius:26px;
  overflow:hidden;
  box-shadow:0 18px 48px rgba(0,0,0,.08);
  background:#fff;
  transition:all .3s ease;
}

.team-wrap:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 60px rgba(0,0,0,.12);
  border-color:rgba(217,11,63,.16);
}

.team-wrap img{
  width:100%;
  display:block;
  object-fit:cover;
}

/* =========================
CATALOGO MODAL SIMPLE
========================= */
.modal-catalogo{
  display:none;
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  background:rgba(17,17,17,.58);
  backdrop-filter:blur(7px);
  z-index:9999;
  justify-content:center;
  align-items:center;
  padding:20px;
}

.catalogo-contenido-simple{
  background:#fff;
  width:min(1100px, 92vw);
  max-height:90vh;
  overflow-y:auto;
  border-radius:24px;
  padding:24px;
  position:relative;
  box-shadow:0 24px 70px rgba(0,0,0,.28);
}

.cerrar{
  position:absolute;
  top:14px;
  right:18px;
  width:44px;
  height:44px;
  border:none;
  border-radius:50%;
  background:#f4f4f4;
  color:#222;
  font-size:28px;
  cursor:pointer;
  z-index:40;
}

.cerrar:hover{
  background:var(--rojo);
  color:#fff;
}

.catalogo-header-simple{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  padding-right:56px;
  margin-bottom:24px;
  flex-wrap:wrap;
}

.catalogo-kicker{
  color:var(--rojo);
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
}

.catalogo-header-simple h3{
  margin:0;
  font-size:28px;
}

.catalogo-acciones{
  display:flex;
  align-items:center;
  gap:12px;
}

.btn-ir-pedido{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#2bb673;
  color:#fff !important;
  padding:8px 14px;
  border-radius:10px;
  font-weight:700;
  text-decoration:none;
  font-size:13px;
  line-height:1;
  box-shadow:0 6px 14px rgba(43,182,115,0.25);
  transition:.2s ease;
}

.btn-ir-pedido:hover{
  background:#239e62;
  transform:translateY(-1px);
}

.catalogo-simple{
  display:flex;
  flex-direction:column;
  gap:28px;
}

.catalogo-bloque{
  width:100%;
}

.catalogo-img{
  display:block;
  width:100%;
  height:auto;
  border-radius:20px;
  box-shadow:0 12px 32px rgba(0, 0, 0, 0.14);
}

.descarga-catalogos-simple{
  display:grid;
  grid-template-columns:repeat(2, minmax(260px, 1fr));
  gap:20px;
}

.bloque-descarga{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  padding:24px;
  box-shadow:0 10px 24px rgba(0,0,0,.05);
}

.bloque-descarga h4{
  margin:0 0 10px;
  font-size:24px;
}

.bloque-descarga p{
  margin:0 0 18px;
  color:#666;
  font-size:14px;
}

.btn-descarga{
  display:inline-block;
  background:#c4002f;
  color:#fff !important;
  text-decoration:none;
  padding:12px 18px;
  border-radius:12px;
  font-weight:700;
  font-size:14px;
}

.btn-descarga:hover{
  background:#a80028;
}

/* =========================
RESPONSIVE GLOBAL PRODUCTOS / SERVICIOS
========================= */
@media (max-width:1024px){
  .services-grid,
  .product-grid,
  .clients-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width:768px){
  .services-grid,
  .product-grid,
  .clients-grid{
    grid-template-columns:1fr !important;
    gap:16px !important;
  }

  .service,
  .product,
  .client-box{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
  }

  .service{
    padding:20px !important;
    border-radius:20px !important;
  }

  .service h3,
  .product-body h3{
    font-size:20px !important;
    line-height:1.2 !important;
  }

  .service p,
  .product-body p{
    font-size:14px !important;
    line-height:1.55 !important;
  }

  .product img{
    height:auto !important;
    aspect-ratio:4 / 3;
    object-fit:cover !important;
  }

  .product-body{
    padding:18px !important;
  }

  .team-wrap{
    border-radius:20px !important;
  }

  .modal-catalogo{
    padding:10px;
  }

  .catalogo-contenido-simple{
    width:94vw;
    max-height:92vh;
    padding:16px;
    border-radius:18px;
  }

  .catalogo-header-simple{
    margin-bottom:16px;
    padding-right:44px;
  }

  .catalogo-header-simple h3{
    font-size:18px;
  }

  .catalogo-kicker{
    font-size:11px;
  }

  .catalogo-img{
    border-radius:12px;
  }

  .descarga-catalogos-simple{
    grid-template-columns:1fr;
    gap:14px;
  }

  .bloque-descarga{
    padding:16px;
    border-radius:14px;
  }

  .bloque-descarga h4{
    font-size:20px;
    margin-bottom:8px;
  }

  .bloque-descarga p{
    font-size:14px;
    margin-bottom:12px;
  }

  .btn-descarga{
    width:100%;
    text-align:center;
    padding:12px 14px;
    font-size:14px;
  }

  .cerrar{
    width:38px;
    height:38px;
    top:10px;
    right:10px;
    font-size:24px;
  }

  .catalogo-acciones{
    width:100%;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }

  .btn-ir-pedido{
    width:100%;
    text-align:center;
  }
}

@media (min-width:1440px){
  .services-grid,
  .product-grid{
    gap:28px;
  }

  .service,
  .product{
    border-radius:26px;
  }

  .product img{
    height:260px;
  }
}