/* Supplied image is the exact mobile main visual, not a recreated approximation. */
.mobile-supplied-hero { display:none; }

@media(max-width:700px) {
  .desktop-reference-home { display:none; }
  .mobile-supplied-hero {
    position:relative;
    display:block;
    overflow:hidden;
    width:100%;
    background:#fff;
  }
  .mobile-supplied-hero > img {
    display:block;
    width:100%;
    height:auto;
    max-width:none;
  }
  .mobile-image-call {
    position:absolute;
    left:3%;
    right:3%;
    bottom:3.4%;
    display:flex;
    height:9.8%;
    align-items:center;
    justify-content:center;
    gap:7px;
    color:transparent;
    background:transparent;
    border-radius:15px;
    font-size:clamp(25px,8.2vw,35px);
    font-weight:900;
    letter-spacing:-1.7px;
    line-height:1;
    text-decoration:none;
  }
  .mobile-image-call small {
    display:none;
  }
  .mobile-image-call i {
    display:none;
  }
  .home-quick { display:none; }
}

/* Header readability enhancement requested: larger company name and clearly colored menu band. */
.site-header {
  border-bottom: 0;
  box-shadow: 0 2px 10px rgba(4, 60, 139, .11);
}

.brand-copy b {
  font-size: 27px;
  letter-spacing: -1.8px;
}

.desktop-nav {
  gap: 10px;
  padding: 7px 10px;
  background: #eaf6ff;
  border-radius: 12px;
}

