/* Preview-only SG overrides. H1 words are unchanged. */

/* ---- Header: one row on desktop only. Chips hide (those facts already appear in the hero). ---- */
.sg-chips { display: none !important; }
@media (min-width: 981px) {
  .sg-top-in {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 8px 24px;
    max-width: 1440px;
  }
  .sg-top-right {
    margin-left: auto;
    display: flex;
    flex-direction: row !important;
    align-items: center !important;
    gap: 18px !important;
  }
  .sg-actions { display: flex; align-items: center; gap: 8px; }
  .sg-nav { display: flex; flex-wrap: nowrap; gap: 0; }
}
@media (max-width: 980px) {
  /* Keep the existing mobile header: logo, Call, hamburger. Do not force the desktop nav. */
  .sg-nav, .sg-book, .sg-text { display: none !important; }
}

/* ---- Soften all-caps / red-accent typography (CSS only) ---- */
.kicker,
.on-dark .kicker,
.sg-hero .kicker,
.svc-hero .kicker {
  text-transform: none;
  letter-spacing: 0.04em;
  font-weight: 700;
  font-size: 13px;
}
.sg-hero h1 {
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.08;
}
.sg-hero h1 .accent {
  color: inherit;
  display: inline;
}
.sg-hero h1:after,
.page-h1:after,
.sg-phero h1:after { display: none; }
.svc-hero h1,
.page-h1,
.sec-head h2,
.article h2,
.article h3,
.sg-brands h2,
.sg-cta-box h2,
.page-faq h2,
.glance h2,
.facts-row b,
.sg-trust strong,
.sg-form-card h2,
.sg-steps h3,
.why-grid h3,
.coupon h3,
.areas-top h2,
.areas-tag,
.county h3,
.card-grid .card b,
.sg-hero-visual .vis-copy small,
.sg-hero-visual .vis-copy span,
.hero-contact .big span,
.hero-contact div.it b,
.symptoms h2,
.btn,
.sg-mbar a {
  text-transform: none;
}

/* Hide the CGI overlay copy and slogan stamp so the real photo can show */
.sg-hero-visual .vis-copy,
.sg-stamp { display: none !important; }

/* ---- Homepage form: Phone + stronger Submit, tighter hero so Phone + Submit fit in 982px at 1512 ---- */
.sg-hero-in { padding-top: 18px; padding-bottom: 18px; gap: 16px; }
.sg-hero-lead { font-size: 16px; line-height: 1.45; margin: 0 0 8px; }
.sg-hero-meta { margin: 0 0 8px; }
.sg-ctas { margin-bottom: 8px; }
@media (min-width: 981px) {
  .sg-top-in { padding-top: 6px; padding-bottom: 6px; }
}
.sg-hero-visual { min-height: 280px; }
.sg-hero-visual img.appliances,
.sg-hero-visual picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

/* Phone + email on one row at desktop */
.sg-hero .wpforms-field-email,
.sg-hero .wpforms-field-phone,
#wpforms-95-field_1-container,
#wpforms-95-field_phone-container {
  /* paired via a wrapper if present */
}
.sg-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Email + Phone (field 3, single-line text) on one row at desktop, to keep Submit in 982px */
@media (min-width: 981px) {
  .sg-hero #wpforms-form-95 .wpforms-field-container,
  .sg-phero #wpforms-form-95 .wpforms-field-container,
  .sg-qform #wpforms-form-95 .wpforms-field-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    align-items: end;
  }
  .sg-hero #wpforms-95-field_0-container,
  .sg-hero #wpforms-95-field_2-container,
  .sg-phero #wpforms-95-field_0-container,
  .sg-phero #wpforms-95-field_2-container,
  .sg-qform #wpforms-95-field_0-container,
  .sg-qform #wpforms-95-field_2-container {
    grid-column: 1 / -1;
  }
  /* Phone is WPForms Lite Single Line Text field 3, not type=phone */
  .sg-hero #wpforms-95-field_1-container,
  .sg-hero #wpforms-95-field_3-container,
  .sg-phero #wpforms-95-field_1-container,
  .sg-phero #wpforms-95-field_3-container,
  .sg-qform #wpforms-95-field_1-container,
  .sg-qform #wpforms-95-field_3-container {
    min-width: 0;
  }
  /* WP Armour honeypots (hidden text fields) must not occupy a grid cell */
  .sg-hero #wpforms-95-field_4-container,
  .sg-hero #wpforms-95-field_5-container,
  .sg-phero #wpforms-95-field_4-container,
  .sg-phero #wpforms-95-field_5-container,
  .sg-qform #wpforms-95-field_4-container,
  .sg-qform #wpforms-95-field_5-container {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}
