/* ========= ESTILOS GLOBALES MBF ========= */

:root {
  --mbf-bg: #f9f2e9;
  --mbf-bg-soft: #fdf8f3;
  --mbf-text: #3a3330;
  --mbf-muted: #7c6f68;
  --mbf-accent: #c89569;
  --mbf-accent-soft: #f0d2b6;
  --mbf-border-soft: #e5d7c7;
  --mbf-radius-lg: 24px;
  --mbf-radius-md: 18px;
  --mbf-shadow-soft: 0 18px 40px rgba(0,0,0,0.06);
}

/* Fondo general de la página */
body {
  background-color: var(--mbf-bg);
}

/* Contenedor central para secciones hechas con HTML */
.mbf-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

/* Titulares de sección */
.mbf-section-title {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 10px;
  color: var(--mbf-text);
}

.mbf-section-subtitle {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
  color: var(--mbf-muted);
  font-size: 1rem;
}

/* Botón base */
.mbf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  background: var(--mbf-accent);
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(200,149,105,0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.mbf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(200,149,105,0.4);
  background: #b57c4e;
}

/* Variante botón claro */
.mbf-btn--outline {
  background: #fff;
  color: var(--mbf-accent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  border: 1px solid var(--mbf-accent-soft);
}

.mbf-btn--outline:hover {
  background: var(--mbf-accent-soft);
  color: var(--mbf-text);
}

/* ===== HERO ===== */

.mbf-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.mbf-hero-text {
  padding: 32px 0;
}

.mbf-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.9);
  font-size: 0.8rem;
  color: var(--mbf-muted);
  backdrop-filter: blur(10px);
}

.mbf-hero-title {
  font-size: 2.9rem;
  line-height: 1.1;
  margin: 18px 0 12px;
  color: var(--mbf-text);
}

.mbf-hero-text p {
  color: var(--mbf-muted);
  max-width: 480px;
  font-size: 1rem;
}

.mbf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* Imagen del hero como tarjeta */
.mbf-hero-card {
  background: rgba(255,255,255,0.85);
  border-radius: var(--mbf-radius-lg);
  box-shadow: var(--mbf-shadow-soft);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ===== PILARES ===== */

.mbf-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.mbf-pillar-card {
  background: var(--mbf-bg-soft);
  border-radius: var(--mbf-radius-lg);
  padding: 26px 22px 24px;
  border: 1px solid var(--mbf-border-soft);
  box-shadow: 0 12px 30px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mbf-pillar-icon {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.mbf-pillar-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.mbf-pillar-text {
  font-size: 0.95rem;
  color: var(--mbf-muted);
  margin-bottom: 16px;
}

.mbf-pillar-image {
  border-radius: 18px;
  overflow: hidden;
  margin-top: auto;
}

.mbf-pillar-image img {
  width: 100%;
  display: block;
}

/* ===== PRODUCTOS DESTACADOS ===== */

.mbf-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.mbf-product-card {
  background: #fff;
  border-radius: var(--mbf-radius-lg);
  padding: 18px 18px 22px;
  border: 1px solid var(--mbf-border-soft);
  box-shadow: var(--mbf-shadow-soft);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mbf-product-tag {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mbf-muted);
  margin-bottom: 6px;
}

.mbf-product-title {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.mbf-product-benefits {
  font-size: 0.9rem;
  color: var(--mbf-muted);
  margin-bottom: 12px;
}

.mbf-product-image {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
}

.mbf-product-image img {
  width: 100%;
  display: block;
}

/* ===== SOBRE MÍ ===== */

.mbf-about {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.mbf-about-tag {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mbf-muted);
  margin-bottom: 8px;
}

.mbf-about p {
  color: var(--mbf-muted);
  font-size: 0.98rem;
}

/* ===== CTA FINAL ===== */

.mbf-cta {
  background: linear-gradient(135deg, #f7e2cf, #f5d6c4);
  border-radius: 26px;
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--mbf-shadow-soft);
}

.mbf-cta-title {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.mbf-cta p {
  color: #5c4636;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
  .mbf-hero {
    grid-template-columns: 1fr;
  }
  .mbf-about {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mbf-section {
    padding: 56px 16px;
  }
  .mbf-pillars,
  .mbf-products-grid {
    grid-template-columns: 1fr;
  }
  .mbf-hero-title {
    font-size: 2.2rem;
  }
  .mbf-cta {
    padding: 26px 20px;
  }
}
