/* ═══════════════════════════════════════════════════════════════════════════
   WEEXP · Home · versión TABLET de las secciones 02–10  (761 a 1100 px)
   Igual que en celular: el escritorio (> 1100 px) no se toca y se usa !important
   porque el marcado aprobado trae los estilos en línea.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Nivel 1 · tablet horizontal y portátiles pequeños (761–1100 px) ─────── */
@media (min-width: 761px) and (max-width: 1100px) {
  .weexp-home .g12, .weexp-home .w12 { padding-left: 40px !important; padding-right: 40px !important; }
  .weexp-home section[style*="padding: 128px"] { padding-top: 96px !important; padding-bottom: 96px !important; }

  /* 06 · Noticias: 2 columnas */
  #noticias [style*="repeat(4, minmax(0, 1fr))"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

  /* 09 · Cierre: grilla de fotos de 7 columnas */
  #cierre > div[style*="max-width: 1440px"] { padding: 0 40px !important; }
  #cierre [style*="repeat(9, minmax(0, 1fr))"] { grid-template-columns: repeat(7, minmax(0, 1fr)) !important; }
  #cierre [style*="repeat(9, minmax(0, 1fr))"] > .colf:nth-child(n+8) { display: none; }

  /* 10 · Pie: márgenes de tablet */
  .weexp-home footer [style*="font: 800 300px"] { font-size: 200px !important; padding: 0 40px !important; }
  .weexp-home footer [style*="padding: 22px 80px 0"] { padding: 22px 40px 0 !important; }
}

/* ── Nivel 2 · tablet vertical (761–960 px) ─────────────────────────────── */
@media (min-width: 761px) and (max-width: 960px) {
  /* 05 · Directorio: perfiles en 2 columnas */
  #directorio [style*="repeat(3, minmax(0, 1fr))"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

  /* 07 · Testimonios: tarjeta al ancho disponible */
  .tes { flex-basis: calc(100vw - 80px) !important; }

  /* 08 · Partners: texto arriba, aliados debajo */
  #partners .g12 > div { grid-column: 1 / -1 !important; }
  #partners .g12 { row-gap: 48px !important; }
  #partners .g12 > div[style*="grid-column: 7"] { max-width: 560px; }

  /* 10 · Pie: marca a lo ancho y tres columnas debajo */
  .weexp-home footer .g12 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; column-gap: 24px !important; }
  .weexp-home footer .g12 > div:first-child { grid-column: 1 / -1 !important; }
  .weexp-home footer .g12 > .col { grid-column: auto !important; }
}

/* Menú del hero en tablet: solo el botón de diagnóstico (los enlaces no caben en una línea) */
@media (min-width: 761px) and (max-width: 1000px) {
  .menu a:not(.menu-cta) { display: none; }
}