.desktop-nav .nav-link {
  min-height: 38px;
  padding: 0 14px;
  color: #083b7e;
  border: 0;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 900;
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.is-active {
  color: #fff;
  background: #0875df;
}

.desktop-nav .nav-link.is-active::after {
  display: none;
}

@media (max-width: 700px) {
  .header-inner {
    height: 72px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-mark svg {
    width: 35px;
    height: 35px;
  }

  .brand-copy b {
    font-size: 23px;
    letter-spacing: -1.55px;
  }

  .brand-copy small {
    font-size: 9.5px;
    letter-spacing: -0.55px;
  }

  .header-call {
    min-width: 141px;
    padding: 9px 8px 9px 30px;
  }

  .header-call::before {
    margin-left: -108px;
    margin-top: 9px;
    font-size: 21px;
  }

  .header-call span {
    font-size: 8.5px;
  }

  .header-call strong {
    font-size: 19px;
  }

  .mobile-nav {
    min-height: 49px;
    padding: 5px 7px;
    background: #eaf6ff;
    border-top: 1px solid #cce6fa;
    border-bottom: 1px solid #cce6fa;
  }

  .mobile-nav .nav-link {
    height: 38px;
    min-width: 0;
    margin: 0 1px;
    padding: 0 2px;
    color: #073b7d;
    border: 0;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: -1px;
  }

  .mobile-nav .nav-link:hover,
  .mobile-nav .nav-link.is-active {
    color: #fff;
    background: #0875df;
  }

  .mobile-nav .nav-link:last-child {
    color: #079c48;
  }

  .mobile-nav .nav-link:last-child:hover {
    color: #fff;
    background: #079c48;
  }
}

@media (max-width: 380px) {
  .brand-copy b { font-size: 21px; }
  .brand-copy small { font-size: 8.5px; }
  .header-call { min-width: 132px; }
  .header-call strong { font-size: 18px; }
  .mobile-nav .nav-link { font-size: 13px; }
}

/* Mobile only: keep the complete brand, phone, and menu header visible while scrolling. */
@media (max-width: 700px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    isolation: isolate;
    background: #fff;
  }
}

/* Sitewide content typography: increase body copy by two visual steps without changing hero images or header controls. */
main {
  font-size: 18px;
}

main p,
main li,
main dd,
main .gallery-notice,
main .service-overview > div > p,
main .about-copy > p,
main .detail-section p,
main .region-card div:last-child > p {
  font-size: 18px;
  line-height: 1.92;
}

main .page-hero > div > p:last-child,
main .service-article-head p,
main .service-article-content p,
main .gallery-item p,
main .checklist li,
main .info-panel dl > div,
main .service-side a,
main .gallery-notice,
main .region-phone,
main .plain-button {
  font-size: 16px;
  line-height: 1.82;
}

main .service-index a {
  font-size: 15px;
}

main .eyebrow,
main .panel-label,
main .gallery-item span,
main .home-quick span {
  font-size: 13px;
}

main .detail-contact span {
  font-size: 15px;
}

main .detail-contact a {
  font-size: 31px;
}

main .info-panel h2,
main .checklist h3,
main .detail-section h3,
main .service-article-content h3 {
  letter-spacing: -1px;
}

.site-footer p,
.site-footer h2,
.footer-bottom {
  font-size: 15px;
  line-height: 1.9;
}

@media (max-width: 700px) {
  main {
    font-size: 17px;
  }

  main p,
  main li,
  main dd,
  main .gallery-notice,
  main .service-overview > div > p,
  main .about-copy > p,
  main .detail-section p,
  main .region-card div:last-child > p {
    font-size: 17px;
    line-height: 1.9;
  }

  main .page-hero > div > p:last-child,
  main .service-article-head p,
  main .service-article-content p,
  main .gallery-item p,
  main .checklist li,
  main .info-panel dl > div,
  main .service-side a,
  main .gallery-notice,
  main .region-phone,
  main .plain-button {
    font-size: 15px;
    line-height: 1.8;
  }

  main .service-index a {
    font-size: 14px;
  }

  main .eyebrow,
  main .panel-label,
  main .gallery-item span,
  main .home-quick span {
    font-size: 12px;
  }

  main .detail-contact span {
    font-size: 14px;
  }

  main .detail-contact a {
    font-size: 29px;
  }

  .site-footer p,
  .site-footer h2,
  .footer-bottom {
    font-size: 14px;
    line-height: 1.85;
  }
}

/* Company introduction: deliberate bold emphasis for the requested service scope and area phrases. */
.about-copy > p strong {
  color: #153b71;
  font-weight: 900;
}

/* Soften the company introduction emphasis: clear but not overly heavy. */
.about-copy > p strong {
  color: #294c78;
  font-weight: 700;
}

/* Supplied major-services visual replaces only the previous page-title block. */
.services-supplied-hero {
  width: 100%;
  overflow: hidden;
  background: #eefaff;
}

.services-supplied-hero img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 700px) {
  .services-supplied-hero img {
    width: 100%;
    min-height: 260px;
    object-fit: cover;
    object-position: center;
  }
}

/* Invisible, keyboard-accessible hit areas mapped to the five service cards in the supplied visual. */
.services-supplied-hero { position: relative; }
.service-banner-hotspot {
  position: absolute;
  z-index: 2;
  top: 59.5%;
  height: 32%;
  border-radius: 4%;
  outline: none;
}
.service-banner-hotspot:focus-visible {
  outline: 4px solid #ffce20;
  outline-offset: -4px;
}
.hotspot-leak { left: 4.5%; width: 17.4%; }
.hotspot-pipe { left: 23.3%; width: 17.4%; }
.hotspot-heating { left: 41.8%; width: 17.4%; }
.hotspot-boiler { left: 60.4%; width: 17.4%; }
.hotspot-repair { left: 79.1%; width: 17.4%; }

@media (max-width: 700px) {
  .service-banner-hotspot {
    top: 57.5%;
    height: 36%;
  }
}

/* Field gallery: photos from the same work site are intentionally presented together. */
.grouped-gallery-section {
  padding: 66px 0 94px;
  background: #f7fbfe;
}

.field-group-list {
  display: grid;
  gap: 34px;
  margin-top: 32px;
}

.field-group {
  scroll-margin-top: 110px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9e7f1;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(11, 61, 120, .08);
}

