/* =========================================================
   HERO BUSCALÍMETRO — SOLO > 800px
========================================================= */
@media (min-width: 801px){

  .bm-hero{
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 0;
    padding: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--bm-blue) 0%, var(--bm-orange) 100%);
  }

  .bm-hero .bm-wrap{
    width: min(1600px, 100%);
    margin: 0 auto;
    padding: 0 14px;
    box-sizing: border-box;
  }

  /* =========================================================
     ESTRUCTURA GENERAL
  ========================================================= */
  .bm-hero-inner{
    display: grid;
    grid-template-columns: 85% 15%;
    column-gap: 18px;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .bm-hero-both{
    display: grid;
    grid-template-rows: auto auto;
    row-gap: 2px;
    min-width: 0;
    width: 100%;
  }

  .bm-hero-row{
    width: 100%;
    min-width: 0;
    align-self: start;
  }

  .bm-hero-logo,
  .bm-hero-brand,
  .bm-hero-mascot,
  .bm-hero-filter,
  .bm-hero-side{
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .bm-hero-logo img{
    display: block;
    max-width: 100%;
    height: auto;
  }

  .bm-hero-mascot img{
    display: block;
    max-width: 100%;
    height: auto;
  }

  /* =========================================================
     FILA 1
  ========================================================= */
  .bm-hero-row--top{
    display: grid;
    grid-template-columns: 48% 52%;
    align-items: start;
    column-gap: 18px;
    margin: 0;
  }

  /* =========================================================
     FILA 2
  ========================================================= */
  .bm-hero-row--bottom{
    display: grid;
    grid-template-columns: 15% 85%;
    align-items: start;
    column-gap: 18px;
    margin-top: -10px;
  }

  /* =========================================================
     LOGO
  ========================================================= */
  .bm-hero-logo{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .bm-hero-logo img{
    width: min(100%, 620px);
    filter:
      drop-shadow(0 16px 32px rgba(0,0,0,.25))
      drop-shadow(0 0 18px rgba(0,120,255,.65))
      drop-shadow(0 0 42px rgba(0,120,255,.45));
  }

  /* =========================================================
     TEXTO
  ========================================================= */
  .bm-hero-brand{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0 8px;
  }

  .bm-hero-title{
    margin: 0;
    width: 100%;
    font-size: clamp(24px, 2.2vw, 41px);
    line-height: 1.02;
    font-weight: 900;
    text-shadow: 0 2px 0 rgba(255,255,255,.25);
  }

  .bm-hero-subtitle{
    margin: 6px 0 0;
    width: 100%;
    color: rgba(255,255,255,.92);
    font-weight: 600;
    font-size: clamp(14px, 1.1vw, 20px);
    line-height: 1.2;
  }

  /* =========================================================
     MASCOTA
  ========================================================= */
  .bm-hero-mascot{
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    min-height: 100%;
  }

  .bm-hero-mascot img{
    width: min(100%, 240px);
    margin-left: auto;
    filter: drop-shadow(0 18px 28px rgba(0,0,0,.22));
  }

  .bm-hero-side{
    min-height: 1px;
  }

  /* =========================================================
     FILTRO
  ========================================================= */
  .bm-hero-filter{
    width: 100%;
    max-width: 100%;
    margin: 4px;
    background:
      linear-gradient(
        135deg,
        rgba(14,53,84,.95) 0%,
        rgba(29,111,165,.93) 35%,
        rgba(255,106,0,.92) 75%,
        rgba(255,247,241,.96) 100%
      );
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 18px;
    padding: 10px 14px;
    box-shadow: 0 18px 46px rgba(0,0,0,.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
  }

  .bm-filter-grid{
    display: grid;
    align-items: end;
    width: 100%;
    min-width: 0;
  }

  .bm-field{
    min-width: 0;
    width: 100%;
  }

  .bm-field span{
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .2px;
    margin: 0 0 6px;
    color: rgba(255,255,255,.92);
  }

  .bm-field select,
  .bm-field input,
  .bm-filter-submit{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .bm-field select,
  .bm-field input{
    height: 34px;
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.94);
    color: #111;
    outline: none;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.05);
    min-width: 0;
  }

  .bm-field input{
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .bm-field input::placeholder{
    color: rgba(0,0,0,.52);
  }

  .bm-field select:focus,
  .bm-field input:focus{
    border-color: rgba(255,255,255,.55);
    box-shadow: 0 0 0 4px rgba(255,122,0,.22);
    transform: translateY(-1px);
  }

  .bm-btn.bm-btn-primary,
  .bm-filter-submit{
    height: 34px;
    padding: 0 18px;
    border-radius: 12px;
    border: 0;
    cursor: pointer;
    font-weight: 900;
    letter-spacing: .2px;
    color: #fff;
    background: linear-gradient(135deg, #ff6a00 0%, #ff3d00 100%);
    box-shadow: 0 14px 30px rgba(0,0,0,.22);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
    white-space: nowrap;
  }

  .bm-btn.bm-btn-primary:hover,
  .bm-filter-submit:hover{
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(0,0,0,.26);
    filter: brightness(1.02);
  }

  .bm-btn.bm-btn-primary:active,
  .bm-filter-submit:active{
    transform: translateY(0);
    box-shadow: 0 10px 22px rgba(0,0,0,.22);
  }

  /* =========================================================
     TABLET HORIZONTAL
  ========================================================= */
  @media (min-width: 801px) and (max-width: 1080px){
    .bm-hero-inner{
      grid-template-columns: 78% 22%;
      column-gap: 14px;
    }

    .bm-hero-row--top{
      grid-template-columns: 40% 60%;
      column-gap: 14px;
    }

    .bm-hero-row--bottom{
      grid-template-columns: 8% 92%;
      column-gap: 14px;
      margin-top: -8px;
    }

    .bm-hero-title{
      font-size: clamp(28px, 3vw, 42px);
    }

    .bm-hero-subtitle{
      font-size: clamp(13px, 1.2vw, 17px);
    }

    .bm-hero-logo img{
      width: min(100%, 520px);
    }

    .bm-hero-mascot img{
      width: min(100%, 190px);
    }

    .bm-filter-grid{
      grid-template-columns: 1.1fr 1fr 1.2fr auto;
      gap: 10px;
    }
  }

  /* =========================================================
     DESKTOP GRANDE
  ========================================================= */
  @media (min-width: 1081px){
    .bm-filter-grid{
      grid-template-columns: 1.15fr 1fr 1.25fr auto;
      gap: 12px;
    }
  }
}

@media (min-width: 801px){
  .bm-hero .bm-wrap{
    width: var(--bm-site-fluid-width, calc(100% - 8px));
    max-width: none;
    padding-left: 4px;
    padding-right: 4px;
  }
}
