/* Light split hero for /why-process-server/, matching /process-serving/order/.
   Page-specific: does not edit the shared hashed Astro CSS used by county pages. */

.usp-hero.usp-hero--split{
  display:grid;
  grid-template-columns:minmax(18rem,1fr) minmax(0,1fr);
  align-items:stretch;
  background:#f5f9ff;
  color:#0b1f3a;
  padding:0 !important;
  min-height:0;
  overflow:visible;
  isolation:auto;
  position:relative;
  font-family:Poppins,sans-serif;
}

.usp-hero-text{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:.15rem;
  padding:2.75rem 2.25rem 2.5rem 2.5rem;
  background:#fff;
  border-right:4px solid #e8730a;
  min-width:0;
}

.usp-hero .ss-div-back{
  display:inline-flex;
  margin:0 0 .85rem;
  color:#0169e3;
  font:600 .82rem Poppins,sans-serif;
}

.usp-hero .ss-div-back:hover,
.usp-hero .ss-div-back:focus-visible{
  color:#0157cb;
}

.usp-hero-eyebrow{
  display:inline-block;
  width:fit-content;
  margin:0 0 .7rem;
  padding:.32rem 1rem;
  border-radius:4px;
  background:#0169e3;
  color:#fff;
  letter-spacing:.1em;
  text-transform:uppercase;
  font:700 .72rem Poppins,sans-serif;
}

.usp-hero-title{
  font-family:Poppins,sans-serif;
  font-size:clamp(2rem,3.8vw,3.15rem);
  font-weight:800;
  letter-spacing:-.03em;
  margin:.15rem 0 .85rem;
  color:#0b1f3a;
  line-height:1.12;
}

.usp-hero-title .usp-hl{
  color:#e8730a;
}

.usp-hero-sub{
  color:#c75f00;
  font-size:1.08rem;
  font-weight:700;
  line-height:1.65;
  max-width:40rem;
  margin:0 0 1.15rem;
}

.usp-hero-stats{
  display:flex;
  flex-direction:column;
  gap:.65rem;
}

.usp-hero .usp-stat-card{
  background:#eef4fd;
  border:1px solid #0169e333;
  border-radius:14px;
  padding:.85rem 1.1rem;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}

.usp-hero .usp-stat-card:hover{
  transform:none;
  border-color:#0169e366;
}

.usp-hero .usp-stat-card--mid{
  background:#e8f1ff;
  border-color:#0169e359;
}

.usp-hero .usp-stat-num{
  color:#c75f00;
  letter-spacing:-.04em;
  margin-bottom:.2rem;
  font-family:Poppins,sans-serif;
  font-size:2.55rem;
  font-weight:800;
  line-height:1;
}

.usp-hero .usp-stat-pct{
  font-size:1.55rem;
}

.usp-hero .usp-stat-label{
  color:#0b1f3a;
  margin-bottom:.2rem;
  font-size:1.08rem;
  font-weight:600;
  line-height:1.4;
}

.usp-hero .usp-stat-src{
  color:#2e3f58;
  font-size:.9rem;
  font-style:italic;
  font-weight:400;
}

.usp-hero-media{
  min-width:0;
  min-height:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:1.25rem 1.25rem 1.25rem .75rem;
  background:#eef4fd;
}

.usp-hero-media-inner{
  position:relative;
  width:100%;
  min-width:0;
}

.usp-hero-frame{
  display:block;
  width:100%;
  line-height:0;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 18px 40px rgba(11,31,58,.18);
  border:1px solid rgba(1,87,203,.16);
  background:#eef4fd;
}

.usp-hero-img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  object-position:center;
  max-width:none;
  position:static;
  filter:none;
}

/* White callout is anchored to the photo frame, lower-left, away from Doug's face. */
.usp-hero-media-inner .usp-speech-bubble{
  z-index:2;
  background:#fff;
  border:2px solid #0169e359;
  border-radius:18px 18px 4px;
  max-width:230px;
  width:max-content;
  padding:.75rem .95rem;
  position:absolute;
  left:3.5%;
  bottom:7%;
  right:auto;
  top:auto;
  box-shadow:0 8px 28px #0169e338,0 2px 6px #0000001f;
  animation:.6s cubic-bezier(.22,1.4,.36,1) .4s both bubble-enter;
  pointer-events:none;
}

.usp-hero-media-inner .usp-speech-text{
  color:#0b1f3a;
  font-family:Poppins,sans-serif;
  font-size:.84rem;
  font-style:italic;
  font-weight:700;
  line-height:1.4;
}