.field-group-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  padding: 30px 33px 18px;
  background: linear-gradient(115deg, #eef9ff, #fff);
  border-bottom: 1px solid #dfeaf2;
}

.field-group-head p {
  margin: 0 0 4px;
  color: #0a7bdc;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.1px;
}

.field-group-head span {
  color: #507090;
  font-size: 14px;
  font-weight: 800;
}

.field-group-head h2 {
  margin: 4px 0 0;
  color: #082e68;
  font-size: 31px;
  font-weight: 900;
  letter-spacing: -1.8px;
  line-height: 1.3;
}

.field-count {
  display: flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 4px;
  padding-bottom: 4px;
  color: #52708c;
}

.field-count b {
  color: #0878dc;
  font-size: 32px;
  line-height: 1;
}

.field-count span {
  font-size: 13px;
  font-weight: 700;
}

.field-group-desc {
  max-width: 920px;
  margin: 0;
  padding: 21px 33px 25px;
  color: #4e6376;
  font-size: 17px;
  line-height: 1.85;
}

.field-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 20px 20px;
}

.field-photo {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #eaf2f7;
}

.field-photo img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 220ms cubic-bezier(.23, 1, .32, 1);
}

.field-photo:hover img {
  transform: scale(1.045);
}

.field-photo figcaption {
  min-height: 58px;
  padding: 10px 12px 12px;
  color: #40596e;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.field-photo.is-featured {
  grid-column: span 2;
}

.field-photo.is-featured img {
  height: 310px;
}

@media (max-width: 700px) {
  .grouped-gallery-section {
    padding: 36px 0 58px;
  }

  .field-group-list {
    gap: 22px;
    margin-top: 20px;
  }

  .field-group {
    border-radius: 12px;
  }

  .field-group-head {
    align-items: flex-start;
    padding: 20px 18px 14px;
  }

  .field-group-head p {
    font-size: 10px;
  }

  .field-group-head span {
    font-size: 12px;
  }

  .field-group-head h2 {
    font-size: 24px;
    letter-spacing: -1.35px;
  }

  .field-count {
    padding-top: 12px;
    padding-bottom: 0;
  }

  .field-count b {
    font-size: 25px;
  }

  .field-count span {
    display: none;
  }

  .field-group-desc {
    padding: 16px 18px 18px;
    font-size: 15px;
    line-height: 1.78;
  }

  .field-photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 0 8px 8px;
  }

  .field-photo,
  .field-photo.is-featured {
    grid-column: auto;
    border-radius: 7px;
  }

  .field-photo img,
  .field-photo.is-featured img {
    height: 137px;
  }

  .field-photo figcaption {
    display: none;
  }
}

/* Field gallery: keep each user-defined work-site title on one mobile line. */
@media (max-width: 700px) {
  .field-group-head {
    position: relative;
    display: block;
    min-height: 122px;
    padding: 20px 18px 16px;
  }

  .field-group-head > div:first-child {
    min-width: 0;
    padding-right: 0;
  }

  .field-group-head p,
  .field-group-head > div:first-child > span,
  .field-group-head h2 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: clip;
  }

  .field-group-head h2 {
    margin-top: 6px;
    color: #082e68;
    font-size: clamp(14px, 4.3vw, 18px);
    letter-spacing: -1.15px;
    line-height: 1.35;
  }

  .field-count {
    position: absolute;
    top: 19px;
    right: 18px;
    padding: 0;
  }
}

/* Semantic page titles required for search; visually hidden to preserve supplied hero artwork unchanged. */
.seo-only-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Desktop services page: reduce the oversized 3:2 supplied visual to a balanced, wide banner. */
@media (min-width: 701px) {
  .services-supplied-hero {
    height: clamp(420px, 31vw, 560px);
  }

  .services-supplied-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 61%;
  }

  .service-banner-hotspot {
    top: 50%;
    height: 45%;
  }
}

