/* =============================================================================
   MiPlanHoy – Home Page Styles
   assets/css/home.css
   Cargado exclusivamente en is_front_page().
   Con body-class full-width-content + mph-home — sin hacks calc(50%-50vw).
   Cada sección con background es full-width de forma natural.
   ============================================================================= */

/* ---------------------------------------------------------------------------
   0. Reset GP en home + full-width de #primary
   --------------------------------------------------------------------------- */

/* El hero usa la misma clase .mph-hero que el single-event (main.css).
   Aquí reseteamos las propiedades que lo estrechaban en la home. */
body.mph-home .mph-hero {
  aspect-ratio: auto !important; /* anula 4/5 · 3/2 · 16/7 de main.css */
  overflow: visible;
  margin-bottom: 0;
}

/* Asegurar que #primary ocupa el 100% del ancho en home */
body.mph-home .content-area,
body.mph-home #primary {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding: 0 !important;
}

body.mph-home .site-content { padding: 0; }
body.mph-home .site-main   { margin: 0; padding: 0; }
body.mph-home              { overflow-x: hidden; }

/* Espacio para el filter bar sticky en mobile */
@media (max-width: 767px) {
  body.mph-home { padding-bottom: 60px; }
}

/* Asegurar dropdowns del menú por encima del hero */
body.mph-home .main-navigation        { position: relative; z-index: 200; }
body.mph-home .main-navigation ul ul  { z-index: 201; }

/* ---------------------------------------------------------------------------
   Custom properties – home scope
   --------------------------------------------------------------------------- */
body.mph-home {
  --mph-navy:      #1A2B49;
  --mph-blue:      #0071eb;
  --mph-blue-lt:   #e8f4ff;
  --mph-gray:      #f4f6f8;
  --mph-font:      'Figtree', system-ui, sans-serif;
  --mph-radius:    8px;
  --mph-inner-max: 1100px;
}

/* ---------------------------------------------------------------------------
   Inner wrapper – presente en todas las secciones
   --------------------------------------------------------------------------- */
.mph-inner {
  max-width: var(--mph-inner-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------------------------------------------------------------------------
   Cabeceras de sección compartidas
   --------------------------------------------------------------------------- */
.mph-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 1rem;
}

.mph-section-title {
  font-family: var(--mph-font);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--mph-navy);
  margin: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem;
}

.mph-section-dates {
  font-size: .85rem;
  font-weight: 500;
  color: #666;
}

.mph-section-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--mph-blue);
  text-decoration: none;
  white-space: nowrap;
}

.mph-section-link:hover { text-decoration: underline; }

.mph-section-subtext {
  font-family: var(--mph-font);
  font-size: .9rem;
  color: #555;
  margin: -.75rem 0 1.25rem;
}

.mph-section-cta {
  text-align: center;
  margin-top: 1.75rem;
}

.mph-no-items {
  font-size: .9rem;
  color: #666;
  padding: 2rem 0;
  text-align: center;
}

/* ---------------------------------------------------------------------------
   Botones
   --------------------------------------------------------------------------- */
.mph-btn-outline {
  display: inline-block;
  padding: .65rem 1.5rem;
  border: 2px solid var(--mph-blue);
  border-radius: 99px;
  font-family: var(--mph-font);
  font-size: .9rem;
  font-weight: 700;
  color: var(--mph-blue);
  text-decoration: none;
  transition: background .15s, color .15s;
}

.mph-btn-outline:hover {
  background: var(--mph-blue);
  color: #fff;
}

.mph-btn-primary {
  display: inline-block;
  padding: .8rem 2rem;
  background: #fff;
  border-radius: 99px;
  font-family: var(--mph-font);
  font-size: 1rem;
  font-weight: 800;
  color: var(--mph-blue);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
  transition: background .15s, transform .15s;
}

.mph-btn-primary:hover {
  background: var(--mph-blue-lt);
  transform: translateY(-1px);
  color: var(--mph-blue);
}

/* ---------------------------------------------------------------------------
   1. HERO
   --------------------------------------------------------------------------- */
.mph-hero {
  position: relative;
  min-height: 260px;
  height: 46svh;
  max-height: 520px;
  background: var(--mph-navy) center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.mph-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, .90) 0%,
    rgba(0, 0, 0, .50) 50%,
    rgba(0, 0, 0, .08) 100%
  );
  z-index: 0;
}

.mph-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--mph-inner-max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
}

/* Barra de categorías – debajo del buscador */
.mph-cats-bar {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin-top: .75rem;
  margin-bottom: 0;
  padding-bottom: .125rem;
}

.mph-cats-bar::-webkit-scrollbar { display: none; }

