.service-page-intro {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
  line-height: 1.75;
}

.service-page-intro + .service-page-intro {
  margin-top: 18px;
}

.service-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service-page-card {
  position: relative;
  min-height: 340px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #25282d;
  color: #fff;
}

.service-page-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 13, 0.12), rgba(8, 10, 13, 0.92));
  z-index: 1;
}

.service-page-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.service-page-card:hover .service-page-card-bg,
.service-page-card:focus-within .service-page-card-bg {
  transform: scale(1.035);
}

.service-page-card-content {
  position: relative;
  z-index: 2;
}

.service-page-card h3 {
  color: #fff;
  margin-bottom: 12px;
}

.service-page-card p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 20px;
}

.service-page-card-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: #2ccbd4;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.service-page-card-link::after {
  content: "\2192";
  margin-left: 10px;
  color: #2ccbd4;
}

.parent-service-showcase {
  padding: clamp(72px, 8vw, 108px) 0;
  background: #f6f4f0;
  color: #1b2431;
}

.parent-service-showcase .parent-service-showcase-header {
  margin-bottom: clamp(42px, 5vw, 64px);
}

.parent-service-showcase .section-heading {
  width: min(100%, 920px);
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.parent-service-showcase .section-heading .kicker {
  display: none;
}

.parent-service-showcase .section-heading h2 {
  max-width: 18ch;
  margin: 0 auto;
  color: #151b24;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-transform: none;
}

.parent-service-showcase .services-intro {
  max-width: 62ch;
  margin: 24px auto 0;
  color: #5b6470;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
}

.parent-service-showcase .parent-service-showcase-cta {
  width: fit-content;
  margin: 30px auto 0;
}

.homepage-service-showcase-cta {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2ccbd4;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, transform 180ms ease;
}

.homepage-service-showcase-cta:hover,
.homepage-service-showcase-cta:focus-visible {
  background: #23b5be;
  transform: translateY(-1px);
}

.homepage-service-showcase-cta:focus-visible {
  outline: 3px solid rgba(44, 203, 212, 0.45);
  outline-offset: 3px;
}

.homepage-service-showcase .services-intro {
  max-width: 74ch;
}

.parent-service-showcase .service-page-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 44px) clamp(22px, 3vw, 34px);
}

.parent-service-showcase .service-page-grid.service-page-grid-three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (min-width: 821px) {
  .parent-service-showcase .service-page-grid.service-page-grid-five-up {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .parent-service-showcase .service-page-grid-five-up .service-page-card {
    grid-column: span 2;
  }

  .parent-service-showcase .service-page-grid-five-up .service-page-card:nth-last-child(2) {
    grid-column: 2 / span 2;
  }

  .parent-service-showcase .service-page-grid-five-up .service-page-card:last-child {
    grid-column: 4 / span 2;
  }
}

@media (min-width: 521px) and (max-width: 820px) {
  .parent-service-showcase .service-page-grid.service-page-grid-five-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .parent-service-showcase .service-page-grid-five-up .service-page-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 9px);
    justify-self: center;
  }
}

@media (min-width: 521px) {
  .parent-service-showcase .service-page-grid.service-page-grid-three-up {
    position: relative;
    left: 50%;
    width: min(calc(100% + var(--container-pad) + var(--container-pad) - 48px), 1200px);
    transform: translateX(-50%);
  }
}

.parent-service-showcase .service-page-card {
  min-height: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: #151b24;
}

.parent-service-showcase .service-page-card::before {
  display: none;
}

.parent-service-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.parent-service-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid #d9d7d2;
  border-radius: 4px;
  background: #e5e3df;
}

