/* HomePro Finder front page (child theme 1.3.7, Option E). Loaded on the front page only. */
.hpf-home{--navy:#1b3a8c;--navy-d:#132a66;--orange-d:#c93c07;--ink:#0f172a;--mut:#475569;--line:#e2e8f0;--bg:#f6f8fc;--r:16px;color:var(--ink)}
.home #page.grid-container,.home .site-content{max-width:none!important;width:100%}
.home .site-content{display:block}
.home .site-content{padding-top:0!important;padding-bottom:0!important}
.home .content-area,.home .site-main{padding:0!important;margin-top:0!important;margin-bottom:0!important}
.hpf-home{margin-bottom:80px;overflow-x:clip}
.hpf-wrap{max-width:1200px;margin:0 auto;padding:0 24px;box-sizing:border-box}
.hpf-ic{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hpf-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 22px;border-radius:12px;font-weight:700;text-decoration:none}
.hpf-btn--white{background:#fff;color:var(--navy)!important}
.hpf-btn--ghost{border:2px solid var(--navy);color:var(--navy)!important;background:#fff}
.hpf-btn:focus-visible,.hpf-svc__c:focus-visible{outline:3px solid #ffb48f;outline-offset:2px}
/* hero */
/* 1.3.23: the hero no longer clips (the City / State list must open over the next sections); the image clips itself, and the hero stacks above what follows. */
.hpf-hero{position:relative;z-index:5;min-height:620px;display:flex;align-items:center;overflow:visible;color:#fff;background:var(--navy-d)}
.hpf-hero picture{position:absolute;inset:0;overflow:hidden}
.hpf-hero .tusabf-search{position:relative;z-index:6}
.hpf-hero__img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 50%}
.hpf-hero__shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(13,29,72,.93) 0%,rgba(19,42,102,.82) 45%,rgba(19,42,102,.30) 100%)}
.hpf-hero__in{position:relative;width:100%;padding-top:64px;padding-bottom:72px}
.hpf-hero h1{color:#fff;font-size:clamp(2.2rem,4.6vw,3.75rem);line-height:1.08;letter-spacing:-.02em;margin:0 0 16px;max-width:640px;font-weight:800}
.hpf-hero__sub{font-size:1.2rem;max-width:560px;margin:0 0 32px;color:#e6ecfa}
.hpf-hero .tusabf-search{display:grid;grid-template-columns:1.2fr 1.2fr .8fr auto;gap:12px;background:#fff;padding:14px;border-radius:20px;max-width:880px;box-shadow:0 20px 50px rgba(0,0,0,.28);margin:0;color:var(--ink)}
.hpf-hero .tusabf-search p{margin:0}
.hpf-hero .tusabf-search__field{display:flex;flex-direction:column;gap:2px;padding:6px 12px;border-radius:12px;background:var(--bg)}
.hpf-hero .tusabf-search__field label{color:var(--mut);font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.hpf-hero .tusabf-search select,.hpf-hero .tusabf-search input{border:0;background:transparent;font:inherit;font-size:1rem;color:var(--ink);padding:4px 0;min-height:32px;width:100%;box-shadow:none}
.hpf-hero .tusabf-search__submit{display:flex}
.hpf-hero .tusabf-search__submit .tusabf-btn{min-height:56px;padding:0 28px;font-size:1.05rem;border-radius:12px;background:var(--orange-d);color:#fff;width:100%}
.hpf-hero__ticks{display:flex;flex-wrap:wrap;gap:8px 24px;list-style:none;padding:0;margin:22px 0 0;font-weight:600}
.hpf-hero__ticks li::before{content:"\2713";color:#ffb48f;margin-right:8px}
.hpf-hero__place{position:absolute;left:24px;bottom:12px;margin:0;display:flex;align-items:center;gap:6px;font-size:.85rem;font-weight:600;color:#fff;background:rgba(13,29,72,.75);padding:5px 10px;border-radius:999px}
.hpf-hero__place .hpf-ic{width:16px;height:16px}
.hpf-hero__credit{position:absolute;right:14px;bottom:10px;margin:0;font-size:.72rem;color:#fff;background:rgba(0,0,0,.62);padding:3px 8px;border-radius:6px}
.hpf-hero__credit a{color:#fff;text-decoration:underline}
/* sections */
.hpf-sec{padding-top:80px}
.hpf-sec__head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:24px}
.hpf-home h2{font-size:clamp(1.6rem,2.6vw,2.1rem);letter-spacing:-.015em;margin:0;line-height:1.2;color:var(--ink)}
.hpf-more{font-weight:700;text-decoration:none;color:var(--navy)}
.hpf-svc{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;list-style:none;margin:0;padding:0}
.hpf-svc li{margin:0}
.hpf-svc__c{display:flex;flex-direction:column;gap:4px;height:100%;box-sizing:border-box;padding:22px;border:1px solid var(--line);border-radius:var(--r);text-decoration:none;color:var(--ink)!important;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.hpf-svc__c:hover{border-color:var(--navy)}
.hpf-svc__name{font-size:1.08rem;font-weight:700}
.hpf-svc__cta{color:var(--navy);font-size:.9rem;font-weight:600}
.hpf-svc__i{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;background:#eaf0fd;color:var(--navy);margin-bottom:10px}
.hpf-svc__i .hpf-ic{width:28px;height:28px}
.hpf-trust{margin-top:80px;background:var(--bg);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.hpf-trust__in{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding-top:36px;padding-bottom:36px}
.hpf-trust__c{display:flex;gap:16px;align-items:flex-start}
.hpf-trust__c p{margin:2px 0 0;color:var(--mut);font-size:.95rem}
.hpf-trust__c .hpf-trust__t{color:var(--ink);font-weight:700;font-size:1.05rem;margin:0}
.hpf-trust__i{flex:none;width:48px;height:48px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center}
.hpf-home .hpf-pros{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin:0;padding:0;list-style:none}
.hpf-pros__real>*{height:100%}
.hpf-ph{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:24px;border:2px dashed #cbd5e1;border-radius:var(--r);background:var(--bg)}
.hpf-ph__i{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;background:#fff;color:var(--navy)}
.hpf-ph__t{margin:4px 0 0;font-weight:700;font-size:1.1rem}
.hpf-ph__d{margin:0 0 8px;color:var(--mut);font-size:.95rem}
.hpf-ph .hpf-btn{margin-top:auto}
.hpf-guides{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.hpf-guide{border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:#fff;display:flex;flex-direction:column}
.hpf-guide__ph{position:relative;display:grid;place-items:center;aspect-ratio:16/9;overflow:hidden;color:#fff;background:#1b3a8c;text-decoration:none}
.hpf-guide__ph picture{display:contents}
.hpf-guide__ph img{width:100%;height:100%;object-fit:cover;display:block;filter:none}
.hpf-guide__ph .hpf-ic{width:56px;height:56px;stroke-width:1.4}
.hpf-guide__b{padding:20px}
.hpf-guide__b{position:static}
.hpf-guide__b h3{margin:0 0 8px;font-size:1.12rem;line-height:1.3}
.hpf-guide__b h3 a{color:var(--ink,#0f172a);text-decoration:none}
.hpf-guide__b h3 a:hover,.hpf-guide__b h3 a:focus-visible{text-decoration:underline}
.hpf-guide__b p{margin:0;color:var(--mut);font-size:.95rem}
.hpf-quote{max-width:880px;margin:0 auto}
.hpf-cta{display:flex;align-items:center;gap:24px;padding:40px;border-radius:24px;background:linear-gradient(120deg,var(--navy-d),var(--navy));color:#fff}
.hpf-cta h2{color:#fff!important}
.hpf-cta p{margin:6px 0 0;color:#dbe4fa}
.hpf-cta .hpf-btn{margin-left:auto;flex:none}
.hpf-cta__i{flex:none;width:64px;height:64px;border-radius:18px;background:rgba(255,255,255,.12);display:grid;place-items:center}
.hpf-cta__i .hpf-ic{width:32px;height:32px}
@media (max-width:1024px){.hpf-svc{grid-template-columns:repeat(2,1fr)}.hpf-hero .tusabf-search{grid-template-columns:1fr 1fr}}
@media (max-width:720px){
  .hpf-wrap{padding:0 18px}
  .hpf-hero{min-height:0;display:block}
  .hpf-hero picture,.hpf-hero__img{height:300px;bottom:auto}
  .hpf-hero__place{left:18px;bottom:auto;top:16px;font-size:.75rem;padding:4px 9px}
  .hpf-hero__shade{background:linear-gradient(180deg,rgba(13,29,72,.20) 0,rgba(13,29,72,.62) 150px,rgba(19,42,102,.95) 285px,var(--navy-d) 300px)}
  .hpf-hero__in{padding-top:150px;padding-bottom:56px}
  .hpf-hero h1{text-shadow:0 2px 12px rgba(0,0,0,.45)}
  .hpf-hero__credit{bottom:auto;top:18px;right:8px;font-size:.66rem;padding:2px 7px}
  .hpf-hero__sub{font-size:1.05rem;margin-bottom:24px}
  .hpf-hero .tusabf-search{grid-template-columns:1fr;padding:12px}
  .hpf-sec{padding-top:56px}
  .hpf-svc{gap:12px}.hpf-svc__c{padding:16px}.hpf-svc__cta{display:none}
  .hpf-sec__head{flex-direction:column;gap:4px}
  .hpf-trust{margin-top:56px}.hpf-trust__in{grid-template-columns:1fr;gap:18px;padding-top:28px;padding-bottom:28px}
  .hpf-guides{grid-template-columns:1fr}
  .hpf-cta{flex-direction:column;align-items:flex-start;padding:28px}.hpf-cta .hpf-btn{margin-left:0;width:100%}
}
.hpf-hero h1{min-height:2.16em}
.hpf-geo{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;min-height:44px;margin:-16px 0 16px;font-weight:600;color:#fff}
.hpf-geo [hidden]{display:none!important}
.hpf-geo__btn{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:6px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.6);background:rgba(13,29,72,.55);color:#fff;font:inherit;font-weight:600;cursor:pointer}
.hpf-geo__btn .hpf-ic{width:18px;height:18px}
.hpf-geo__btn:focus-visible,.hpf-geo select:focus-visible{outline:3px solid #ffb48f;outline-offset:2px}
.hpf-geo select,.hpf-geo input{min-height:40px;border-radius:10px;border:0;padding:6px 10px;font:inherit;color:var(--ink);background:#fff;max-width:100%}
.hpf-geo input{width:7em}
.hpf-geo input:focus-visible{outline:3px solid #ffb48f;outline-offset:2px}
.hpf-geo__out a{color:#fff;text-decoration:underline}
@media (max-width:720px){.hpf-hero h1{min-height:3.24em}.hpf-geo{margin:-8px 0 16px;min-height:96px;align-content:flex-start}}
@media (max-width:359.98px){.hpf-geo{min-height:126px}} /* 1.3.21: at <360 the geo line + 2 buttons take 3 rows; reserve them (no CLS). */
/* 1.3.22: city text swaps in client-side; reserve the longest variant so nothing moves (no CLS). */
@media (max-width:720px){.hpf-hero__sub{min-height:4.8em}}
@media (max-width:359.98px){.hpf-hero__place{min-height:46px;box-sizing:border-box}}
@media (min-width:720.02px){.hpf-hero__sub{min-height:3.2em;min-height:2lh}} /* 1.3.22.1: the city subline runs 2 lines on desktop; reserve them. */