/* Stronger PC reduction requested: keep the supplied visual as a compact wide banner. */
@media (min-width: 701px) {
  .services-supplied-hero {
    height: clamp(280px, 23vw, 360px);
  }

  .services-supplied-hero img {
    object-position: center 65%;
  }

  .service-banner-hotspot {
    top: 47%;
    height: 50%;
  }
}

/* Better desktop approach: do not aggressively crop the artwork text.
   Scale down the whole graphic so all 5 cards and titles remain 100% visible,
   while capping the overall container height so content immediately follows. */
@media (min-width: 701px) {
  .services-supplied-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: clamp(260px, 25vw, 380px);
    background: #dff2fc;
  }

  .services-supplied-hero img {
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
  }

  /* Hotspots track the contained image width dynamically */
  .service-banner-hotspot {
    display: none; /* remove misleading cut-off hitboxes in desktop letterbox */
  }
}

/* Balanced wide banner: center the artwork within a neat container that matches the content width. */
@media (min-width: 701px) {
  .services-supplied-hero {
    display: block;
    height: auto;
    padding: 24px 0 0;
    background: linear-gradient(180deg, #dcf0fb 0%, #f7fbfe 100%);
  }

  .services-supplied-hero img {
    display: block;
    width: min(920px, calc(100% - 48px));
    height: 310px;
    margin: 0 auto;
    object-fit: cover;
    object-position: center 58%;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(13, 62, 110, .10);
    border: 1px solid #c9e4f4;
  }
}

/* Final PC services banner tuning: ensure the top title and bottom cards both display completely without clipping. */
@media (min-width: 701px) {
  .services-supplied-hero {
    padding: 20px 0 0;
  }

  .services-supplied-hero img {
    height: 345px;
    object-position: center 50%;
  }
}

/* Clean fitted banner for desktop: fit the entire original artwork without cropping the cards or top title. */
@media (min-width: 701px) {
  .services-supplied-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
    background: linear-gradient(180deg, #d8eefc 0%, #ebf7ff 100%);
    border-bottom: 1px solid #cce5f5;
  }

  .services-supplied-hero img {
    width: auto;
    max-width: 96%;
    height: 290px;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(11, 62, 115, .08);
    border: 1px solid #c0e0f3;
  }
}

/* Service navigation: mouse hover feedback for desktop PC */
@media (min-width: 992px) {
  .service-index a {
    position: relative;
    border-color: #c9deeb;
    box-shadow: 0 2px 0 rgba(17, 73, 120, .03);
    transition: transform 160ms cubic-bezier(.23, 1, .32, 1), background-color 160ms cubic-bezier(.23, 1, .32, 1), color 160ms cubic-bezier(.23, 1, .32, 1), border-color 160ms cubic-bezier(.23, 1, .32, 1), box-shadow 160ms cubic-bezier(.23, 1, .32, 1);
  }

  .service-index a:hover,
  .service-index a:focus-visible {
    transform: translateY(-3px);
    background: #0877d1;
    border-color: #0877d1;
    color: #fff;
    box-shadow: 0 8px 16px rgba(8, 119, 209, .22);
    outline: none;
  }

  .service-index a:active {
    transform: translateY(0) scale(.97);
    box-shadow: 0 3px 7px rgba(8, 119, 209, .18);
  }
}

/* Mobile vs PC banner isolation: MOBILE IS STRICT DEFAULT */
.services-supplied-hero .services-mobile-art {
  display: block !important;
  width: 100%;
  height: auto;
}

.services-supplied-hero .services-desktop-art {
  display: none !important;
}

/* PC-only styles: strictly active on true laptop and desktop viewports (>=992px) */
@media (min-width: 992px) {
  .services-supplied-hero {
    display: block;
    height: auto;
    padding: 0;
    overflow: hidden;
    background: #0a7ac4;
  }

  .services-supplied-hero .services-mobile-art {
    display: none !important;
  }

  .services-supplied-hero .services-desktop-art {
    display: block !important;
    width: 100%;
    height: auto;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    object-fit: initial;
  }

  .services-supplied-hero .service-banner-hotspot {
    display: none;
  }

  /* PC main visual: full proportional scaling so the complete graphic (including top text and bottom 5 icons) is 100% visible. */
  .desktop-supplied-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    padding: 0;
    background: #fff;
  }

  .desktop-supplied-hero > img {
    display: block;
    width: 100%;
    max-width: 1240px;
    height: auto;
    margin: 0 auto;
  }

  .desktop-image-call {
    position: absolute;
    left: 5%;
    bottom: 22%;
    width: 48%;
    height: 12%;
  }

  /* Two-step desktop-only body text increase. Mobile typography remains untouched. */
  main {
    font-size: 20px;
  }

  main p,
  main li,
  main dd,
  main .gallery-notice,
  main .service-overview > div > p,
  main .about-copy > p,
  main .detail-section p,
  main .region-card div:last-child > p {
    font-size: 20px;
    line-height: 1.95;
  }

  main .page-hero > div > p:last-child,
  main .service-article-head p,
  main .service-article-content p,
  main .gallery-item p,
  main .checklist li,
  main .info-panel dl > div,
  main .service-side a,
  main .region-phone,
  main .plain-button {
    font-size: 18px;
    line-height: 1.85;
  }

  main .service-index a {
    font-size: 17px;
  }

  main .field-group-desc {
    font-size: 19px;
  }

  main .field-photo figcaption {
    font-size: 15px;
  }
}

