/* V53 - Request-scoped polish: About text width/CTA line-break, Services CTA alignment. */
/* Expand the About text column by about two 16px characters without enlarging
   the full section outside the viewport. Preserve heading, typography, and content. */
@media (min-width: 981px) {
  .v39-about-page .v39-thought-card {
    grid-template-columns: minmax(0, calc(54% + 2rem)) minmax(0, 1fr);
  }
}
@media (min-width: 721px) and (max-width: 980px) {
  .v39-about-page .v39-thought-card {
    grid-template-columns: minmax(0, 1fr) calc(42% - 2rem);
  }
}
/* On narrow phones, keep the natural phrase together (the card already spans
   the available viewport width, so widening it would create horizontal scroll). */
.v39-about-page .v39-thought-copy .v53-about-nowrap { white-space: nowrap; }

/* Services CTA: match About CTA proportions, left alignment, kicker and action
   placement. Preserve the services page's existing blue/white backdrop. */
.v36-services-page .v36-contact-cta {
  padding: 26px 0 66px;
}
.v36-services-page .v36-contact-inner {
  max-width: 1180px !important;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: center;
  padding: 34px 42px;
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  border: 1px solid #d7e8ed;
  box-shadow: 0 14px 34px rgba(21,38,66,.05);
  text-align: left;
}
.v36-services-page .v36-contact-inner > div:first-child { min-width: 0; }
.v36-services-page .v36-contact-inner .v53-contact-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #152642;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
}
.v36-services-page .v53-contact-kicker::before {
  content: '';
  width: 30px;
  height: 2px;
  background: #08a8d1;
  flex: 0 0 auto;
}
.v36-services-page .v36-contact-inner h2 {
  margin: 14px 0 10px;
  font-family: var(--v36-serif);
  font-size: clamp(30px, 2.8vw, 42px);
  line-height: 1.35;
  letter-spacing: -.02em;
  color: #152642;
}
.v36-services-page .v36-contact-inner > div:first-child > p:not(.v53-contact-kicker) {
  color: #4e6070;
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
  max-width: 700px;
}
.v36-services-page .v36-contact-action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 320px;
  text-align: center;
}
.v36-services-page .v36-contact-action a {
  padding: 20px 30px;
  border-radius: 9px;
  font-size: 17px;
}
.v36-services-page .v36-contact-action p {
  margin: 0 !important;
  font-size: 12px !important;
}
@media (max-width: 980px) {
  .v36-services-page .v36-contact-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .v36-services-page .v36-contact-action {
    min-width: 0;
    max-width: 360px;
  }
}
@media (max-width: 720px) {
  .v36-services-page .v36-contact-cta { padding: 8px 0 46px; }
  .v36-services-page .v36-contact-inner {
    width: calc(100% - 8px) !important;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 20px !important;
    border-radius: 14px;
  }
  .v36-services-page .v36-contact-inner .v53-contact-kicker { font-size: 14px; gap: 9px; }
  .v36-services-page .v53-contact-kicker::before { width: 24px; }
  .v36-services-page .v36-contact-inner h2 {
    font-size: 29px !important;
    line-height: 1.42 !important;
    margin: 12px 0 10px;
  }
  .v36-services-page .v36-contact-inner > div:first-child > p:not(.v53-contact-kicker) {
    font-size: 15px !important;
    line-height: 1.75 !important;
  }
  .v36-services-page .v36-contact-action {
    max-width: none;
    width: 100%;
    gap: 7px;
  }
  .v36-services-page .v36-contact-action a {
    padding: 18px 20px;
    font-size: 16px;
  }
}
@media (max-width: 430px) {
  .v36-services-page .v36-contact-inner h2 {
    font-size: 20px !important;
    line-height: 1.45 !important;
    letter-spacing: -.02em !important;
  }
  .v36-services-page .v36-contact-inner > div:first-child > p:not(.v53-contact-kicker) {
    letter-spacing: -.02em;
  }
  .v36-services-page .v36-contact-inner h2 > span { white-space: nowrap !important; }
}
