/* Reset y base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background-color: #f8f8f8;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #1c1c1c;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  transition: top 0.3s;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  width: 40px;
}

.logo span {
  font-weight: bold;
  font-size: 1.2rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #ffc107;
}

/* Menú hamburguesa (mobile) */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: white;
}

/* MAIN */
.main-content {
  padding: 100px 20px 40px;
  flex: 1;
}

.hero {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(to right, #232526, #414345);
  color: white;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
}

.info {
  max-width: 800px;
  margin: 40px auto;
  text-align: center;
}

/* Animaciones */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.fade-in.delay {
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FOOTER */
footer {
  background-color: #1c1c1c;
  color: white;
  text-align: center;
  padding: 15px 20px;
  font-size: 0.9rem;
  margin-top: auto;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #1c1c1c;
    flex-direction: column;
    align-items: flex-start;
    width: 200px;
    padding: 15px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

.productos {
  padding: 40px 20px;
}

.productos h1 {
  text-align: center;
  margin-bottom: 40px;
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.producto {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s;
}

.producto img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
}

.producto h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.producto p {
  color: #555;
  font-size: 0.95rem;
}

.producto:hover {
  transform: translateY(-5px);
}

/*Contacto*/
.contacto {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
  text-align: center;
}

.contacto-info {
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.contacto-info h3 {
  margin-bottom: 10px;
}

.contacto-imagen img {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .contacto {
    padding: 25px 15px;
  }

  .contacto-info {
    font-size: 1rem;
  }
}
.medidas {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.medida {
  font-size: 0.85rem;
  padding: 4px 8px;
  border-radius: 6px;
  background-color: #f2f2f2;
  color: #333;
  font-weight: 500;
}

.medida.mm {
  border-left: 3px solid #1f4fd8; /* azul técnico */
}

.medida.in {
  border-left: 3px solid #d89b1f; /* dorado */
}