/* PC-only homepage quick information: prominent enough to read clearly under the hero. */
@media (min-width: 992px) {
  body {
    padding-bottom: 0 !important;
  }

  /* The four-button contact dock is mobile-only; never float it over desktop content. */
  .contact-dock {
    display: none !important;
  }

  .home-quick {
    position: relative;
    z-index: 1;
    border-top: 2px solid #d7e8f5;
    border-bottom: 1px solid #d7e8f5;
    background: linear-gradient(90deg, #fbfdff 0%, #f3faff 50%, #fbfdff 100%);
  }

  .home-quick .shell {
    min-height: 142px;
    grid-template-columns: 1fr 1.35fr 1.25fr auto;
  }

  .home-quick div {
    padding: 30px 34px;
    gap: 8px;
    border-right-color: #d4e3ef;
  }

  .home-quick span {
    color: #47708f;
    font-size: 14px !important;
    font-weight: 900;
    letter-spacing: -.4px;
  }

  .home-quick strong,
  .home-quick a:not(.quick-link) {
    color: #092c62;
    font-size: 25px !important;
    font-weight: 900;
    letter-spacing: -1.25px;
    line-height: 1.25;
  }

  .home-quick .quick-link {
    min-width: 238px;
    justify-content: center;
    gap: 13px;
    padding: 0 30px !important;
    color: #075fc5 !important;
    background: #e7f4ff;
    font-size: 20px !important;
    font-weight: 900;
    letter-spacing: -.85px;
    transition: background-color 160ms cubic-bezier(.23, 1, .32, 1), color 160ms cubic-bezier(.23, 1, .32, 1);
  }

  .home-quick .quick-link:hover,
  .home-quick .quick-link:focus-visible {
    color: #fff !important;
    background: #0875df;
    outline: none;
  }
}

/* Clickable service cards embedded in the supplied homepage artwork. */
.mobile-supplied-hero,
.desktop-supplied-hero {
  position: relative;
}

.home-icon-link {
  position: absolute;
  z-index: 3;
  display: block;
  border-radius: 14px;
  outline: none;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.home-icon-link:focus-visible {
  outline: 3px solid #ffdb28;
  outline-offset: -3px;
}

@media (max-width: 991px) {
  /* Five cards at the base of 1151x1366 mobile artwork (measured: y=78.2%..98.8%). */
  .mobile-supplied-hero .home-icon-link {
    top: 78.2%;
    height: 20.6%;
    border-radius: 12px;
    cursor: pointer;
  }
  .mobile-supplied-hero .icon-leak { left: 3.3%; width: 17.6%; }
  .mobile-supplied-hero .icon-pipe { left: 22.1%; width: 17.6%; }
  .mobile-supplied-hero .icon-heating { left: 40.9%; width: 18.2%; }
  .mobile-supplied-hero .icon-boiler { left: 60.2%; width: 17.6%; }
  .mobile-supplied-hero .icon-repair { left: 79.1%; width: 17.6%; }
}

@media (min-width: 992px) {
  /* Five cards at the base of 1672x941 PC artwork. */
  .desktop-supplied-hero .home-icon-link {
    top: 65.2%;
    width: 16.2%;
    height: 28.2%;
    border-radius: 18px;
  }
  .desktop-supplied-hero .icon-leak { left: 5.7%; }
  .desktop-supplied-hero .icon-pipe { left: 23.0%; }
  .desktop-supplied-hero .icon-heating { left: 40.3%; }
  .desktop-supplied-hero .icon-boiler { left: 57.6%; }
  .desktop-supplied-hero .icon-repair { left: 74.9%; }

  /* Keep artwork card links completely invisible on hover; the source image itself is the visual. */
  .desktop-supplied-hero .home-icon-link:hover,
  .desktop-supplied-hero .home-icon-link:active {
    background: transparent;
    box-shadow: none;
  }
}

/* Artwork wrapper keeps hotspot coordinates locked to the displayed source image. */
.home-artwork-wrap {
  position: relative;
}

@media (max-width: 991px) {
  .mobile-supplied-hero .home-artwork-wrap {
    width: 100%;
  }

  .mobile-supplied-hero .home-artwork-wrap > img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
  }
}

@media (min-width: 992px) {
  .desktop-supplied-hero .home-artwork-wrap {
    position: relative;
    width: 100%;
    max-width: none;
  }

  .desktop-supplied-hero .home-artwork-wrap > img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
  }

  .desktop-supplied-hero .desktop-image-call {
    position: absolute;
    left: 5%;
    bottom: 22%;
    width: 48%;
    height: 12%;
  }
}

