/* ================================================================
   REMAINING SECTIONS — Full responsive overhaul
   Sections: Stats · Why Choose · Industries · Brand Programs ·
             Portfolio · Testimonials · Estimate CTA · Footer
   Appended to home-v5-overrides.css via master.blade.php include
   ================================================================ */

/* ──────────────────────────────────────────────
   STATS BAND
────────────────────────────────────────────── */
@media (min-width: 1025px) and (max-width: 1280px) {
  body.home-v5-page .stats-grid {
    gap: 10px !important;
  }
  body.home-v5-page .stat-card {
    padding: 12px 10px !important;
    gap: 2px 10px !important;
  }
  body.home-v5-page .stat-num {
    font-size: 1.6rem !important;
  }
  body.home-v5-page .stat-icon-wrap {
    width: 42px !important;
    height: 42px !important;
  }
}

@media (max-width: 480px) {
  body.home-v5-page .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  body.home-v5-page .stat-card {
    padding: 10px 8px !important;
    gap: 2px 8px !important;
  }
  body.home-v5-page .stat-num {
    font-size: 1.3rem !important;
  }
  body.home-v5-page .stat-label {
    font-size: 0.55rem !important;
  }
}

@media (max-width: 360px) {
  body.home-v5-page .stat-num {
    font-size: 1.1rem !important;
  }
  body.home-v5-page .stat-icon-wrap {
    width: 32px !important;
    height: 32px !important;
  }
  body.home-v5-page .stat-icon-wrap img {
    width: 16px !important;
    height: 16px !important;
  }
}