.sg-hero .wpforms-field { padding-top: 6px !important; padding-bottom: 6px !important; }
.sg-hero .wpforms-field input,
.sg-hero .wpforms-field textarea {
  min-height: 44px;
  font-size: 16px;
}
.sg-hero .wpforms-field textarea { min-height: 72px; }
.sg-hero button.wpforms-submit,
#wpforms-submit-95 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 10px 20px;
  margin-top: 8px;
  border: 0;
  border-radius: 8px;
  background: #E63946;
  color: #fff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  cursor: pointer;
}
.sg-hero button.wpforms-submit:hover,
#wpforms-submit-95:hover { background: #B91C2C; color: #fff; }

/* ---- City / service photo + form hero, KG-style ---- */
.sg-phero {
  position: relative;
  isolation: isolate;
  background: #041E42;
  overflow: hidden;
  border-bottom: 1px solid #123;
}
.sg-phero__bg {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: -1;
  background: #041E42;
}
.sg-phero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.sg-phero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(4 30 66 / .9) 0, rgb(4 30 66 / .84) calc(50% + 40px), rgb(4 30 66 / .3) calc(50% + 280px), rgb(4 30 66 / .16) 100%);
}
.sg-phero__grid {
  display: grid;
  gap: 28px;
  padding: 44px 32px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}