/* Mobile touch guarantee: service-card anchors must sit above every artwork layer. */
@media (max-width: 991px) {
  .mobile-supplied-hero .home-artwork-wrap {
    isolation: isolate;
  }

  .mobile-supplied-hero .home-icon-link {
    z-index: 20 !important;
    display: block !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

/* Homepage promotional video: shown directly below the supplied main visual without changing the artwork or its SEO. */
.home-promo-video {
  width: 100%;
  padding: clamp(16px, 3.2vw, 42px) 0;
  background: #fff;
}

.home-promo-video .shell {
  width: min(100% - 28px, 1240px);
  margin: 0 auto;
  padding: 0;
}

.promo-video-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #08275b;
  border: 1px solid #d7e6f5;
  border-radius: clamp(8px, 1.2vw, 16px);
  box-shadow: 0 10px 28px rgba(10, 54, 100, .16);
}

@media (max-width: 991px) {
  .home-promo-video {
    padding: 14px 0 18px;
  }

  .home-promo-video .shell {
    width: calc(100% - 20px);
  }

  .promo-video-player {
    border-radius: 8px;
    box-shadow: 0 5px 16px rgba(10, 54, 100, .14);
  }
}

/* Major services media: mobile shows the promotion video only; desktop pairs it with a controllable cut-image slider. */
.services-media-showcase {
  padding: 22px 0 30px;
  background: linear-gradient(180deg, #fff 0%, #f4faff 100%);
}

.services-media-showcase .shell {
  width: min(100% - 28px, 1360px);
  margin: 0 auto;
  padding: 0;
}

.services-media-layout {
  display: block;
}

.services-video-wrap {
  min-width: 0;
}

.services-promo-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #08275b;
  border: 1px solid #cfe1f2;
  border-radius: 10px;
  box-shadow: 0 7px 20px rgba(6, 57, 112, .14);
}

.desktop-service-slider {
  display: none;
}

@media (min-width: 992px) {
  .services-media-showcase {
    padding: 38px 0 48px;
  }

  .services-media-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(18px, 2vw, 32px);
    align-items: center;
  }

  .services-promo-video {
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(6, 57, 112, .18);
  }

  .desktop-service-slider {
    display: block;
    min-width: 0;
  }

  .service-slide-viewport {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid #cfe1f2;
    border-radius: 14px;
    background: #08275b;
    box-shadow: 0 12px 30px rgba(6, 57, 112, .18);
  }

  .service-slide {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.025);
    transition: opacity 240ms cubic-bezier(.23,1,.32,1), transform 500ms cubic-bezier(.23,1,.32,1);
    pointer-events: none;
  }

  .service-slide.is-current {
    opacity: 1;
    transform: scale(1);
  }

  .service-slide-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0 0 4px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(2, 35, 80, .68);
    font-family: Arial, sans-serif;
    font-size: 36px;
    line-height: 1;
    transform: translateY(-50%);
    transition: background-color 160ms cubic-bezier(.23,1,.32,1), transform 160ms cubic-bezier(.23,1,.32,1);
  }

  .service-slide-arrow:hover,
  .service-slide-arrow:focus-visible {
    background: #0877d1;
    outline: none;
    transform: translateY(-50%) scale(1.07);
  }

  .service-slide-arrow:active {
    transform: translateY(-50%) scale(.95);
  }

  .service-slide-arrow.previous { left: 16px; }
  .service-slide-arrow.next { right: 16px; }

  .service-slide-controls {
    display: flex;
    justify-content: center;
    gap: 7px;
    padding-top: 14px;
  }

  .service-slide-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #b8cddd;
    transition: transform 160ms cubic-bezier(.23,1,.32,1), background-color 160ms cubic-bezier(.23,1,.32,1);
  }

  .service-slide-dot.is-current,
  .service-slide-dot:hover,
  .service-slide-dot:focus-visible {
    background: #0877d1;
    outline: none;
    transform: scale(1.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-slide { transition: none; }
}

/* Mobile and touch devices: the services media area contains only the video; slideshow markup stays non-rendered. */
.desktop-service-slider[hidden] {
  display: none !important;
}

@media (max-width: 991px), (hover: none), (pointer: coarse) {
  .services-media-showcase .desktop-service-slider,
  .services-media-showcase .service-slide,
  .services-media-showcase .service-slide-arrow,
  .services-media-showcase .service-slide-controls {
    display: none !important;
  }

  .services-media-layout {
    display: block !important;
  }
}

/* PC homepage: place the promotional video and approved business information in one horizontal block. */
.home-promo-section {
  width: 100%;
  padding: clamp(16px, 3.2vw, 42px) 0;
  background: #fff;
}

.home-promo-section .shell {
  width: min(100% - 28px, 1240px);
  margin: 0 auto;
  padding: 0;
}

.home-promo-layout {
  display: block;
}

.home-promo-section .home-promo-video {
  min-width: 0;
}

.home-promo-section .home-quick {
  margin: 0;
}

.home-promo-section .home-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr auto;
  align-items: stretch;
}