.mph-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .85rem;
  border-radius: 99px;
  font-family: var(--mph-font);
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  background: var(--mph-blue);
  transition: filter .15s, transform .15s;
  flex-shrink: 0;
}

.mph-cat-pill:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  color: #fff;
}

/* Títulos hero */
.mph-hero__title {
  font-family: var(--mph-font);
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.12;
  margin: 0 0 .6rem;
  text-shadow: 1px 2px 6px rgba(0, 0, 0, .5);
}

.mph-hero__subtitle {
  font-family: var(--mph-font);
  font-size: clamp(.875rem, 2.5vw, 1.1rem);
  color: rgba(255, 255, 255, .9);
  margin: 0 0 1.25rem;
  max-width: 520px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, .4);
}

/* Buscador */
.mph-search-wrap {
  display: flex;
  border-radius: 99px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .35);
  max-width: 600px;
  margin-bottom: 1.1rem;
}

.mph-search-input {
  flex: 1;
  border: none;
  padding: 1rem 1.4rem;
  font-size: 1.05rem;
  font-family: var(--mph-font);
  outline: none;
  background: #fff;
  color: #333;
  min-width: 0;
}

.mph-search-input::placeholder { color: #888; font-size: .95rem; }

.mph-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.4rem;
  background: var(--mph-blue);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background .15s;
  flex-shrink: 0;
}

.mph-search-btn:hover { background: #005cc5; }

/* Trust line */
.mph-trust-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  font-family: var(--mph-font);
  font-size: .78rem;
  color: rgba(255, 255, 255, .75);
  margin: 0;
}

.mph-trust-sep { color: rgba(255,255,255,.4); }

/* ---------------------------------------------------------------------------
   2. TARJETA PORTRAIT (.mph-portrait-card)
   --------------------------------------------------------------------------- */
.mph-portrait-card {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--mph-radius);
  overflow: hidden;
  background: #dde3ea;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.mph-portrait-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.mph-portrait-card__image {
  position: absolute;
  inset: 0;
}

.mph-portrait-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.mph-portrait-card:hover .mph-portrait-card__image img {
  transform: scale(1.05);
}

.mph-portrait-card__image--empty {
  background: linear-gradient(135deg, #c9d1dc 0%, #b0bbc8 100%);
}

/* Overlay degradado inferior */
.mph-portrait-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.80) 0%,
    rgba(0,0,0,.30) 50%,
    rgba(0,0,0,0)   100%
  );
  z-index: 1;
}

/* Badge categoría – esquina superior izquierda */
.mph-portrait-card__cat {
  position: absolute;
  top: .6rem;
  left: .6rem;
  z-index: 2;
  display: inline-block;
  padding: 2px 9px;
  border-radius: 99px;
  font-family: var(--mph-font);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #fff;
  background: var(--mph-blue);
  line-height: 1.6;
}

/* Info inferior (título + hora) */
.mph-portrait-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: .75rem .85rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.mph-portrait-card__title {
  font-family: var(--mph-font);
  font-size: .875rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mph-portrait-card__time {
  font-family: var(--mph-font);
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
}

/* ---------------------------------------------------------------------------
   3. PORTRAIT GRID
   --------------------------------------------------------------------------- */
.mph-portrait-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}

/* Hoy: máximo 3 columnas */
.mph-hoy .mph-portrait-grid {
  --portrait-max-cols: 3;
}

/* Finde: máximo 4 columnas */
.mph-finde .mph-portrait-grid {
  --portrait-max-cols: 4;
}

/* Mobile: scroll horizontal suave para Hoy y Finde */
@media (max-width: 699px) {
  .mph-hoy .mph-portrait-grid,
  .mph-finde .mph-portrait-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: .5rem;
    gap: .75rem;
  }

  .mph-hoy .mph-portrait-grid::-webkit-scrollbar,
  .mph-finde .mph-portrait-grid::-webkit-scrollbar { display: none; }

  .mph-hoy .mph-portrait-grid .mph-portrait-card,
  .mph-finde .mph-portrait-grid .mph-portrait-card {
    flex: 0 0 clamp(160px, 68vw, 220px);
    scroll-snap-align: start;
  }
}

@media (min-width: 600px) {
  .mph-portrait-grid { gap: 1rem; }
}

