
/* NILA v21.50 Mobile CTA Panel Hard Insert */
:root{
  --v50-ink:#071b31;
  --v50-green:#075f3c;
  --v50-teal:#007f78;
  --v50-yellow:#ffc400;
  --v50-line:rgba(7,27,49,.12);
  --v50-muted:#52677f;
}

.v50-mobile-cta{
  display:none;
}

@media(max-width:780px){
  body.page-home .v42-hero-inner,
  body[data-nila-page="index"] .v42-hero-inner{
    display:flex!important;
    flex-direction:column!important;
    gap:16px!important;
  }

  body.page-home .v42-hero-copy,
  body[data-nila-page="index"] .v42-hero-copy{
    order:1!important;
    display:flex!important;
    flex-direction:column!important;
  }

  /* Hide the broken old mobile search box completely */
  body.page-home .v42-search-shell,
  body[data-nila-page="index"] .v42-search-shell{
    display:none!important;
  }

  /* New hard-inserted CTA panel */
  body.page-home .v50-mobile-cta,
  body[data-nila-page="index"] .v50-mobile-cta{
    display:block!important;
    order:2!important;
    margin-top:16px!important;
    padding:12px!important;
    border-radius:24px!important;
    background:rgba(255,255,255,.96)!important;
    border:1px solid rgba(7,27,49,.12)!important;
    box-shadow:0 22px 60px rgba(7,27,49,.14)!important;
  }

  .v50-field{
    display:block!important;
    background:#fff!important;
    border:1px solid rgba(7,27,49,.13)!important;
    border-radius:18px!important;
    padding:12px!important;
    margin-bottom:12px!important;
  }

  .v50-field label{
    display:block!important;
    color:var(--v50-muted)!important;
    font-size:11px!important;
    font-weight:950!important;
    letter-spacing:.06em!important;
    text-transform:uppercase!important;
    margin:0 0 7px!important;
  }

  .v50-field select,
  .v50-field input{
    display:block!important;
    width:100%!important;
    min-height:42px!important;
    border:0!important;
    background:transparent!important;
    color:var(--v50-ink)!important;
    font-size:16px!important;
    font-weight:850!important;
    outline:none!important;
    box-shadow:none!important;
    appearance:auto!important;
    -webkit-appearance:menulist!important;
  }

  .v50-field input{
    -webkit-appearance:none!important;
    appearance:none!important;
  }

  .v50-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
  }

  .v50-use-location,
  .v50-find-help{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:62px!important;
    border-radius:18px!important;
    border:0!important;
    font-size:18px!important;
    font-weight:950!important;
    font-family:inherit!important;
    cursor:pointer!important;
  }

  .v50-use-location{
    background:var(--v50-yellow)!important;
    color:var(--v50-ink)!important;
  }

  .v50-find-help{
    background:var(--v50-green)!important;
    color:#fff!important;
  }

  /* Image comes after the CTA panel */
  body.page-home .v42-hero-visual,
  body[data-nila-page="index"] .v42-hero-visual{
    order:3!important;
    width:100%!important;
    transform:none!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  body.page-home .v42-hero-visual img,
  body[data-nila-page="index"] .v42-hero-visual img{
    aspect-ratio:1.62/1!important;
    border-radius:22px!important;
    box-shadow:0 22px 60px rgba(7,27,49,.14)!important;
  }

  /* Trust row under image */
  body.page-home .v42-trust-row,
  body[data-nila-page="index"] .v42-trust-row{
    order:4!important;
    width:100%!important;
    margin-top:0!important;
    border-radius:18px!important;
    background:rgba(255,255,255,.86)!important;
    border:1px solid rgba(7,27,49,.08)!important;
    padding:12px!important;
    box-shadow:0 14px 40px rgba(7,27,49,.06)!important;
  }
}
