/* =========================
   Estilos generales
========================= */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
  color: #333;
  min-height: 100vh;
}

html {
  scroll-behavior: smooth;
}

/* =========================
   Banner superior
========================= */
.banner {
  background-image: url('fondo-11.png');
  background-size: cover;
  background-position: center;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  animation: fadeIn 1.5s ease-in-out;
}

.banner-content h1 {
  font-size: 2.8rem;
  margin: 0;
  font-weight: bold;
  letter-spacing: 1px;
}

.banner-content p {
  font-size: 1.3rem;
  margin-top: 10px;
  font-style: italic;
}

/* =========================
   Contenedor principal
========================= */
.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

/* =========================
   Tarjetas de producto
========================= */
.producto {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 4px solid #2e7d32; /* refuerzo visual */
}

.producto:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.producto h2 {
  font-size: 1.7rem;
  margin-bottom: 12px;
  color: #2c3e50;
}

.producto p {
  font-size: 1rem;
  margin-bottom: 18px;
  flex-grow: 1;
  color: #555;
}

/* =========================
   Botones
========================= */
.btn {
  display: block;
  margin: 10px auto;
  padding: 14px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  width: 90%;
  max-width: 280px;
  text-align: center;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

/* Variantes */
.btn-comprar { background-color: #e74c3c; color: #fff; box-shadow: 0 4px 12px rgba(231,76,60,0.4); }
.btn-gratis  { background-color: #27ae60; color: #fff; box-shadow: 0 4px 12px rgba(39,174,96,0.4); }
.btn-local   { background-color: #4caf50; color: #fff; }
.btn-global  { background-color: #f0f0f0; color: #333; border: 1px solid #ccc; }
.btn-whatsapp{ background-color: #25d366; color: #fff; }
.btn-hotmart { background-color: #FF6A00; color: #fff; }

.btn:hover {
  transform: scale(1.08);
  opacity: 0.95;
  filter: brightness(1.1);
}

/* =========================
   Portada principal
========================= */
.portada-banner {
  background-image: url('fondo-11.png');
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
  padding: 20px;
}

.portada-contenido h1 {
  font-size: 2.6rem;
  margin: 0;
  font-family: 'Georgia', serif;
  font-weight: bold;
}

.portada-contenido h2 {
  font-size: 1.6rem;
  margin-top: 10px;
  font-weight: normal;
}

.portada-contenido .frase {
  font-size: 1.2rem;
  font-style: italic;
  margin-top: 20px;
  max-width: 600px;
  margin: 0 auto;
  color: #f1f1f1;
}

/* =========================
   Sección Quién soy
========================= */
.quien-soy {
  background: #ffffff;
  padding: 50px 20px;
  text-align: center;
  color: #333;
}

.contenido-quien {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

.contenido-quien h2 {
  font-size: 1.9rem;
  margin-bottom: 20px;
  color: #2c3e50;
  font-weight: bold;
}

/* =========================
   Navbar
========================= */
.navbar {
  background: #2c3e50;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.navbar ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.navbar ul li a:hover {
  color: #f1c40f;
  text-decoration: underline;
}

/* =========================
   Videos
========================= */
.videos-promocionales {
  max-width: 800px;
  margin: auto;
  padding: 20px;
  text-align: center;
}

.videos-promocionales h2 {
  color: #2e7d32;
  margin-bottom: 15px;
  font-size: 1.8rem;
  font-weight: bold;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================
   Blog
========================= */
#blog {
  max-width: 1000px;
  margin: 50px auto;
  padding: 20px;
}

#blog h2 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 25px;
  font-size: 1.9rem;
  font-weight: bold;
}

/* Tarjetas del Blog */
#blog ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
}

#blog li {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#blog li:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

#blog li a {
  text-decoration: none;
  color: #2e7d32;
  font-weight: bold;
  font-size: 1.1rem;
}

#blog li::before {
  content: "📖 ";
  font-size: 1.2rem;
}

/* =========================
   Footer
========================= */
footer {
  text-align: center;
  font-size: 0.

.form-contacto {
  max-width: 450px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-contacto input,
.form-contacto textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-contacto input:focus,
.form-contacto textarea:focus {
  border-color: #2e7d32;
  box-shadow: 0 0 6px rgba(46,125,50,0.4);
  outline: none;
}

.form-contacto button {
  cursor: pointer;
  font-size: 1.1rem;
  background-color: #2c3e50;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.form-contacto button:hover {
  background-color: #1a252f;
}
/* Ajuste general para móviles */
@media (max-width: 480px) {
  body {
    font-size: 0.95em;
    line-height: 1.4em;
  }
  h1 {
    font-size: 1.4em;
    text-align: center;
  }
  h2 {
    font-size: 1.2em;
  }
  .btn {
    width: 100%;
    max-width: none;
    font-size: 0.9em;
    padding: 10px;
  }
  .qr-yape {
    max-width: 150px;
    height: auto;
  }
  iframe {
    max-width: 100%;
  }
}

/* Asegurar que los videos y iframes sean responsivos */
.video-container,
.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* proporción 16:9 */
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