@media (min-width: 700px) {
  .mph-portrait-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1100px) {
  .mph-hoy   .mph-portrait-grid { grid-template-columns: repeat(3, 1fr); }
  .mph-finde .mph-portrait-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Menú más compacto en home (no interfiere con otros templates) */
body.mph-home .main-navigation .menu-item > a {
  padding-top: .5rem;
  padding-bottom: .5rem;
}

/* ---------------------------------------------------------------------------
   4. HOY EN CANTABRIA
   --------------------------------------------------------------------------- */
.mph-hoy {
  background: #fff;
  padding: 3rem 0;
}

/* ---------------------------------------------------------------------------
   5. FIN DE SEMANA
   --------------------------------------------------------------------------- */
.mph-finde {
  background: var(--mph-gray);
  padding: 3rem 0;
}

/* ---------------------------------------------------------------------------
   6. EXPLORAR POR CATEGORÍA
   --------------------------------------------------------------------------- */
.mph-explore {
  background: #fff;
  padding: 3rem 0;
}

.mph-explore-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-top: 1.25rem;
}

@media (min-width: 600px) { .mph-explore-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .mph-explore-grid { grid-template-columns: repeat(4, 1fr); } }

.mph-explore-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: .45rem;
  padding: 1rem 1rem .9rem;
  background: #fff;
  border-radius: var(--mph-radius);
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
  text-decoration: none;
  min-height: 96px;
  transition: box-shadow .15s, transform .15s;
}

.mph-explore-tile:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  transform: translateY(-2px);
}

/* Wrap para el tile de talleres + CTA debajo */
.mph-explore-tile-wrap {
  display: contents; /* ocupa la misma celda del grid que un tile normal */
}

/* CTA sutil bajo el tile de talleres */
.mph-explore-taller-cta {
  grid-column: 1 / -1; /* ancho completo */
  display: block;
  text-align: center;
  font-size: .78rem;
  color: var(--mph-color-primary);
  text-decoration: none;
  opacity: .75;
  margin-top: -.25rem;
  padding: .35rem .5rem;
  transition: opacity .15s;
}

.mph-explore-taller-cta:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Icono circular con inicial de la categoría */
.mph-tile-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--mph-font);
  font-size: .875rem;
  font-weight: 800;
  flex-shrink: 0;
  line-height: 1;
  margin-bottom: .1rem;
}

.mph-tile-name {
  font-family: var(--mph-font);
  font-size: .875rem;
  font-weight: 700;
  color: var(--mph-navy);
  line-height: 1.3;
}

.mph-tile-count {
  font-family: var(--mph-font);
  font-size: .72rem;
  font-weight: 500;
  color: #888;
  white-space: nowrap;
}

/* ---------------------------------------------------------------------------
   7. PLANES POR LOCALIDAD
   --------------------------------------------------------------------------- */
.mph-locality {
  background: var(--mph-gray);
  padding: 3rem 0;
}

.mph-locality-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1.25rem;
}

@media (min-width: 600px)  { .mph-locality-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .mph-locality-grid { grid-template-columns: repeat(3, 1fr); } }

.mph-locality-block {
  background: #fff;
  border-radius: var(--mph-radius);
  padding: 1.25rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
}

.mph-locality-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--mph-blue);
  gap: .5rem;
}

.mph-locality-title-wrap {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 0;
}

.mph-locality-title {
  font-family: var(--mph-font);
  font-size: 1rem;
  font-weight: 900;
  color: var(--mph-navy);
  margin: 0;
  display: flex;
  align-items: center;
  gap: .35rem;
}

.mph-locality-title a {
  color: inherit;
  text-decoration: none;
}
.mph-locality-title a:hover { color: var(--mph-blue); }

.mph-locality-title .mph-icon {
  color: var(--mph-blue);
  flex-shrink: 0;
}

.mph-locality-count {
  font-size: .72rem;
  font-weight: 500;
  color: #888;
  margin-left: 1.4rem; /* alinea bajo el nombre, después del icono */
}

.mph-locality-more {
  font-size: .8rem;
  font-weight: 600;
  color: var(--mph-blue);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.mph-locality-more:hover { text-decoration: underline; }

.mph-locality-empty {
  font-size: .85rem;
  color: #888;
  margin: .5rem 0 0;
}

/* Barra "Más localidades" con chips */
.mph-locality-more-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #dde3ea;
}

.mph-locality-more-bar__label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--mph-navy);
  white-space: nowrap;
}

.mph-locality-more-bar__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.mph-chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .65rem;
  background: #fff;
  border: 1px solid #d0d7e2;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--mph-navy);
  text-decoration: none;
  transition: background .15s, border-color .15s;
}

