@media (max-width: 1100px) {
  .bmh-hero-inner,
  .bmh-layout {
    grid-template-columns: 1fr;
  }

  .bmh-hero-panel {
    justify-self: start;
  }

  .bmh-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bmh-sidebar {
    position: static;
    flex-direction: row;
    overflow-x: auto;
  }

  .bmh-sidebar strong {
    display: none;
  }

  .bmh-sidebar button {
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 82px;
  }

  .bmh-container {
    width: min(100% - 22px, 1380px);
  }

  .bmh-hero {
    min-height: 690px;
    align-items: flex-end;
    padding: 92px 0 120px;
    background:
      linear-gradient(180deg, rgba(4,28,49,.20) 0%, rgba(4,28,49,.58) 58%, rgba(238,245,251,1) 100%),
      url('../img/hero-monte.jpg') center center / cover no-repeat;
  }

  .bmh-hero-inner {
    gap: 18px;
  }

  .bmh-hero h1 {
    max-width: 420px;
    margin-top: 16px;
    font-size: 54px;
    line-height: .9;
  }

  .bmh-hero p {
    font-size: 16px;
  }

  .bmh-hero-panel {
    display: none;
  }

  .bmh-search-box {
    position: sticky;
    bottom: 82px;
    z-index: 5;
    margin-top: 24px;
    border-radius: 25px;
    padding: 9px;
  }

  .bmh-search-input {
    height: 58px;
    border-radius: 18px;
  }

  .bmh-search-input input {
    font-size: 15px;
  }

  .bmh-quick-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .bmh-quick-chips button {
    white-space: nowrap;
  }

  .bmh-section {
    padding: 30px 0;
  }

  .bmh-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .bmh-section-head h2 {
    font-size: 32px;
  }

  .bmh-categories {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }

  .bmh-category-card {
    min-width: 210px;
    min-height: 150px;
    scroll-snap-align: start;
  }

  .bmh-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bmh-sidebar {
    margin: 0 -11px;
    padding: 0 11px 8px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .bmh-card {
    border-radius: 28px;
  }

  .bmh-card-cover {
    height: 140px;
  }

  .bmh-card-body {
    padding: 18px;
  }

  .bmh-mobile-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 9999;
    height: 64px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid rgba(15,76,129,.12);
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 18px 48px rgba(8,47,79,.18);
    backdrop-filter: blur(16px);
  }

  .bmh-mobile-nav a {
    display: grid;
    place-items: center;
    gap: 2px;
    color: var(--bmh-muted);
    font-size: 11px;
    font-weight: 950;
  }

  .bmh-mobile-nav span {
    display: block;
    color: var(--bmh-blue);
    font-size: 18px;
    line-height: 1;
  }
}

@media (min-width: 761px) {
  .bmh-mobile-nav {
    display: none;
  }
}


/* V6.1 - Ajustes mobile: sin scroll horizontal visible y nav tipo app más clara */
@media (max-width: 760px) {

  html,
  body,
  .bmh-app {
    max-width: 100%;
    overflow-x: hidden;
  }

  .bmh-container {
    width: calc(100% - 22px);
  }

  .bmh-topbar {
    top: 12px;
  }

  .bmh-topbar-inner {
    width: calc(100% - 22px);
    gap: 8px;
  }

  .bmh-nmh-badge {
    max-width: 70%;
    padding: 8px 11px;
    font-size: 11px;
    white-space: nowrap;
  }

  .bmh-powered {
    display: none;
  }

  .bmh-quick-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }

  .bmh-quick-chips button {
    width: 100%;
    min-height: 42px;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
    padding: 10px 8px;
  }

  .bmh-categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    overflow: visible;
    padding-bottom: 0;
  }

  .bmh-category-card {
    min-width: 0;
    width: 100%;
    min-height: 138px;
    padding: 16px;
  }

  .bmh-category-card span {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    font-size: 22px;
  }

  .bmh-category-card strong {
    margin-top: 14px;
    font-size: 18px;
  }

  .bmh-category-card small {
    font-size: 12px;
  }

  .bmh-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0 0 12px;
    overflow: visible;
  }

  .bmh-sidebar button {
    width: 100%;
    min-height: 42px;
    padding: 10px 11px;
    text-align: center;
    white-space: normal;
    font-size: 13px;
    line-height: 1.15;
  }

  .bmh-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .bmh-social-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .bmh-social-actions a {
    width: 100%;
    min-width: 0;
  }

  .bmh-mobile-nav {
    height: 72px;
    border-radius: 26px;
    padding: 4px;
  }

  .bmh-mobile-nav a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    line-height: 1;
  }

  .bmh-mobile-nav span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(15,76,129,.08);
    color: var(--bmh-blue);
    font-size: 21px;
  }
}

/* Oculta barras de scroll en carruseles si en el futuro se usan */
.bmh-quick-chips,
.bmh-categories,
.bmh-sidebar {
  scrollbar-width: none;
}

.bmh-quick-chips::-webkit-scrollbar,
.bmh-categories::-webkit-scrollbar,
.bmh-sidebar::-webkit-scrollbar {
  display: none;
}
