/*
 * Final responsive layer for the approved Home desktop design.
 * Desktop at 1200px and above is intentionally untouched.
 */

@media (max-width: 1199px) {
  html:has(.home-hero),
  body:has(.home-hero),
  body:has(.home-hero) .site-main {
    max-width: 100%;
    overflow-x: clip !important;
  }


  /* Header */
  body:has(.home-hero) .site-header--overlay {
    top: 0.75rem;
  }

  body:has(.home-hero) .site-header--overlay.is-scrolled {
    top: 0.25rem;
  }

  body:has(.home-hero) .site-header--overlay .site-header__inner {
    box-sizing: border-box;
    min-height: 4.85rem;
    padding-inline: clamp(1rem, 2.4vw, 1.75rem);
    width: min(calc(100vw - 2rem), 72rem);
  }

  body:has(.home-hero) .site-header--overlay .site-logo img {
    width: clamp(7.5rem, 12vw, 8.5rem);
  }

  body:has(.home-hero) .site-nav__links {
    gap: clamp(0.8rem, 1.6vw, 1.6rem);
    padding-inline: clamp(1rem, 2vw, 1.75rem);
    width: min(31rem, 47vw);
  }

  body:has(.home-hero) .site-nav__links .nav-link {
    font-size: clamp(0.88rem, 1.4vw, 1rem);
  }

  /* Hero */
  .home-hero {
    min-height: clamp(42rem, 72vw, 51rem);
  }

  .home-hero__title {
    font-size: clamp(2.7rem, 5.25vw, 4.25rem);
  }

  .home-hero__title-line {
    max-width: calc(100vw - 3rem);
  }

  .home-hero__title-line--top {
    top: 23%;
  }

  .home-hero__title-line--middle {
    top: 48%;
  }

  .home-hero__title-line--bottom {
    top: 58%;
  }

  .home-hero__cta {
    inset-block-start: 71%;
  }

  .home-hero__compass-window,
  .home-hero__compass {
    width: clamp(22rem, 48vw, 34rem);
  }

  .home-hero__compass-window {
    height: clamp(11rem, 24vw, 17rem);
  }

  /* Partners */
  .partner-carousel-section__inner {
    width: min(100% - 2rem, 64rem);
  }

  .partner-carousel-section__title {
    font-size: clamp(2rem, 4.2vw, 2.75rem);
    line-height: 1.1;
  }

  /* About */
  .home-about {
    padding-block: clamp(4rem, 7vw, 5.5rem);
  }

  .home-about__inner {
    max-width: 67rem;
  }

  .home-about__layout {
    gap: clamp(2rem, 4vw, 3.5rem);
    grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  }

  .home-about__content {
    justify-self: stretch;
    max-width: none;
  }

  .home-about__button {
    margin-top: auto;
  }

  /* Services + ribbon + Suez: dedicated responsive composition */
  .home-services {
    background: #106f59 !important;
    min-height: auto !important;
    overflow: hidden !important;
    padding: clamp(5rem, 8vw, 6.5rem) 1rem clamp(8rem, 14vw, 10rem) !important;
  }

  .home-services::before,
  .home-services::after {
    content: none !important;
    display: none !important;
  }

  .home-services__inner,
  .home-services__background {
    transform: none !important;
  }

  .home-services__background {
    height: 100% !important;
    inset: 0 !important;
    object-fit: cover !important;
    object-position: center top !important;
    opacity: 1 !important;
    width: 100% !important;
  }

  .home-services__title {
    font-size: clamp(1.45rem, 3vw, 2rem);
    max-width: 52rem;
  }

  .home-services__title-main {
    white-space: normal !important;
  }

  .home-services__cards {
    gap: 0.85rem;
    grid-template-areas:
      'one two'
      'one four'
      'three three'
      'button button';
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 13rem 12rem 15rem auto;
    margin-top: clamp(2rem, 4vw, 2.75rem);
    max-width: 52rem;
  }

  .service-card {
    min-height: 0;
    padding: 1.1rem;
  }

  .service-card h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  }

  .service-card p {
    font-size: clamp(0.82rem, 1.65vw, 0.98rem);
    max-width: 90%;
  }

  .service-card--calculator {
    height: 100%;
  }

  .service-card--calculator .service-card__image {
    width: min(52%, 24rem);
  }

  .home-services__all-button-wrap {
    grid-area: button;
    position: static !important;
    width: 100% !important;
  }

  .home-services .home-experience-ribbon {
    bottom: -3.7rem !important;
    height: 8.5rem !important;
    inset-inline: 0 !important;
    overflow: visible !important;
    translate: 0 0 !important;
    width: 100% !important;
    z-index: 20 !important;
  }

  .home-services .home-experience-ribbon .curve-ribbon__image {
    height: auto !important;
    left: -12vw !important;
    max-width: none !important;
    position: absolute !important;
    top: 0 !important;
    transform: none !important;
    width: 124vw !important;
  }

  .home-page .home-suez {
    height: auto !important;
    margin-top: 0 !important;
    min-height: clamp(35rem, 58vw, 44rem) !important;
    overflow: hidden !important;
  }

  .home-suez__background {
    height: 100% !important;
    inset: 0 !important;
    object-fit: cover !important;
    object-position: center top !important;
    top: 0 !important;
    width: 100% !important;
  }

  .home-suez__inner {
    min-height: inherit !important;
    padding: 0 1.25rem !important;
  }

  .home-page .home-suez__title,
  .home-page .home-suez.is-visible .home-suez__title {
    font-size: clamp(1.7rem, 3.6vw, 2.5rem) !important;
    left: 50% !important;
    line-height: 1.08 !important;
    max-width: calc(100% - 2rem) !important;
    position: absolute !important;
    top: clamp(5.5rem, 11vw, 8rem) !important;
    transform: translateX(-50%) !important;
    width: max-content !important;
    z-index: 50 !important;
  }

  .home-suez__play {
    height: clamp(4rem, 7vw, 5rem) !important;
    top: 55% !important;
    width: clamp(4rem, 7vw, 5rem) !important;
  }

  /* Certifications */
  .home-certifications {
    padding-block: clamp(3rem, 6vw, 4rem);
  }

  .home-certifications__inner {
    width: min(100% - 2rem, 68rem);
  }

  .home-certifications__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
  }

  /* Why Us */
  .home-why-us {
    margin-inline: 0 !important;
    min-height: 43rem !important;
    width: 100% !important;
  }

  .home-why-us__inner {
    min-height: 43rem !important;
    padding: clamp(4.5rem, 7vw, 5.5rem) 1rem 4rem !important;
  }

  .home-why-us__title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    max-width: 44rem;
  }

  .home-page .home-why-us__cards {
    bottom: 3.5rem !important;
    height: 15rem !important;
    left: 50% !important;
    margin: 0 !important;
    max-width: 58rem !important;
    min-height: 15rem !important;
    position: absolute !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 2rem) !important;
  }

  .home-why-us__card {
    height: 13.75rem !important;
    min-height: 13.75rem !important;
    padding: 2.85rem 1.25rem 1.35rem !important;
    width: min(20rem, 34vw) !important;
  }

  .home-why-us__card--center {
    left: 50% !important;
    width: min(23rem, 39vw) !important;
  }

  .home-why-us__card--left {
    left: 15% !important;
  }

  .home-why-us__card--right {
    left: 85% !important;
  }

  .home-why-us__card h3 {
    font-size: clamp(1.12rem, 2vw, 1.45rem) !important;
  }

  .home-why-us__card p {
    font-size: clamp(0.76rem, 1.35vw, 0.9rem) !important;
  }

  /* Ports */
  .home-ports {
    height: auto !important;
    margin-inline: 0 !important;
    min-height: clamp(32rem, 58vw, 40rem) !important;
    width: 100% !important;
  }

  .home-ports__inner {
    max-width: none !important;
    width: 100% !important;
  }

  .home-ports__glass {
    left: clamp(1.5rem, 4vw, 3rem) !important;
    top: 55% !important;
    width: clamp(20rem, 40vw, 27rem) !important;
  }

  /* Blogs */
  .home-blogs {
    min-height: 0;
  }

  .home-blogs__inner {
    max-width: 68rem;
    padding-block: clamp(5rem, 8vw, 7rem);
  }

  .home-blogs__layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .home-blog-card--featured {
    height: 31rem;
  }

  .home-blog-card--small {
    min-height: 15rem;
  }

  /* Footer */
  body:has(.home-hero) .site-footer__grid {
    max-width: 61rem;
  }
}

