/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #ffffff;
  color: #111;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* HEADER */
header {
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}

header h1 {
  font-size: 20px;
  letter-spacing: 1px;
  font-weight: 600;
}

nav a {
  margin-left: 24px;
  font-size: 14px;
  color: #555;
}
/* BANNER */
.banner {
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* HERO */
.hero {
  padding: 80px 40px;
  text-align: center;
}

.hero h2 {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 16px;
}

.hero p {
  font-size: 16px;
  color: #666;
  margin-bottom: 32px;
}

/* BOTONES */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid #111;
  font-size: 14px;
  background: #fff;
  color: #111;
  transition: all 0.2s ease;
}

.btn:hover {
  background: #111;
  color: #fff;
}

/* PRODUCTOS */
.products {
  padding: 60px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.product {
  border: 1px solid #eee;
  padding: 16px;
  text-align: center;
}

.product img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  margin-bottom: 12px;
  background: #f5f5f5;
}

.product h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
}

.product span {
  font-size: 14px;
  color: #666;
}

.product a {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: #111;
  border-top: 1px solid #eee;
  padding-top: 10px;
}


.img-btn {
  margin-top: 10px;
  padding: 8px 16px;
  font-size: 13px;
  border: 1px solid #111;
  background: #fff;
  cursor: pointer;
  transition: 0.2s;
}

.img-btn:hover {
  background: #111;
  color: #fff;
}


/* FOOTER */
footer {
  padding: 40px;
  text-align: center;
  font-size: 13px;
  color: #777;
  border-top: 1px solid #eee;
}

footer a {
  color: #111;
  margin-left: 8px;
}

/* ACCESIBILIDAD */
a:focus {
  outline: 2px solid #111;
  outline-offset: 2px;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .hero h2 {
    font-size: 28px;
  }

  header {
    padding: 20px;
  }

  .products {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }
}
