/* HotFix Pro homepage styles — Part 5. Uses design tokens from design-system.css. */
.home-hero {
  position: relative;
  display: flex;
  min-height: clamp(620px, 66vw, 780px);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--color-navy-deep);
}
.home-hero__image,
.home-hero__overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}
.home-hero__image { object-fit: cover; object-position: 58% 46%; }
.home-hero__overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 18, 36, .94) 0%, rgba(5, 27, 51, .87) 42%, rgba(5, 27, 51, .48) 73%, rgba(5, 27, 51, .27) 100%),
    linear-gradient(0deg, rgba(3, 15, 30, .50), transparent 55%);
}
.home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 290px);
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
  padding-block: 92px 105px;
}
.home-hero__content { max-width: 790px; }
.home-hero__content .hero__eyebrow { margin-bottom: 21px; }
.home-hero h1 {
  max-width: 850px;
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(3.2rem, 6.2vw, 5.9rem);
  font-weight: 850;
  line-height: .98;
  letter-spacing: -.06em;
  text-wrap: balance;
}
.home-hero h1 span { color: #ff8b45; }
.home-hero__copy { max-width: 660px; margin: 0; color: rgba(255,255,255,.88); font-size: clamp(1.02rem, 1.45vw, 1.17rem); line-height: 1.78; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 31px; }
.home-hero__actions .button { min-height: 56px; }
.home-hero__actions .button svg { width: 19px; height: 19px; }
.home-hero__notes { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 29px; color: rgba(255,255,255,.86); font-size: .83rem; font-weight: 650; }
.home-hero__notes span { display: inline-flex; align-items: center; gap: 8px; }
.home-hero__notes b { display: inline-grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; color: var(--color-navy); background: #ffb27d; font-size: .7rem; }
.home-hero__contact-card { padding: 27px 25px; border: 1px solid rgba(255,255,255,.22); border-radius: 20px; color: #fff; background: rgba(4, 23, 45, .57); box-shadow: 0 22px 55px rgba(0,0,0,.2); backdrop-filter: blur(10px); }
.home-hero__contact-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; color: #fff; background: var(--color-orange); }
.home-hero__contact-icon svg { width: 23px; height: 23px; }
.home-hero__card-label { margin: 20px 0 7px; color: rgba(255,255,255,.72); font-size: .77rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.home-hero__card-phone { display: block; color: #fff; font-size: clamp(1.35rem, 2.1vw, 1.75rem); font-weight: 850; letter-spacing: -.035em; white-space: nowrap; }
.home-hero__card-copy { margin: 12px 0 17px; color: rgba(255,255,255,.75); font-size: .88rem; line-height: 1.6; }
.home-hero__card-link { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.17); color: #ffb27d; font-size: .9rem; font-weight: 800; }
.home-hero__bottom-line { position: absolute; right: 0; bottom: 0; left: 0; height: 5px; background: linear-gradient(90deg, var(--color-orange), #f28c35 42%, rgba(255,255,255,.2)); }

.home-trust-strip { border-bottom: 1px solid var(--color-border); background: #fff; }
.home-trust-strip__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-trust-item { display: flex; align-items: center; gap: 15px; min-height: 108px; padding: 20px 28px; border-right: 1px solid var(--color-border); }
.home-trust-item:first-child { padding-left: 0; }
.home-trust-item:last-child { border-right: 0; }
.home-trust-item__icon { display: grid; width: 43px; height: 43px; flex: 0 0 43px; place-items: center; border: 1px solid #ffd8c1; border-radius: 13px; color: var(--color-orange-dark); background: #fff7f1; font-size: .78rem; font-weight: 900; }
.home-trust-item strong,
.home-trust-item span { display: block; }
.home-trust-item strong { color: var(--color-ink); font-size: .92rem; }
.home-trust-item div span { margin-top: 3px; color: var(--color-muted); font-size: .82rem; }

.home-intro__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(40px, 7vw, 92px); }
.home-intro__copy h2,
.home-call-prep__content h2 { margin: 0 0 20px; color: var(--color-ink); font-size: clamp(2.15rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -.05em; }
.home-intro__copy p:not(.eyebrow) { color: var(--color-muted); font-size: 1.02rem; line-height: 1.82; }
.home-intro__figure { position: relative; margin: 0; }
.home-intro__figure img { width: 100%; aspect-ratio: 1.48; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-md); }
.home-intro__figure::before { position: absolute; z-index: -1; right: -16px; bottom: -17px; width: 62%; height: 62%; border-radius: 24px; background: #fff0e5; content: ""; }
.home-intro__figure figcaption { margin-top: 13px; color: var(--color-muted); font-size: .76rem; }
.home-section-heading { max-width: 770px; }
.home-section-heading h2 { max-width: 750px; }

.home-symptom-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.home-symptom-card { min-height: 220px; padding: 25px 23px; border: 1px solid var(--color-border); border-radius: 17px; background: #fff; box-shadow: var(--shadow-sm); }
.home-symptom-card__number { display: inline-grid; width: 38px; height: 38px; margin-bottom: 21px; place-items: center; border-radius: 11px; color: var(--color-orange-dark); background: #fff1e8; font-size: .76rem; font-weight: 900; }
.home-symptom-card h3 { margin: 0 0 9px; color: var(--color-ink); font-size: 1.05rem; letter-spacing: -.02em; }
.home-symptom-card p { margin: 0; color: var(--color-muted); font-size: .88rem; line-height: 1.72; }
.home-problem-note { display: flex; align-items: flex-start; gap: 14px; margin-top: 25px; padding: 19px 22px; border: 1px solid #f4d5c3; border-radius: 14px; background: #fffaf6; }
.home-problem-note__symbol { display: grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; border-radius: 50%; color: #fff; background: var(--color-orange-dark); font-weight: 900; }
.home-problem-note p { margin: 0; color: #574335; font-size: .88rem; line-height: 1.7; }
.home-problem-note strong { color: #2d211a; }

.home-process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home-process-step { display: flex; align-items: flex-start; gap: 17px; padding: 25px 22px; border: 1px solid var(--color-border); border-radius: 17px; background: #fff; }
.home-process-step > span { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 50%; color: #fff; background: var(--color-navy); font-size: 1rem; font-weight: 900; }
.home-process-step h3 { margin: 2px 0 8px; color: var(--color-ink); font-size: 1.05rem; }
.home-process-step p { margin: 0; color: var(--color-muted); font-size: .9rem; line-height: 1.72; }
.home-process-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding: 22px 26px; border-radius: 16px; color: #fff; background: var(--color-navy); }
.home-process-cta strong,
.home-process-cta span { display: block; }
.home-process-cta strong { font-size: 1rem; }
.home-process-cta span { margin-top: 3px; color: rgba(255,255,255,.7); font-size: .86rem; }

.home-photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.home-photo-card { min-width: 0; overflow: hidden; margin: 0; border: 1px solid var(--color-border); border-radius: 15px; background: #fff; box-shadow: var(--shadow-sm); }
.home-photo-card img { width: 100%; height: 190px; object-fit: cover; background: var(--color-surface-strong); }
.home-photo-card--wide { grid-column: span 2; }
.home-photo-card--wide img { height: 190px; }
.home-photo-card figcaption { display: grid; gap: 4px; padding: 13px 15px 15px; }
.home-photo-card figcaption strong { color: var(--color-ink); font-size: .86rem; line-height: 1.35; }
.home-photo-card figcaption span { color: var(--color-muted); font-size: .74rem; line-height: 1.5; }

.home-call-prep__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 7vw, 90px); }
.home-call-prep__visual { position: relative; }
.home-call-prep__visual > img { width: 100%; aspect-ratio: 1.4; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-md); }
.home-call-prep__badge { position: absolute; right: -16px; bottom: 24px; display: grid; min-width: 200px; gap: 2px; padding: 17px 19px; border: 1px solid rgba(255,255,255,.45); border-radius: 14px; color: #fff; background: rgba(8,43,80,.92); box-shadow: var(--shadow-md); }
.home-call-prep__badge span { color: #ffb27d; font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.home-call-prep__badge strong { font-size: 1rem; }
.home-call-prep__badge small { color: rgba(255,255,255,.7); }
.home-call-prep__content > p:not(.eyebrow) { color: var(--color-muted); line-height: 1.8; }
.home-check-list { display: grid; gap: 12px; margin: 21px 0 27px; padding: 0; list-style: none; }
.home-check-list li { position: relative; padding-left: 29px; color: var(--color-ink-soft); font-size: .92rem; line-height: 1.6; }
.home-check-list li::before { position: absolute; top: 1px; left: 0; display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; color: var(--color-orange-dark); background: #fff0e5; content: "✓"; font-size: .7rem; font-weight: 900; }
.home-call-prep__fine { margin-top: 14px; color: var(--color-muted); font-size: .76rem; line-height: 1.6; }

.home-locations__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.home-locations__top .section-heading { margin-bottom: 0; }
.button--outline { border-color: var(--color-border-strong); color: var(--color-navy); background: #fff; box-shadow: none; white-space: nowrap; }
.button--outline:hover { border-color: var(--color-orange); color: var(--color-orange-dark); background: #fffaf6; }
.home-locations__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.home-locations__chips a { display: inline-flex; min-height: 40px; align-items: center; padding: 0 15px; border: 1px solid var(--color-border); border-radius: 999px; color: var(--color-ink-soft); background: #fff; font-size: .84rem; font-weight: 700; transition: border-color .15s, color .15s, background .15s; }
.home-locations__chips a:hover { border-color: #ffc39e; color: var(--color-orange-dark); background: #fff7f1; }
.home-locations__more { display: inline-flex; align-items: center; color: var(--color-muted); font-size: .82rem; }
.home-locations__note { margin: 16px 0 0; color: var(--color-muted); font-size: .78rem; }

.home-faq__grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: start; gap: clamp(40px, 7vw, 90px); }
.home-faq__items { border-top: 1px solid var(--color-border); }
.home-faq-item { border-bottom: 1px solid var(--color-border); }
.home-faq-item summary { position: relative; padding: 20px 40px 20px 0; color: var(--color-ink); cursor: pointer; font-size: .98rem; font-weight: 800; line-height: 1.5; list-style: none; }
.home-faq-item summary::-webkit-details-marker { display: none; }
.home-faq-item summary::after { position: absolute; top: 50%; right: 4px; display: grid; width: 27px; height: 27px; place-items: center; transform: translateY(-50%); border-radius: 50%; color: var(--color-orange-dark); background: #fff0e5; content: "+"; font-size: 1.1rem; font-weight: 600; }
.home-faq-item[open] summary::after { content: "−"; }
.home-faq-item p { max-width: 690px; margin: -4px 0 20px; padding-right: 36px; color: var(--color-muted); font-size: .9rem; line-height: 1.8; }

.home-final-cta { position: relative; overflow: hidden; color: #fff; background: var(--color-navy-deep); isolation: isolate; }
.home-final-cta__image { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(4,19,38,.96), rgba(5,30,57,.83) 58%, rgba(5,30,57,.60)), url('/assets/images/water-heater-control-panel-inspection.jpg') center 43%/cover no-repeat; opacity: 1; }
.home-final-cta__inner { display: flex; min-height: 330px; align-items: center; justify-content: space-between; gap: 35px; padding-block: 68px; }
.home-final-cta .eyebrow { color: #ffb27d; }
.home-final-cta h2 { max-width: 760px; margin: 0 0 14px; color: #fff; font-size: clamp(2.25rem, 4.3vw, 3.6rem); line-height: 1.06; letter-spacing: -.05em; }
.home-final-cta p:not(.eyebrow) { max-width: 600px; margin: 0; color: rgba(255,255,255,.78); font-size: 1rem; line-height: 1.7; }
.home-final-cta__button { flex: 0 0 auto; min-width: 180px; }

@media (max-width: 1100px) {
  .home-hero__inner { grid-template-columns: minmax(0, 1fr) 255px; gap: 40px; }
  .home-hero h1 { font-size: clamp(3.1rem, 6vw, 5rem); }
  .home-symptom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .home-hero { min-height: 720px; align-items: flex-end; }
  .home-hero__image { object-position: 62% center; }
  .home-hero__overlay { background: linear-gradient(90deg, rgba(4,18,36,.91), rgba(5,27,51,.67)), linear-gradient(0deg, rgba(3,15,30,.74), rgba(3,15,30,.05) 88%); }
  .home-hero__inner { grid-template-columns: 1fr; gap: 27px; padding-block: 90px 72px; }
  .home-hero__content { max-width: 720px; }
  .home-hero__contact-card { display: grid; grid-template-columns: 46px 1fr; column-gap: 15px; align-items: center; max-width: 560px; padding: 17px 20px; }
  .home-hero__contact-icon { grid-row: span 3; }
  .home-hero__card-label { margin: 0 0 2px; }
  .home-hero__card-phone { font-size: 1.38rem; }
  .home-hero__card-copy { margin: 3px 0 0; }
  .home-hero__card-link { grid-column: 2; margin-top: 11px; padding-top: 9px; }
  .home-intro__grid, .home-call-prep__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .home-process-grid { gap: 13px; }
  .home-process-step { padding: 21px 17px; flex-direction: column; }
  .home-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-faq__grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  .home-hero { min-height: 760px; }
  .home-hero__image { object-position: 64% center; }
  .home-hero__overlay { background: linear-gradient(90deg, rgba(4,18,36,.88), rgba(5,27,51,.62)), linear-gradient(0deg, rgba(3,15,30,.82), rgba(3,15,30,.12) 84%); }
  .home-hero__inner { padding-block: 73px 66px; gap: 27px; }
  .home-hero h1 { max-width: 520px; font-size: clamp(2.65rem, 12vw, 4.05rem); }
  .home-hero__copy { font-size: .96rem; line-height: 1.7; }
  .home-hero__actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 25px; }
  .home-hero__actions .button { width: 100%; }
  .home-hero__notes { display: grid; gap: 9px; margin-top: 23px; font-size: .79rem; }
  .home-hero__contact-card { max-width: none; padding: 15px 16px; }
  .home-hero__card-copy { font-size: .8rem; }
  .home-trust-strip__grid { grid-template-columns: 1fr; }
  .home-trust-item { min-height: 80px; padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--color-border); }
  .home-trust-item:last-child { border-bottom: 0; }
  .home-intro__grid, .home-call-prep__grid { grid-template-columns: 1fr; gap: 32px; }
  .home-intro__copy h2, .home-call-prep__content h2 { font-size: clamp(2rem, 9.2vw, 2.8rem); }
  .home-intro__figure::before { right: -8px; bottom: -9px; }
  .home-symptom-grid { grid-template-columns: 1fr; gap: 12px; }
  .home-symptom-card { min-height: 0; padding: 21px; }
  .home-symptom-card__number { margin-bottom: 14px; }
  .home-problem-note { padding: 16px; }
  .home-process-grid { grid-template-columns: 1fr; gap: 12px; }
  .home-process-step { flex-direction: row; padding: 19px; }
  .home-process-cta { align-items: stretch; flex-direction: column; padding: 21px; }
  .home-process-cta .button { width: 100%; }
  .home-photo-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
  .home-photo-card--wide { grid-column: span 2; }
  .home-photo-card img, .home-photo-card--wide img { height: 145px; }
  .home-photo-card figcaption { padding: 10px 11px 12px; }
  .home-photo-card figcaption strong { font-size: .78rem; }
  .home-photo-card figcaption span { font-size: .68rem; }
  .home-call-prep__badge { right: -7px; bottom: 14px; min-width: 170px; padding: 13px 15px; }
  .home-call-prep__content .button { width: 100%; }
  .home-locations__top { align-items: flex-start; flex-direction: column; gap: 17px; }
  .home-locations__top .button { width: 100%; }
  .home-locations__chips { gap: 8px; margin-top: 24px; }
  .home-locations__chips a { min-height: 37px; padding-inline: 12px; font-size: .78rem; }
  .home-locations__more { flex-basis: 100%; padding: 5px 2px; }
  .home-faq__grid { gap: 12px; }
  .home-faq-item summary { font-size: .92rem; }
  .home-final-cta__inner { min-height: 0; align-items: stretch; flex-direction: column; padding-block: 58px; }
  .home-final-cta h2 { font-size: clamp(2.15rem, 9.5vw, 2.9rem); }
  .home-final-cta__button { width: 100%; }
}
@media (max-width: 360px) {
  .home-hero { min-height: 800px; }
  .home-hero__card-phone { font-size: 1.2rem; }
  .home-photo-grid { grid-template-columns: 1fr; }
  .home-photo-card--wide { grid-column: auto; }
  .home-photo-card img, .home-photo-card--wide img { height: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-locations__chips a, .home-photo-card, .home-photo-card img { transition: none; }
}
