/* Variables */
@import url("variables/v-typography.css");
@import url("v-color.css");
@import url("variables/v-spacer.css");
@import url("variables/v-grid.css");
@import url("variables/v-zindex.css");

/* Base */
@import url("base/reset.css");
@import url("base/typography.css");
@import url("base/grid.css");
@import url("base/grid-cols.css");

/* Libraries */
@import url("libraries/animate.css");

/* Layout */
@import url("layout/header.css");
@import url("layout/nav.css");
@import url("layout/content.css");
@import url("layout/footer.css");

/* Blocks */

/* pages */

@import url("ilustracion.css");

/* body {
  background-color: #E6E6E6 !important; /* Cambia este color al que quieras 
 } 
*/

.titulo-seccion {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

.titulo-seccion h1 {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
  color: #4c5164;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px;
  width: 100%;
}

.container {
  grid-column: 1 / -1;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.whatsapp-float img {
  width: 80px;
  height: 80px;
  cursor: pointer;
}


.card-link h3{
  font-size: 20px;
  text-align: center;
  margin-top: 10px;
  color: #555;
  margin-bottom: 20px;
}

/* formulario productos*/

.productos-grid{
  display: grid;

  grid-template-columns: repeat(7, 1fr);

  gap: 20px;
}

/* PANTALLAS GRANDES */

@media (max-width: 1400px){

  .productos-grid{
    grid-template-columns: repeat(5, 1fr);
  }

}

/* LAPTOP */

@media (max-width: 1200px){

  .productos-grid{
    grid-template-columns: repeat(4, 1fr);
  }

}

/* TABLET GRANDE */

@media (max-width: 992px){

  .productos-grid{
    grid-template-columns: repeat(3, 1fr);
  }

}

/* TABLET */

@media (max-width: 768px){

  .productos-grid{
    grid-template-columns: repeat(2, 1fr);
  }

}

/* CELULAR */

@media (max-width: 576px){

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

}



.producto-card{
  background: lightgrey;

  padding: 15px;
}

.producto-card img{
  width: 100%;
  height: auto;

  object-fit: contain;

  background: white;
}

.producto-card h3{
  margin-top: 10px;


  text-align: center;
}

.titulo-categoria{

  grid-column: 1 / -1;

  font-size: 1.3rem;

  margin-top: 40px;

  color: #444;
}

/* formulario productos arriba*/


/* formulario contacto*/

.contacto{
  width: 100%;
  padding: 20px 10px;
}

.contacto h2{
  text-align: left;
  margin-bottom: 20px;
  color : #555
}

.formulario-contacto{
  width: 90%;
  max-width: 900px;

  display: flex;
  flex-direction: column;
  gap: 15px;
}

.formulario-contacto input,
.formulario-contacto textarea{
  width: 100%;
  padding: 12px;

  border: 1px solid #ccc;
  border-radius: 8px;

  font-size: 16px;
}

.formulario-contacto textarea{
  height: 150px;
  resize: none;
}

.formulario-contacto button{
  width: 180px;
  padding: 5px;

  border: none;
  border-radius: 8px;

  background: black;
  color: white;

  font-size: 16px;
  cursor: pointer;

  margin: auto;
}

/* formulario contacto*/

.logos-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  gap: 20px;
  max-width: 900px;
  margin: 30px auto;
}

.logos-grid img{
  width: 100%;
  height: 100px;
  object-fit: contain;
}

.proyecto{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
}

.proyecto img{
  width: 100%;
  max-width: 220px;
  max-height: 100px;
  object-fit: contain;
}

.text-note {

  width: 100%;

  text-align: left;

  font-size: clamp(0.95rem, 2vw, 1.2rem);

  line-height: 1.6;

  color: #62677b;
}

/* revisado ARRIBA */


/* paRA 3 RAYITAS HEADER */

.menu-toggle{
  display: none;

  font-size: 35px;

  cursor: pointer;

  padding: 10px;
}

.nav{
  display: flex;

  gap: 20px;
}

/* MODO MÓVIL */

@media (max-width: 768px){

  .menu-toggle{
    display: block;
  }

  .nav{
    display: none;

    flex-direction: column;

    width: 100%;

    background: white;

    padding: 20px;
  }

  .nav.active{
    display: flex;
  }
}


/* ARRIBA paRA 3 RAYITAS HEADER */





.img img {
  width: 100%;        /* Ocupa todo el ancho del contenedor */
  max-width: 1000px;  /* Ajusta el límite máximo (puedes subirlo a 1200px si quieres más grande) */
  height: auto;       /* Mantiene proporción */
  display: block;
  margin: 0 auto;     /* Centra la imagen */
}

body {
  background: #f5f7fa;
}


.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  height: 100%;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}


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

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}



.card p {
  font-size: 14px;
  color: #555;
}



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


.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}

.card:hover img {
  opacity: 0.9;
}

.card h3 {
  font-size: 18px;
  margin-top: 10px;
  font-weight: bold;
  color: #be3737;
}

.card p {
  font-size: 14px;
  color: #555;
}

.btn-card {
  margin-top: 10px;
  padding: 8px 12px;
  background: #0d6efd;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn-card:hover {
  background: #0b5ed7;
}

.card-link {
  text-decoration: none;
  color: inherit;
}

.card-custom {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

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

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

.card-custom p {
  padding: 15px;
  font-size: 14px;
  text-align: justify;
  color: #444;
}


/* Tablet */
@media (max-width: 992px) {
  .col-card {
    flex: 1 1 calc(50% - 20px);
  }
}

/* Móvil */
@media (max-width: 576px) {
  .col-card {
    flex: 1 1 100%;
  }
}
.row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
}

@media (max-width: 992px) {
  .row {
    grid-template-columns: repeat(2, 1fr);
  }
}

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



.card-custom {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-custom p {
  flex-grow: 1;
}


.card-link {
  display: block;
  transition: transform 0.3s;
}

.card-link:hover {
  transform: scale(1.02);
}