@media (max-width: 1023px) {
  /* Header switches to the compact menu */
  body:has(.home-hero) .site-header--overlay .site-header__inner {
    min-height: 4.5rem;
    width: calc(100vw - 1.5rem);
  }

  body:has(.home-hero) .site-header--overlay .site-logo img {
    width: 7.5rem;
  }

  body:has(.home-hero) .mobile-menu-toggle {
    border-radius: 50%;
    height: 2.65rem;
    width: 2.65rem;
  }

  body:has(.home-hero) .mobile-menu {
    border: 1px solid rgb(255 255 255 / 0.12);
    border-radius: 1.25rem;
    inset-inline: 0.75rem;
    padding: 1rem;
    top: calc(100% + 0.5rem);
  }

  /* Hero */
  .home-hero {
    height: auto !important;
    max-height: none !important;
    min-height: clamp(43rem, 92vw, 50rem) !important;
  }

  .home-hero__image {
    object-position: 52% top;
  }

  .home-hero__title {
    font-size: clamp(2.35rem, 6.8vw, 3.55rem);
  }

  .home-hero__title-line--top {
    top: 21.5% !important;
  }

  .home-hero__title-line--middle {
    top: 49% !important;
  }

  .home-hero__title-line--bottom {
    top: 60% !important;
  }

  .home-hero__cta {
    inset-block-start: 73% !important;
  }

  /* About stacks cleanly */
  .home-about__inner {
    width: min(100% - 2rem, 48rem);
  }

  .home-about__layout {
    grid-template-columns: 1fr;
  }

  .home-about__content {
    gap: 0.9rem;
    order: 1;
  }

  .about-image-grid {
    margin-inline: auto;
    max-width: 42rem;
    order: 2;
  }

  .home-about__button {
    margin-top: 1rem;
  }

  /* Services */
  .home-services__cards {
    max-width: 46rem;
  }

  /* Why Us peeking-card carousel */
  .home-why-us {
    min-height: 39rem !important;
  }

  .home-why-us__inner {
    min-height: 39rem !important;
  }

  .home-page .home-why-us__cards {
    bottom: 2.5rem !important;
    max-width: 47rem !important;
  }

  .home-why-us__card {
    width: 18rem !important;
  }

  .home-why-us__card--center {
    width: 22rem !important;
  }

  .home-why-us__card--left {
    left: 8% !important;
  }

  .home-why-us__card--right {
    left: 92% !important;
  }

  /* Blogs become a vertical lead plus grid */
  .home-blogs__layout {
    grid-template-columns: 1fr;
  }

  .home-blog-card--featured {
    height: auto;
    min-height: 0;
  }

  .home-blog-card--featured .home-blog-card__image {
    aspect-ratio: 16 / 8;
  }

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

@media (max-width: 767px) {
  /* Header */
  body:has(.home-hero) .site-header--overlay {
    top: 0.55rem;
  }

  body:has(.home-hero) .site-header--overlay .site-header__inner {
    min-height: 4.1rem;
    padding-inline: 0.9rem;
    width: calc(100vw - 1rem);
  }

  body:has(.home-hero) .site-header--overlay .site-logo img {
    width: 6.9rem;
  }

  body:has(.home-hero) .mobile-menu-toggle {
    height: 2.5rem;
    width: 2.5rem;
  }

  /* Hero */
  .home-hero {
    min-height: clamp(41rem, 178vw, 47rem) !important;
  }

  .home-hero__image {
    object-position: 51% top !important;
  }

  .home-hero__title {
    font-size: clamp(1.8rem, 8.2vw, 2.45rem) !important;
    line-height: 1.02;
  }

  .home-hero__title-line {
    left: 50% !important;
    max-width: calc(100vw - 1.5rem) !important;
    white-space: normal !important;
    width: 100% !important;
  }

  .home-hero__title-line--top {
    top: 20% !important;
  }

  .home-hero__title-line--middle {
    top: 49.5% !important;
  }

  .home-hero__title-line--bottom {
    top: 61.5% !important;
  }

  .home-hero__title small {
    font-size: 0.82rem;
  }

  .home-hero__cta {
    font-size: 0.9rem;
    inset-block-start: 74.5% !important;
    max-width: calc(100vw - 2rem);
    min-height: 2.75rem;
    width: 17rem;
  }

  .home-hero__compass-window,
  .home-hero__compass {
    width: min(112vw, 27rem) !important;
  }

  .home-hero__compass-window {
    height: 13rem !important;
  }

  /* Partners */
  .partner-carousel-section {
    padding-block: 2rem 2.35rem;
  }

  .partner-carousel-section__inner {
    width: calc(100% - 1.5rem);
  }

  .partner-carousel-section__title {
    font-size: clamp(1.65rem, 7vw, 2.1rem);
    max-width: 19rem;
  }

  /* About */
  .home-about {
    padding-block: 3.75rem 4.25rem;
  }

  .home-about__inner {
    width: calc(100% - 1.5rem);
  }

  .home-about__title {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
    max-width: 22rem;
  }

  .home-about__layout {
    gap: 2.25rem;
    margin-top: 2rem;
  }

  .home-about__content p {
    font-size: 0.96rem;
    line-height: 1.5;
  }

  .about-image-grid {
    aspect-ratio: 1 / 1.05;
    min-height: 18rem;
  }

  /* Services one column */
  .home-services {
    padding: 4.75rem 0.75rem 7.5rem !important;
  }

  .home-services__title {
    font-size: clamp(1.3rem, 6.2vw, 1.75rem);
    max-width: 24rem;
  }

  .home-services__cards {
    display: grid !important;
    gap: 0.9rem !important;
    grid-template-areas:
      'one'
      'two'
      'four'
      'three'
      'button' !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: none !important;
    margin: 2rem auto 0 !important;
    max-width: 25rem !important;
    padding: 0 !important;
  }

  .service-card,
  .service-card--large,
  .service-card--small,
  .service-card--calculator {
    height: 14.5rem !important;
    min-height: 14.5rem !important;
  }

  .service-card p {
    max-width: 70%;
  }

  .service-card--ship .service-card__image {
    right: -1rem;
    width: 88%;
  }

  .service-card--boxes .service-card__image {
    width: 54%;
  }

  .service-card--calculator .service-card__image {
    right: -2rem;
    width: 68%;
  }

  .service-card--cash .service-card__image {
    width: 57%;
  }

  .home-services .home-experience-ribbon {
    bottom: -3.25rem !important;
    height: 7.25rem !important;
  }

  .home-services .home-experience-ribbon .curve-ribbon__image {
    left: -42vw !important;
    width: 184vw !important;
  }

  .home-page .home-suez {
    min-height: clamp(31rem, 125vw, 36rem) !important;
  }

  .home-suez__background {
    object-position: 50% top !important;
  }

  .home-page .home-suez__title,
  .home-page .home-suez.is-visible .home-suez__title {
    font-size: clamp(1.45rem, 6.6vw, 2rem) !important;
    top: 4.75rem !important;
    width: calc(100% - 2rem) !important;
  }

  .home-suez__play {
    top: 56% !important;
  }

  .home-suez::after {
    height: 8rem;
  }

  /* Certifications */
  .home-certifications__heading {
    margin-bottom: 1.5rem;
  }

  .home-certifications__title {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }

  .home-certifications__accent {
    max-width: 13rem !important;
    transform: translate(1rem, -0.35rem) !important;
  }

  /* Why Us: one active card, swipe/click stays functional */
  .home-why-us {
    min-height: 34rem !important;
  }

  .home-why-us__inner {
    min-height: 34rem !important;
    padding: 3.75rem 0.75rem 3rem !important;
  }

  .home-why-us__title {
    font-size: clamp(1.75rem, 8vw, 2.3rem) !important;
    max-width: 22rem !important;
  }

  .home-page.home-motion-enabled .home-why-us__cards[data-home-reveal-item],
  .home-page .home-why-us__cards {
    bottom: 2.5rem !important;
    display: block !important;
    height: 14.5rem !important;
    left: 50% !important;
    margin: 0 !important;
    max-width: 24rem !important;
    min-height: 14.5rem !important;
    opacity: 1 !important;
    position: absolute !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 1.5rem) !important;
  }

  .home-why-us__card,
  .home-why-us__card--left,
  .home-why-us__card--center,
  .home-why-us__card--right,
  .home-why-us__card--hidden,
  .home-why-us__card--side {
    box-sizing: border-box !important;
    height: 13.5rem !important;
    left: 50% !important;
    margin: 0 !important;
    max-width: 23rem !important;
    min-height: 13.5rem !important;
    padding: 2.85rem 1.25rem 1.25rem !important;
    position: absolute !important;
    top: 0 !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 0.5rem) !important;
  }

  .home-why-us__card--center {
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 5 !important;
  }

  .home-why-us__card--left,
  .home-why-us__card--right,
  .home-why-us__card--hidden,
  .home-why-us__card--side:not(.home-why-us__card--center) {
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: 1 !important;
  }

  .home-why-us__card h3 {
    font-size: 1.25rem !important;
  }

  .home-why-us__card p {
    font-size: 0.82rem !important;
    line-height: 1.35 !important;
  }

  /* Ports */
  .home-ports {
    min-height: 29rem !important;
  }

  .home-ports__image {
    object-position: 54% center !important;
  }

  .home-ports__divider {
    top: 0.85rem !important;
    width: calc(100% - 2rem) !important;
  }

  .home-ports__glass {
    bottom: 1.5rem !important;
    left: 50% !important;
    min-height: 0 !important;
    padding: 1.2rem 1.25rem !important;
    top: auto !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 1.5rem) !important;
  }

  .home-ports__title {
    font-size: clamp(1.9rem, 9.5vw, 2.65rem) !important;
  }

  /* Blogs */
  .home-blogs__inner {
    padding-block: 4.5rem;
    width: calc(100% - 1.5rem);
  }

  .home-blogs__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.25rem;
  }

  .home-blogs__title {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .home-blogs__subtitle {
    font-size: 1rem;
  }

  .home-blogs__all-link {
    min-height: 2.75rem;
    padding-inline: 1.5rem;
  }

  .home-blogs__layout,
  .home-blogs__grid {
    grid-template-columns: 1fr;
  }

  .home-blog-card--featured,
  .home-blog-card--small {
    height: auto !important;
    min-height: 0 !important;
  }

  .home-blog-card--featured .home-blog-card__content {
    padding: 1rem 1.1rem 1.25rem;
  }

  .home-blog-card--small .home-blog-card__content {
    padding: 0.85rem 0.9rem 1rem;
  }

  .home-blog-card--small h3 {
    font-size: 1.05rem;
  }

  /* Footer */
  body:has(.home-hero) .site-footer__headline-wrap {
    min-height: 6rem;
  }

  body:has(.home-hero) .site-footer__headline {
    font-size: clamp(1.8rem, 9vw, 2.65rem);
    max-width: 24rem;
  }

  body:has(.home-hero) .site-footer__brand-column,
  body:has(.home-hero) .site-footer__information-column {
    padding: 2rem 1rem;
  }
}

