/* Reset de márgenes para body/html */
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  /* font-family: 'Lora', serif; */
  font-family: "Source Sans 3", sans-serif;
}
h2, h3, h4, h5, p {
  /* font-family: 'Lora', serif; */
  font-family: "Source Sans 3", sans-serif;
}

/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* TIPOGRAFÍA GLOBAL */
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* CONTENEDOR CENTRAL */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* FLEX UTILIDADES */
.flex {
  display: flex;
}

.flex-between {
  justify-content: space-between;
  align-items: center;
}

/* GRID MOBILE-FIRST */
.grid-1-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width:768px) {
  .grid-1-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  text-align: center;
}

@media (min-width:768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* NAVBAR */
.navbar {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-links {
  list-style: none;
  gap: 1rem;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  padding: 0.5rem;
}

.lang-switch {
  background: none;
  border: 1px solid #333;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
}

/* HERO */


/* 1. Banner full-viewport */
.banner {
  position: relative;
  width: 100vw;
  height: 100vh;
  /* ocupa toda la altura visible */
  overflow: hidden;
}

/* 2. Imagen que cubre todo el contenedor */
.banner__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* object-fit: cover;    */
}

/* 3. Header/Nav posicionado sobre la imagen */
.banner header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  /* para que quede siempre por encima */
}

/* 4. Texto hero centrado */
.banner__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  z-index: 5;
  padding: 0 1rem;
}

/* 5. Decorativos en las esquinas */
.banner__deco {
  position: absolute;
  bottom: 0;
  width: 120px;
  height: 120px;
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

.banner__deco--left {
  left: 2%;
  background-image: url('../img/granosCafe.png');
}

.banner__deco--right {
  right: 2%;
  background-image: url('../img/granosCafe2.png');
}

/* 6. Sections siguientes sin solaparse */
.section {
  padding: 4rem 1rem;
  background: #fff;
}


/* SECTION GENÉRICO */
.section {
  padding: 4rem 0;
}

.bg-light {
  background: #f9f9f9;
}

/* FORMULARIO */
.newsletter {
  display: grid;
  gap: 0.5rem;
}

.newsletter input,
.newsletter button {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
}

.newsletter button {
  background: #333;
  color: #fff;
  cursor: pointer;
}

/* FOOTER */
.footer-content {
  padding: 2rem 0;
  border-top: 1px solid #eee;
  text-align: center;
}

.social {
  list-style: none;
  gap: 0.5rem;
}

.social li a {
  text-decoration: none;
}

/* MEDIA QUERIES ADICIONALES */
@media (min-width:1024px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.25rem;
  }
}