/**
 * Bolivar Corp Estimator V1.0.7 — compact mobile hero
 * Scoped exclusively to the estimator, at phone screen sizes.
 * The desktop design, estimate calculations, validations and service cards remain untouched.
 * Loaded after bolivar-mobile-106.css to avoid overrides from prior releases.
 */
@media screen and (max-width:679px) {
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106.bcoe-v107 section.bcoe-hero {
    box-sizing:border-box!important;
    width:100%!important;
    min-height:0!important;
    height:auto!important;
    padding:14px 15px 15px!important;
    margin:0 0 10px!important;
    border-radius:16px!important;
    box-shadow:0 8px 21px rgba(59,14,27,.12)!important;
    background:#3b0e1b!important;
    background-image:linear-gradient(112deg,#300915 0%,#431323 67%,#592b35 100%)!important;
    text-align:left!important;
    overflow:hidden!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106.bcoe-v107 section.bcoe-hero .bcoe-badge {
    display:inline-flex!important;
    max-width:100%!important;
    width:auto!important;
    padding:5px 9px!important;
    margin:0!important;
    font:750 9px/1.3 system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important;
    letter-spacing:.02em!important;
    border-radius:999px!important;
    white-space:normal!important;
    text-align:left!important;
    color:#391322!important;
    background:#f3dcab!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106.bcoe-v107 section.bcoe-hero h2 {
    display:block!important;
    margin:8px 0 7px!important;
    max-width:100%!important;
    padding:0!important;
    font:700 clamp(19px,5.25vw,23px)/1.12 Georgia,'Times New Roman',serif!important;
    letter-spacing:-.025em!important;
    color:#f4dda9!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    text-wrap:balance!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106.bcoe-v107 section.bcoe-hero h2 span {
    display:block!important;
    margin:5px 0 0!important;
    padding:0!important;
    max-width:100%!important;
    font:750 clamp(11px,3.3vw,14px)/1.24 system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important;
    letter-spacing:.01em!important;
    color:#fff6e5!important;
    -webkit-text-fill-color:#fff6e5!important;
    background:none!important;
    border:0!important;
    box-shadow:none!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106.bcoe-v107 section.bcoe-hero p {
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    padding:0!important;
    margin:0 0 8px!important;
    font:400 12.5px/1.4 system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important;
    color:#fff7eb!important;
    opacity:1!important;
    text-align:left!important;
    text-wrap:pretty!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106.bcoe-v107 section.bcoe-hero .bcoe-trust-row {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
    max-width:100%!important;
    gap:5px!important;
    margin:8px 0 0!important;
    padding:0!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106.bcoe-v107 section.bcoe-hero .bcoe-trust-row span {
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    padding:5px 5px!important;
    margin:0!important;
    border-radius:8px!important;
    font:750 10px/1.25 system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important;
    color:#381525!important;
    background:#f3dfb9!important;
    text-align:center!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    box-shadow:none!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106.bcoe-v107 .bcoe-progress {
    margin:12px 0 15px!important;
  }
}
/* Ultra-narrow phones: keep labels readable without forcing tall pills. */
@media screen and (max-width:350px) {
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106.bcoe-v107 section.bcoe-hero {
    padding:12px 12px 13px!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106.bcoe-v107 section.bcoe-hero .bcoe-trust-row {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106.bcoe-v107 section.bcoe-hero .bcoe-trust-row span {
    font-size:9.5px!important;
  }
}
