/* ========= FIX GLOBAL PARA EL INICIO ========= */
/* Anula el flex heredado de style.css para que las secciones del index
   queden apiladas, una debajo de la otra. */
main {
  display: block !important;
  min-height: auto;
  padding: 0;
}

/* Separación vertical y ancho máximo coherente para todas las secciones del index */
.intro-flex,
.que-encontrar,
.mini-metodo,
.destacados,
.testimonios,
.faqs,
.cta-final {
  max-width: 1200px;
  margin: 0 auto 48px auto;
  padding: 0 16px;
}

/* ========= HERO (foto + bienvenida) ========= */
.intro-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-top: 24px;
  flex-wrap: wrap; /* si no entra, baja la foto */
}

.intro-foto {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-foto img {
  width: 340px;            /* controla tamaño en desktop */
  max-width: 100%;         /* no se desborda en móviles */
  height: auto;
  border-radius: 22px;
  box-shadow: 0 4px 32px #eebfa822;
  object-fit: cover;
  background: #fff;
}

.bienvenida {
  background: linear-gradient(135deg, #fff7f2 80%, #fce4ec 100%);
  border: 2px solid #fbeee2;
  border-radius: 22px;
  padding: 28px 22px;
  box-shadow: 0 2px 28px #f5d6c733;
  max-width: 560px;
  text-align: center;
}

.bienvenida h1 {
  color: #b88258;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: 1.2px;
  text-shadow: 0 2px 7px #ffe1cf40;
}

.frase-impacto {
  font-size: 1.08rem;
  color: #995c3d;
  margin-bottom: 14px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.5;
}

.presentacion {
  font-size: 1.03rem;
  color: #543524;
  line-height: 1.7;
  margin-bottom: 12px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.cta-hero {
  background: #ffd7b5;
  color: #b88258;
  padding: 11px 22px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 1px 8px #ffe1cf80;
  transition: background .2s, color .2s, transform .1s;
  letter-spacing: .3px;
}

.cta-hero:hover {
  background: #f38c5a;
  color: #fff;
  transform: scale(1.03);
}

.cta-hero.cta-outline {
  background: transparent;
  border: 2px solid #ffd7b5;
  color: #b88258;
}
.cta-hero.cta-outline:hover {
  background: #f38c5a;
  border-color: #f38c5a;
  color: #fff;
}

/* ========= ¿QUÉ VAS A ENCONTRAR? (tarjetas) ========= */
.que-encontrar h2 {
  color: #a76a4b;
  font-size: 1.9rem;
  text-align: center;
  margin-bottom: 22px;
  font-weight: 900;
  letter-spacing: 1.3px;
}

.tarjetas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.tarjeta {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px #eededb55;
  padding: 24px 18px;
  border: 2px solid #fbeee2;
  text-align: center;
  transition: box-shadow .18s, transform .15s;
}

.tarjeta:hover {
  box-shadow: 0 6px 24px #ffccab80;
  transform: translateY(-4px) scale(1.01);
}

.tarjeta h3 {
  color: #b88258;
  font-size: 1.18rem;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: .6px;
}

.tarjeta p {
  color: #543524;
  font-size: 1.02rem;
  line-height: 1.55;
  margin-bottom: 12px;
}

.btn-tarjeta {
  background: #ffd7b5;
  color: #b88258;
  padding: 10px 18px;
  border-radius: 11px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 1px 7px #ffe1cf90;
  transition: background .18s, color .18s, transform .1s;
  display: inline-block;
}
.btn-tarjeta:hover {
  background: #f38c5a;
  color: #fff;
  transform: scale(1.03);
}

/* ========= MINI MÉTODO ========= */
.mini-metodo {
  background: #fff8f5;
  border-radius: 20px;
  box-shadow: 0 2px 18px rgba(245, 214, 199, 0.4);
  padding: 50px 30px;
  margin: 40px auto;
  max-width: 950px;
  text-align: center;
}

.mini-metodo h2 {
  color: #a05a34;
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.4;
}

.mini-metodo p {
  font-size: 1.2rem;
  color: #543524;
  line-height: 1.8;
  margin: 0 auto 25px auto;
  max-width: 800px;
}

.mini-metodo .puntos {
  list-style: disc;
  text-align: left;
  margin: 0 auto 35px auto; /* más espacio debajo */
  max-width: 700px;
  padding-left: 20px;
  color: #543524;
  font-size: 1.15rem;
  line-height: 1.7;
}

.mini-metodo .btn-metodo {
  display: inline-block;
  margin-top: 15px; /* baja el botón */
  background: #ffd7b5;
  color: #a05a34;
  padding: 13px 35px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1.15rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(255, 209, 181, 0.6);
  transition: all 0.3s ease;
}

.mini-metodo .btn-metodo:hover {
  background: #f38c5a;
  color: #fff;
}

/* ========= DESTACADOS ========= */
.destacados h2 {
  color: #a76a4b;
  font-size: 1.9rem;
  margin-bottom: 22px;
  font-weight: 900;
  text-align: center;
}
.destacados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.destacado-card {
  background: #fff7f2;
  border-radius: 18px;
  box-shadow: 0 2px 16px #ffe1cf70;
  padding: 24px 18px;
  border: 2px solid #fbeee2;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow .18s, transform .17s;
}
.destacado-card:hover {
  box-shadow: 0 6px 24px #ffccab80;
  transform: translateY(-4px) scale(1.01);
}
.destacado-card h3 {
  color: #a76a4b;
  font-size: 1.18rem;
  margin-bottom: 10px;
  font-weight: 900;
}
.destacado-card p {
  color: #543524;
  font-size: 1.03rem;
  text-align: center;
  margin-bottom: 12px;
}
.botones-curso {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 6px;
}
.btn-mini {
  background: #ffd7b5;
  color: #b88258;
  padding: 9px 18px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 1px 6px #ffe1cf80;
  transition: background .2s, color .2s, transform .1s;
}
.btn-mini:hover {
  background: #f38c5a;
  color: #fff;
  transform: scale(1.03);
}

/* ========= TESTIMONIOS ========= */
.testimonios h2 {
  color: #a76a4b;
  font-size: 1.9rem;
  margin-bottom: 18px;
  text-align: center;
  font-weight: 900;
}
.testis-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.testi {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px #eededb55;
  padding: 18px;
  color: #6e3d29;
  font-size: 1.03rem;
  text-align: center;
}
.testi figcaption {
  margin-top: 8px;
  color: #a76a4b;
  font-weight: 800;
}

/* ========= FAQS ========= */
.faqs h2 {
  color: #a76a4b;
  font-size: 1.9rem;
  margin-bottom: 12px;
  text-align: center;
  font-weight: 900;
}
.faqs details {
  background: #fff7f2;
  border: 2px solid #ffd7b5;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.faqs summary {
  cursor: pointer;
  color: #b88258;
  font-weight: 900;
  font-size: 1.05rem;
}
.faqs p {
  color: #543524;
  font-size: 1.02rem;
  margin-top: 8px;
}

/* ========= CTA FINAL ========= */
.cta-final { text-align: center; }
.cta-final h2 {
  color: #a76a4b;
  font-size: 1.9rem;
  font-weight: 900;
  margin-bottom: 8px;
}
.cta-final p {
  color: #543524;
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.cta-final-botones {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========= RESPONSIVE ========= */
@media (max-width: 1000px) {
  .intro-flex { gap: 22px; }
  .intro-foto img { width: 320px; border-radius: 20px; }
  .bienvenida { max-width: 95vw; }
}

@media (max-width: 700px) {
  .intro-foto img { width: 92vw; max-width: 92vw; }
  .bienvenida h1 { font-size: 1.38rem; }
  .frase-impacto { font-size: 1.03rem; }
  .presentacion { font-size: 1rem; }
  .mini-metodo h2,
  .destacados h2,
  .testimonios h2,
  .faqs h2,
  .cta-final h2 { font-size: 1.28rem; }
  .mini-metodo-inner { padding: 18px 12px; }
  .cta-hero, .btn-tarjeta, .btn-mini, .btn-metodo {
    font-size: 1rem; padding: 9px 16px; border-radius: 10px;
  }
}
