/* MoneyMood — portada. Base clara; el azul oscuro es acento, no fondo. */

.home .site-main { padding: 0 !important; margin: 0 !important; }
.home .content-area { margin-bottom: 0; }
.home .site-content { padding-top: 0 !important; }
.home .site-content .content-area { background: transparent; }

/* El contenedor de GeneratePress no lleva padding lateral: sin esto el texto
   toca el borde de la pantalla en movil. */
.home .site-main { --mm-gutter: 20px; }

.mm-hero, .mm-section { padding-left: var(--mm-gutter); padding-right: var(--mm-gutter); }

/* Bandas a ancho completo, alineadas con el mismo margen que el resto. */
.mm-freshbar, .mm-nadie, .mm-method {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(var(--mm-gutter), calc(50vw - 600px + var(--mm-gutter)));
  padding-right: max(var(--mm-gutter), calc(50vw - 600px + var(--mm-gutter)));
}

/* ---------- barra de frescura ---------- */
.mm-freshbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  padding-top: 11px; padding-bottom: 11px;
  background: var(--mm-paper); border-bottom: 1px solid var(--mm-border);
  font-size: .84rem; color: var(--mm-muted);
}
.mm-freshbar strong { color: var(--mm-primary); font-weight: 700; }
.mm-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--mm-secondary);
  box-shadow: 0 0 0 4px rgba(22,199,154,.18); flex: none;
}

/* ---------- hero ---------- */
.mm-hero {
  display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
  gap: 56px; align-items: start;
  padding-top: 56px; padding-bottom: 60px;
}
.mm-kicker {
  margin: 0 0 14px; font-size: .8rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--mm-secondary-dark);
}
.mm-hero h1 {
  font-family: var(--mm-serif);
  margin: 0 0 20px; color: var(--mm-primary);
  font-size: clamp(2.3rem, 4.4vw, 3.5rem); line-height: 1.06;
  font-weight: 700; letter-spacing: -.022em;
}
.mm-lead {
  margin: 0 0 30px; max-width: 620px;
  font-size: 1.1rem; line-height: 1.62; color: #3c4756;
}

.mm-pillars { margin: 0 0 32px; padding: 0; list-style: none; display: grid; gap: 16px; }
.mm-pillars li {
  margin: 0; padding: 0 0 0 0; display: flex; gap: 14px; align-items: flex-start;
}
.mm-pillars li::before { display: none; }
.mm-pillar-ico {
  flex: none; width: 40px; height: 40px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--mm-paper); border: 1px solid var(--mm-border); color: var(--mm-primary);
}
.mm-pillar-ico .mm-ico { width: 22px; height: 22px; }
.mm-pillars strong { display: block; margin-bottom: 2px; color: var(--mm-primary); font-size: 1rem; font-weight: 700; line-height: 1.4; }
.mm-pillars div span { display: block; font-size: .93rem; line-height: 1.5; color: var(--mm-muted); }