@media (max-width: 479px) {
  .home-hero {
    min-height: 40.5rem !important;
  }

  .home-hero__title {
    font-size: clamp(1.65rem, 8.6vw, 2.05rem) !important;
  }

  .home-hero__title-line--top {
    top: 19.5% !important;
  }

  .home-hero__title-line--middle {
    top: 49% !important;
  }

  .home-hero__title-line--bottom {
    top: 61% !important;
  }

  .home-hero__cta {
    inset-block-start: 75% !important;
    width: calc(100vw - 2.5rem);
  }

  .home-about__content p {
    font-size: 0.92rem;
  }

  .about-image-grid {
    min-height: 16rem;
  }

  .service-card,
  .service-card--large,
  .service-card--small,
  .service-card--calculator {
    height: 13.5rem !important;
    min-height: 13.5rem !important;
  }

  .service-card p {
    font-size: 0.8rem;
    max-width: 76%;
  }

  .home-page .home-suez {
    min-height: 30rem !important;
  }

  .home-page .home-suez__title,
  .home-page .home-suez.is-visible .home-suez__title {
    font-size: 1.4rem !important;
    top: 4.5rem !important;
  }

  .home-why-us {
    min-height: 33rem !important;
  }

  .home-why-us__inner {
    min-height: 33rem !important;
  }

  .home-why-us__card,
  .home-why-us__card--center {
    min-height: 13.75rem !important;
  }

  .home-why-us__card p {
    font-size: 0.78rem !important;
  }

  .home-ports {
    min-height: 27rem !important;
  }

  .home-ports__title {
    font-size: clamp(1.75rem, 10vw, 2.25rem) !important;
  }

  .home-ports__title-line {
    white-space: normal;
  }

  body:has(.home-hero) .site-footer__contact-block > a,
  body:has(.home-hero) .site-footer__office > a,
  body:has(.home-hero) .site-footer address {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 1199px) {
  .home-page .home-why-us__cards,
  .home-page .home-why-us__card {
    scroll-behavior: auto;
    transition: none !important;
  }
}

/* =========================================================
   SERVICES + RIBBON + SUEZ — RESPONSIVE V4

   1600px and above: untouched approved desktop.
   1200px–1599px: uses the approved SCSS desktop composition.
   Below 1200px: dedicated tablet/mobile composition.

   The original curve-ribbon.svg remains the only ribbon asset.
   ========================================================= */

@media (max-width: 1199px) {
  .home-page .home-services {
    background: #106f59 !important;
    height: auto !important;
    isolation: isolate !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: clamp(4.5rem, 7vw, 5.75rem) 1rem clamp(3.5rem, 5vw, 4.5rem) !important;
    position: relative !important;
    z-index: 2 !important;
  }

  .home-page .home-services::before,
  .home-page .home-services::after {
    background: none !important;
    content: none !important;
    display: none !important;
  }

  .home-page .home-services__background {
    filter: none !important;
    height: 100% !important;
    inset: 0 !important;
    max-width: none !important;
    mix-blend-mode: normal !important;
    object-fit: cover !important;
    object-position: center top !important;
    opacity: 1 !important;
    transform: none !important;
    width: 100% !important;
    z-index: 0 !important;
  }

  .home-page .home-services__inner {
    padding-inline: 0 !important;
    position: relative !important;
    transform: none !important;
    z-index: 3 !important;
  }

  .home-page .home-services__title {
    font-size: clamp(1.5rem, 3.1vw, 2rem) !important;
    line-height: 1.1 !important;
    max-width: 48rem !important;
    padding-inline: 0.5rem !important;
  }

  .home-page .home-services__title-main {
    white-space: normal !important;
  }

  .home-page .home-services__cards {
    display: grid !important;
    gap: 1rem !important;
    grid-template-areas:
      'one two'
      'four three'
      'button button' !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    margin: 2rem auto 0 !important;
    max-width: 58rem !important;
    padding: 0 !important;
    position: relative !important;
    width: 100% !important;
  }

  .home-page .service-card,
  .home-page .service-card--large,
  .home-page .service-card--small,
  .home-page .service-card--calculator {
    align-self: stretch !important;
    height: auto !important;
    min-height: clamp(14rem, 22vw, 17rem) !important;
    width: 100% !important;
  }

  .home-page .service-card {
    padding: 1.1rem !important;
  }

  .home-page .service-card h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.65rem) !important;
  }

  .home-page .service-card p {
    font-size: clamp(0.82rem, 1.65vw, 0.95rem) !important;
    line-height: 1.28 !important;
    max-width: 76% !important;
  }

  .home-page .service-card--ship .service-card__image {
    bottom: -0.5rem !important;
    right: -1.5rem !important;
    width: 94% !important;
  }

  .home-page .service-card--boxes .service-card__image {
    bottom: -0.25rem !important;
    right: -1rem !important;
    width: 56% !important;
  }

  .home-page .service-card--calculator .service-card__image {
    bottom: -0.75rem !important;
    right: -2rem !important;
    width: 72% !important;
  }

  .home-page .service-card--cash .service-card__image {
    bottom: -0.45rem !important;
    right: -0.75rem !important;
    width: 56% !important;
  }

  .home-page .home-services__all-button-wrap {
    bottom: auto !important;
    grid-area: button !important;
    position: static !important;
    right: auto !important;
    width: 100% !important;
  }

  .home-page .home-services__all-button {
    min-height: 3.25rem !important;
  }

  /*
   * The original desktop SVG is stretched only inside this clipped viewport.
   * This keeps the strip full-width and avoids the tiny replacement asset.
   */
  .home-page .home-services .home-experience-ribbon {
    background: none !important;
    bottom: clamp(-6.25rem, -8vw, -4.75rem) !important;
    display: block !important;
    height: clamp(12.5rem, 21vw, 15.5rem) !important;
    inset-inline: auto !important;
    left: 50% !important;
    margin: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
    right: auto !important;
    top: auto !important;
    transform: translateX(-50%) !important;
    translate: none !important;
    width: 100vw !important;
    z-index: 40 !important;
  }

  .home-page .home-services .home-experience-ribbon .curve-ribbon__image {
    display: block !important;
    height: 100% !important;
    left: 50% !important;
    max-width: none !important;
    object-fit: fill !important;
    object-position: center !important;
    position: absolute !important;
    top: 0 !important;
    transform: translateX(-50%) !important;
    width: 138vw !important;
  }

  .home-page .home-suez {
    background: #106f59 !important;
    height: auto !important;
    margin-top: 0 !important;
    min-height: clamp(34rem, 64vw, 42rem) !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 1 !important;
  }

  .home-page .home-suez__background {
    filter: none !important;
    height: 100% !important;
    inset: 0 !important;
    left: 0 !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center top !important;
    opacity: 1 !important;
    position: absolute !important;
    top: 0 !important;
    transform: none !important;
    transform-origin: center top !important;
    width: 100% !important;
    z-index: 0 !important;
  }

  .home-page .home-suez.is-visible .home-suez__background,
  .home-page .home-suez.is-visible.is-zoomed .home-suez__background,
  .home-page .home-suez.is-zoomed .home-suez__background {
    transform: none !important;
  }

  .home-page .home-suez__inner {
    height: 100% !important;
    min-height: inherit !important;
    opacity: 1 !important;
    padding: 0 1rem !important;
    position: relative !important;
    visibility: visible !important;
    z-index: 3 !important;
  }

  .home-page .home-suez__title,
  .home-page .home-suez.is-visible .home-suez__title,
  .home-page .home-suez.is-zoomed .home-suez__title {
    display: block !important;
    font-size: clamp(1.7rem, 3.6vw, 2.35rem) !important;
    left: 50% !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    max-width: 42rem !important;
    opacity: 1 !important;
    position: absolute !important;
    text-align: center !important;
    top: clamp(5.75rem, 10vw, 7.5rem) !important;
    transform: translateX(-50%) !important;
    visibility: visible !important;
    width: calc(100% - 2rem) !important;
    z-index: 30 !important;
  }

  .home-page .home-suez__play {
    height: clamp(4rem, 7vw, 5rem) !important;
    left: 50% !important;
    position: absolute !important;
    top: 60% !important;
    transform: translate(-50%, -50%) !important;
    width: clamp(4rem, 7vw, 5rem) !important;
    z-index: 25 !important;
  }
}

