/* Reset & util */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; line-height: 1.5; color: #333; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Contenedores */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* Hero */
.hero {
  position: relative;
  height: 70vh;
  background: url('../img/cerrajeria_el_frances.png') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.nav {
  position: absolute;
  top: 0; left: 0; width: 100%;
  display: flex; justify-content: flex-end;
  padding: 20px;
  z-index: 2;
}
.nav__link {
  margin-left: 20px; color: #fff; font-weight: bold;
}
.hero__content {
  position: relative; z-index: 2; color: #fff;
}
.hero__title { font-size: 2.5rem; margin-bottom: 0.5em; }
.hero__subtitle { font-size: 1.2rem; margin-bottom: 1em; }
.btn {
  display: inline-block;
  padding: 0.8em 1.6em;
  margin: 0.3em;
  border-radius: 4px;
  font-weight: bold;
}
.btn--primary { background: #f2c14e; color: #333; }
.btn--secondary { background: #eb5e28; color: #fff; }

/* Sección */
.section { padding: 3em 0; }
.section--light { background: #f9f9f9; }
.section__title {
  text-align: center; font-size: 2rem; margin-bottom: 1em;
}

/* Servicios */
.services {
  display: grid;
  gap: 1.5em;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.service-card {
  background: #fff;
  padding: 1.5em;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.service-card h3 { margin-bottom: 0.5em; }
.service-card p { font-size: 0.9rem; }

/* Centrar embed de Instagram */
.instagram-embed {
    text-align: center;
    padding-top: 2em;
  }
  .instagram-frame {
    display: inline-block;
  }

/* Contacto */
.contact-grid {
  display: grid;
  gap: 2em;
  grid-template-columns: 1fr;
}
.map { width: 100%; border-radius: 6px; overflow: hidden; }
.contact-info p { margin-bottom: 0.8em; }
.whatsapp-list li {
  margin-bottom: 0.5em;
}
.whatsapp-list a {
  color: #075E54;
  font-weight: bold;
}

/* Responsive */
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .hero__title { font-size: 3.5rem; }
}

