/* ===========================
   ESTILOS GENERALES
=========================== */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f7f7f7;
  color: #333;
}

/* ===========================
   HEADER NUEVO (Opción 3)
=========================== */

header.header {
  background-color: #ffffff;              /* fondo blanco limpio */
  border-bottom: 3px solid #1a73e8;       /* línea azul elegante */
  padding: 10px 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.10); /* sombra suave premium */

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

  background-image: none !important;      /* asegura que no vuelvan las imágenes horrendas */
}

.header-left,
.header-center,
.header-right {
  display: flex;
  align-items: center;
}

.header-left .logo {
  width: 180px;
  height: auto;
  margin-left: 10px;
}

.header-center {
  flex: 1;
  justify-content: center;
  gap: 25px;
}

.header-center a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 16px;
}

.header-center a:hover {
  color: #1a73e8;
}

.header-right {
  gap: 8px;
  margin-right: 10px;
}

.header-right .idioma {
  color: #333;
  text-decoration: none;
  font-weight: 600;
}

.header-right .idioma:hover {
  color: #1a73e8;
}

/* Responsive */
@media (max-width: 768px) {
  .header-center {
    gap: 15px;
  }

  .header-left .logo {
    width: 150px;
  }
}

@media (max-width: 480px) {
  header.header {
    flex-direction: column;
    gap: 10px;
    padding: 12px 0;
  }

  .header-center {
    order: 3;
    flex-wrap: wrap;
  }

  .header-right {
    order: 2;
  }

  .header-left {
    order: 1;
  }
}

/* ===========================
   CONTENEDORES GENERALES
=========================== */

.intro, .productos, .guias {
  width: 95%;
  max-width: 1000px;
  margin: 30px auto;
}

/* ===========================
   TITULOS
=========================== */

h2 {
  color: #1a73e8;
  text-align: center;
}

.titulo-principal {
  font-size: 24px;
  color: #1a73e8;
  margin: 0 0 10px 0;
  font-weight: bold;
  text-align: center;
}

/* ===========================
   GRID MODERNO
=========================== */

.grid-contenedor {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  justify-items: center;
  width: 100%;
  margin: 30px auto;
}

/* ===========================
   TARJETAS
=========================== */

.producto {
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  width: 280px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.producto img {
  width: 100%;
  border-radius: 8px;
}

/* ===========================
   BOTONES
=========================== */

.boton {
  display: inline-block;
  padding: 10px 15px;
  background: #ff9900;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
  font-weight: bold;
}

.boton:hover {
  background: #e68a00;
}

/* ===========================
   LISTAS DE GUIAS
=========================== */

.guias ul {
  list-style: none;
  padding: 0;
}

.guias li {
  margin: 10px 0;
}

.guias a {
  color: #1a73e8;
  text-decoration: none;
  font-weight: bold;
}

/* ===========================
   FOOTER
=========================== */

footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}

/* ===========================
   CORRECCIÓN FINAL H1
=========================== */

h1 {
  color: #1a73e8 !important;
}