@media (max-width:860px){
  .usp-hero.usp-hero--split{
    grid-template-columns:1fr;
    padding:0 !important;
  }
  .usp-hero-text{
    padding:2.25rem 1.25rem 1.75rem;
    border-right:none;
    border-bottom:4px solid #e8730a;
  }
  .usp-hero-media{
    padding:0 1.15rem 1.35rem;
    align-items:flex-start;
  }
  /* On narrow screens, sit just below the photo, still inside the frame wrapper. */
  .usp-hero-media-inner .usp-speech-bubble{
    position:relative;
    left:auto;
    right:auto;
    bottom:auto;
    top:auto;
    margin:.7rem 0 0;
    max-width:min(100%,22rem);
    width:auto;
  }
}

@media (max-width:540px){
  .usp-hero-title{
    font-size:clamp(1.85rem,8.5vw,2.4rem);
  }
  .usp-hero .usp-stat-num{
    font-size:2.2rem;
  }
  .usp-hero-media-inner .usp-speech-text{
    font-size:.8rem;
  }
}

@media (prefers-reduced-motion:reduce){
  .usp-hero-media-inner .usp-speech-bubble{
    animation:none;
  }
}


/* Modest illustration anchored to “Element of surprise.”
   Desktop (3-col grid): fill the empty third cell beside cards 01–02.
   Tablet/phone: sit on its own row directly after card 02. */
.squad-peek{
  box-sizing:border-box;
  width:100%;
  max-width:240px;
  min-width:0;
  margin:0;
  justify-self:start;
  align-self:start;
}

.squad-peek picture{
  display:block;
  width:100%;
  line-height:0;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(1,87,203,.16);
  box-shadow:0 10px 28px rgba(11,31,58,.12);
  background:#eef4fd;
}

.squad-peek img{
  display:block;
  width:100%;
  height:auto;
  max-width:100%;
}

.squad-peek figcaption{
  margin:.45rem .1rem 0;
  color:#2e3f58;
  font:italic 600 .8rem/1.4 Poppins,sans-serif;
  text-align:center;
}

@media (width <= 1200px){
  .squad-peek{
    grid-column:1/-1;
    justify-self:center;
    max-width:380px;
    margin:.25rem auto .15rem;
  }
  .squad-peek figcaption{
    margin:.7rem .15rem 0;
    font-size:.9rem;
    line-height:1.55;
  }
}

@media (width<=540px){
  .squad-peek{
    max-width:320px;
  }
  .squad-peek figcaption{
    font-size:.84rem;
  }
}


/* Comparison chart: keep the 4-column table at 1024px and up.
   Below that, reflow the same table into stacked category cards.
   Visual labels are aria-hidden so screen readers still use the table headers. */
.compare-card-label{
  display:none;
}

