/* Site-specific overrides — do not edit saint-financial-group.webflow.css */

/* ── Homepage: unified horizontal gutters ── */
body.home-page {
  --home-gutter: clamp(1.25rem, 7.5vw, 6rem);
  --home-max-width: 1560px;
  --home-inline: max(var(--home-gutter), calc((100% - var(--home-max-width)) / 2));
  --home-content-width: min(var(--home-max-width), calc(100% - (var(--home-inline) * 2)));
}

body.home-page .saintfg---restrictor:not(.cutduo),
body.home-page .saintfg---restrictor.flexed-5050,
body.home-page .saintfg---restrictor.evensmall,
body.home-page .saintfg---restrictor.centre,
body.home-page .saintfg---restrictor.prmi,
body.home-page .saint-service-row,
body.home-page .location-section,
body.home-page .footer-grid {
  width: var(--home-content-width);
  max-width: var(--home-content-width);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

body.home-page .saintsplit,
body.home-page .section-70,
body.home-page .review-block-2,
body.home-page .navigation-container,
body.home-page .nav-topbar,
body.home-page .welcome {
  padding-left: var(--home-inline);
  padding-right: var(--home-inline);
  box-sizing: border-box;
}

body.home-page .div-block-312.homepage {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

body.home-page .saint-service-row {
  padding-top: 20px;
  padding-bottom: 20px;
}

body.home-page .section-70 {
  width: 100%;
  max-width: none;
  padding-top: 120px;
  padding-bottom: 81px;
}

body.home-page .review-block-2 {
  width: 100%;
  max-width: none;
}

body.home-page .welcome .wrap._w-custom.hero1 {
  width: 100%;
  max-width: var(--home-max-width);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media screen and (max-width: 991px) {
  body.home-page .saint-service-row {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  body.home-page .review-section {
    padding-left: var(--home-inline);
    padding-right: var(--home-inline);
    box-sizing: border-box;
  }
}

/* Benefits grid → Who we work with: Webflow stacks margin-bottom, 10% margin-top, and padding-top */
body.home-page .saintfg---restrictor.evensmall .benefits {
  margin-bottom: 0;
}

body.home-page .saintfg---restrictor.evensmall + .saintfg---restrictor {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: 0;
}

/* ── Adaptive main nav: one navbar, link colour follows page background ── */
.navigation-wrap:not(.ci) {
  color: #fff;
}

.navigation-wrap:not(.ci) .tb-link,
.navigation-wrap:not(.ci) .top-link {
  color: #1abaef;
}

.navigation-wrap:not(.ci) .tb-link:hover,
.navigation-wrap:not(.ci) .top-link:hover {
  color: #1abaef;
}

.navigation-wrap:not(.ci) .link-4 {
  color: #fff;
}

.navigation-wrap:not(.ci) .link-txt-2 {
  color: #fff;
}

.navigation-wrap:not(.ci) .link-wrap-2 {
  color: #b9b9b9;
}

.navigation-wrap:not(.ci) .link-wrap-2:hover,
.navigation-wrap:not(.ci) .link-wrap-2.w--current,
.navigation-wrap:not(.ci) .link-wrap-2.w--current:hover {
  color: #fff;
}

.navigation-wrap:not(.ci).is-on-light {
  color: #131313;
}

.navigation-wrap:not(.ci).is-on-light .tb-link,
.navigation-wrap:not(.ci).is-on-light .top-link {
  color: #1abaef;
}

.navigation-wrap:not(.ci).is-on-light .tb-link:hover,
.navigation-wrap:not(.ci).is-on-light .top-link:hover {
  color: #1abaef;
}

.navigation-wrap:not(.ci).is-on-light .link-4 {
  color: #000;
}

.navigation-wrap:not(.ci).is-on-light .link-txt-2 {
  color: #131313;
}

.navigation-wrap:not(.ci).is-on-light .link-wrap-2 {
  color: #252525;
}

.navigation-wrap:not(.ci).is-on-light .link-wrap-2:hover,
.navigation-wrap:not(.ci).is-on-light .link-wrap-2.w--current,
.navigation-wrap:not(.ci).is-on-light .link-wrap-2.w--current:hover {
  color: #313131;
}

/* Mega menu uses the navy panel — keep light nav links while it is open */
.navigation-wrap:not(.ci).has-mega-open,
.navigation-wrap:not(.ci).has-mega-open.is-on-light {
  color: #fff;
}

.navigation-wrap:not(.ci).has-mega-open .tb-link,
.navigation-wrap:not(.ci).has-mega-open .top-link,
.navigation-wrap:not(.ci).has-mega-open.is-on-light .tb-link,
.navigation-wrap:not(.ci).has-mega-open.is-on-light .top-link {
  color: #1abaef;
}

.navigation-wrap:not(.ci).has-mega-open .tb-link:hover,
.navigation-wrap:not(.ci).has-mega-open .top-link:hover,
.navigation-wrap:not(.ci).has-mega-open.is-on-light .tb-link:hover,
.navigation-wrap:not(.ci).has-mega-open.is-on-light .top-link:hover {
  color: #1abaef;
}

.navigation-wrap:not(.ci).has-mega-open .link-4,
.navigation-wrap:not(.ci).has-mega-open.is-on-light .link-4 {
  color: #fff;
}

.navigation-wrap:not(.ci).has-mega-open .link-txt-2,
.navigation-wrap:not(.ci).has-mega-open.is-on-light .link-txt-2 {
  color: #fff;
}

.navigation-wrap:not(.ci).has-mega-open .link-wrap-2,
.navigation-wrap:not(.ci).has-mega-open.is-on-light .link-wrap-2 {
  color: #b9b9b9;
}

.navigation-wrap:not(.ci).has-mega-open .link-wrap-2:hover,
.navigation-wrap:not(.ci).has-mega-open .link-wrap-2.w--current,
.navigation-wrap:not(.ci).has-mega-open .link-wrap-2.w--current:hover,
.navigation-wrap:not(.ci).has-mega-open.is-on-light .link-wrap-2:hover,
.navigation-wrap:not(.ci).has-mega-open.is-on-light .link-wrap-2.w--current,
.navigation-wrap:not(.ci).has-mega-open.is-on-light .link-wrap-2.w--current:hover {
  color: #fff;
}

/* Mega menu open: prevent Webflow IX translate from causing horizontal scroll */
@media screen and (min-width: 992px) {
  html.mega-menu-open,
  html:has(.navigation-wrap:not(.ci).has-mega-open) {
    overflow-x: clip;
  }

  .navigation-wrap:not(.ci) .megawrap.w--open .mega-menu,
  .navigation-wrap:not(.ci).has-mega-open .mega-menu {
    transform: none !important;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
  }

  .navigation-wrap:not(.ci) .mega-menu-inner {
    box-sizing: border-box;
    max-width: 100%;
  }
}

/* ── Business cards row: horizontal scroll (from Webflow export) ── */
.saint-service-row {
  overflow-y: hidden;
  overflow-x: scroll !important;
  -webkit-overflow-scrolling: touch;
}

.saint-service-row::-webkit-scrollbar {
  height: 5px !important;
  width: 5px !important;
}

.saint-service-row::-webkit-scrollbar-track {
  background: rgb(255, 255, 255) !important;
  border-style: none;
}

.saint-service-row::-webkit-scrollbar-thumb {
  background: rgb(26, 186, 239) !important;
  border-radius: 20px !important;
}

.saint-service-row .white-blur {
  pointer-events: none;
}

/* ── About Us: company timeline — horizontal scroll only ── */
.company-timeline {
  overflow-y: hidden;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ── Services section: contained carousel (original Webflow layout) ── */
.scs-services-section {
  background: #fff;
}

.scs-services-section .div-block-545.service-block {
  width: 50%;
  margin-top: 209px;
  margin-bottom: 0;
}

.scs-services-section .heading-311.topspace.centr {
  white-space: normal;
  text-wrap: balance;
}

.scs-services-section .saint-service-row {
  grid-column-gap: 49px;
  margin-bottom: 79px;
}

.scs-services-section .white-blur {
  width: 40px;
  background-image: linear-gradient(87deg, #fff0, #fff);
}

@media screen and (max-width: 991px) {
  .scs-services-section .div-block-545.service-block {
    width: min(100%, 640px);
    margin-top: clamp(4rem, 10vw, 7rem);
  }
}

/* ── Centre-circle diagram: Webflow ring positions + offset play button ── */
.center-circle {
  position: relative;
  margin: 0 auto 4.5rem;
  isolation: isolate;
  overflow: visible;
}

.center-circle > .main-circle:not(.absolute) {
  position: relative;
  z-index: 3;
  overflow: visible;
}

.center-circle > .main-circle.absolute {
  z-index: 1;
  pointer-events: none;
}

.main-circle > .saintlightbox.absolute {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 50%;
  right: auto;
  width: auto;
  height: auto;
  transform: translate(-50%, 50%);
  z-index: 4;
  text-decoration: none;
}

.main-circle .div-block-315 {
  width: 125px;
  height: 125px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 8px 7px #1abaef59;
}

.main-circle .image-243 {
  width: 58px;
  max-width: 58px;
  height: auto;
  margin-left: 6px;
  flex-shrink: 0;
}

.main-circle .paragraph-180 {
  margin-bottom: 0;
}

.main-circle > .saintlightbox.absolute:hover {
  transform: translate(-50%, calc(50% - 5px));
}

/* Custom YouTube lightbox (site.js) — Webflow normally sets inline figure sizes */
.w-lightbox-backdrop .w-lightbox-figure--video {
  width: min(960px, 92vw);
  aspect-ratio: 16 / 9;
  max-height: 80vh;
  height: auto;
}

.w-lightbox-backdrop .w-lightbox-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.main-circle .heading-342,
.main-circle .paragraph-180 {
  position: relative;
  z-index: 2;
  text-decoration: none;
}

@media screen and (max-width: 767px) {
  .center-circle {
    margin-bottom: 4rem;
  }
}

/* Icon orbits: hide below 1400px where the 3-col grid breaks on laptops */
@media screen and (max-width: 1400px) {
  .div-block-548 .points {
    display: none;
  }

  .div-block-546 {
    grid-template-columns: 1fr;
  }

  .center-circle {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ── Hover lift: scoped to the interactive element only ── */
.div-block-318 {
  transition: transform 0.65s;
}

.div-block-318:hover {
  transform: translateY(-5px);
}

.saintlightbox:not(.absolute) {
  transition: transform 0.3s;
}

.saintlightbox:not(.absolute):hover {
  transform: translateY(-5px);
}

/* ── Benefits / gamechange: never style as links ── */
.gamechange,
.gamechange h3,
.gamechange h4,
.gamechange p {
  text-decoration: none !important;
}
.saint-service-row a,
.div-block-548 a,
.main-circle a,
.section-70 a:not(.button-27),
.link-block-21,
.div-block-594,
.text-block-124,
.heading-342,
.paragraph-180,
.home-para a,
.review-block a {
  text-decoration: none;
}

.home-para a:hover,
.section-70 .home-para a:hover,
.link-79:hover {
  text-decoration: underline;
}

/* ── Footer links: smooth hover glow (Webflow had no transition duration) ── */
.footer .paragraph-basic._40-bottom-padding,
.footer .link-33 {
  display: inline-block;
  text-decoration: none;
  backface-visibility: hidden;
  transition:
    color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    text-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .footer .footer-link-reveal-done.paragraph-basic._40-bottom-padding:hover,
  .footer .footer-link-reveal-done.link-33:hover,
  .footer .footer-title.footer-link-reveal-done .link-33:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
  }
}

/* ── Footer nav links: staggered slide-up wave on scroll ── */
.footer .div-block-311 .footer-block {
  transform: none !important;
  opacity: 1 !important;
}

.footer .div-block-311 .footer-link-reveal-item {
  opacity: 0;
  transform: translate3d(0, 0.85rem, 0);
}

.footer.is-link-revealed .div-block-311 .footer-link-reveal-item:not(.footer-link-reveal-done) {
  animation: footer-link-slide-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--footer-link-delay, 0ms);
  will-change: opacity, transform;
}

.footer .div-block-311 .footer-link-reveal-item.footer-link-reveal-done {
  animation: none;
  opacity: 1;
  transform: none;
  will-change: auto;
}

.footer .footer-link-reveal-item:not(.footer-link-reveal-done):hover {
  color: inherit;
  text-shadow: none;
  transform: translate3d(0, 0, 0);
}

@keyframes footer-link-slide-up {
  from {
    opacity: 0;
    transform: translate3d(0, 0.85rem, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer .div-block-311 .footer-link-reveal-item {
    opacity: 1;
    transform: none;
    animation: none;
    will-change: auto;
  }

  .footer.is-link-revealed .div-block-311 .footer-link-reveal-item {
    animation: none;
  }
}

/* ── Construction Insider: branded scrollbars ── */
html:has(body.ci-bodi),
body.ci-bodi {
  scrollbar-width: thin;
  scrollbar-color: var(--ci-yellow, #ffce00) #1a1a1a;
}

html:has(body.ci-bodi)::-webkit-scrollbar,
body.ci-bodi::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html:has(body.ci-bodi)::-webkit-scrollbar-track,
body.ci-bodi::-webkit-scrollbar-track {
  background: #1a1a1a;
}

html:has(body.ci-bodi)::-webkit-scrollbar-thumb,
body.ci-bodi::-webkit-scrollbar-thumb {
  background: var(--ci-yellow, #ffce00);
  border: 2px solid #1a1a1a;
  border-radius: 20px;
}

html:has(body.ci-bodi)::-webkit-scrollbar-thumb:hover,
body.ci-bodi::-webkit-scrollbar-thumb:hover {
  background: #e6b900;
}

/* ── Construction Insider: page inset via ci-bodi body class (Webflow export) ── */
body.ci-bodi .saintfg---restrictor.ci.af,
body.ci-bodi .saintfg---restrictor.cut.ci,
body.ci-bodi .section-83.ci-logo-band,
body.ci-bodi .ci-page-band {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}

body.ci-bodi .ci-page-band {
  background-color: transparent;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-top: 0;
  overflow: visible;
  align-items: stretch;
}

body.ci-bodi .saintfg---restrictor.ci.af:has(.ci-social-groups) {
  align-items: stretch;
  margin-top: 0;
  padding-top: 0;
}

body.ci-bodi .ci-page-band .section-53,
body.ci-bodi .ci-page-band .ci-toolbox-cta {
  width: 100%;
  max-width: none;
  align-self: stretch;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  isolation: isolate;
}

body.ci-bodi .ci-page-band .ci-footer {
  width: 100%;
  max-width: none;
  align-self: stretch;
  margin: 0;
}

body.ci-bodi .ci-page-band .ci-footer .footer-grid,
body.ci-bodi .ci-page-band .ci-footer .div-block-191 {
  width: 100%;
  max-width: none;
}

body.ci-bodi .ci-page-band .ci-footer .container-16.w-container {
  width: 100%;
  max-width: none;
}

body.ci-bodi .ci-page-band .ci-yellowblack-strip.fi {
  width: 100%;
}

/* ── Construction Insider: homepage hero sizing ── */
body.ci-bodi .saintfg---restrictor.ci.af:has(.navigation-wrap.ci) {
  align-items: stretch;
  overflow-x: clip;
}

body.ci-bodi .saintfg---restrictor.ci.af:has(.navigation-wrap.ci) > .content-section {
  width: 100%;
  max-width: none;
  align-self: stretch;
  box-sizing: border-box;
  padding-inline: clamp(1.25rem, 4vw, 2.75rem);
}

body.ci-bodi .saintfg---restrictor.ci.af:has(.navigation-wrap.ci) .content-container {
  width: 100%;
  max-width: min(1180px, 100%);
  margin-inline: auto;
}

body.ci-bodi .saintfg---restrictor.ci.af:has(.navigation-wrap.ci) .content-grid {
  width: 100%;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  column-gap: clamp(1.75rem, 4vw, 3.5rem);
}

body.ci-bodi .saintfg---restrictor.ci.af:has(.navigation-wrap.ci) .content-wrapper {
  width: 100%;
  max-width: none;
}

body.ci-bodi .saintfg---restrictor.ci.af:has(.navigation-wrap.ci) .form-block-9.ci {
  width: 100%;
  max-width: 32rem;
}

body.ci-bodi .saintfg---restrictor.ci.af:has(.navigation-wrap.ci) .content-image-wrap {
  width: 100%;
  max-width: 30rem;
  justify-self: end;
  overflow: hidden;
}

body.ci-bodi .saintfg---restrictor.ci.af:has(.navigation-wrap.ci) .content-heading-2 {
  font-size: clamp(2rem, 3.6vw, 2.6875rem);
  line-height: 1.2;
}

@media screen and (max-width: 991px) {
  body.ci-bodi .saintfg---restrictor.ci.af:has(.navigation-wrap.ci) .content-grid {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }

  body.ci-bodi .saintfg---restrictor.ci.af:has(.navigation-wrap.ci) .content-image-wrap {
    justify-self: center;
    max-width: 24rem;
  }
}

body.ci-bodi .saintfg---restrictor.ci.af:has(.navigation-wrap.ci) .image-358 {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── Construction Insider: logo carousel ── */
body.ci-bodi .section-83.ci-logo-band {
  width: 100%;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

body.ci-bodi .ci-logo-band__label {
  margin: 0;
  padding: 1.75rem 1.5rem 1rem;
  text-align: center;
  color: #fff;
  font-family: Mulish, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.ci-bodi .ci-logo-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 1rem 0 2.5rem;
  overflow: hidden;
  box-sizing: border-box;
}

body.ci-bodi .ci-logo-carousel__viewport {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

body.ci-bodi .ci-logo-carousel__track {
  display: flex;
  align-items: center;
  width: max-content;
  backface-visibility: hidden;
  animation: ci-logo-marquee var(--ci-marquee-duration, 55s) linear infinite;
  animation-play-state: var(--ci-marquee-play, paused);
}

body.ci-bodi .ci-logo-carousel.is-ready .ci-logo-carousel__track {
  animation-play-state: running;
}

body.ci-bodi .ci-logo-carousel.is-ready:hover .ci-logo-carousel__track {
  animation-play-state: paused;
}

body.ci-bodi .ci-logo-carousel__set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 3rem;
  padding-inline: 1.5rem;
}

body.ci-bodi .ci-logo-carousel__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 9.5rem;
  height: 3.75rem;
}

body.ci-bodi .ci-logo-carousel__item img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

body.ci-bodi .ci-logo-carousel__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2.5rem;
  z-index: 2;
  pointer-events: none;
}

body.ci-bodi .ci-logo-carousel__fade--left {
  left: 0;
  background: linear-gradient(90deg, var(--ci-yellow) 15%, transparent 100%);
}

body.ci-bodi .ci-logo-carousel__fade--right {
  right: 0;
  background: linear-gradient(270deg, var(--ci-yellow) 15%, transparent 100%);
}

@keyframes ci-logo-marquee {
  from {
    transform: translate3d(var(--ci-marquee-shift, -50%), 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.ci-bodi .ci-logo-carousel__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    row-gap: 1rem;
  }

  body.ci-bodi .ci-logo-carousel__set[aria-hidden='true'] {
    display: none;
  }
}

/* Logo strip sits flush against the next white CI block */
body.ci-bodi .saintfg---restrictor.cut.ci {
  margin-top: 0;
}

/* Testimonial block: keep original white card on newsletter homepage */
body.ci-bodi.ci-newsletter-page .saintfg---restrictor.cut.ci {
  width: 100%;
  max-width: min(1440px, calc(100vw - 24px));
  margin-inline: auto;
  background-color: #fff;
  border-radius: 4px;
  box-sizing: border-box;
  padding-left: clamp(1.25rem, 4vw, 2.75rem);
  padding-right: clamp(1.25rem, 4vw, 2.75rem);
}

body.ci-bodi.ci-newsletter-page .ci-review {
  width: 100%;
  max-width: min(1180px, 100%);
  margin-inline: auto;
}

/* ── Construction Insider: news ticker rotation ── */
.collection-list-10.ci-ticker-active {
  transition: transform 0.6s ease;
}

.intergrations.blue {
  overflow: hidden;
}

.d-101-logo-row-wrapper.home {
  width: max-content;
  max-width: none;
}

.scs-integrations-marquee {
  display: flex;
  width: max-content;
  animation: scs-integrations-marquee 80s linear infinite;
  will-change: transform;
}

.scs-integrations-marquee:hover {
  animation-play-state: paused;
}

.scs-integrations-marquee__row {
  display: flex;
  align-items: center;
  flex: none;
  width: max-content !important;
  position: relative !important;
  transform: none !important;
}

@keyframes scs-integrations-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── Section 70: sticky lottie column on desktop ── */
@media screen and (min-width: 992px) {
  body.home-page .section-70 {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .section-70 .img-wrap-process.delspace {
    align-self: start;
    display: flex;
    justify-content: center;
    width: 100%;
    overflow: visible;
  }

  .section-70 .lottie-animation-124 {
    width: min(820px, 100%);
    max-width: none;
    flex-shrink: 0;
    margin-top: -12px;
    margin-left: auto;
    margin-right: auto;
  }

  .section-70 .lottie-animation-124 svg {
    width: 100% !important;
    height: auto !important;
  }
}

/* ── Construction Insider: social groups cards ── */
.ci-social-groups__brand {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 0.75rem;
}

.ci-social-groups__brand:empty {
  display: none;
}

.ci-social-groups__brand .image-369 {
  display: block;
  height: auto;
  width: 50px;
}

.ci-social-groups {
  width: 100%;
  max-width: none;
  align-self: stretch;
  padding-top: 0;
  padding-bottom: 67px;
}

.ci-social-groups__eyebrow {
  text-align: center;
  font-family: Muli, sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.35rem;
}

.ci-social-groups__title {
  margin-top: 0;
  margin-bottom: 2.25rem;
}

.ci-social-groups__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
  max-width: 920px;
  margin: 0 auto;
}

.ci-social-card {
  position: relative;
  display: block;
  min-height: 300px;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ci-social-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.ci-social-card__media {
  position: absolute;
  inset: 0;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  transition: transform 0.45s ease;
}

.ci-social-card--facebook .ci-social-card__media {
  background-image: linear-gradient(135deg, #1a1a1a 0%, #2d2400 100%);
}

.ci-social-card--linkedin .ci-social-card__media {
  background-image: linear-gradient(135deg, #1a1a1a 0%, #1a2433 100%);
}

.ci-social-card:hover .ci-social-card__media {
  transform: scale(1.04);
}

.ci-social-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.55) 55%,
    rgba(0, 0, 0, 0.88) 100%
  );
}

.ci-social-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 300px;
  padding: 1.75rem 1.85rem;
  box-sizing: border-box;
}

.ci-social-card__icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.85rem;
  filter: brightness(0) invert(1);
}

.ci-social-card__label {
  font-family: Muli, sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.ci-social-card__desc {
  font-family: Muli, sans-serif;
  font-size: 0.95rem;
  line-height: 1.45;
  opacity: 0.92;
  max-width: 28ch;
  margin-bottom: 1.1rem;
}

.ci-social-card__cta {
  display: inline-flex;
  align-items: center;
  font-family: Muli, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.55rem 1.05rem;
  background-color: var(--ci-yellow, #ffce00);
  color: #111;
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.ci-social-card:hover .ci-social-card__cta {
  background-color: #ffe34d;
}

@media screen and (max-width: 767px) {
  .ci-social-groups {
    padding-top: 0;
    padding-bottom: 48px;
  }

  .ci-social-groups__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .ci-social-card,
  .ci-social-card__content {
    min-height: 260px;
  }
}

/* Saint Accountants — service card icons */
.accountancy-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 6px;
  line-height: 0;
}

.accountancy-image-wrap .ac-icon {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  max-width: none;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center center;
}

.accounting-service-grid .image-375 {
  width: 25px;
  height: 25px;
  min-width: 25px;
  margin-top: 0;
  flex-shrink: 0;
  object-fit: contain;
}

/* Get Started — booking embed gutters */
.calendar-embed {
  box-sizing: border-box;
  width: 100%;
  padding-left: clamp(1.25rem, 5vw, 4rem);
  padding-right: clamp(1.25rem, 5vw, 4rem);
}

/* LeadConnector (GHL) web chat — above fixed CTAs, sticky banners, and nav chrome */
chat-widget {
  z-index: 100000 !important;
}

/* Momentum Engine — center integration logo white cap at top */
.second-cta-logo.main {
  background-color: #263447;
}

.second-cta-logo-image.main {
  display: block;
  background-color: transparent;
  border-radius: inherit;
}

/* Momentum Engine — pricing feature list scroll */
.feature-list {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: var(--saintblue, #1abaef) #151623;
}

.feature-list::-webkit-scrollbar {
  width: 10px;
  height: 0;
}

.feature-list::-webkit-scrollbar-track {
  background: #151623;
  border-radius: 10px;
}

.feature-list::-webkit-scrollbar-thumb {
  background: var(--saintblue, #1abaef);
  border-radius: 10px;
}

/* Saint service detail pages — generous gutters aligned with nav */
body.service-detail-page {
  --page-gutter: clamp(1.25rem, 7.5vw, 6rem);
  --page-max-width: 1560px;
  --page-inline: max(var(--page-gutter), calc((100% - var(--page-max-width)) / 2));
}

body.service-detail-page .navigation-container,
body.service-detail-page .nav-topbar {
  padding-left: var(--page-inline);
  padding-right: var(--page-inline);
  box-sizing: border-box;
}