/* ──────────────────────────────────────────────
   WHY CHOOSE SARA
────────────────────────────────────────────── */
@media (max-width: 1024px) {
  body.home-v5-page .why-top {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  body.home-v5-page .why-media {
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
    max-height: 400px !important;
  }
  body.home-v5-page .why-media img {
    max-height: 400px !important;
  }
  body.home-v5-page .why-points {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 768px) {
  body.home-v5-page .why-desc {
    max-width: 100% !important;
    font-size: 0.9rem !important;
  }
  body.home-v5-page .why-cta {
    font-size: 0.8rem !important;
    padding: 7px 7px 7px 18px !important;
  }
  body.home-v5-page .why-points {
    grid-template-columns: repeat(2, 1fr) !important;
    margin-top: 28px !important;
  }
}

@media (max-width: 600px) {
  body.home-v5-page .why-points {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  body.home-v5-page .why-point {
    padding-top: 18px !important;
  }
  body.home-v5-page .why-media {
    aspect-ratio: 4 / 3 !important;
  }
}

@media (max-width: 400px) {
  body.home-v5-page .why-cta {
    width: auto !important;
    align-self: center !important;
  }
  body.home-v5-page .why-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
}

/* ──────────────────────────────────────────────
   INDUSTRIES WE SERVE
────────────────────────────────────────────── */
@media (max-width: 1024px) {
  body.home-v5-page .industry-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
}

@media (max-width: 600px) {
  body.home-v5-page .industry-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-top: 24px !important;
  }
  body.home-v5-page .industry-card {
    aspect-ratio: 3 / 2 !important;
  }
  body.home-v5-page .industry-label {
    font-size: 0.72rem !important;
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
  }
}

@media (max-width: 400px) {
  body.home-v5-page .industry-grid {
    grid-template-columns: 1fr !important;
  }
  body.home-v5-page .industry-card {
    aspect-ratio: 16 / 9 !important;
  }
}

/* ──────────────────────────────────────────────
   BRAND PROGRAMS SLIDER
────────────────────────────────────────────── */
@media (max-width: 768px) {
  body.home-v5-page .bp-tabs {
    gap: 6px !important;
    padding: 0 12px !important;
  }
  body.home-v5-page .bp-tab {
    padding: 8px 14px !important;
    font-size: 0.7rem !important;
  }
  body.home-v5-page .bp-arrow {
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0 !important;
  }
}

@media (max-width: 480px) {
  body.home-v5-page .bp-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 4px !important;
  }
  body.home-v5-page .bp-tabs::-webkit-scrollbar {
    display: none !important;
  }
  body.home-v5-page .bp-tab {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    padding: 7px 12px !important;
    font-size: 0.68rem !important;
  }
  body.home-v5-page .bp-head .section-title {
    font-size: clamp(1.65rem, 6vw, 2rem) !important;
  }
  body.home-v5-page .bp-head .section-desc {
    font-size: 0.85rem !important;
  }
}

/* ──────────────────────────────────────────────
   PORTFOLIO BEFORE/AFTER
────────────────────────────────────────────── */
@media (max-width: 1024px) {
  body.home-v5-page .ba-grid {
    gap: 18px !important;
    margin-top: 28px !important;
  }
}

@media (max-width: 768px) {
  body.home-v5-page .ba-grid {
    grid-template-columns: 1fr !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 16px !important;
  }
}

@media (max-width: 480px) {
  body.home-v5-page .ba-grid {
    max-width: 100% !important;
  }
  body.home-v5-page .ba-body h3 {
    font-size: 0.9rem !important;
  }
  body.home-v5-page .ba-body p {
    font-size: 0.8rem !important;
  }
  body.home-v5-page .ba-handle-btn {
    width: 34px !important;
    height: 34px !important;
  }
  body.home-v5-page .ba-handle-btn svg {
    width: 11px !important;
    height: 11px !important;
  }
}

/* ──────────────────────────────────────────────
   TESTIMONIALS CAROUSEL
────────────────────────────────────────────── */
@media (max-width: 1024px) {
  body.home-v5-page .cs-card {
    flex: 0 0 calc(80% - 12px) !important;
    grid-template-columns: 110px 1fr !important;
  }
}

@media (max-width: 768px) {
  body.home-v5-page .cs-card {
    flex: 0 0 100% !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 18px !important;
  }
  body.home-v5-page .cs-photo {
    aspect-ratio: 16 / 7 !important;
    max-height: 140px !important;
  }
  body.home-v5-page .cs-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
  body.home-v5-page .cs-quote {
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
  }
  body.home-v5-page .cs-nav-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 480px) {
  body.home-v5-page .cs-card {
    padding: 16px !important;
    border-radius: 12px !important;
  }
  body.home-v5-page .cs-quote {
    font-size: 0.82rem !important;
  }
  body.home-v5-page .cs-author strong {
    font-size: 0.85rem !important;
  }
  body.home-v5-page .cs-author span {
    font-size: 0.75rem !important;
  }
}

/* ──────────────────────────────────────────────
   ESTIMATE / GET IN TOUCH CTA
────────────────────────────────────────────── */
@media (max-width: 1024px) {
  body.home-v5-page .estimate-layout {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  body.home-v5-page .estimate-copy {
    text-align: center !important;
    padding-inline: clamp(12px, 4vw, 24px);
  }
  body.home-v5-page .estimate-copy > p {
    max-width: 34rem;
    margin-inline: auto;
    padding-inline: clamp(4px, 2vw, 12px);
  }
  /* Perk list: centered block, left-aligned rows so checkmarks line up with text */
  body.home-v5-page .estimate-perks {
    text-align: left !important;
    width: min(100%, 22rem);
    max-width: 100%;
    margin-inline: auto !important;
    justify-content: flex-start !important;
  }
  body.home-v5-page .estimate-perk {
    text-align: left !important;
    align-items: flex-start !important;
    line-height: 1.5 !important;
    gap: 12px !important;
  }
  body.home-v5-page .estimate-perk::before {
    margin-top: 0.15em;
  }
}

@media (max-width: 768px) {
  body.home-v5-page .estimate-cta {
    padding: clamp(36px, 6vw, 56px) 0 !important;
  }
  body.home-v5-page .estimate-copy {
    padding-inline: clamp(18px, 5vw, 28px) !important;
  }
  body.home-v5-page .estimate-copy h2 {
    font-size: clamp(1.5rem, 5vw, 2rem) !important;
  }
  body.home-v5-page .estimate-copy > p {
    font-size: 0.9rem !important;
    line-height: 1.65 !important;
  }
  body.home-v5-page .estimate-perks {
    width: 100% !important;
    padding-inline: 2px;
    gap: 12px !important;
  }
  body.home-v5-page .estimate-perk {
    font-size: 0.84rem !important;
  }
  body.home-v5-page .estimate-card {
    padding: 20px 18px !important;
  }
  body.home-v5-page .quote-form-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
}

@media (max-width: 600px) {
  body.home-v5-page .quote-form-grid {
    grid-template-columns: 1fr !important;
  }
  body.home-v5-page .interest-tags {
    gap: 5px !important;
  }
  body.home-v5-page .interest-tag {
    font-size: 0.62rem !important;
    padding: 5px 9px !important;
  }
}

@media (max-width: 400px) {
  body.home-v5-page .estimate-card {
    padding: 16px 14px !important;
  }
  body.home-v5-page .quote-form-actions .btn {
    width: 100% !important;
  }
}

/* ──────────────────────────────────────────────
   FOOTER
────────────────────────────────────────────── */
@media (max-width: 1200px) {
  body.v5-layout .site-footer .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr !important;
    gap: 32px !important;
  }
  body.v5-layout .site-footer .footer-map-col {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 900px) {
  body.v5-layout .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px 24px !important;
  }
  body.v5-layout .site-footer .footer-brand,
  body.v5-layout .site-footer .footer-map-col {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 767px) {
  body.v5-layout .site-footer {
    padding-bottom: 0 !important;
  }

  body.v5-layout .site-footer .footer-social {
    margin-top: 16px;
    flex-wrap: wrap;
  }

  body.v5-layout .site-footer .footer-col li + li {
    margin-top: 10px !important;
  }
}

@media (max-width: 480px) {
  body.v5-layout .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 16px !important;
  }

  body.v5-layout .site-footer .footer-brand p {
    font-size: 0.84rem !important;
  }

  body.v5-layout .site-footer .footer-col h4 {
    font-size: 0.68rem !important;
  }

  body.v5-layout .site-footer .footer-col a {
    font-size: 0.84rem !important;
  }
}

/* ──────────────────────────────────────────────
   SECTION HEADS — global tightening on mobile
────────────────────────────────────────────── */
@media (max-width: 768px) {
  body.home-v5-page .section-head {
    margin-bottom: 24px !important;
  }
  body.home-v5-page .section-title {
    font-size: clamp(2rem, 6.5vw, 2.5rem) !important;
    line-height: 1.2 !important;
  }
  body.home-v5-page .section-desc {
    font-size: 0.88rem !important;
    line-height: 1.65 !important;
  }
  body.home-v5-page .section-eyebrow {
    font-size: 1rem !important;
    letter-spacing: 0.06em !important;
    text-transform: none !important;
  }
}

@media (max-width: 480px) {
  body.home-v5-page .section-title {
    font-size: clamp(1.9rem, 6.5vw, 2.25rem) !important;
  }
}