.mm-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.mm-btn {
  display: inline-block; padding: 13px 24px; border-radius: 8px;
  font-size: .96rem; font-weight: 700; letter-spacing: .005em;
  text-decoration: none !important; border: 1px solid transparent;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.mm-btn-primary { background: var(--mm-primary); color: #fff !important; }
.mm-btn-primary:hover { background: var(--mm-primary-dark); transform: translateY(-1px); }
.mm-btn-soft {
  background: #fff; border-color: var(--mm-border); color: var(--mm-primary) !important;
}
.mm-btn-soft:hover { border-color: var(--mm-secondary); background: rgba(22,199,154,.07); }

/* ---------- herramienta ---------- */
.mm-tool {
  background: #fff; border: 1px solid var(--mm-border); border-radius: 14px;
  padding: 26px 26px 22px; box-shadow: var(--mm-shadow);
  position: sticky; top: 24px;
}
.mm-tool h2 {
  margin: 0 0 6px; padding: 0; border: 0;
  font-family: var(--mm-serif); font-size: 1.4rem; letter-spacing: -.015em;
}
.mm-tool-sub { margin: 0 0 20px; font-size: .9rem; line-height: 1.5; color: var(--mm-muted); }
.mm-tool fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.mm-tool legend {
  padding: 0; margin-bottom: 9px;
  font-size: .82rem; font-weight: 700; color: var(--mm-primary); letter-spacing: .01em;
}
.mm-tool label {
  display: flex; align-items: center; gap: 9px; padding: 7px 10px; margin-bottom: 5px;
  border: 1px solid var(--mm-border); border-radius: 7px;
  font-size: .9rem; color: #3c4756; cursor: pointer; transition: border-color .13s, background .13s;
}
.mm-tool label:hover { border-color: var(--mm-secondary); background: rgba(22,199,154,.05); }
.mm-tool input[type=radio] { accent-color: var(--mm-secondary-dark); margin: 0; }
.mm-tool-go { width: 100%; cursor: pointer; }

.mm-tool-out {
  margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--mm-border);
}
.mm-tool-label {
  margin: 0 0 4px; font-size: .74rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--mm-secondary-dark);
}
.mm-tool-res { margin: 0 0 8px; font-size: 1.08rem; font-weight: 700; color: var(--mm-primary); line-height: 1.35; }
.mm-tool-why { margin: 0 0 12px; font-size: .92rem; line-height: 1.55; color: var(--mm-muted); }
.mm-tool-avisos { margin: 0 0 16px; padding: 0; list-style: none; }
.mm-tool-avisos li {
  margin: 0 0 8px; padding: 9px 12px; border-left: 3px solid var(--mm-accent);
  background: var(--mm-paper); border-radius: 0 6px 6px 0;
  font-size: .87rem; line-height: 1.5; color: #3c4756;
}
.mm-tool-avisos li::before { display: none; }
.mm-tool-out .mm-btn { display: block; text-align: center; }
.mm-tool-legal { margin: 16px 0 0; font-size: .76rem; line-height: 1.45; color: #8593a5; }

/* ---------- secciones ---------- */
.mm-section { padding-top: 58px; }
.mm-section-head { margin-bottom: 26px; }
.mm-section-head h2 {
  font-family: var(--mm-serif);
  margin: 0 0 7px; padding: 0; border: 0;
  font-size: 2rem; letter-spacing: -.02em; font-weight: 700;
}
.mm-section-head p { margin: 0; color: var(--mm-muted); font-size: 1rem; max-width: 660px; }

/* ---------- categorías ---------- */
.mm-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mm-cat {
  display: flex; flex-direction: column; gap: 3px;
  padding: 22px 22px 20px; border: 1px solid var(--mm-border); border-radius: 12px;
  background: #fff; text-decoration: none !important;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.mm-cat:hover {
  border-color: rgba(15,52,96,.22); transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(15,52,96,.06), 0 14px 30px rgba(15,52,96,.07);
}
.mm-cat-ico {
  width: 46px; height: 46px; margin-bottom: 14px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--mm-paper); color: var(--mm-primary);
  transition: background .15s;
}
.mm-cat:hover .mm-cat-ico { background: rgba(22,199,154,.12); }
.mm-ico { width: 26px; height: 26px; }
.mm-cat-name { font-weight: 700; color: var(--mm-primary); font-size: 1.05rem; }
.mm-cat-count { font-size: .85rem; color: var(--mm-muted); }
.mm-cat-all { background: var(--mm-paper); }

/* ---------- tarjetas de artículo ---------- */
.mm-grid { display: grid; gap: 24px; }
.mm-grid-3 { grid-template-columns: repeat(3, 1fr); }

.mm-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--mm-border); border-radius: 12px;
  overflow: hidden; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.mm-card:hover {
  transform: translateY(-3px); border-color: rgba(15,52,96,.22);
  box-shadow: 0 6px 14px rgba(15,52,96,.07), 0 18px 40px rgba(15,52,96,.09);
}
.mm-card-img { display: block; aspect-ratio: 16 / 9; background: var(--mm-primary); }
.mm-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mm-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.mm-card-link { position: absolute; inset: 0; z-index: 2; }
.mm-card-body a, .mm-card .mm-chip { position: relative; z-index: 3; }