@media (max-width: 767px) {
  .home-page .home-services {
    padding: 3.75rem 0.75rem 3.25rem !important;
  }

  .home-page .home-services__background {
    height: 20rem !important;
    inset: 0 0 auto !important;
  }

  .home-page .home-services__title {
    font-size: clamp(1.35rem, 6.2vw, 1.75rem) !important;
    max-width: 24rem !important;
  }

  .home-page .home-services__cards {
    gap: 0.9rem !important;
    grid-template-areas:
      'one'
      'two'
      'four'
      'three'
      'button' !important;
    grid-template-columns: minmax(0, 1fr) !important;
    margin-top: 1.75rem !important;
    max-width: 25rem !important;
  }

  .home-page .service-card,
  .home-page .service-card--large,
  .home-page .service-card--small,
  .home-page .service-card--calculator {
    min-height: 13.5rem !important;
  }

  .home-page .service-card {
    padding: 1rem !important;
  }

  .home-page .service-card h3 {
    font-size: clamp(1.25rem, 5.8vw, 1.55rem) !important;
  }

  .home-page .service-card p {
    font-size: clamp(0.8rem, 3.5vw, 0.9rem) !important;
    line-height: 1.28 !important;
    max-width: 68% !important;
  }

  .home-page .service-card--ship .service-card__image {
    width: 88% !important;
  }

  .home-page .service-card--boxes .service-card__image {
    width: 52% !important;
  }

  .home-page .service-card--calculator .service-card__image {
    right: -1.4rem !important;
    width: 66% !important;
  }

  .home-page .service-card--cash .service-card__image {
    width: 52% !important;
  }

  .home-page .home-services .home-experience-ribbon {
    bottom: clamp(-4.25rem, -11vw, -3.2rem) !important;
    height: clamp(8.5rem, 31vw, 11rem) !important;
  }

  .home-page .home-services .home-experience-ribbon .curve-ribbon__image {
    width: 175vw !important;
  }

  .home-page .home-suez {
    min-height: clamp(31rem, 135vw, 38rem) !important;
  }

  .home-page .home-suez__title,
  .home-page .home-suez.is-visible .home-suez__title,
  .home-page .home-suez.is-zoomed .home-suez__title {
    font-size: clamp(1.3rem, 6vw, 1.75rem) !important;
    line-height: 1.12 !important;
    max-width: 23rem !important;
    top: clamp(4.75rem, 16vw, 6.25rem) !important;
  }

  .home-page .home-suez__play {
    height: 3.5rem !important;
    top: 62% !important;
    width: 3.5rem !important;
  }
}