.parent-service-showcase .service-page-card-bg {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.parent-service-card-label {
  min-height: 82px;
  margin-top: 12px;
  padding: 12px 24px 12px 12px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid #e0ddd7;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(18, 28, 40, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.parent-service-card-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9d5ce;
  border-radius: 50%;
  background: #f6f4f0;
  color: #151b24;
  font-size: 21px;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.parent-service-showcase .service-page-card h3 {
  grid-column: 2;
  margin: 0;
  color: #151b24;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.parent-service-card-label.has-description {
  min-height: 128px;
  grid-template-rows: auto auto;
  row-gap: 5px;
  align-items: start;
}

.parent-service-card-label.has-description .parent-service-card-icon {
  grid-row: 1 / span 2;
  align-self: center;
}

.service-page-card .parent-service-card-description {
  position: static !important;
  grid-column: 2;
  grid-row: 2;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  clip: auto !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal !important;
  border: 0 !important;
  color: #5b6470;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}

.parent-service-card-link:hover .service-page-card-bg,
.parent-service-card-link:focus-visible .service-page-card-bg {
  transform: scale(1.035);
}

.parent-service-card-link:hover .parent-service-card-label,
.parent-service-card-link:focus-visible .parent-service-card-label {
  border-color: rgba(44, 203, 212, 0.75);
  box-shadow: 0 14px 30px rgba(18, 28, 40, 0.1);
  transform: translateY(-2px);
}

.parent-service-card-link:hover .parent-service-card-icon,
.parent-service-card-link:focus-visible .parent-service-card-icon {
  border-color: #2ccbd4;
  background: #2ccbd4;
  color: #ffffff;
}

.parent-service-card-link:focus-visible {
  outline: 3px solid rgba(44, 203, 212, 0.72);
  outline-offset: 5px;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 54px;
  align-items: start;
}

.service-detail-grid.child-service-detail-grid {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.child-service-detail-grid .service-detail-copy {
  width: min(100%, 900px);
  margin: 0 auto;
  text-align: center;
}

.child-service-detail-grid .service-detail-list {
  width: min(100%, 760px);
  margin-right: auto;
  margin-left: auto;
}

.child-service-detail-grid .service-detail-list li {
  padding-right: 48px;
  text-align: center;
}

.child-service-detail-grid .service-detail-copy > .btn-primary {
  margin-right: auto;
  margin-left: auto;
}

.child-service-gallery {
  min-width: 0;
  min-height: 0;
  height: auto;
  align-self: start;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  overflow: hidden;
}

.child-service-gallery-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  min-height: 0;
  border: 1px solid #d7dee5;
  border-radius: 4px;
  object-fit: cover;
}

.service-detail-copy h2 {
  margin-bottom: 24px;
}

.service-detail-copy p + p {
  margin-top: 18px;
}

/* Two-part editorial introduction used across child service pages. */
.child-content-section {
  padding: clamp(76px, 7vw, 108px) 0;
}

.child-content-section.section-white {
  background: #ffffff;
}

.child-content-section.section-light {
  background: #f4f5f7;
}

.child-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.child-content-grid-four-part {
  row-gap: clamp(52px, 6vw, 82px);
  align-items: start;
}

.child-content-grid-four-part .child-content-copy,
.child-content-grid-four-part .child-content-media {
  align-self: start;
}

.child-content-grid-four-part .child-content-image {
  height: clamp(300px, 27vw, 410px);
}

/* The lower image accompanies the shorter bullet-point block, so keep its
   full column width while using a shallower crop than the lead image. */
.child-content-grid-four-part .child-content-media-two .child-content-image {
  height: clamp(220px, 24vw, 300px);
}

.child-content-copy {
  max-width: 620px;
}

.child-content-copy h2 {
  margin: 0 0 24px;
  color: #172235;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-transform: none;
}

.child-content-copy > p {
  margin: 0;
  color: #4e5b6c;
  font-size: 17px;
  line-height: 1.75;
}

.child-content-copy > p + p {
  margin-top: 18px;
}

.child-content-media {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #dfe4e8;
}

.child-content-image {
  display: block;
  width: 100%;
  height: clamp(360px, 34vw, 500px);
  object-fit: cover;
}

.child-content-copy .child-content-list {
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.child-content-copy .child-content-points-title {
  margin: 0;
  color: #16345f;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}

.child-content-points .child-content-list {
  margin-top: 20px;
}

.child-content-copy .child-content-list li {
  position: relative;
  padding: 0 0 0 24px;
  border: 0;
  background: transparent;
  color: #314056;
  font-size: var(--type-size-copy, 16px);
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
}

.child-content-copy .child-content-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  background: #2ccbd4;
  transform: translateY(-50%);
}

/* Shared editorial rhythm for the opening parent and child page content. */
.parent-content-copy .content-subheading,
.child-content-copy .content-subheading {
  margin: 30px 0 12px;
  color: #172235;
  font-size: 20px !important;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-transform: none;
}

.parent-content-copy strong,
.child-content-copy strong {
  color: #16345f;
  font-weight: 800;
}

.parent-content-copy .content-points,
.child-content-copy .content-points {
  margin: 22px 0 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.parent-content-copy .content-points li,
.child-content-copy .content-points li {
  position: relative;
  margin: 0;
  padding: 0 0 0 24px;
  color: #314056;
  font-size: var(--type-size-copy, 16px);
  font-weight: 400;
  line-height: 1.55;
}

.parent-content-copy .content-points li::before,
.child-content-copy .content-points li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  background: #2ccbd4;
  transform: translateY(-50%);
}

.service-detail-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.service-detail-list li {
  position: relative;
  padding: 14px 16px 14px 48px;
  border: 1px solid #dce1e7;
  background: #fff;
  font-size: var(--type-size-copy, 16px);
  font-weight: 400;
  color: #243041;
}

.service-detail-list li::before {
  content: "\2713";
  position: absolute;
  left: 17px;
  top: 14px;
  color: #10a5c5;
  font-weight: 800;
}

.parent-service-showcase + .section-light .service-detail-grid {
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
}

.parent-service-showcase + .section-light .service-detail-copy {
  text-align: center;
}

.parent-service-showcase + .section-light .service-detail-list {
  width: min(100%, 760px);
  margin-right: auto;
  margin-left: auto;
}

.parent-service-showcase + .section-light .service-detail-list li {
  padding-right: 48px;
  text-align: center;
}

.service-detail-aside {
  padding: 30px;
  background: #1e2024;
  color: #d1d5db;
  border-top: 4px solid #2ccbd4;
}

.service-detail-aside h3 {
  color: #fff;
  margin-bottom: 16px;
}

.service-detail-aside p + p {
  margin-top: 14px;
}

.service-detail-aside .btn-primary {
  margin-top: 24px;
}

.service-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-proof-card {
  padding: 28px;
  border: 1px solid #dce1e7;
  background: #fff;
}

.service-proof-card strong {
  display: block;
  margin-bottom: 10px;
  color: #111827;
  font-size: 17px;
  text-transform: uppercase;
}

.curtain-system-intro {
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}

.curtain-system-intro p {
  font-size: 18px;
  line-height: 1.7;
}

.manufacturer-logos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.manufacturer-logo-card {
  min-height: 150px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #dce1e7;
}

.manufacturer-logo-card img {
  display: block;
  width: auto;
  max-width: 180px;
  max-height: 72px;
  object-fit: contain;
}

/* Curtain wall system marks sit directly on the page, without card chrome. */
.curtain-system-expertise {
  background: #fff;
}

.curtain-system-expertise .manufacturer-logo-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.service-related-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.service-related-links a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-related-links a:hover,
.service-related-links a:focus-visible {
  border-color: #2ccbd4;
  background: rgba(44, 203, 212, 0.1);
  outline: none;
}

/* Alternating editorial sections used between parent-page trust logos and services. */
.parent-content-section {
  padding: clamp(76px, 7vw, 108px) 0;
}

.parent-content-section.section-white {
  background: #fff;
}

.parent-content-section.section-light {
  background: #f4f5f7;
}

.parent-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.parent-content-copy {
  max-width: 580px;
}

.parent-content-copy .kicker {
  margin-bottom: 20px;
}

.parent-content-copy h2 {
  margin: 0 0 26px;
  color: #172235;
  font-size: clamp(36px, 4.1vw, 58px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-transform: none;
}

.parent-content-copy p:not(.kicker) {
  margin: 0;
  color: #4e5b6c;
  font-size: 17px;
  line-height: 1.75;
}

.parent-content-copy p:not(.kicker) + p {
  margin-top: 20px;
}

.parent-content-media {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #dfe4e8;
}

.parent-content-media img {
  display: block;
  width: 100%;
  height: clamp(360px, 34vw, 500px);
  object-fit: cover;
}

@media (max-width: 820px) {
  .child-content-grid,
  .parent-content-grid,
  .service-page-grid,
  .service-detail-grid,
  .service-proof-grid,
  .manufacturer-logos-grid {
    grid-template-columns: 1fr;
  }

  .manufacturer-logos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-page-card {
    min-height: 300px;
    padding: 26px;
  }

  .service-detail-grid.child-service-detail-grid {
    grid-template-columns: 1fr;
  }

  .parent-service-showcase .service-page-grid {
    grid-template-columns: 1fr;
  }

  .parent-service-showcase .service-page-grid.service-page-grid-three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .parent-content-grid {
    gap: 38px;
  }

  .child-content-grid {
    gap: 38px;
  }

  .child-content-grid-four-part {
    row-gap: 38px;
  }

  .child-content-copy {
    max-width: 680px;
  }

  .child-content-image {
    height: clamp(320px, 64vw, 480px);
  }

  .child-content-grid-four-part .child-content-image {
    height: clamp(300px, 58vw, 440px);
  }

  .child-content-grid-four-part .child-content-media-two .child-content-image {
    height: clamp(240px, 44vw, 340px);
  }

  .parent-content-copy {
    max-width: 680px;
  }

  .parent-content-media img {
    height: clamp(320px, 64vw, 480px);
  }

  .parent-service-showcase .service-page-card {
    min-height: 0;
    padding: 0;
  }
}

@media (max-width: 520px) {
  .child-content-section {
    padding: 58px 0;
  }

  .child-content-copy h2 {
    font-size: 36px;
  }

  .child-content-copy > p {
    font-size: 16px;
    line-height: 1.7;
  }

  .child-content-media {
    border-radius: 10px;
  }

  .child-content-image {
    height: 280px;
  }

  .parent-content-section {
    padding: 58px 0;
  }

  .parent-content-copy h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .parent-content-copy p:not(.kicker) {
    font-size: 16px;
    line-height: 1.7;
  }

  .parent-content-media {
    border-radius: 10px;
  }

  .parent-content-media img {
    height: 280px;
  }

  .service-page-intro {
    font-size: 16px;
  }

  .service-page-card,
  .service-detail-aside,
  .service-proof-card {
    padding: 22px;
  }

  .manufacturer-logos-grid {
    grid-template-columns: 1fr;
  }

  .parent-service-showcase {
    padding: 58px 0;
  }

  .parent-service-showcase .section-heading h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .parent-service-showcase .service-page-grid.service-page-grid-three-up,
  .child-service-gallery {
    grid-template-columns: 1fr;
  }

  .parent-service-card-label {
    min-height: 74px;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 13px;
    padding: 10px 18px 10px 10px;
    border-radius: 34px;
  }

  .parent-service-card-label.has-description {
    min-height: 116px;
    row-gap: 4px;
    padding: 12px 16px 12px 10px;
  }

  .service-page-card .parent-service-card-description {
    font-size: 13px;
    line-height: 1.4;
  }

  .parent-service-card-icon {
    width: 44px;
    height: 44px;
  }
}

/* Keep every parent-page section title on one consistent type scale. */
body.parent-service-page main h2,
body.parent-service-page main h2[class] {
  font-size: 36px !important;
}

.parent-service-form-source {
  display: none;
}

/* Use a sharp-edged shape language across shared page components. */
body * {
  border-radius: 0 !important;
}

/* Keep controls and indicators that are intentionally circular. */
body :is(
  input[type="radio"],
  .benefit-icon,
  .parent-service-card-icon,
  .trust-card-check,
  .testimonial-nav,
  .project-nav,
  .review-badge,
  .thankyou-icon,
  .availability-dot,
  .shared-navbar-contact-icon,
  .shared-mobile-contact-icon,
  .shared-nationwide-pin-dot,
  .shared-process-number,
  .shared-utility-cta-icon,
  .shared-mobile-sticky-call-icon,
  .coverage-map-pin,
  .coverage-map-pin-dot,
  .swiper-pagination-bullet
) {
  border-radius: 50% !important;
}
