/* Fuente y estilos base */
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: #f9f9f9;
  color: #1f2933;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
/* ========== HEADER UNIFICADO ========== */
header {
  background-color: #0d7c7d;
  color: white;
  padding: 25px 0;
}

.container-header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.logo h1 {
  font-size: 1.9rem;
  margin: 0;
  font-weight: 700;
}

.subtitulo {
  font-size: 0.95rem;
  color: #d9f1f2;
  font-style: italic;
  margin-top: 4px;
}

nav .menu {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

nav .menu li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav .menu li a:hover {
  color: #ffd700;
}

.menu-toggle {
  display: none;
}

/* Opcional: Responsive (si usarás toggle más adelante) */
@media (max-width: 768px) {
  nav {
    width: 100%;
    background-color: #0d7c7d;
    position: relative;
    z-index: 10;
  }

  nav .menu {
    position: static; /* ← evita que se superponga */
    background-color: #0d7c7d;
    padding: 10px 0;
    width: 100%;
  }

  nav .menu li {
    padding: 8px 16px;
  }

  nav .menu li a {
    display: block;
    width: 100%;
    font-size: 16px;
  }
}


/* Hero */
.hero {
  background: url('img/hero.jpg') no-repeat center center/cover;
  position: relative;
  padding: 160px 20px;
  color: white;
  text-align: center;
}

.hero::before {
  content: "";
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  inset: 0;
}

.hero-contenido {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: auto;
}

.hero h1 {
  font-size: 2.8em;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.btn-principal {
  background-color: #2c7a7b;
  color: white;
  padding: 14px 30px;
  font-size: 1.1em;
  border-radius: 50px;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-principal:hover {
  background-color: #215f61;
  transform: translateY(-2px);
}

/* Botones */
.btn-comprar,
.btn-secundario,
.sbt-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 40px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-comprar {
  background-color: #2c7a7b;
  color: white;
  margin-top: 10px;
}

.btn-comprar:hover {
  background-color: #1e5f60;
  transform: translateY(-2px);
}

.btn-secundario {
  background-color: #ee6c4d;
  color: white;
  margin-top: 15px;
}

.btn-secundario:hover {
  background-color: #d55435;
}

.sbt-btn {
  background-color: #ee6c4d;
  color: white;
  margin-top: 20px;
}

.sbt-btn:hover {
  background-color: #d55435;
}

/* Secciones generales */
section {
  padding: 60px 20px;
  text-align: center;
}

.mision {
  background-color: #e6f2f0;
}

.beneficios {
  background-color: #ffffff;
}

.beneficios-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 30px;
}

.beneficio {
  width: 280px;
  background-color: #fefefe;
  border-radius: 18px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.beneficio:hover {
  transform: translateY(-5px);
}

.beneficio img {
  width: 60px;
  margin-bottom: 15px;
}

/* Versículo */
.versiculo {
  background-color: #2c7a7b;
  color: white;
  font-style: italic;
  font-size: 1.2em;
}

/* Catálogo */
.catalogo {
  background-color: #ffffff;
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.producto {
  background-color: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  padding: 25px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.25s ease;
}

.producto:hover {
  transform: translateY(-5px);
}

.producto h3 {
  margin-top: 10px;
}

.descripcion {
  font-size: 0.95em;
  margin: 10px 0;
}

.precio {
  font-weight: bold;
  color: #2c7a7b;
  margin-bottom: 5px;
}

/* Búsqueda */
.buscador-contenedor {
  position: relative;
  max-width: 500px;
  margin: 0 auto 40px;
}

#busqueda {
  width: 100%;
  padding: 14px 50px 14px 20px;
  font-size: 1em;
  border: none;
  border-radius: 50px;
  background-color: #ffffff;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
  outline: none;
}

.icono-lupa {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #2c7a7b;
  font-size: 1.2em;
  pointer-events: none;
}

/* Footer */
.footer {
  background-color: #2c7a7b;
  color: white;
  padding: 50px 20px 30px;
  font-size: 0.95em;
}

.footer-contenido {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-info, .footer-contacto, .footer-redes {
  flex: 1 1 280px;
}

.footer a {
  color: #f0fdfd;
}

.footer-copy {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
  font-size: 0.85em;
}

/* Responsive */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    background-color: #2c7a7b;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 99;
    padding: 15px 0;
    text-align: center;
  }

  .menu.abierto {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .container-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: 2em;
  }

  .hero p {
    font-size: 1em;
  }
}

.footer-redes a {
  margin-right: 15px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.footer-redes a:hover {
  transform: scale(1.1);
}

.icono-red {
  width: 28px;
  height: 28px;
  fill: white;
}

.footer-contacto p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}

.icono-contacto {
  width: 20px;
  height: 20px;
  fill: white;
  flex-shrink: 0;
}


.producto {
  background-color: #f7f7f7;
  padding: 15px;
  margin: 10px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.producto h3 {
  margin-bottom: 10px;
}

.producto input {
  width: 60px;
  margin-right: 10px;
}

.producto button {
  padding: 8px 16px;
  background-color: #25d366;
  border: none;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

.producto button:hover {
  background-color: #128c7e;
}