.sg-phero__text { max-width: 600px; color: #fff; }
.sg-phero__text h1,
.sg-phero__text .page-h1 {
  color: #fff;
  text-transform: none;
  margin: 0 0 12px;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.sg-phero__text .kicker { color: #F5F0E1; }
.sg-phero__text .lead,
.sg-phero__text .sub,
.sg-phero__text p.lead {
  color: #E8EEF6;
  font-size: 16.5px;
  line-height: 1.55;
  margin: 0 0 16px;
}
.sg-phero .crumbs { margin-bottom: 10px; }
.sg-phero .crumbs,
.sg-phero .crumbs a,
.sg-phero .crumbs b { color: #D5DEEA; }
.sg-qform {
  display: grid;
  gap: 10px;
  padding: 18px 18px 16px;
  background: #fff;
  color: #1a1a1a;
  border-radius: 10px;
  border: 1px solid #E6E6E6;
  border-top: 4px solid #E63946;
  box-shadow: 0 2px 6px rgba(0,0,0,.12), 0 24px 48px -20px rgba(0,0,0,.45);
}
.sg-qform__h { font-size: 22px; margin: 0 0 2px; color: #041E42; text-transform: none; }
.sg-qform label { display: grid; gap: 4px; font-weight: 650; font-size: 14px; color: #041E42; }
.sg-qform input,
.sg-qform textarea {
  font: inherit;
  font-size: 16px;
  padding: 9px 11px;
  min-height: 44px;
  border: 1.5px solid #C9D2DC;
  border-radius: 8px;
  background: #fff;
  color: #1a1a1a;
  width: 100%;
  box-sizing: border-box;
}
.sg-qform textarea { min-height: 88px; }
.sg-qform__pair { display: grid; gap: 10px; }
.sg-qform button {
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  border: 0;
  border-radius: 8px;
  background: #E63946;
  color: #fff;
  font-size: 16px;
  font-weight: 750;
  cursor: pointer;
}
.sg-qform button:hover { background: #B91C2C; }
.sg-qform__note { margin: 2px 0 0; font-size: 14px; line-height: 1.45; color: #4a4a4a; }

@media (min-width: 350px) {
  .sg-qform__pair { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .sg-phero__grid {
    grid-template-columns: minmax(0,1fr) 410px;
    column-gap: 72px;
    min-height: 520px;
  }
}
@media (max-width: 979px) {
  .sg-phero { display: grid; }
  .sg-phero__grid { display: contents; }
  .sg-phero__bg { position: relative; inset: auto; grid-area: 1 / 1; z-index: 0; min-height: 380px; }
  .sg-phero__bg::after {
    background: linear-gradient(180deg, rgb(4 30 66 / .22) 0, rgb(4 30 66 / .7) 92px, rgb(4 30 66 / .78) 100%);
  }
  .sg-phero__text {
    grid-area: 1 / 1;
    position: relative;
    z-index: 1;
    max-width: none;
    min-height: 380px;
    padding: 88px 18px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .sg-qform { grid-row: 2; margin: 20px 18px 26px; }
  .sg-form-row { grid-template-columns: 1fr; }
  .sg-top-right { flex-wrap: wrap; }
}

/* Keep the short-version card when it is moved below the new hero */
.sg-phero + .symptoms { background: #041E42; }


/* Live WPForms form inside the city/dishwasher photo hero */
.sg-phero .sg-qform .wpforms-container { margin: 0; }
.sg-phero .sg-qform .wpforms-title,
.sg-phero .sg-qform .wpforms-description { display: none; }
.sg-phero .sg-qform .wpforms-field { padding: 0 0 8px !important; margin: 0; }
.sg-phero .sg-qform .wpforms-field input,
.sg-phero .sg-qform .wpforms-field textarea {
  min-height: 44px;
  font-size: 16px;
}
.sg-phero .sg-qform .wpforms-field textarea { min-height: 88px; }
.sg-phero .sg-qform button.wpforms-submit,
.sg-phero .sg-qform #wpforms-submit-95 {
  text-transform: none;
}


/* sg-khero v1 */
/* ===== KG-style homepage first screen (4 Dec 2026). Scoped to .sg-khero / .sg-kfacts / .sg-kcontact. ===== */
.sg-khero {
  position: relative;
  isolation: isolate;
  background: #041E42;
  color: #fff;
  overflow: hidden;
  min-height: clamp(520px, calc(100vh - 236px), 720px);
  display: flex;
  flex-direction: column;
}
.sg-khero__bg {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: -1;
  background: #041E42;
}
.sg-khero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
}
.sg-khero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4,30,66,.82) 0, rgba(4,30,66,.72) 46%, rgba(4,30,66,.58) 100%);
}
.sg-khero__grid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 48px;
  align-items: center;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 32px;
  box-sizing: border-box;
}
.sg-khero__copy { max-width: 620px; }
.sg-khero .kicker { margin: 0 0 10px; }
.sg-khero h1 {
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -0.012em;
  text-transform: none;
  margin: 0 0 16px;
  color: #fff;
  text-wrap: balance;
}
.sg-khero h1:after { display: none !important; }
.sg-khero h1 .accent { display: block; color: inherit; }
.sg-khero .sg-hero-lead { font-size: 17px; line-height: 1.5; margin: 0 0 12px; max-width: 540px; }
.sg-khero__price { margin: 0 0 18px; color: #fff; font-size: 16.5px; font-weight: 650; line-height: 1.45; }
.sg-khero .sg-ctas { margin: 0; gap: 10px; }
.sg-khero .sg-ctas .btn { text-transform: none; letter-spacing: 0.02em; }

/* Request card (live WPForms form 95 inside) */
.sg-kcard {
  background: #fff;
  color: #1a1a1a;
  border-radius: 12px;
  border: 1px solid #E6E6E6;
  border-top: 4px solid #E63946;
  box-shadow: 0 2px 6px rgba(0,0,0,.12), 0 24px 48px -20px rgba(0,0,0,.45);
  padding: 14px 18px 14px;
  box-sizing: border-box;
}
.sg-kcard__h { margin: 0 0 4px; font-family: var(--display); font-size: 22px; font-weight: 650; color: #041E42; line-height: 1.15; }
.sg-kcard .wpforms-container { margin: 0; max-width: none; }
.sg-kcard .wpforms-title, .sg-kcard .wpforms-description { display: none; }
.sg-khero .sg-kcard .wpforms-field { padding: 0 0 8px !important; margin: 0; }
.sg-khero .sg-kcard .wpforms-field-label { color: #041E42; font-size: 13px; font-weight: 650; margin: 0 0 4px; }
.sg-khero .sg-kcard .wpforms-field-sublabel { color: #3A4556; font-size: 12px; margin-top: 2px; }
.sg-khero .sg-kcard .wpforms-required-label { color: #E63946; }
.sg-khero .sg-kcard .wpforms-field input,
.sg-khero .sg-kcard .wpforms-field textarea {
  min-height: 40px;
  font-size: 16px;
  padding: 8px 10px;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  border: 1.5px solid #C9D2DC;
  border-radius: 8px;
  background: #fff;
  color: #1a1a1a;
}
.sg-khero .sg-kcard .wpforms-field textarea { min-height: 64px !important; height: 64px !important; resize: none; }
.sg-khero .sg-kcard .wpforms-field-row { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; width: 100% !important; max-width: none !important; margin: 0 !important; }
.sg-khero .sg-kcard .wpforms-field-row-block { width: auto !important; max-width: none !important; min-width: 0; padding: 0 !important; margin: 0 !important; float: none !important; }
.sg-khero .sg-kcard .wpforms-field-row:before, .sg-khero .sg-kcard .wpforms-field-row:after { display: none !important; content: none !important; }
.sg-khero .sg-kcard .sg-form-row { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sg-khero .sg-kcard .sg-form-row .wpforms-field { min-width: 0; }
.sg-khero .sg-kcard .wpforms-field-container { display: block; }
.sg-khero .sg-kcard button.wpforms-submit,
.sg-khero .sg-kcard #wpforms-submit-95 { margin-top: 2px; min-height: 44px; font-size: 16px; }
.sg-kcard .wpforms-submit-container { padding: 0; margin: 0; }
.sg-kcard .sg-qform__note { margin: 8px 0 0; font-size: 12.5px; line-height: 1.4; color: #4a4a4a; font-weight: 500; }

/* Fact row under the photo */
.sg-kfacts { background: #F4F6F7; color: #0B1220; padding: 12px 32px 14px; }
.sg-kfacts__in { max-width: 1440px; margin: 0 auto; }
.sg-kfacts__h { margin: 0 0 8px; font-family: var(--display); font-size: 21px; font-weight: 650; color: #041E42; line-height: 1.2; }
.sg-kfacts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sg-kfact { background: #fff; border: 1px solid #E6E9EB; border-radius: 10px; padding: 10px 14px; box-shadow: 0 1px 2px rgba(4,30,66,.06); }
.sg-kfact b { display: block; font-family: var(--display); font-size: 17px; font-weight: 650; color: #041E42; margin: 0 0 2px; }
.sg-kfact p { margin: 0; font-size: 13.5px; line-height: 1.4; color: #3A4556; }

/* Shop details card moved below the fold, content unchanged */
.sg-kcontact { background: #041E42; padding: 28px 32px 36px; }
.sg-kcontact__in { max-width: 760px; margin: 0 auto; }

/* Phones and small tablets */
@media (max-width: 979px) {
  .sg-khero { display: grid; min-height: 0; }
  .sg-khero__grid { display: contents; }
  .sg-khero__bg { position: relative; inset: auto; grid-area: 1 / 1; z-index: 0; min-height: 330px; }
  .sg-khero__bg::after { background: linear-gradient(180deg, rgba(4,30,66,.55) 0, rgba(4,30,66,.82) 100%); }
  .sg-khero__copy { grid-area: 1 / 1; position: relative; z-index: 1; max-width: none; padding: 22px 18px 22px; display: flex; flex-direction: column; justify-content: flex-end; }
  .sg-khero h1 { font-size: 2.2rem; line-height: 1.08; margin: 0 0 10px; }
  .sg-khero .sg-hero-lead { font-size: 15.5px; margin: 0 0 8px; max-width: none; }
  .sg-khero__price { font-size: 15px; margin: 0 0 14px; }
  .sg-khero .sg-ctas { flex-direction: column; gap: 8px; }
  .sg-khero .sg-ctas .btn { flex: 0 0 auto; width: 100%; padding: 9px 12px; font-size: 18px; }
  .sg-khero .sg-ctas .sg-khero__text { display: none; }
  .sg-kcard { grid-row: 2; margin: 16px 16px 22px; background: #fff; }
  .sg-khero .sg-kcard .wpforms-field-row, .sg-khero .sg-kcard .sg-form-row { grid-template-columns: 1fr; gap: 0; }
  .sg-khero .sg-kcard .wpforms-field-row-block { margin-bottom: 8px !important; }
  .sg-khero .sg-kcard .wpforms-field textarea { min-height: 88px !important; height: 88px !important; }
  .sg-khero .sg-kcard button.wpforms-submit, .sg-khero .sg-kcard #wpforms-submit-95 { min-height: 48px; }
  .sg-khero { background: #041E42; }
  .sg-kfacts { padding: 18px 16px 20px; }
  .sg-kfacts__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sg-kcontact { padding: 20px 16px 28px; }
}

/* sg-khero v1.5.0 */
/* Shop-details card: full hero width, facts across the card. */
.sg-kcontact { background: #041E42; padding: 28px 32px 36px; }
.sg-kcontact__in { max-width: 1440px; width: 100%; margin: 0 auto; box-sizing: border-box; }
.sg-kcontact .hero-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 28px;
  width: 100%;
  box-sizing: border-box;
}
.sg-kcontact .hero-contact .big { grid-column: 1 / -1; }
.sg-kcontact .hero-contact div.it { min-width: 0; }
.sg-kcontact .hero-contact div.it a { overflow-wrap: anywhere; }
@media (min-width: 700px) {
  .sg-kcontact .hero-contact { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1440px) {
  .sg-kcontact .hero-contact { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; }
}

/* Brand logo grid (homepage). Heading, note, and All brands link are unchanged. */
.sg-brands .brand-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.sg-brands .brand-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 116px;
  margin: 0;
  padding: 14px 16px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  text-decoration: none;
  color: var(--navy);
}
.sg-brands .brand-logos a:hover { border-color: var(--navy); box-shadow: 0 4px 12px rgba(4,30,66,.12); }
.sg-brands .brand-logos img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 180px;
  max-height: 64px;
  margin: 0;
  padding: 0;
  object-fit: contain;
}
.sg-brands .brand-logos img.logo-miele { max-height: 72px; max-width: 160px; }
.sg-brands .brand-logos img.logo-maytag { max-height: 28px; max-width: 170px; }
.sg-brands .brand-logos img.logo-monogram { max-height: 72px; max-width: 150px; }
.sg-brands .brand-legal {
  text-align: center;
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.45;
}
@media (max-width: 979px) {
  .sg-brands .brand-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .sg-brands .brand-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sg-brands .brand-logos a { height: 100px; padding: 10px; }
  .sg-brands .brand-logos img { max-height: 52px; }
}

/* What we fix: photos in place of line icons. Labels and links unchanged. */
.sg-services .svc-card .art {
  overflow: hidden;
  background: #d9ddd8;
}
.sg-services .svc-card .art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* sg-khero v1.5.1 */
/* Contact card: center Call or text + phone in the top row; Coupons stay right. */
.sg-kcontact .hero-contact .big {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 12px;
  width: 100%;
  box-sizing: border-box;
}
.sg-kcontact .hero-contact .big > div:first-child {
  grid-column: 2;
  justify-self: center;
  text-align: center;
}
.sg-kcontact .hero-contact .big > a.btn {
  grid-column: 3;
  justify-self: end;
  white-space: nowrap;
}
/* Mobile: stack the phone and Coupons, centered, no sideways scroll. */
@media (max-width: 699px) {
  .sg-kcontact .hero-contact .big {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
    row-gap: 12px;
    column-gap: 0;
  }
  .sg-kcontact .hero-contact .big > div:first-child,
  .sg-kcontact .hero-contact .big > a.btn {
    grid-column: 1;
    justify-self: center;
  }
  .sg-kcontact,
  .sg-kcontact__in,
  .sg-kcontact .hero-contact,
  .sg-kcontact .hero-contact .big {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

/* Desktop 1440+ (1512 and 1728): widen the request form and tighten the hero gap.
   Copy may grow but must not get narrower than the live 620px cap, so the H1 cannot wrap worse.
   Mobile and sub-1440 desktop stay on the v1.5.0 410px column. Form 95 markup is not touched. */
@media (min-width: 1440px) {
  .sg-khero__grid {
    grid-template-columns: minmax(0, 1fr) 540px;
    gap: 28px;
  }
  .sg-khero__copy { max-width: 760px; }
}