@media (width <= 1023px){
  .compare-table-wrap[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb]{
    overflow:visible;
    overflow-x:visible;
    border:none;
    box-shadow:none;
    background:transparent;
    margin-bottom:.25rem;
  }

  .compare-table-wrap .compare-table[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb]{
    display:block;
    width:100%;
    max-width:100%;
    min-width:0;
    border-collapse:separate;
    border-spacing:0;
  }

  .compare-table-wrap .compare-table thead,
  .compare-table-wrap .compare-table thead tr,
  .compare-table-wrap .compare-table thead th{
    position:absolute !important;
    width:1px !important;
    max-width:1px !important;
    height:1px !important;
    padding:0 !important;
    margin:-1px !important;
    overflow:hidden !important;
    clip:rect(0,0,0,0);
    white-space:nowrap !important;
    border:0 !important;
    pointer-events:none;
  }

  .compare-table-wrap .compare-table tbody,
  .compare-table-wrap .compare-table tbody tr,
  .compare-table-wrap .compare-table tbody th,
  .compare-table-wrap .compare-table tbody td{
    display:block;
    width:100%;
    max-width:100%;
    min-width:0;
    box-sizing:border-box;
    white-space:normal;
    overflow-wrap:break-word;
  }

  .compare-table-wrap .compare-table tbody{
    display:flex;
    flex-direction:column;
    gap:1rem;
  }

  .compare-table-wrap .compare-table tbody tr{
    border:1px solid var(--line, #0169e329);
    border-radius:16px;
    background:#fff;
    box-shadow:0 10px 28px #0b1f3a0f;
    overflow:hidden;
  }

  .compare-table-wrap .compare-table tbody tr:hover td,
  .compare-table-wrap .compare-table tbody tr:hover .row-label{
    background:transparent;
  }

  .compare-table-wrap .compare-table .row-label,
  .compare-table-wrap .compare-table tbody tr:hover .row-label{
    background:linear-gradient(135deg,var(--mw-navy-deep,#061c37) 0%,var(--mw-navy-mid,#0a315e) 100%);
    color:#fff;
    border:none;
    border-right:none;
    padding:.9rem 1.15rem;
    font-size:1.02rem;
    font-weight:700;
    letter-spacing:-.015em;
  }

  .compare-table-wrap .compare-table[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb] .cell[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb]{
    display:block;
    padding:.9rem 1.15rem 1rem;
    border-bottom:2px solid #5a7088;
    border-right:none;
  }

  .compare-table-wrap .compare-table[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb] tbody tr td.cell:last-child,
  .compare-table-wrap .compare-table[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb] tbody tr:last-child td[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb]{
    border-bottom:none;
  }

  .compare-table-wrap .compare-table tbody tr:hover .cell--win,
  .compare-table-wrap .compare-table .cell--win{
    background:#e8f7ee;
    box-shadow:inset 3px 0 0 #1a9450;
  }

  .compare-table-wrap .compare-table tbody tr:hover .cell--mid,
  .compare-table-wrap .compare-table .cell--mid{
    background:#fff;
  }

  .compare-table-wrap .compare-table tbody tr:hover .cell--low,
  .compare-table-wrap .compare-table .cell--low{
    background:#dc1e1e08;
  }

  .compare-card-label{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:.3rem .5rem;
    margin:0 0 .45rem;
    color:#2e3f58;
    font:700 .72rem/1.3 Poppins,sans-serif;
    letter-spacing:.08em;
    text-transform:uppercase;
  }

  .compare-table-wrap .cell--win .compare-card-label{
    color:#146c38;
  }

  .compare-card-label .th-badge,
  .compare-card-label .th-badge--winner{
    display:inline-block;
    margin:0;
    padding:.15rem .55rem;
    border-radius:999px;
    background:var(--mw-primary,#0169e3);
    color:var(--mw-on-accent,#fff);
    font-size:.68rem;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
    vertical-align:middle;
  }

  .compare-table-wrap .win-pill{
    white-space:normal;
    max-width:100%;
  }

  .compare-table-wrap .cell-big{
    font-size:1.55rem;
  }
}

@media (width <= 540px){
  .compare-table-wrap .compare-table .row-label,
  .compare-table-wrap .compare-table .cell{
    padding:.85rem 1rem .9rem;
  }
}

/* Desktop table: stack the SwiftServe 365 pill above the column title,
   rebalance widths, and use bolder row dividers. */
@media (width >= 1024px){
  .compare-table-wrap .compare-table[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb]{
    table-layout:fixed;
    width:100%;
    min-width:0;
  }

  .compare-table-wrap .compare-table[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb] th.col-category[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb]{
    width:18%;
  }

  .compare-table-wrap .compare-table[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb] th.col-ps[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb]{
    width:28%;
    white-space:normal;
  }

  .compare-table-wrap .compare-table[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb] th.col-sheriff[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb],
  .compare-table-wrap .compare-table[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb] th.col-mail[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb]{
    width:27%;
    white-space:normal;
  }

  .compare-table-wrap .compare-table th.col-ps .th-badge,
  .compare-table-wrap .compare-table th.col-ps .th-badge--winner{
    display:block;
    width:fit-content;
    margin:.05rem 0 .4rem;
  }

  .compare-table-wrap .compare-table[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb] th[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb],
  .compare-table-wrap .compare-table[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb] td[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb]{
    border-bottom:2px solid #5a7088;
  }

  .compare-table-wrap .compare-table[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb] tbody tr:last-child th[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb],
  .compare-table-wrap .compare-table[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb] tbody tr:last-child td[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb]{
    border-bottom:none;
  }
}


/* Field Tactic photo: cropped source (doorframe/brick strip removed).
   Absolutely fill the existing panel so the portrait's intrinsic
   height does not stretch the card, then recenter the cover crop. */
.reason-card--straw-hat .straw-hat-img-wrap picture{
  display:block;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.reason-card--straw-hat .straw-hat-img-wrap[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb] img[data-astro-cid-xp2g436l][data-astro-cid-msfqu6fb]{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 18%;
}
@media (width <= 1200px){
  .reason-card--straw-hat .straw-hat-img-wrap{
    height:300px;
  }
}
@media (width <= 540px){
  .reason-card--straw-hat .straw-hat-img-wrap{
    height:240px;
  }
}