@media (max-width: 991px) {
  .home-promo-section {
    padding: 14px 0 18px;
  }

  .home-promo-section .shell {
    width: calc(100% - 20px);
  }
}

@media (min-width: 992px) {
  .home-promo-section {
    padding: clamp(24px, 2.7vw, 42px) 0;
    background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  }

  .home-promo-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.58fr) minmax(305px, .82fr);
    gap: clamp(22px, 2.35vw, 42px);
    align-items: stretch;
  }

  .home-promo-section .home-promo-video {
    display: flex;
    align-items: center;
  }

  .home-promo-section .promo-video-player {
    width: 100%;
  }

  .home-promo-section .home-quick {
    display: block;
    border: 1px solid #cfe0ee;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(11, 53, 106, .11);
    overflow: hidden;
  }

  .home-promo-section .home-quick-grid {
    display: grid;
    height: 100%;
    min-height: 100%;
    grid-template-columns: 1fr;
  }

  .home-promo-section .home-quick-grid > div {
    display: flex;
    min-height: 0;
    padding: clamp(17px, 2vw, 26px) clamp(22px, 2vw, 30px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    border-right: 0;
    border-bottom: 1px solid #d8e6f1;
  }

  .home-promo-section .home-quick span {
    color: #47708f;
    font-size: 14px !important;
    font-weight: 900;
  }

  .home-promo-section .home-quick strong,
  .home-promo-section .home-quick a:not(.quick-link) {
    color: #092c62;
    font-size: clamp(21px, 1.65vw, 27px) !important;
    font-weight: 900;
    line-height: 1.28;
  }

  .home-promo-section .home-quick .quick-link {
    display: flex;
    min-height: clamp(74px, 8vw, 108px);
    padding: 0 clamp(22px, 2vw, 30px) !important;
    align-items: center;
    justify-content: space-between;
    color: #075fc5 !important;
    background: #e7f4ff;
    font-size: clamp(17px, 1.35vw, 21px) !important;
    font-weight: 900;
  }
}

