/* =========================================================
   HERO MOBILE — BUSCALÍMETRO
   Menor a 801px
========================================================= */

@media (max-width: 800px){

  .bm-hero--mobile{
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 14px 0 10px;
    color: #fff;
    background:
      linear-gradient(180deg, rgba(8, 34, 95, .18) 0%, rgba(255, 122, 0, .10) 100%),
      linear-gradient(135deg, var(--bm-blue) 0%, var(--bm-orange) 100%);
  }

  .bm-hero--mobile .bm-wrap{
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .bm-hero-inner--mobile{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  /* =========================================================
     LOGO
  ========================================================= */

  .bm-hero-logo--mobile{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
  }

  .bm-hero-logo--mobile img,
  .bm-hero-logo--mobile .custom-logo{
    display: block;
    width: min(88vw, 320px);
    max-width: 320px;
    height: auto;
    margin: 0 auto;
    filter:
      drop-shadow(0 8px 18px rgba(0, 52, 160, .30))
      drop-shadow(0 3px 10px rgba(0, 0, 0, .18));
  }

  /* =========================================================
     TÍTULO / SUBTÍTULO
  ========================================================= */

  .bm-hero-brand--mobile,
  .bm-hero-subcopy--mobile{
    width: 100%;
    text-align: center;
    margin: 0;
  }

.bm-hero-brand--mobile .bm-hero-title{
  margin:0;
  padding:0 6px;

  font-size: clamp(1.08rem,4.3vw,1.45rem);
  line-height:1.08;
  font-weight:900;
  letter-spacing:-.02em;

  color:#1e73be;
  text-align:center;

  text-shadow:
    0 0 4px #fff,
    0 0 8px #fff,
    0 0 12px #fff,
    0 2px 4px rgba(0,0,0,.35);
}

.bm-hero-subcopy--mobile .bm-hero-subtitle{
  max-width:340px;
  margin:0 auto;
  padding:0 8px;

  font-size: clamp(.82rem,3vw,.96rem);
  line-height:1.25;
  font-weight:700;

  color:#ff6a00;
  text-align:center;

  text-shadow:
    0 0 4px #fff,
    0 0 8px #fff,
    0 0 12px #fff,
    0 2px 4px rgba(0,0,0,.35);
}
  /* =========================================================
     FILA INFERIOR
     SIEMPRE 75% filtro / 25% mascota
  ========================================================= */

  .bm-hero-bottom-mobile{
    width: 100%;
    display: grid;
    grid-template-columns: 75% 25%;
    gap: 8px;
    align-items: end;
    margin-top: 6px;
  }

  /* =========================================================
     FILTRO
     SIEMPRE VERTICAL
  ========================================================= */

  .bm-hero-filter--mobile{
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  .bm-filter-grid--mobile{
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    align-items: stretch;
    width: 100%;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(255,255,255,.40);
    border-radius: 14px;
    padding: 8px;
    box-shadow:
      0 10px 28px rgba(10, 30, 70, .18),
      inset 0 1px 0 rgba(255,255,255,.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-sizing: border-box;
  }

  .bm-filter-grid--mobile .bm-field--keyword{
    display: flex;
  }

  .bm-filter-grid--mobile .bm-field{
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    width: 100%;
    margin: 0;
  }

  .bm-filter-grid--mobile .bm-field span{
    display: none;
  }

  .bm-filter-grid--mobile .bm-field select,
  .bm-filter-grid--mobile .bm-field input{
    width: 100%;
    min-width: 0;
    height: 42px;
    border: 1px solid rgba(30, 60, 130, .14);
    border-radius: 10px;
    padding: 0 11px;
    background: rgba(255,255,255,.96);
    color: #24346a;
    font-size: .94rem;
    font-weight: 600;
    box-sizing: border-box;
    outline: none;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.03);
  }

  .bm-filter-grid--mobile .bm-field select:focus,
  .bm-filter-grid--mobile .bm-field input:focus{
    border-color: rgba(255, 106, 0, .55);
    box-shadow: 0 0 0 3px rgba(255, 122, 0, .12);
  }

  .bm-filter-grid--mobile .bm-field--main select,
  .bm-filter-grid--mobile .bm-field--province select,
  .bm-filter-grid--mobile .bm-field--keyword input{
    border-radius: 10px;
  }

  .bm-filter-grid--mobile .bm-filter-submit{
    width: 100%;
    min-width: 100%;
    height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    font-size: .98rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    background: linear-gradient(180deg, #ff8f1f 0%, #ff5d00 100%);
    box-shadow:
      0 6px 14px rgba(255, 95, 0, .28),
      inset 0 1px 0 rgba(255,255,255,.30);
    cursor: pointer;
    white-space: nowrap;
  }

  .bm-filter-grid--mobile .bm-filter-submit:hover,
  .bm-filter-grid--mobile .bm-filter-submit:focus{
    transform: translateY(-1px);
  }

  /* =========================================================
     MASCOTA
     SIEMPRE A LA PAR
  ========================================================= */

.bm-hero-mascot--mobile{
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  min-width: 0;

  margin-left: -30px;   /* pega la mascota al filtro */
  margin-bottom: -10px; /* la sube sobre el filtro */

  padding: 0;
  position: relative;
  z-index: 3;
}

.bm-hero-mascot--mobile img{
  display: block;
  width: 180%;
  max-width: 220px;
  height: auto;
  object-fit: contain;
    filter:
      drop-shadow(0 8px 14px rgba(0,0,0,.18))
      drop-shadow(0 2px 6px rgba(0, 70, 170, .14));
  }
}