/* Homepage layout matched to the approved Microsoft-inspired reference. */
.home-page .hero {
  min-height: 360px;
  padding: 54px 0;
  overflow: hidden;
  background: #edf5fc;
}
.home-page .hero::before {
  inset: 0;
  width: auto;
  height: auto;
  opacity: 1;
  border-radius: 0;
  background: url("../images/gulf-fix-pro-fluent-hero.png") center / cover no-repeat !important;
}
.home-page .hero::after { display: none; }
.home-page .hero-grid { display: block; }
.home-page .hero-copy { width: min(48%, 590px); }
.home-page .hero-copy .eyebrow { display: none; }
.home-page .hero-copy h1 {
  max-width: 620px;
  margin: 0 0 20px;
  color: #0b1f3a;
  font-size: clamp(2.75rem, 4.6vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.home-page .hero-lead { max-width: 520px; color: #263b55; font-size: 1.12rem; }
.home-page .hero-contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-page .hero-contact-actions .button { width: auto; min-width: 184px; }

.sample-service-picker { padding: 22px 0 28px; background: #fff; }
.sample-service-picker .hero-service-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.sample-service-picker .hero-service-header { display: block; margin: 0 0 18px; text-align: center; }
.sample-service-picker .hero-service-header h2 { margin: 0; font-size: clamp(1.65rem, 2.5vw, 2.1rem); }
.sample-service-picker .hero-service-header > a { display: inline-block; margin-top: 6px; font-size: .86rem; }
.sample-service-picker .hero-service-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin: 0; }
.sample-service-picker .quick-service {
  display: flex;
  min-height: 154px;
  padding: 15px 10px 13px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  border: 1px solid #d8e3ee;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  text-align: center;
  box-shadow: 0 7px 18px rgba(15, 42, 70, .07);
}
.sample-service-picker .quick-service:hover { transform: translateY(-4px); border-color: #80b8e7; box-shadow: 0 14px 28px rgba(15, 42, 70, .12); }
.sample-service-picker .quick-service-mark {
  width: 82px;
  height: 76px;
  margin: 0 auto;
  border-radius: 0;
  color: #3c5871;
  background: transparent !important;
  box-shadow: none;
}
.sample-service-picker .quick-service-mark svg { width: 78px; height: 72px; stroke-width: 2.3; }
.sample-service-picker .quick-service strong { display: block; color: #0b1f3a; font-size: .98rem; line-height: 1.2; }
.sample-service-picker .quick-service small, .sample-service-picker .quick-service > b { display: none; }
.sample-service-picker .hero-service-footer { justify-content: center; margin-top: 16px; padding-top: 12px; border-top: 0; font-size: .88rem; }

.home-page .benefits-strip { background: #f6f9fc; border-block: 1px solid #e2e9f0; }
.home-page .benefits-grid article { background: transparent; border: 0; box-shadow: none; }

.home-page .section { padding-block: 58px; }
.home-page .section-heading { margin-bottom: 25px; }
.home-page .section-heading h2 { font-size: clamp(2rem, 3.25vw, 3rem); }
.home-page .appliance-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-page .service-card-visual {
  display: grid;
  min-height: 126px;
  padding: 18px;
  grid-template-columns: 60px 1fr 20px;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  border-radius: 13px;
}
.home-page .service-card-visual .appliance-icon {
  width: 60px;
  height: 60px;
  grid-column: 1;
  grid-row: 1 / 3;
  margin: 0;
  border-radius: 10px;
}
.home-page .service-card-visual h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 1.08rem; }
.home-page .service-card-visual p { grid-column: 2; grid-row: 2; margin: 4px 0 0; font-size: .82rem; line-height: 1.45; }
.home-page .service-card-visual .card-link { grid-column: 3; grid-row: 1 / 3; width: 18px; overflow: hidden; white-space: nowrap; font-size: 0; }
.home-page .service-card-visual .card-link::after { content: "›"; font-size: 2rem; font-weight: 400; color: #0b1f3a; }

.home-page .business-path-grid { gap: 16px; }
.home-page .business-path-card { min-height: 190px; padding: 24px; border-radius: 13px; }
.home-page .guide-topic-grid { gap: 16px; }
.home-page .guide-topic-card { min-height: 190px; padding: 22px; border-radius: 13px; }
.home-page .guide-topic-card .guide-mark { margin-bottom: 18px; }

@media (max-width: 1050px) {
  .home-page .hero { min-height: 420px; }
  .home-page .hero::before { background-position: 58% center !important; }
  .home-page .hero-copy { width: 52%; }
  .sample-service-picker .hero-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .home-page .hero { min-height: 570px; padding: 38px 0 260px; }
  .home-page .hero::before { background-position: 68% bottom !important; background-size: auto 100% !important; }
  .home-page .hero-copy { width: 100%; }
  .home-page .hero-copy h1 { font-size: clamp(2.45rem, 12vw, 3.5rem); }
  .home-page .hero-lead { max-width: 100%; }
  .sample-service-picker .hero-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sample-service-picker .quick-service { min-height: 142px; }
  .home-page .appliance-card-grid { grid-template-columns: 1fr; }
}

/* v17 connected service journey and help hub */
.home-page .service-journey {
  background: radial-gradient(circle at 10% 0%, rgba(8,102,217,.09), transparent 28%), #fff;
}
.service-journey-heading, .home-help-heading { align-items: end; }
.service-journey-heading > div, .home-help-heading > div { max-width: 760px; }
.service-journey-heading .button { flex: 0 0 auto; }
.service-journey-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.journey-card {
  position: relative;
  min-height: 300px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--ms-line);
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--ms-shadow);
}
.journey-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -50px;
  width: 130px;
  height: 130px;
  border: 24px solid rgba(8,102,217,.045);
  border-radius: 50%;
}
.journey-number { position: absolute; top: 22px; right: 22px; color: #aac3df; font-size: .8rem; font-weight: 800; letter-spacing: .12em; }
.journey-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  color: #fff;
  background: linear-gradient(145deg,var(--ms-blue),#0b79e5);
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(8,102,217,.2);
  font-size: 1.35rem;
  font-weight: 800;
}
.journey-card h3 { margin-bottom: 10px; font-size: 1.16rem; line-height: 1.25; }
.journey-card p { margin: 0; font-size: .94rem; line-height: 1.62; }

.home-page .section.home-help-hub { padding-block: clamp(38px,5vw,58px); border-block: 1px solid var(--ms-line); }
.home-help-heading { margin-bottom: 22px; }
.home-help-heading h2 { margin-block: .35rem .45rem; font-size: clamp(1.8rem,3vw,2.45rem); }
.home-help-heading p { margin-bottom: 0; }
.home-help-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.home-help-card {
  min-height: 126px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 14px;
  color: var(--ms-text);
  border: 1px solid var(--ms-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--ms-shadow);
  text-decoration: none;
}
.home-help-card:hover { transform: translateY(-4px); border-color: #9fc5ed; box-shadow: 0 15px 34px rgba(20,58,105,.12); }
.home-help-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--ms-blue);
  background: linear-gradient(145deg,#e7f2ff,#fff);
  border: 1px solid #cfe2f6;
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: 800;
}
.home-help-copy { display: grid; gap: 5px; }
.home-help-copy small { color: var(--ms-blue); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.home-help-copy strong { color: var(--ms-navy); font-size: 1.12rem; line-height: 1.3; }
.home-help-copy > span { color: var(--ms-muted); font-size: .9rem; line-height: 1.6; }
.home-help-card > b { align-self: center; color: var(--ms-blue); font-size: 1.25rem; }

@media (max-width: 1050px) {
  .service-journey-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-help-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
  .home-help-card { min-height: 0; }
}
@media (max-width: 650px) {
  .service-journey-heading, .home-help-heading { align-items: start; }
  .service-journey-heading .button { width: 100%; }
  .service-journey-grid { grid-template-columns: 1fr; }
  .journey-card { min-height: 0; }
  .home-help-grid { grid-template-columns: 1fr; }
  .home-help-card { grid-template-columns: 42px 1fr; padding: 15px 16px; }
  .home-help-icon { width: 42px; height: 42px; }
  .home-help-card > b { display: none; }
}

/* Live homepage refinements */
.sample-service-picker .hero-service-header {
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}
.sample-service-picker .hero-service-header::after { display: none !important; }

.home-page .benefits-strip {
  padding: 10px 0 !important;
  background: #f4f8fd;
  border-block: 1px solid #dfe9f4;
}
.home-page .benefits-grid { gap: 10px; }
.home-page .benefits-grid article {
  min-height: 64px;
  padding: 9px 14px !important;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dce7f2;
  border-radius: 10px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 3px 12px rgba(20,58,105,.045);
  transform: translateX(6px);
}
.home-page .benefits-grid .benefit-icon {
  width: 58px;
  height: 52px;
  flex: 0 0 58px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.home-page .benefits-grid .benefit-icon img {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(0, 95, 184, .2));
}
.home-page .benefits-grid article > div {
  min-height: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  margin: 0;
  position: relative;
  top: 2px;
}
.home-page .benefits-grid strong { font-size: .88rem; line-height: 1.2; }
.home-page .benefits-grid small { margin-top: 2px; font-size: .7rem; line-height: 1.3; }

.home-page .business-home-section { background: #f5f9fe; }
.home-page .business-path-grid { gap: 14px; }
.home-page .business-path-card,
.home-page .business-path-card:nth-child(2) {
  min-height: 0;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 18px;
  row-gap: 5px;
  align-items: center;
  color: var(--ms-text);
  border: 1px solid #d7e5f3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(20,58,105,.07);
}
.home-page .business-path-card:hover,
.home-page .business-path-card:focus-visible {
  border-color: #9bc5ed;
  background: #fafdff;
  box-shadow: 0 13px 30px rgba(20,58,105,.11);
  transform: translateY(-3px);
}
.home-page .business-path-card .business-card-mark {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 58px;
  height: 58px;
  margin: 0;
  border-radius: 13px;
  background: linear-gradient(145deg,#0866d9,#0b79e5);
  box-shadow: 0 8px 18px rgba(8,102,217,.18);
}
.home-page .business-path-card h3 { grid-column: 2; grid-row: 1; margin: 0; color: var(--ms-navy); font-size: 1.08rem; }
.home-page .business-path-card p { grid-column: 2; grid-row: 2; margin: 0; color: var(--ms-muted); font-size: .82rem; line-height: 1.5; }
.home-page .business-path-card .card-link {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  margin: 0;
  color: var(--ms-blue);
  font-size: .78rem;
  white-space: nowrap;
}
.journey-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 760px) {
  .home-page .benefits-grid { gap: 8px; }
  .home-page .benefits-grid article { min-height: 58px; padding: 8px 11px !important; transform: none; }
  .home-page .business-path-card,
  .home-page .business-path-card:nth-child(2) { grid-template-columns: 52px 1fr; padding: 18px; }
  .home-page .business-path-card .business-card-mark { width: 52px; height: 52px; }
  .home-page .business-path-card .card-link { grid-column: 2; grid-row: 3; margin-top: 5px; }
}

/* Approved appliance renders in homepage selection tiles */
.sample-service-picker .quick-service-mark {
  width: 104px;
  height: 96px;
  position: relative;
  z-index: 1;
  overflow: visible;
  background: transparent;
}
.sample-service-picker .quick-service-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 7px 8px rgba(20,58,105,.12));
  transform-origin: center bottom;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), filter .28s ease;
}
.sample-service-picker .quick-service:hover .quick-service-mark img,
.sample-service-picker .quick-service:focus-visible .quick-service-mark img {
  transform: translateY(-5px) scale(1.14);
  filter: drop-shadow(0 13px 13px rgba(20,58,105,.2));
}
@media (max-width: 760px) {
  .sample-service-picker .quick-service-mark { width: 88px; height: 82px; }
}
@media (max-width: 420px) {
  .home-page .hero-contact-actions .button { width: 100%; }
  .sample-service-picker .quick-service-mark { width: 68px; height: 64px; }
  .sample-service-picker .quick-service-mark svg { width: 64px; height: 60px; }
}

/* v16 homepage — approved light Microsoft-inspired composition */
.home-page .hero {
  min-height: 510px;
  padding: 94px 0 82px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--ms-text);
  background: #eff7ff;
  border-bottom: 1px solid var(--ms-line);
}
.home-page .hero::before {
  inset: 0;
  width: 100%;
  opacity: 1;
  background-image:
    linear-gradient(90deg, rgba(242,248,255,.98) 0%, rgba(242,248,255,.94) 34%, rgba(242,248,255,.18) 56%, rgba(242,248,255,0) 76%),
    url("../images/gulf-fix-pro-fluent-hero-v16.webp") !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
}
.home-page .hero::after { display: none; }
.home-page .hero-grid { position: relative; z-index: 2; display: block; }
.home-page .hero-copy { width: min(52%, 650px); }
.home-page .hero-copy .eyebrow { display: none; }
.home-page .hero-copy h1 {
  color: var(--ms-navy) !important;
  font-size: clamp(3.25rem, 5vw, 5rem);
  line-height: .99;
  letter-spacing: -.055em;
  text-shadow: none;
  max-width: 680px;
}
.home-page .hero-lead {
  max-width: 560px;
  color: var(--ms-text) !important;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  opacity: 1;
}
.home-page .hero-contact-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.home-page .hero-contact-actions .button { min-width: 180px; }
.home-page .hero-contact-actions .button-secondary {
  color: var(--ms-blue) !important;
  background: rgba(255,255,255,.92) !important;
  border-color: var(--ms-blue) !important;
  box-shadow: none !important;
}
.home-page .hero-contact-actions .button-secondary:hover {
  color: #fff !important;
  background: var(--ms-blue-dark) !important;
}

.sample-service-picker {
  margin: 0;
  padding: 28px 0 34px;
  background: #fff;
}
.sample-service-picker .hero-service-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.sample-service-picker .hero-service-header { justify-content: center; margin-bottom: 14px; }
.sample-service-picker .hero-service-header h2 { font-size: clamp(1.65rem, 2.6vw, 2.2rem); }
.sample-service-picker .hero-service-header > a,
.sample-service-picker .hero-service-footer { display: none; }
.sample-service-picker .hero-service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.sample-service-picker .quick-service {
  min-height: 174px;
  padding: 14px 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--ms-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(20,58,105,.07);
}
.sample-service-picker .quick-service:hover { transform: translateY(-4px); border-color: #9fc5ed; }
.sample-service-picker .quick-service-mark {
  width: 92px;
  height: 84px;
  margin: 0 auto 8px;
  border: 0;
  background: linear-gradient(145deg,#f1f7fd,#fff);
}
.sample-service-picker .quick-service-mark svg { width: 82px; height: 72px; stroke-width: 2.2; color: #46647f; }
.sample-service-picker .quick-service span strong { color: var(--ms-navy); font-size: .98rem; }
.sample-service-picker .quick-service small,
.sample-service-picker .quick-service > b { display: none; }

.home-page .benefits-strip { padding: 24px 0; background: var(--ms-wash); border-block: 1px solid var(--ms-line); }
.home-page .benefits-grid article { border-radius: 13px; background: #fff; border: 1px solid var(--ms-line); }
.home-page .section { padding: 66px 0; }
.home-page .section-heading { align-items: end; }
.home-page .appliance-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-page .service-card-visual { min-height: 134px; padding: 18px; }
.home-page .business-home-section, .home-page .section-muted { background: var(--ms-wash); }

@media (max-width: 1050px) {
  .home-page .hero { min-height: 470px; padding: 72px 0; }
  .home-page .hero::before { background-position: 58% center !important; }
  .home-page .hero-copy { width: 58%; }
  .sample-service-picker .hero-service-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .home-page .hero { min-height: 660px; padding: 50px 0 320px; align-items: start; }
  .home-page .hero::before {
    background-image:
      linear-gradient(180deg, rgba(242,248,255,.98) 0%, rgba(242,248,255,.93) 42%, rgba(242,248,255,.1) 68%),
      url("../images/gulf-fix-pro-fluent-hero-v16.webp") !important;
    background-size: auto 100%, auto 56% !important;
    background-position: center, 68% bottom !important;
  }
  .home-page .hero-copy { width: 100%; }
  .home-page .hero-copy h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .home-page .hero-lead { font-size: 1rem; }
  .sample-service-picker .hero-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .sample-service-picker .quick-service { min-height: 150px; }
  .home-page .appliance-card-grid { grid-template-columns: 1fr; }
}

/* Homepage visual hierarchy refinement. The service picker remains the main
   decision surface; assurances support it without competing for attention. */
.home-page .hero {
  min-height: 0;
  padding: 54px 0 46px;
}
.home-page .hero-grid { min-height: 450px; }
.home-page .hero-copy h1 {
  max-width: 610px;
  font-size: clamp(2.8rem, 4.5vw, 3.5rem);
  line-height: 1.01;
}
.home-page .hero-lead {
  max-width: 550px;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}
.home-page .hero-actions { margin-top: 24px; }
.home-page .home-primary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 350px);
  gap: 10px;
}
.home-page .home-primary-actions .button {
  width: auto;
  min-width: 0;
  min-height: 46px;
  padding: 10px 15px;
  justify-content: center;
  gap: 8px;
  font-size: .88rem;
  white-space: nowrap;
}
.home-page .home-primary-actions .hero-call-action svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

/* Keep the complete hero artwork visible when the section is shortened. */
@media (min-width: 761px) {
  .home-page .hero::before {
    background-size: 100% 100%, contain !important;
    background-position: center, right center !important;
  }
}

.home-page .benefits-strip {
  padding: 10px 0;
  background: #f8fafc;
  border-block-color: #e4ebf2;
}
.home-page .benefits-grid {
  gap: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}
.home-page .benefits-grid article {
  min-height: 54px;
  gap: 10px;
  padding: 6px 20px !important;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.home-page .benefits-grid article + article { border-left: 1px solid #dfe7ee; }
.home-page .benefits-grid article > div {
  min-height: 0;
  top: 0;
}
.home-page .benefits-grid .benefit-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  padding: 0;
  border-radius: 9px;
  background: transparent;
  opacity: .68;
}
.home-page .benefits-grid .benefit-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: saturate(.68);
}
.home-page .benefits-grid strong {
  color: #31465a;
  font-size: .78rem;
  line-height: 1.25;
}
.home-page .benefits-grid small {
  margin-top: 1px;
  color: #748294;
  font-size: .65rem;
  line-height: 1.28;
}

@media (max-width: 1050px) {
  .home-page .hero { min-height: 0; padding: 52px 0 46px; }
  .home-page .hero-grid { min-height: 440px; }
}

@media (max-width: 760px) {
  .home-page .hero {
    min-height: 570px;
    padding: 38px 0 218px;
  }
  .home-page .hero-grid { min-height: 0; }
  .home-page .hero-copy h1 { font-size: clamp(2.45rem, 11.5vw, 3.35rem); }
  .home-page .benefits-strip { padding-block: 7px; }
  .home-page .benefits-grid article {
    min-height: 40px;
    padding: 6px 10px !important;
  }
  .home-page .benefits-grid article + article {
    border-left: 0;
    border-top: 1px solid #e5ebf1;
  }
  .home-page .benefits-grid .benefit-icon { display: none; }
}

/* Guided homepage service request */
.home-quote-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 12%, rgba(8,102,217,.11), transparent 31%),
    linear-gradient(180deg, #f7fbff, #edf6ff);
  border-block: 1px solid var(--ms-line);
}
.home-quote-layout {
  display: grid;
  grid-template-columns: minmax(0,.78fr) minmax(580px,1.22fr);
  gap: clamp(38px,6vw,82px);
  align-items: center;
}
.home-quote-intro { max-width: 500px; }
.home-quote-intro h2 { margin-bottom: 18px; font-size: clamp(2.2rem,3.7vw,3.45rem); line-height: 1.05; }
.home-quote-intro > p { font-size: 1rem; line-height: 1.65; }
.home-quote-points { display: grid; gap: 13px; margin: 28px 0 0; padding: 0; list-style: none; }
.home-quote-points li { display: flex; align-items: center; gap: 12px; color: var(--ms-navy); font-weight: 750; }
.home-quote-points li span {
  width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 30px;
  color: var(--ms-blue); background: #fff; border: 1px solid #bdd8f2; border-radius: 9px;
}
.home-quote-shell {
  position: relative;
  padding: 26px;
  border: 1px solid #c9dced;
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 20px 55px rgba(20,58,105,.14);
}
.home-quote-shell::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 22px;
  border: 2px solid rgba(8,102,217,.3); opacity: 0;
}
.home-quote-shell.is-attention::before { animation: quoteAttention 1.25s ease-out 1; }
@keyframes quoteAttention {
  0% { opacity: 0; transform: scale(.985); box-shadow: 0 0 0 0 rgba(8,102,217,.2); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.025); box-shadow: 0 0 0 18px rgba(8,102,217,0); }
}
.home-quote-topline { display: flex; justify-content: space-between; gap: 16px; color: #64758a; font-size: .74rem; font-weight: 700; }
.home-quote-topline span:first-child { color: var(--ms-blue); }
.home-quote-progress { height: 5px; margin: 12px 0 24px; overflow: hidden; border-radius: 99px; background: #e4edf6; }
.home-quote-progress span { display: block; width: 33.333%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#0866d9,#21a7e8); transition: width .35s ease; }
.home-quote-step { margin: 0; padding: 0; border: 0; }
.home-quote-step[hidden] { display: none; }
.home-quote-step legend { width: 100%; padding: 0; color: var(--ms-navy); font-size: 1.45rem; font-weight: 800; line-height: 1.2; }
.quote-step-help { margin: 7px 0 19px; color: var(--ms-muted); font-size: .88rem; }
.quote-choice-grid { display: grid; gap: 10px; }
.quote-appliance-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.quote-problem-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.quote-area-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.quote-choice-grid label { position: relative; cursor: pointer; }
.quote-choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.quote-choice-grid span {
  min-height: 58px; padding: 10px 12px; display: grid; place-items: center;
  color: #334a61; border: 1px solid #d4e1ed; border-radius: 11px; background: #fbfdff;
  text-align: center; font-size: .82rem; font-weight: 750; transition: .2s ease;
}
.quote-choice-grid label:hover span { border-color: #8ebbe5; transform: translateY(-2px); }
.quote-choice-grid input:focus-visible + span { outline: 3px solid rgba(8,102,217,.22); outline-offset: 2px; }
.quote-choice-grid input:checked + span { color: #075bbd; border-color: #3785d6; background: #eaf4ff; box-shadow: inset 0 0 0 1px #3785d6; }
.quote-choice-grid input:checked + span::after { content: "✓"; margin-left: 7px; color: #0874d9; }
.quote-field-label { display: block; margin: 18px 0 9px; color: var(--ms-navy); font-size: .8rem; font-weight: 800; }
.quote-text-field { display: grid; gap: 7px; color: var(--ms-navy); font-size: .82rem; font-weight: 800; }
.quote-text-field small { color: var(--ms-muted); font-weight: 500; }
.quote-text-field input, .quote-text-field textarea {
  width: 100%; padding: 13px 14px; color: var(--ms-text); border: 1px solid #cbd9e7;
  border-radius: 10px; background: #fbfdff; font: inherit; font-weight: 500; transition: .2s ease;
}
.quote-text-field textarea { min-height: 138px; resize: vertical; }
.quote-extra-details { margin-top: 16px; }
.quote-extra-details textarea { min-height: 82px; }
.quote-text-field input:focus, .quote-text-field textarea:focus { outline: 0; border-color: var(--ms-blue); background: #fff; box-shadow: 0 0 0 4px rgba(8,102,217,.11); transform: translateY(-1px); }
.quote-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.quote-privacy { margin: 13px 0 0; color: #718096; font-size: .72rem; }
.home-quote-error { margin: 14px 0 0; color: #a4262c; font-size: .78rem; font-weight: 700; }
.home-quote-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.home-quote-actions [hidden] { display: none !important; }
.home-quote-actions .button { min-width: 126px; }
.home-quote-step.is-entering { animation: quoteStepIn .3s ease both; }
@keyframes quoteStepIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }

@media (max-width: 1050px) {
  .home-quote-layout { grid-template-columns: 1fr; gap: 30px; }
  .home-quote-intro { max-width: 720px; }
  .home-quote-points { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .home-quote-section { padding-block: 50px !important; }
  .home-quote-points { grid-template-columns: 1fr; gap: 9px; }
  .home-quote-shell { padding: 20px 16px; border-radius: 16px; }
  .home-quote-topline span:last-child { display: none; }
  .quote-appliance-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .quote-problem-grid { grid-template-columns: 1fr; }
  .quote-choice-grid span { min-height: 62px; padding-inline: 8px; }
  .quote-contact-grid { grid-template-columns: 1fr; }
  .home-quote-actions { justify-content: stretch; }
  .home-quote-actions .button { width: 100%; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .home-quote-shell.is-attention::before, .home-quote-step.is-entering { animation: none; }
  .sample-service-picker .quick-service-mark img { transition: none; }
}

/* Final mobile balance layer: keeps homepage sections compact and prevents
   decorative desktop artwork from overlapping card copy on narrow screens. */
@media (max-width: 760px) {
  .home-page .section { padding-block: 44px; }
  .home-page .section-heading {
    gap: 14px;
    margin-bottom: 22px;
  }
  .home-page .section-heading h2,
  .home-page .home-quote-intro h2 {
    margin-block: .4rem .7rem;
    font-size: clamp(1.9rem, 8.7vw, 2.35rem);
    line-height: 1.08;
  }
  .home-page .section-heading p,
  .home-page .home-quote-intro > p {
    font-size: .94rem;
    line-height: 1.58;
  }

  .home-page .hero {
    min-height: 0;
    padding: 24px 0 320px;
  }
  .home-page .hero::before {
    background-size: auto 100%, auto 48% !important;
  }
  .home-page .hero-grid {
    min-height: 0;
    padding-block: 0;
  }
  .home-page .hero-copy { display: block; width: 100%; }
  .home-page .hero-copy h1 {
    max-width: 340px;
    margin-bottom: 14px;
    font-size: clamp(2.35rem, 11vw, 3rem);
    line-height: 1.02;
  }
  .home-page .hero-lead {
    max-width: 345px;
    margin-bottom: 20px;
    font-size: .96rem;
    line-height: 1.52;
  }
  .home-page .hero-contact-actions { gap: 9px; }
  .home-page .hero-contact-actions .button {
    min-height: 43px;
    padding-block: 10px;
  }

  .sample-service-picker { padding-block: 30px 34px; }
  .sample-service-picker .hero-service-header { margin-bottom: 18px; }
  .sample-service-picker .hero-service-header h2 { font-size: 1.7rem; }
  .sample-service-picker .quick-service {
    min-height: 136px;
    padding: 12px 8px;
  }
  .sample-service-picker .quick-service-mark { width: 72px; height: 70px; }
  .sample-service-picker .quick-service strong { font-size: .86rem; }

  .home-page .appliance-card-grid { gap: 12px; }
  .home-page .service-card-visual {
    min-height: 98px;
    padding: 15px 16px;
    grid-template-columns: 52px minmax(0,1fr) 18px;
    grid-template-rows: 1fr;
    column-gap: 14px;
    text-align: left;
  }
  .home-page .service-card-visual .appliance-icon {
    width: 52px !important;
    height: 52px !important;
    min-height: 0 !important;
    grid-row: 1;
    overflow: hidden;
    align-self: center;
  }
  .home-page .service-card-visual .appliance-icon::before {
    inset: 0 !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 10px;
  }
  .home-page .service-card-visual .appliance-svg {
    position: relative;
    z-index: 1;
    width: 42px;
    height: 42px;
  }
  .home-page .service-card-visual h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 1rem;
    line-height: 1.3;
  }
  .home-page .service-card-visual p { display: none; }
  .home-page .service-card-visual .card-link { grid-row: 1; }

  .home-page .business-path-grid { gap: 12px; }
  .home-page .business-path-card,
  .home-page .business-path-card:nth-child(2) {
    padding: 17px;
    grid-template-columns: 48px minmax(0,1fr);
    column-gap: 14px;
  }
  .home-page .business-path-card .business-card-mark {
    width: 48px;
    height: 48px;
  }
  .home-page .business-path-card h3 { font-size: 1rem; }
  .home-page .business-path-card p { font-size: .78rem; }

  .home-page .home-quote-section { padding-block: 44px !important; }
  .home-page .home-quote-layout { gap: 25px; }
  .home-page .home-quote-points { margin-top: 20px; }
  .home-page .home-quote-points li { font-size: .88rem; }
  .home-page .home-quote-shell { padding: 19px 15px; }
  .home-page .quote-choice-grid { gap: 8px; }
  .home-page .quote-choice-grid span { min-height: 56px; }

  .home-page .service-journey-heading .button { min-height: 44px; }
  .home-page .service-journey-grid { gap: 12px; }
  .home-page .journey-card {
    min-height: 0;
    padding: 18px;
    display: grid;
    grid-template-columns: 46px minmax(0,1fr);
    column-gap: 14px;
    align-items: start;
  }
  .home-page .journey-icon {
    width: 46px;
    height: 46px;
    grid-column: 1;
    grid-row: 1 / 3;
    margin: 0;
  }
  .home-page .journey-card h3 {
    grid-column: 2;
    margin: 0 34px 6px 0;
    font-size: 1rem;
  }
  .home-page .journey-card p {
    grid-column: 2;
    margin: 0;
    font-size: .82rem;
    line-height: 1.5;
  }
  .home-page .journey-number { top: 18px; right: 18px; }

  .home-page .section.home-help-hub { padding-block: 40px; }
  .home-page .home-help-heading { gap: 12px; margin-bottom: 20px; }
  .home-page .home-help-card { min-height: 76px; }

  .home-page .cta-band { padding-block: 40px; }
  .home-page .cta-inner { gap: 22px; }
  .home-page .cta-inner h2 { font-size: 2rem; }
  .home-page .cta-actions { gap: 10px; }

  .home-page .featured-advice-head { gap: 18px; margin-bottom: 22px; }
  .home-page .featured-advice-intro h2 { margin-block: .4rem .65rem; font-size: 2rem; }
  .home-page .featured-advice-proof { padding: 17px 19px; }
  .home-page .featured-advice-proof strong { font-size: 1.9rem; }
  .home-page .featured-advice-grid { gap: 14px; }
  .home-page .featured-advice-card {
    min-height: 0;
    padding: 20px;
  }
  .home-page .featured-advice-card h3 { margin-top: 20px; font-size: 1.35rem; }
  .home-page .advice-topics { margin-block: 17px 18px; }
  .home-page .featured-advice-footer {
    gap: 18px;
    margin-top: 16px;
    padding: 20px;
  }
}

@media (max-width: 420px) {
  .home-page .container { width: min(calc(100% - 28px), 1280px); }
  .home-page .home-help-copy strong { font-size: 1rem; }
}

/* Mobile header, assurances and footer actions. */
.mobile-header-call { display: none; }
.footer-contact-action svg { width: 18px; height: 18px; flex: 0 0 18px; }

@media (max-width: 760px) {
  .home-page .mobile-header-call {
    display: inline-flex;
    min-height: 36px;
    margin-left: auto;
    padding: 7px 11px;
    align-items: center;
    gap: 6px;
    color: #fff;
    border-radius: 9px;
    background: var(--ms-blue);
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(8,102,217,.18);
  }
  .home-page .mobile-header-call svg { width: 16px; height: 16px; }
  .home-page .menu-toggle { margin-left: 5px; }

  .home-page .home-primary-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 330px);
    gap: 8px;
  }
  .home-page .home-primary-actions .button {
    display: inline-flex;
    width: auto;
    min-height: 44px;
    padding-inline: 11px;
    font-size: .82rem;
  }
  .home-page .home-quote-section { display: block; }

  .home-page .benefits-strip { padding-block: 10px !important; }
  .home-page .benefits-grid { gap: 8px; }
  .home-page .benefits-grid article {
    min-height: 76px;
    padding: 9px 12px !important;
    justify-content: flex-start;
    border: 1px solid #dfe8f0;
    border-radius: 12px;
    background: #fff;
  }
  .home-page .benefits-grid article + article { border-top: 1px solid #dfe8f0; }
  .home-page .benefits-grid .benefit-icon {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    opacity: 1;
  }
  .home-page .benefits-grid .benefit-icon img {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 5px 8px rgba(0,95,184,.14));
  }
  .home-page .benefits-grid article > div { min-height: 52px; }
  .home-page .benefits-grid strong { font-size: .87rem; }
  .home-page .benefits-grid small { font-size: .72rem; }

  .home-page .site-footer .footer-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 26px 18px;
  }
  .home-page .site-footer .footer-grid > div:first-child,
  .home-page .site-footer .footer-grid > div:last-child { grid-column: 1 / -1; }
  .home-page .site-footer .footer-grid h3 {
    font-size: .72rem;
    letter-spacing: .08em;
  }
  .home-page .site-footer .footer-grid > div:last-child {
    grid-template-columns: 42px 42px minmax(0,1fr);
    column-gap: 10px;
  }
  .home-page .site-footer .footer-grid > div:last-child h3,
  .home-page .site-footer .footer-grid > div:last-child .footer-legal-name,
  .home-page .site-footer .footer-grid > div:last-child a[href^="mailto:"],
  .home-page .site-footer .footer-grid > div:last-child span { grid-column: 1 / -1; }
  .home-page .site-footer .footer-contact-action {
    width: 42px;
    min-height: 42px;
    padding: 0;
    justify-content: center;
    border-radius: 10px;
  }
  .home-page .site-footer .footer-contact-action span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
  }
  .home-page .site-footer .footer-contact-action svg { width: 20px; height: 20px; }
}