.mph-chip:hover {
  background: var(--mph-blue-light, #e1f0ff);
  border-color: var(--mph-blue);
  color: var(--mph-blue);
}

.mph-chip__count {
  font-size: .68rem;
  font-weight: 500;
  color: #999;
}

.mph-chip--all {
  background: var(--mph-navy);
  border-color: var(--mph-navy);
  color: #fff;
}
.mph-chip--all:hover {
  background: var(--mph-blue);
  border-color: var(--mph-blue);
  color: #fff;
}

/* Tarjetas compactas reutilizadas */
.mph-compact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.mph-cc {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px;
  border-radius: var(--mph-radius);
  border: 1px solid #eaecf0;
  text-decoration: none;
  background: #fff;
  transition: box-shadow .15s, transform .15s;
}

.mph-cc:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,.11);
  transform: translateY(-1px);
}

.mph-cc__thumb {
  position: relative;
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  border-radius: 8px;
  overflow: hidden;
  background: #eaecf0;
}

.mph-cc__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mph-cc__no-img { width: 88px; height: 88px; background: #dde3ea; }

/* Badge de hora superpuesto sobre la imagen */
.mph-cc__time-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, .62);
  color: #fff;
  font-family: var(--mph-font);
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
  padding: 4px 2px;
  line-height: 1;
  letter-spacing: .02em;
}

.mph-cc__time-badge--all {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: 0;
}

.mph-cc__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 2px;
}

.mph-cc__title {
  font-family: var(--mph-font);
  font-size: .875rem;
  font-weight: 700;
  color: var(--mph-navy);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Dot de categoría */
.mph-cc__cat {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--cat-color, var(--mph-blue));
  line-height: 1;
}

.mph-cc__cat::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cat-color, var(--mph-blue));
  flex-shrink: 0;
}

/* ---------------------------------------------------------------------------
   8. BLOQUE EDITORIAL SEO
   --------------------------------------------------------------------------- */
.mph-seo-block {
  background: var(--mph-gray);
  padding: 3rem 0;
}

.mph-seo-block__inner {
  max-width: 720px; /* más estrecho para lectura cómoda */
}

.mph-seo-h2 {
  font-family: var(--mph-font);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 900;
  color: var(--mph-navy);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.mph-seo-h3 {
  font-family: var(--mph-font);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 800;
  color: var(--mph-navy);
  margin: 2rem 0 .75rem;
}

.mph-seo-block p {
  font-size: .95rem;
  line-height: 1.75;
  color: #444;
  margin: 0 0 1rem;
}

/* ---------------------------------------------------------------------------
   9. CTA PUBLICAR EVENTO
   --------------------------------------------------------------------------- */
.mph-cta-submit {
  background: var(--mph-navy);
  padding: 3.5rem 0;
  text-align: center;
}

.mph-cta-submit__title {
  font-family: var(--mph-font);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 .75rem;
}

.mph-cta-submit__subtitle {
  font-family: var(--mph-font);
  font-size: clamp(.875rem, 2vw, 1rem);
  color: rgba(255, 255, 255, .8);
  margin: 0 auto 1.75rem;
  max-width: 480px;
}

/* ---------------------------------------------------------------------------
   10. FILTER BAR – STICKY MOBILE
   --------------------------------------------------------------------------- */
.mph-filter-bar {
  display: none; /* oculto en desktop */
}

@media (max-width: 767px) {
  .mph-filter-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    border-top: 1px solid #dde3ea;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, .1);
  }
}

.mph-filter-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: .5rem .15rem;
  gap: .12rem;
  font-family: var(--mph-font);
  font-size: .62rem;
  font-weight: 700;
  color: var(--mph-navy);
  text-decoration: none;
  line-height: 1.2;
  transition: color .15s;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mph-filter-btn:hover { color: var(--mph-blue); }

.mph-filter-icon {
  font-size: 1.2rem;
  line-height: 1;
}

/* ---------------------------------------------------------------------------
   11. Reducción de movimiento
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .mph-cat-pill,
  .mph-portrait-card,
  .mph-portrait-card__image img,
  .mph-explore-tile,
  .mph-cc,
  .mph-btn-outline,
  .mph-btn-primary {
    transition: none;
    transform: none;
  }
}


/* ── ¿Cuándo? ─────────────────────────────────────────────── */
.mph-cuando {
  background: #1A2B49;
  padding: 3rem 0;
}
.mph-cuando .mph-section-title {
  color: #fff;
  text-align: center;
  margin-bottom: 2rem;
}
.mph-cuando__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) {
  .mph-cuando__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.mph-cuando__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  color: #fff;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.mph-cuando__item:hover {
  background: rgba(255,255,255,.16);
  transform: translateY(-2px);
  color: #fff;
}
.mph-cuando__icon {
  font-size: 2rem;
  line-height: 1;
}
.mph-cuando__label {
  font-size: .95rem;
  font-weight: 600;
  text-align: center;
}