/* Homepage SEO intro: semantic, visible text in the white space between the five service icons and promotional video. */
.main-seo-intro {
  width: 100%;
  padding: clamp(18px, 2.8vw, 34px) 16px clamp(14px, 2.2vw, 28px);
  color: #062d66;
  background: #fff;
  text-align: center;
}

.main-seo-intro-inner {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(18px, 2.4vw, 29px) clamp(16px, 3.5vw, 44px);
  border: 1px solid #d6e8f6;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
  box-shadow: 0 8px 22px rgba(9, 60, 121, .08);
}

main .main-seo-intro h1 {
  margin: 0;
  color: #062e67;
  font-size: clamp(29px, 4.2vw, 47px);
  font-weight: 900;
  letter-spacing: -2.35px;
  line-height: 1.2;
}

main .main-seo-intro .main-seo-area {
  margin: 9px 0 0;
  color: #2c6cae;
  font-size: clamp(20px, 2.55vw, 26px);
  font-weight: 800;
  letter-spacing: -.8px;
  line-height: 1.45;
}

main .main-seo-intro h2 {
  margin: 11px 0 0;
  color: #103e79;
  font-size: clamp(20px, 2.7vw, 29px);
  font-weight: 900;
  letter-spacing: -1.55px;
  line-height: 1.35;
}

main .main-seo-intro .main-seo-solution {
  display: inline-block;
  margin: 13px 0 0;
  padding: 7px 15px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #075fc5, #0b85dc);
  box-shadow: 0 5px 12px rgba(7, 95, 197, .18);
  font-size: clamp(17px, 2.2vw, 23px);
  font-weight: 900;
  letter-spacing: -1.15px;
  line-height: 1.42;
}

@media (max-width: 991px) {
  .main-seo-intro {
    padding: 16px 12px 10px;
  }

  .main-seo-intro-inner {
    padding: 19px 13px 18px;
    border-radius: 12px;
  }

  main .main-seo-intro h1 {
    font-size: clamp(27px, 7.2vw, 34px);
    letter-spacing: -2px;
  }

  main .main-seo-intro .main-seo-area {
    margin-top: 8px;
    font-size: clamp(19px, 5.25vw, 23px);
  }

  main .main-seo-intro h2 {
    margin-top: 9px;
    font-size: clamp(19px, 5.25vw, 24px);
    letter-spacing: -1.45px;
  }

  main .main-seo-intro .main-seo-solution {
    max-width: 100%;
    margin-top: 12px;
    padding: 7px 12px;
    font-size: clamp(16px, 4.4vw, 20px);
    letter-spacing: -1px;
  }
}
