/* Home Why North Shore Fleet heading and lead: centered on tablet/mobile, left-aligned on desktop. */
@media (max-width: 64rem) {
  main > section[data-section="why-us"] > .container.split > div:nth-child(2) > h2,
  main > section[data-section="why-us"] > .container.split > div:nth-child(2) > p.lead {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
@media (min-width: 64.0625rem) {
  main > section[data-section="why-us"] > .container.split > div:nth-child(2) > h2,
  main > section[data-section="why-us"] > .container.split > div:nth-child(2) > p.lead {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
}

/* Home Services section heading: center on tablet/mobile, left-align on desktop. */
@media (max-width: 64rem) {
  main > section[data-section="services"] > .container > .section-heading-row > div > h2 {
    text-align: center !important;
    margin-inline: auto !important;
  }
}
@media (min-width: 64.0625rem) {
  main > section[data-section="services"] > .container > .section-heading-row > div > h2 {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
}

/* Let the Services-page How We Help heading and intro wrap naturally instead of squeezing or overflowing. */
main > section[data-section="included"] .section-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
main > section[data-section="included"] .section-heading-row > * {
  flex: 1 1 20rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Services page support-card icons: lake-blue tile with white icon strokes. */
main > section[data-section="included"] .include-item > .icon-tile {
  background-color: #2E6B9E !important;
  color: #FFFFFF !important;
  border-color: #2E6B9E !important;
}

/* Responsive layout for the four Services-page support cards: four across on wide screens,
   two columns on tablet, and a readable single column on narrow phones. Card content styling stays intact. */
main > section[data-section="included"] > .container > .grid.grid-3 {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
@media (min-width: 48rem) and (max-width: 64rem) {
  main > section[data-section="included"] > .container > .grid.grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 47.999rem) {
  main > section[data-section="included"] > .container > .grid.grid-3 {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Center the About page CTA email link within its contact box at every viewport. */
main > section[data-section="cta"] > .container.cta-inner > .cta-box > a.cta-phone[href^="mailto:"] {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto !important;
  text-align: center !important;
  overflow-wrap: anywhere;
}

/* Center process numbers over their corresponding headings at every viewport. */
main > section[data-section="process"] .steps > .step {
  text-align: center !important;
}
main > section[data-section="process"] .steps > .step > .step-number {
  position: relative !important;
  display: block !important;
  inset: auto !important;
  width: 3rem !important;
  height: 3rem !important;
  aspect-ratio: 1 / 1;
  padding: 0 !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 auto 1rem !important;
  transform: none !important;
  text-align: center !important;
}
main > section[data-section="process"] .steps > .step > h3,
main > section[data-section="process"] .steps > .step > p {
  text-align: center !important;
  margin-inline: auto;
}

/* About page values cards wrap into a single vertical column on tablet and mobile only. */
@media (max-width: 64rem) {
  main > section[data-section="community"] .grid.grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Responsive alignment refinements. The centered mobile elements below intentionally
   retain the explicitly requested left alignment inside FAQ and benefit-card copy. */
@media (max-width: 48rem) {
  /* Center page headings and body copy on phone-sized screens. */
  main h1,
  main h2,
  main h3,
  main p { text-align: center; }

  /* Center section headings and eyebrow labels on phone-sized screens. */
  main > section .section-heading,
  main > section .section-heading > h2,
  main > section .section-heading > p,
  main > section .section-heading > .eyebrow,
  main > section .eyebrow {
    text-align: center;
  }
  main > section .section-heading > .eyebrow,
  main > section .eyebrow {
    justify-content: center;
    margin-inline: auto;
  }

  /* Center selected CTA/contact content on mobile only. */
  .contact-options article,
  .contact-options article > div,
  .contact-options .contact-phone,
  .contact-options .contact-value,
  .contact-options .button,
  .hours-area .contact-value,
  .page-header .page-call,
  .plans .badge,
  .cta-band .cta-phone {
    text-align: center;
  }
  main > section[data-section="service-area"] .map-note > p,
  main > section[data-section="service-area"] .map-note > p > strong {
    text-align: left;
  }
  .page-header .page-call,
  .plans .badge,
  .cta-band .cta-phone {
    margin-inline: auto;
  }
  .plans .plan-featured > .badge {
    position: absolute !important;
    z-index: 2;
    top: 0 !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    align-self: auto;
    margin: 0 !important;
  }
  .plans .plan-featured > h3 {
    margin-top: 0;
  }
  .cta-band .cta-phone { font-size: 20px; }

  /* About CTA email: requested 16px font on mobile only. */
  main > section[data-section="cta"] > .container.cta-inner > .cta-box > a.cta-phone[href^="mailto:"] {
    font-size: 16px !important;
  }

  /* The three Home process cards stay centered with even, standard card padding. */
  [data-section="process"] ol > .step {
    padding-inline: 1.25rem;
    text-align: center;
  }
  [data-section="process"] ol > .step > h3,
  [data-section="process"] ol > .step > p,
  [data-section="process"] ol > .step > .step-number {
    text-align: center;
  }

  /* Reaffirm requested left alignment only inside FAQ cards and selected benefit cards. */
  main > section[data-section="faq"] .faq details,
  main > section[data-section="faq"] .faq details > summary,
  main > section[data-section="faq"] .faq details > p,
  [data-section="why-us"] li > div,
  [data-section="why-us"] li > div > h3,
  [data-section="why-us"] li > div > p,
  [data-section="included"] div > h3,
  [data-section="included"] div > p {
    text-align: left;
  }

  /* Preserve mobile menu's centered vertical list and desktop-like lake-blue marker. */
  .site-nav a { text-align: center; }

  /* Center the other mobile-only elements requested, without overriding copy
     explicitly requested to remain left-aligned inside FAQ/benefit cards. */
  main img:not(.brand-logo),
  main figure,
  main .media-accent {
    margin-inline: auto;
  }
  main .button-row,
  main .hero-actions,
  main .cta-actions {
    justify-content: center;
  }
  main .button-row > a,
  main .hero-actions > a,
  main .cta-actions > a,
  main a.button,
  main a.button-lg {
    margin-inline: auto;
  }
  .trust-heading-wrap { align-items: center; text-align: center; }

  /* Center the selected Contact page values within their own elements on mobile. */
  main > section[data-section="contact-options"] .contact-call-action > .contact-phone {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
  }
  main > section[data-section="contact-options"] address.contact-value {
    width: 100%;
    margin-inline: auto;
    text-align: center;
  }
  main > section[data-section="hours-area"] .contact-card > a.contact-value {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
  }
}

/* Footer is centered on both tablet and mobile, as requested. */
@media (max-width: 64rem) {
  .site-footer,
  .site-footer .footer-inner,
  .site-footer .footer-brand,
  .site-footer .footer-nav,
  .site-footer .footer-contact,
  .site-footer .footer-hours,
  .site-footer .footer-bottom {
    text-align: center;
  }
  .site-footer .footer-inner,
  .site-footer .footer-nav ul,
  .site-footer .footer-contact,
  .site-footer .footer-hours {
    justify-items: center;
    justify-content: center;
  }
  .site-footer .footer-nav ul {
    margin-inline: auto;
  }
}

/* Left-align FAQ card copy on tablet and mobile without moving disclosure markers. */
@media (max-width: 64rem) {
  main > section[data-section="faq"] .faq details,
  main > section[data-section="faq"] .faq details > summary,
  main > section[data-section="faq"] .faq details > p {
    text-align: left;
  }
}

/* Home selected sections: center content on mobile/tablet, preserve left alignment on desktop. */
@media (max-width: 64rem) {
  main > section[data-section="cta"] > .container.cta-inner > div:first-child > h2,
  main > section[data-section="cta"] > .container.cta-inner > div:first-child > p {
    text-align: center !important;
    margin-inline: auto;
  }
  main > section[data-section="service-area"] > .container.split > div:first-child > ul.area-list {
    margin-inline: auto !important;
  }
  main > section[data-section="hero"] > .container.split > div:first-child > p.lead {
    margin-inline: auto;
    text-align: center !important;
  }
}
@media (min-width: 64.0625rem) {
  main > section[data-section="cta"] > .container.cta-inner > div:first-child > h2,
  main > section[data-section="cta"] > .container.cta-inner > div:first-child > p,
  main > section[data-section="service-area"] > .container.split > div:first-child > ul.area-list,
  main > section[data-section="hero"] > .container.split > div:first-child > p.lead {
    text-align: left !important;
    margin-left: 0;
    margin-right: auto;
  }
}

/* Keep FAQ eyebrow headings in the primary navy. */
main > section[data-section="faq"] .section-heading > .eyebrow {
  color: var(--color-primary) !important;
}

/* Center every eyebrow label on every page at tablet and mobile widths.
   Eyebrows are inline-flex, so center the flex item and its contents, not only its text. */
@media (max-width: 64rem) {
  main .eyebrow {
    display: flex;
    width: fit-content;
    max-width: 100%;
    align-self: center;
    justify-content: center;
    text-align: center;
    margin-inline: auto;
  }

  main .section-heading:not(.section-heading-row) > .eyebrow,
  main .section-heading-row > .eyebrow,
  main .page-header .eyebrow {
    align-self: center;
    margin-inline: auto;
  }
}

/* Center icon tiles that sit immediately above a heading already centered on tablet/mobile. */
@media (max-width: 64rem) {
  main .icon-tile:has(+ h2),
  main .icon-tile:has(+ h3) {
    display: grid;
    justify-self: center;
    align-self: center;
    margin-inline: auto;
  }
}

/* Tablet-only alignment requested for the Home hero location, process markers,
   service-area locations, and final CTA. Include the common 768px tablet breakpoint. */
@media (min-width: 48rem) and (max-width: 64rem) {
  main > section[data-section="hero"] .hero-area {
    display: flex;
    width: fit-content;
    max-width: 100%;
    justify-content: center;
    margin-inline: auto;
    text-align: center;
  }

  main > section[data-section="process"] .steps > .step > .step-number {
    left: 50% !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    /* The existing scroll-fade animation translates by -50%, centering the number itself. */
  }

  main > section[data-section="service-area"] .area-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-inline: 0;
    text-align: center;
  }
  main > section[data-section="service-area"] .area-list > li {
    justify-content: center;
    text-align: center;
  }

  /* Center Home final CTA copy, actions, phone and contact details on tablet only. */
  main > section[data-section="cta"] .cta-inner > div:first-child,
  main > section[data-section="cta"] .cta-inner > div:first-child > p,
  main > section[data-section="cta"] .cta-inner .cta-box,
  main > section[data-section="cta"] .cta-inner .cta-box .cta-label,
  main > section[data-section="cta"] .cta-inner .cta-box .cta-hours {
    text-align: center !important;
  }
  main > section[data-section="cta"] .cta-inner > div:first-child > p {
    margin-inline: auto;
  }
  main > section[data-section="cta"] .cta-inner > div:first-child .button-row {
    display: flex;
    justify-content: center !important;
    align-items: center;
  }
  main > section[data-section="cta"] .cta-inner .cta-box .cta-phone {
    display: flex;
    width: fit-content;
    justify-content: center;
    margin-inline: auto;
    text-align: center !important;
  }

  /* Center the selected service-area map note and CTA contact details on tablet. */
  main > section[data-section="service-area"] .map-note {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-inline: auto;
  }
  main > section[data-section="service-area"] .map-note > p,
  main > section[data-section="service-area"] .map-note > p strong {
    text-align: center;
  }
  main > section[data-section="service-area"] .area-list {
    margin-inline: auto;
  }
  main > section[data-section="cta"] .cta-inner .cta-box,
  main > section[data-section="cta"] .cta-inner .cta-box > .cta-label,
  main > section[data-section="cta"] .cta-inner .cta-box > .cta-hours,
  main > section[data-section="cta"] .cta-inner .cta-box > .cta-phone,
  main > section[data-section="cta"] .cta-inner .cta-box > .cta-hours a {
    text-align: center !important;
  }
  main > section[data-section="cta"] .cta-inner .cta-box > .cta-hours a {
    display: inline-block;
    overflow-wrap: anywhere;
  }

  /* Explicitly center the selected service-area and CTA contents on tablet. */
  main > section[data-section="service-area"] .area-list > li {
    display: flex;
    width: 100%;
    justify-content: center !important;
    align-items: center;
    text-align: center !important;
  }
  main > section[data-section="service-area"] .area-list > li > svg {
    flex: 0 0 auto;
  }
  main > section[data-section="service-area"] .map-note {
    width: 100%;
    align-items: center !important;
    text-align: center !important;
  }
  main > section[data-section="service-area"] .map-note > .icon-tile {
    align-self: center;
    margin-inline: auto;
  }
  main > section[data-section="service-area"] .map-note > p {
    width: 100%;
    text-align: center !important;
  }
  main > section[data-section="cta"] .cta-inner .cta-box > .cta-phone {
    display: flex !important;
    width: fit-content;
    max-width: 100%;
    justify-content: center !important;
    align-items: center;
    align-self: center;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  /* Keep the phone link centered within the CTA contact column on tablets. */
  main > section[data-section="cta"] .cta-inner > div:nth-child(2),
  main > section[data-section="cta"] .cta-inner .cta-box {
    text-align: center !important;
    align-items: center;
  }

  /* Explicit tablet-only centering for the Home CTA phone link. Use the
     contact box as a centered flex column so alignment is not inherited
     from the two-column CTA grid or altered by desktop component rules. */
  main > section[data-section="cta"] .cta-inner > .cta-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  main > section[data-section="cta"] .cta-inner > .cta-box > a.cta-phone {
    display: inline-flex !important;
    align-self: center !important;
    justify-content: center !important;
    width: fit-content !important;
    max-width: 100%;
    margin: 0 auto !important;
    text-align: center !important;
  }
}

/* Center the Home final CTA phone link inside its contact card on mobile and tablet. */
@media (max-width: 64rem) {
  main > section.cta-band[data-section="cta"] > .container.cta-inner > .cta-box > a.cta-phone[href^="tel:"] {
    display: inline-flex !important;
    width: fit-content !important;
    max-width: 100% !important;
    align-self: center !important;
    justify-content: center !important;
    align-items: center !important;
    margin-inline: auto !important;
    text-align: center !important;
  }
}

/* Hide the utility topbar on tablet and mobile; keep the main header/navigation visible. */
@media (max-width: 64rem) {
  .site-header .topbar {
    display: none !important;
  }
}

/* Let the footer hours pair wrap into two centered lines on narrow screens. */
@media (max-width: 48rem) {
  .site-footer .footer-hours {
    display: block;
    text-align: center;
  }
  .site-footer .footer-hours dt,
  .site-footer .footer-hours dd {
    display: block;
    margin: 0;
    overflow-wrap: anywhere;
  }
}

/* Contact options: matching email and phone cards side by side when space allows. */
main > section[data-section="contact-options"] > .container.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}
main > section[data-section="contact-options"] > .container.contact-grid > article {
  min-width: 0;
  height: 100%;
}
main > section[data-section="contact-options"] > .container.contact-grid > article .icon-tile {
  background: var(--color-accent);
  color: var(--color-accent-contrast);
}
main > section[data-section="contact-options"] > .container.contact-grid > article .contact-value {
  display: block;
  width: 100%;
  margin-top: 1rem;
  overflow-wrap: anywhere;
}
@media (max-width: 48rem) {
  main > section[data-section="contact-options"] > .container.contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Contact page Service Area map callout copy: left-align the selected paragraph at every viewport. */
main > section[data-section="hours-area"] .map-card .map-note > p {
  text-align: left !important;
}

/* Contact page inquiry email: centered on tablet/mobile, left-aligned on desktop. */
main > section[data-section="contact-options"] > .container > article:nth-of-type(2) > a.contact-value {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  text-align: left;
  overflow-wrap: anywhere;
}
@media (max-width: 64rem) {
  main > section[data-section="contact-options"] > .container > article:nth-of-type(2) > a.contact-value {
    text-align: center !important;
    margin-inline: auto !important;
  }
}
@media (min-width: 64.0625rem) {
  main > section[data-section="contact-options"] > .container > article:nth-of-type(2) > a.contact-value {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
}
@media (max-width: 48rem) {
  main > section[data-section="contact-options"] > .container > article:nth-of-type(2) > a.contact-value {
    font-size: 17px !important;
  }
}

/* Tablet only: center every child and text line inside the Home service-area map note. */
@media (min-width: 48rem) and (max-width: 64rem) {
  main > section[data-section="service-area"] .map-note {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: center;
    width: 100%;
    margin-inline: auto !important;
    text-align: center !important;
  }
  main > section[data-section="service-area"] .map-note > .icon-tile {
    display: grid;
    place-items: center;
    align-self: center !important;
    margin-inline: auto !important;
  }
  main > section[data-section="service-area"] .map-note > p {
    display: block;
    width: 100%;
    margin-inline: auto;
    text-align: center !important;
  }
  main > section[data-section="service-area"] .map-note > p > strong,
  main > section[data-section="service-area"] .map-note > p > a {
    text-align: center !important;
  }
}

/* Force the Home hero service-area label to center as a single icon-and-text unit on tablets. */
@media (min-width: 48rem) and (max-width: 64rem) {
  main > section[data-section="hero"] > .container.split > div:first-child > p.hero-area {
    display: flex !important;
    width: fit-content !important;
    max-width: 100%;
    flex-direction: row;
    align-items: center !important;
    justify-content: center !important;
    margin-inline: auto !important;
    text-align: center !important;
  }
  main > section[data-section="hero"] > .container.split > div:first-child > p.hero-area > svg {
    flex: 0 0 auto;
  }

  /* Center the complete location pill in the hero text column, as on mobile,
     without changing its positioning or surrounding spacing. */
  main > section[data-section="hero"] > .container.split > div:first-child > p.hero-area {
    position: static !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin-inline: auto !important;
    text-align: center !important;
  }
}

/* Tablet-only horizontal alignment for the selected Home elements. */
@media (min-width: 48rem) and (max-width: 64rem) {
  main > section[data-section="hero"] .hero-area,
  main > section[data-section="service-area"] .area-list,
  main > section[data-section="service-area"] .map-note,
  main > section[data-section="cta"] .cta-inner .cta-box > a.cta-phone {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  main > section[data-section="hero"] .hero-area,
  main > section[data-section="service-area"] .area-list,
  main > section[data-section="service-area"] .area-list > li,
  main > section[data-section="service-area"] .map-note,
  main > section[data-section="service-area"] .map-note > p,
  main > section[data-section="cta"] .cta-inner .cta-box > a.cta-phone {
    text-align: center !important;
  }
  main > section[data-section="service-area"] .map-note,
  main > section[data-section="cta"] .cta-inner .cta-box > a.cta-phone {
    align-self: center !important;
  }
}

/* Center the Home hero location pill above its headline at every viewport. */
main > section.hero[data-section="hero"] > .container.split > div:first-child > p.hero-area {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Tablet-only alignment for the three selected Home CTA contact elements. */
@media (min-width: 48rem) and (max-width: 64rem) {
  main > section.cta-band[data-section="cta"] > .container.cta-inner > .cta-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  main > section.cta-band[data-section="cta"] > .container.cta-inner > .cta-box > .cta-label,
  main > section.cta-band[data-section="cta"] > .container.cta-inner > .cta-box > .cta-hours {
    width: 100%;
    text-align: center !important;
  }
  main > section.cta-band[data-section="cta"] > .container.cta-inner > .cta-box > a.cta-phone {
    display: inline-flex !important;
    align-self: center !important;
    justify-content: center !important;
    margin-inline: auto !important;
    text-align: center !important;
  }
}

/* Tablet only: bring the two Home CTA buttons closer together and center the pair. */
@media (min-width: 48rem) and (max-width: 64rem) {
  main > section.hero[data-section="hero"] > .container.split > div:first-child > .button-row,
  main > section.cta-band[data-section="cta"] > .container.cta-inner > div:first-child > .button-row {
    display: flex !important;
    flex-flow: row nowrap !important;
    width: max-content !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
    align-items: center !important;
    column-gap: 0.5rem !important;
  }
  main > section.hero[data-section="hero"] > .container.split > div:first-child > .button-row > a,
  main > section.cta-band[data-section="cta"] > .container.cta-inner > div:first-child > .button-row > a {
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: calc(50% - 0.25rem) !important;
    margin: 0 !important;
  }
}

/* Desktop only: left-align the Home final CTA contact details. */
@media (min-width: 64.0625rem) {
  main > section.cta-band[data-section="cta"] > .container.cta-inner > .cta-box {
    align-items: flex-start !important;
    text-align: left !important;
  }
  main > section.cta-band[data-section="cta"] > .container.cta-inner > .cta-box > .cta-label,
  main > section.cta-band[data-section="cta"] > .container.cta-inner > .cta-box > .cta-hours {
    text-align: left !important;
  }
  main > section.cta-band[data-section="cta"] > .container.cta-inner > .cta-box > a.cta-phone {
    align-self: flex-start !important;
    justify-content: flex-start !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
  }

  /* Desktop only: align the Home hero location label with the hero copy. */
  main > section.hero[data-section="hero"] > .container.split > div:first-child > p.hero-area {
    justify-content: flex-start !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
  }
}

/* Tablet: place the service-area location group on its own row, centered directly above the map. */
@media (min-width: 48rem) and (max-width: 64rem) {
  main > section[data-section="service-area"] > .container.split {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  main > section[data-section="service-area"] > .container.split > div:first-child,
  main > section[data-section="service-area"] > .container.split > .map-card {
    min-width: 0;
    width: 100%;
  }
  main > section[data-section="service-area"] .area-list {
    display: flex !important;
    flex-direction: column !important;
    width: fit-content !important;
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    align-items: center !important;
    text-align: center !important;
  }
  main > section[data-section="service-area"] .area-list > li {
    justify-content: center !important;
    text-align: center !important;
  }
}

/* Tablet: center both Home service-area rows together; cancel the earlier one-row nudge. */
@media (min-width: 48rem) and (max-width: 64rem) {
  main > section[data-section="service-area"] > .container.split > div:first-child > .area-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-self: center !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }
  main > section[data-section="service-area"] > .container.split > div:first-child > .area-list > li {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    margin-inline: 0 !important;
    transform: none !important;
    text-align: center !important;
  }
}

/* Tablet: place the location list as a centered full-width row immediately before the map. */
@media (min-width: 48rem) and (max-width: 64rem) {
  main > section[data-section="service-area"] > .container.split {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: stretch;
  }
  main > section[data-section="service-area"] > .container.split > div:first-child {
    display: contents !important;
  }
  main > section[data-section="service-area"] > .container.split > div:first-child > ul.area-list {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    align-self: center !important;
    width: max-content !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    align-items: center !important;
  }
  main > section[data-section="service-area"] > .container.split > div:first-child > ul.area-list > li {
    display: flex !important;
    width: max-content !important;
    max-width: 100% !important;
    justify-content: center !important;
    margin-inline: auto !important;
    text-align: center !important;
  }
  main > section[data-section="service-area"] > .container.split > .map-card {
    grid-column: 1;
  }
}

/* Mobile: center the Home final CTA phone icon and number together. */
@media (max-width: 48rem) {
  main > section.cta-band[data-section="cta"] > .container.cta-inner > .cta-box > a.cta-phone[href^="tel:"] {
    display: flex !important;
    width: fit-content !important;
    max-width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  main > section.cta-band[data-section="cta"] > .container.cta-inner > .cta-box > .cta-label,
  main > section.cta-band[data-section="cta"] > .container.cta-inner > .cta-box > .cta-hours {
    display: block;
    width: 100%;
    margin-inline: auto;
    text-align: center !important;
    overflow-wrap: anywhere;
  }
}

/* Home final CTA buttons: keep the pair close together on smaller screens;
   maintain a left-aligned group on desktop. */
main > section.cta-band[data-section="cta"] > .container.cta-inner > div:first-child > .button-row {
  gap: 0.5rem;
}
@media (max-width: 64rem) {
  main > section.cta-band[data-section="cta"] > .container.cta-inner > div:first-child > .button-row {
    display: flex !important;
    flex-flow: row wrap !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    justify-content: center !important;
    column-gap: 0.5rem !important;
    row-gap: 0.5rem !important;
  }
  main > section.cta-band[data-section="cta"] > .container.cta-inner > div:first-child > .button-row > a {
    width: auto !important;
    max-width: 100% !important;
    flex: 0 1 auto !important;
    margin: 0 !important;
  }
}
@media (min-width: 64.0625rem) {
  main > section.cta-band[data-section="cta"] > .container.cta-inner > div:first-child > .button-row {
    justify-content: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    column-gap: 0.5rem !important;
  }
}

/* Home hero CTA pair: compact and centered on tablet/mobile, left-aligned on desktop. */
main > section.hero[data-section="hero"] > .container.split > div:first-child > .button-row {
  gap: 0.5rem;
}
@media (max-width: 64rem) {
  main > section.hero[data-section="hero"] > .container.split > div:first-child > .button-row {
    display: flex !important;
    flex-flow: row wrap !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    justify-content: center !important;
    align-items: center !important;
    column-gap: 0.5rem !important;
    row-gap: 0.5rem !important;
  }
  main > section.hero[data-section="hero"] > .container.split > div:first-child > .button-row > a {
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
}
@media (min-width: 64.0625rem) {
  main > section.hero[data-section="hero"] > .container.split > div:first-child > .button-row {
    justify-content: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    column-gap: 0.5rem !important;
  }
}
