
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.6;
  padding: 2rem 1rem;
}

/* Section */
.design-section {
  max-width: 1400px;
  margin: auto;
}

/* Título a la izquierda */
.design-section h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: bold;
  margin-bottom: 3rem;
  text-align: left;   /
}

/* Grid de 4 columnas */
.design-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Card */
.design-card {
  text-align: left;
}

.design-card .number {
  font-size: 1.2rem;
  font-weight: bold;
  color: #999;
  display: block;
  margin-bottom: 0.5rem;
}

.design-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

/* Imagen más larga */
.image-box {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.image-box img {
  width: 100%;
  height: 480px;         
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Overlay */
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: #fff;
  padding: 1.2rem;
  border-radius: 0 0 12px 12px;
}

.overlay h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.overlay p {
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Responsivo */
@media (max-width: 1000px) {
  .design-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .design-grid {
    grid-template-columns: 1fr;
  }
  .image-box img {
    height: 300px; 
  }
}
