:root {
  --rojo: #c62828;
  --azul: #1f2a44;
  --gris: #f4f6f8;
  --oscuro: #0f172a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

body {
  background: #ffffff;
  color: var(--oscuro);
}

header {
  background: linear-gradient(90deg, var(--azul), var(--rojo));
  color: white;
  padding: 80px 10%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

header h1 {
  font-size: 3rem;
  font-weight: 800;
}

header h1 span {
  color: #ffd000;
}

header p {
  margin: 20px 0;
  font-size: 1.2rem;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  background: #ffd000;
  color: #000;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
}

.hero-img {
  width: 100%;
  max-width: 480px;
  justify-self: center;
}

section {
  padding: 80px 10%;
}

.features {
  background: var(--gris);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.card h3 {
  color: var(--rojo);
  margin-bottom: 10px;
}

.productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  text-align: center;
}

.producto {
  border: 2px solid var(--gris);
  padding: 30px 20px;
  border-radius: 14px;
  font-weight: 600;
}

footer {
  background: var(--azul);
  color: white;
  text-align: center;
  padding: 30px;
  font-size: 0.9rem;
}

@media(max-width: 900px) {
  header {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