.mm-chip {
  align-self: flex-start; margin-bottom: 12px; padding: 4px 11px; border-radius: 999px;
  background: var(--mm-paper); color: var(--mm-primary) !important;
  font-size: .69rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  text-decoration: none !important; border: 1px solid var(--mm-border);
}
.mm-chip:hover { background: rgba(22,199,154,.14); border-color: rgba(22,199,154,.4); }
.mm-card h3 { margin: 0 0 11px; font-size: 1.12rem; line-height: 1.34; letter-spacing: -.012em; }
.mm-card h3 a { color: var(--mm-primary); text-decoration: none; }
.mm-card-cap { margin: 0 0 16px; font-size: .94rem; line-height: 1.55; color: var(--mm-muted); }
.mm-card-more { margin-top: auto; font-size: .89rem; font-weight: 700; color: var(--mm-primary); }
.mm-card-more i { font-style: normal; margin-left: 6px; display: inline-block; transition: margin-left .15s; }
.mm-card:hover .mm-card-more i, .mm-reg:hover .mm-card-more i { margin-left: 11px; }

/* ---------- lo que nadie te cuenta ---------- */
.mm-nadie {
  margin-top: 62px; padding-top: 56px; padding-bottom: 58px;
  background: var(--mm-paper); border-top: 1px solid var(--mm-border);
  border-bottom: 1px solid var(--mm-border);
}
.mm-reg {
  display: flex; flex-direction: column;
  padding: 24px 24px 22px; background: #fff; border: 1px solid var(--mm-border);
  border-radius: 12px; text-decoration: none !important;
  border-top: 3px solid var(--mm-accent);
  transition: transform .16s, box-shadow .16s;
}
.mm-reg:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(15,52,96,.09); }
.mm-reg-fig {
  font-family: var(--mm-serif); font-size: 1.6rem; font-weight: 700;
  color: var(--mm-accent); line-height: 1.1; margin-bottom: 12px; letter-spacing: -.02em;
}
.mm-reg-title { font-weight: 700; color: var(--mm-primary); font-size: 1.04rem; line-height: 1.35; margin-bottom: 9px; }
.mm-reg-cap { font-size: .92rem; line-height: 1.55; color: var(--mm-muted); margin-bottom: 16px; }
.mm-reg .mm-card-more { margin-top: auto; }

/* ---------- método ---------- */
.mm-method {
  margin-top: 64px; padding-top: 56px; padding-bottom: 60px;
  background: #fff; border-top: 1px solid var(--mm-border);
}
.mm-method h2 {
  font-family: var(--mm-serif);
  margin: 0 0 32px; padding: 0; border: 0; font-size: 1.85rem; letter-spacing: -.02em;
}
.mm-method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.mm-method-num {
  display: block; margin-bottom: 10px;
  font-size: .8rem; font-weight: 800; letter-spacing: .12em; color: var(--mm-secondary-dark);
}
.mm-method-grid h3 { margin: 0 0 8px; font-size: 1.06rem; }
.mm-method-grid p { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--mm-muted); }
.mm-disclaimer {
  margin: 38px 0 0; padding: 16px 18px;
  border-left: 3px solid var(--mm-accent); background: var(--mm-paper); border-radius: 0 8px 8px 0;
  font-size: .87rem; line-height: 1.6; color: var(--mm-muted);
}
.mm-disclaimer strong { color: var(--mm-primary-dark); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .mm-hero { grid-template-columns: 1fr; gap: 38px; padding-top: 42px; }
  .mm-tool { position: static; }
  .mm-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .mm-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .mm-method-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 640px) {
  .mm-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mm-cat { padding: 18px 16px; }
  .mm-grid-3 { grid-template-columns: 1fr; }
  .mm-section { padding-top: 44px; }
  .mm-hero h1 { font-size: 2.1rem; }
}