@media (max-width: 479px) {
  .home-page .home-services {
    padding-inline: 0.65rem !important;
    padding-top: 3.25rem !important;
  }

  .home-page .home-services__cards {
    max-width: min(23rem, calc(100vw - 1.3rem)) !important;
  }

  .home-page .service-card,
  .home-page .service-card--large,
  .home-page .service-card--small,
  .home-page .service-card--calculator {
    min-height: 12.75rem !important;
  }

  .home-page .service-card p {
    max-width: 64% !important;
  }

  .home-page .home-services .home-experience-ribbon {
    bottom: -3rem !important;
    height: clamp(7.5rem, 34vw, 9rem) !important;
  }

  .home-page .home-services .home-experience-ribbon .curve-ribbon__image {
    width: 190vw !important;
  }

  .home-page .home-suez {
    min-height: clamp(30rem, 145vw, 35rem) !important;
  }

  .home-page .home-suez__title,
  .home-page .home-suez.is-visible .home-suez__title,
  .home-page .home-suez.is-zoomed .home-suez__title {
    font-size: clamp(1.2rem, 6.4vw, 1.5rem) !important;
    top: 4.75rem !important;
  }
}

@media (max-width: 359px) {
  .home-page .home-services {
    padding-inline: 0.5rem !important;
  }

  .home-page .home-services__cards {
    max-width: calc(100vw - 1rem) !important;
  }

  .home-page .service-card h3 {
    font-size: 1.15rem !important;
  }

  .home-page .service-card p {
    font-size: 0.76rem !important;
    max-width: 58% !important;
  }

  .home-page .service-card--calculator .service-card__image {
    width: 58% !important;
  }

  .home-page .home-services .home-experience-ribbon .curve-ribbon__image {
    width: 205vw !important;
  }

  .home-page .home-suez__title,
  .home-page .home-suez.is-visible .home-suez__title,
  .home-page .home-suez.is-zoomed .home-suez__title {
    font-size: 1.1rem !important;
    top: 4.25rem !important;
  }
}

