/* Saint Global business development — mobile & tablet layout fixes */

@media screen and (max-width: 991px) {
  .body-76 {
    overflow-x: clip;
  }

  .body-76 .section-100,
  .body-76 .section-regular-17,
  .body-76 .section-104,
  .body-76 .section-105,
  .body-76 .section-regular-18,
  .body-76 .section-108 {
    margin-left: 0;
    margin-right: 0;
    padding-left: 4%;
    padding-right: 4%;
  }

  .body-76 .section-103 {
    margin-left: 0;
    padding-left: 4%;
    padding-right: 4%;
  }

  .body-76 .section-100 .padding-global {
    width: 100%;
    max-width: none;
    border-radius: 16px;
  }

  .body-76 .section-100 .split-lines_large {
    margin-left: 0;
    margin-right: 0;
    font-size: clamp(1.35rem, 4.2vw, 1.85rem);
    line-height: 1.35;
    text-align: center;
  }

  .body-76 .section-103 .paragraph-x-large-2,
  .body-76 .section-104 .paragraph-247,
  .body-76 .section-104 .text-block-183 {
    font-size: clamp(0.95rem, 2.8vw, 1.05rem);
    line-height: 1.55;
  }

  .body-76 .section-103 .heading-1033.size.colour,
  .body-76 .section-104 .heading-1040 {
    font-size: clamp(1.75rem, 6vw, 2.35rem);
    line-height: 1.12;
  }

  .body-76 .section-103 .tabs-menu-8 {
    gap: 10px;
  }

  .body-76 .section-103 .tabs-8 {
    padding: 1.25rem 1.15rem 1.35rem;
  }

  .body-76 .section-103 .tab-link-3 {
    flex: 1 1 calc(50% - 5px);
    min-width: calc(50% - 5px);
  }

  .body-76 .section-104 .div-block-782 {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .body-76 .section-104 .div-block-782 > * {
    width: 100%;
    min-width: 0;
  }

  .body-76 .section-104 .div-block-793,
  .body-76 .section-104 .div-block-784 {
    width: 100%;
  }

  .body-76 .section-regular-17 .code-embed-5 .opacity-sweep,
  .body-76 .section-100 .section_text-scroll .opacity-sweep {
    max-width: calc(100vw - 2rem);
  }

  .body-76 .section-regular-17 .code-embed-5 .opacity-sweep > .base,
  .body-76 .section-regular-17 .code-embed-5 .opacity-sweep > .overlay,
  .body-76 .section-100 .section_text-scroll .opacity-sweep > .base,
  .body-76 .section-100 .section_text-scroll .opacity-sweep > .overlay {
    white-space: normal;
    text-wrap: balance;
  }

  .body-76 .section-105 {
    margin-top: 2rem;
    padding-left: 4%;
    padding-right: 4%;
  }

  .body-76 .section-105 .ms-content {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
  }

  .body-76 .section-105 .div-block-787 {
    text-align: center;
  }

  .body-76 .section-105 .heading-1033.size,
  .body-76 .section-105 .ms-para._w-c {
    text-wrap: balance;
  }

  .body-76 .section-105 .ms-para._w-c {
    font-size: clamp(0.92rem, 2.6vw, 1.02rem);
    line-height: 1.55;
  }

  .body-76 .section-105 .div-block-689 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column-gap: 14px;
    grid-row-gap: 20px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    place-items: center stretch;
  }

  .body-76 .section-105 .div-block-690 {
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .body-76 .section-105 .client-type {
    width: clamp(44px, 12vw, 56px);
    height: auto;
    margin-bottom: 0.5rem;
  }

  .body-76 .section-105 .heading-390.white {
    font-size: clamp(0.88rem, 2.4vw, 1rem);
    line-height: 1.35;
    text-wrap: balance;
  }

  .body-76 .section-100 .section_text-scroll {
    padding: 1.5rem 1rem 1.75rem;
  }

  .body-76 .section-100 .clone-this-part,
  .body-76 .section-100 .section_text-scroll {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }

  .body-76 .section-100 .padding-global {
    width: 100%;
    padding: 1.25rem 1.15rem 1.5rem;
  }

  .body-76 .section-100 .split-lines_large,
  .body-76 .section-100 .split-lines_large span {
    color: #26556a !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .body-76 .section-100 .split-lines_large {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .body-76 .section-103 .tabs-8 {
    padding: 1.25rem 1.15rem 1.35rem;
    overflow: visible;
  }
}

@media screen and (max-width: 767px) {
  .body-76 .bg-img---200-vh {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0 0 1.5rem;
    border-radius: 0 0 18px 18px;
    overflow: hidden;
  }

  .body-76 .bg-img---200-vh ._5-wrap {
    order: 1;
    flex: 0 0 auto;
    padding-left: 4%;
    padding-right: 4%;
  }

  .body-76 .bg-img---200-vh .hero-section {
    order: 2;
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    position: relative;
    z-index: 3;
  }

  .body-76 .bg-img---200-vh .spiral-border {
    order: 3;
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
    display: block;
    width: calc(100% - 8%);
    max-width: none;
    margin: 1.5rem auto 0 !important;
    padding: 10px;
    transform: none !important;
    perspective: none;
    transform-style: flat;
    backface-visibility: visible;
    opacity: 1;
    filter: none;
    box-shadow: 0 16px 36px rgba(4, 22, 30, 0.14);
  }

  .body-76 .bg-img---200-vh .spiral-border::before,
  .body-76 .bg-img---200-vh .spiral-border::after {
    display: none;
  }

  .body-76 .bg-img---200-vh .navbar-logo-left-container {
    padding-top: 8px;
  }

  .body-76 .bg-img---200-vh .navbar-wrapper {
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
  }

  .body-76 .bg-img---200-vh .navbar-brand {
    display: flex !important;
    max-width: min(150px, 46vw);
  }

  .body-76 .bg-img---200-vh .navbar-brand .image {
    max-width: min(150px, 46vw);
    max-height: 30px;
    padding-right: 0;
    margin-right: 0;
    border-right: none;
  }

  .body-76 .bg-img---200-vh .menu-button-58 {
    position: relative;
    z-index: 1;
    padding: 0;
  }

  .body-76 .bg-img---200-vh .nav-menu-wrapper {
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
    border-radius: 12px;
  }

  .body-76 .bg-img---200-vh .nav-menu-two {
    width: 100%;
    gap: 4px;
  }

  .body-76 .bg-img---200-vh .nav-menu-two .nav-link-2,
  .body-76 .bg-img---200-vh .nav-menu-two .text-block-148,
  .body-76 .bg-img---200-vh .nav-menu-two .dropdown-toggle-2 {
    width: 100%;
    justify-content: center;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 1rem;
  }

  .body-76 .bg-img---200-vh .button-67 {
    width: 100%;
    margin-top: 8px;
    text-align: center;
  }

  .body-76 .bg-img---200-vh .hero-section {
    min-height: 0;
  }

  .body-76 .hero-section .heading-div {
    height: auto;
    min-height: 0;
    margin-top: 0;
    padding: 1.25rem 4% 2rem;
    box-sizing: border-box;
  }

  .body-76 .hero-section .heading-div .saint-bird {
    width: clamp(52px, 16vw, 72px);
    margin-bottom: 0.75rem;
  }

  .body-76 .hero-section .heading-1033.size {
    margin: 0;
    font-size: clamp(2rem, 9.5vw, 2.65rem);
    line-height: 1.12;
    letter-spacing: 0.02em;
    text-wrap: balance;
  }

  .body-76 .hero-section .text-block-176 {
    margin: 0.85rem auto 0;
    padding: 0 0.25rem;
    max-width: 22rem;
    font-size: clamp(0.92rem, 3.6vw, 1rem);
    line-height: 1.45;
    text-wrap: balance;
  }

  .body-76 .hero-section .button-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: min(100%, 18.5rem);
    margin-top: 1.35rem;
  }

  .body-76 .hero-section .button-wrap .button-65.text-sizing,
  .body-76 .hero-section .button-wrap .button-66.text-sizing {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
  }

  .body-76 .hero-section .button-wrap .button-65.text-sizing:hover,
  .body-76 .hero-section .button-wrap .button-66.text-sizing:hover {
    transform: none;
  }

  .body-76 .section-100 {
    margin-top: 2rem;
    padding-left: 4%;
    padding-right: 4%;
  }

  .body-76 .section-100 .section_text-scroll {
    padding: 1.5rem 1rem 1.75rem;
    border-radius: 16px;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }

  .body-76 .section-100 .padding-global {
    width: 100%;
    padding: 1.25rem 1.15rem 1.5rem;
    box-sizing: border-box;
  }

  .body-76 .section-100 .heading_wrap {
    width: 100%;
    display: block;
  }

  .body-76 .section-100 .split-lines_large,
  .body-76 .section-100 .split-lines_large span {
    color: #26556a !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .body-76 .section-100 .split-lines_large {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    line-height: 1.45;
  }

  .body-76 .section-100 .div-block-791 {
    align-items: center;
    padding-left: 0;
    padding-bottom: 0;
    margin-top: 1.5rem;
  }

  .body-76 .section-100 .text-block-184 {
    text-align: center;
    width: 100%;
  }

  .body-76 .section-100 .image-569 {
    width: min(72px, 22vw);
    margin-bottom: 1rem;
  }

  .body-76 .section-100 .image-570 {
    width: min(140px, 42vw);
  }

  .body-76 .section-103 .tabs-8 {
    padding: 1.15rem 1rem 1.25rem;
    overflow: visible;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }

  .body-76 .section-103 .tabs-8::before,
  .body-76 .section-103 .tabs-8::after {
    display: none;
  }

  .body-76 .section-103 .tabs-menu-8 {
    margin-bottom: 1rem;
    gap: 8px;
  }

  .body-76 .section-103 .tab-link-3 {
    padding: 0.95rem 0.85rem;
    transform: none !important;
  }

  .body-76 .section-103 .tab-link-3:hover {
    transform: none !important;
  }

  .body-76 .section-103 .paragraph-246 {
    text-align: left;
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .body-76 .section-103 .w-tab-content {
    overflow: visible;
  }

  .body-76 .section-103 .div-block-775,
  .body-76 .section-103 .div-block-775.sg-sm-host {
    overflow: visible;
    padding: 0;
  }

  .body-76 .section-103 .sg-sm-mock {
    overflow: visible;
    margin: 0;
  }

  .body-76 .section-103 .sg-sm-live-bar,
  .body-76 .section-103 .sg-sm-panel {
    overflow: visible;
  }

  .body-76 .section-103 .sg-sm-panel__head {
    flex-wrap: wrap;
    gap: 8px;
  }

  .body-76 .section110.is--slider .slider-title2 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-left: 0;
    padding-right: 0;
  }

  .body-76 .section110.is--slider .slider-title2 .c-link {
    flex: 1 1 auto;
    min-width: 0;
  }

  .body-76 .section110.is--slider .arrow_contain {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .body-76 .div-block-437 {
    padding-top: 3rem;
    padding-bottom: 2.5rem;
    margin-bottom: 2rem;
  }

  .body-76 .div-block-437 .f-container-regular {
    width: 100%;
  }

  .body-76 .section-regular-17 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .body-76 .section-103 .tab-link-3 {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .body-76 .section-103 .div-block-775 {
    min-height: 0;
    height: auto;
  }

  .body-76 .section-104 .div-block-785 {
    margin-top: 0;
  }

  .body-76 .section-104 .text-field-14.split {
    width: 100%;
  }

  .body-76 .section-104 .div-block-784 {
    flex-direction: column;
    gap: 0.75rem;
  }

  .body-76 .section110.is--slider .slider-title2 {
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
    text-wrap: balance;
  }

  .body-76 .section110.is--slider .card2 .text-contain {
    padding: 1rem 0.85rem 0.9rem;
  }

  .body-76 .section-106 {
    padding-inline: 4%;
  }

  .body-76 .section-106 .div-block-788.change {
    padding: 2.25rem 1.25rem;
  }

  .body-76 .section-105 .div-block-689 {
    grid-template-columns: 1fr;
    grid-row-gap: 16px;
  }

  .body-76 .section-105 .div-block-690 {
    padding: 0.5rem 0;
  }

  .body-76 .footer .div-block-311 .footer-block.sg-footer-accordion:not(.is-open) > a {
    display: none;
  }

  .body-76 .footer .div-block-311 .footer-block.sg-footer-accordion.is-open > a {
    display: block;
  }

  .body-76 .footer .footer-title.sg-footer-accordion__title-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .body-76 .footer .sg-footer-accordion__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 0 0.35rem;
    padding: 0.85rem 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    color: #fff;
    font-family: Mulish, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
  }

  .body-76 .footer .sg-footer-accordion__trigger::after {
    content: '';
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-left: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }

  .body-76 .footer .footer-block.sg-footer-accordion.is-open .sg-footer-accordion__trigger::after {
    transform: rotate(-135deg) translateY(2px);
  }

  .body-76 .footer .sg-footer-accordion__trigger:focus-visible {
    outline: 2px solid rgba(97, 190, 193, 0.85);
    outline-offset: 2px;
  }

  .body-76 .footer .div-block-311 .footer-block.sg-footer-accordion {
    align-items: stretch;
    width: 100%;
    margin-bottom: 0;
    padding-bottom: 0.25rem;
  }

  .body-76 .footer .div-block-311 .footer-block.sg-footer-accordion.is-open {
    margin-bottom: 0.75rem;
  }

  .body-76 .footer .div-block-311 .footer-block.sg-footer-accordion.is-open > a {
    padding-left: 0.15rem;
    padding-right: 0.15rem;
  }
}

@media screen and (max-width: 479px) {
  .body-76 .hero-section .heading-1033.size {
    font-size: clamp(1.85rem, 10vw, 2.25rem);
  }

  .body-76 .section-103 .tabs-menu-8 {
    gap: 8px;
  }

  .body-76 .section-100 .split-lines_large {
    font-size: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .body-76 .hero-section .button-wrap .button-65.text-sizing:hover,
  .body-76 .hero-section .button-wrap .button-66.text-sizing:hover,
  .body-76 .section-104 .tab-design.w--current,
  .body-76 .footer .sg-footer-accordion__trigger::after {
    transform: none;
    transition: none;
  }

  .body-76 .footer .footer-block.sg-footer-accordion.is-open .sg-footer-accordion__trigger::after {
    transform: none;
  }
}

/* Desktop hero nav — keep links grouped on the right (override Webflow space-between) */
@media screen and (min-width: 992px) {
  .body-76 .bg-img---200-vh .navbar-wrapper {
    justify-content: flex-start !important;
  }

  .body-76 .bg-img---200-vh .nav-menu-wrapper.w-nav-menu {
    float: none !important;
    display: flex !important;
    flex: 1 1 auto;
    justify-content: flex-end;
    align-items: center;
    margin-left: auto;
    width: auto;
    max-width: none;
  }

  .body-76 .bg-img---200-vh .nav-menu-two {
    justify-content: flex-end !important;
    width: auto !important;
    max-width: none;
    flex: 0 0 auto;
    flex-wrap: nowrap;
  }

  .body-76 .bg-img---200-vh .nav-menu-two > li {
    flex: 0 0 auto;
    width: auto;
  }
}
