/* ==========================================================================
   nonchtech - Custom Enhancements, Modern Overrides & Animations
   ========================================================================== */

/* Google Font Definition & Defaults */
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');

html, body {
  font-family: 'Red Hat Display', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  scroll-behavior: smooth;
}

/* Tab Switching Logic */
.w-tab-pane {
  display: none !important;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.w-tab-pane.w--tab-active {
  display: block !important;
  opacity: 1;
}

.challenges-tabs__tab, .process-tabs__tab {
  cursor: pointer;
}

/* Mobile Nav Drawer Enhancements */
@media screen and (max-width: 991px) {
  .dev-nav__center.w-nav-menu {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  }
  .dev-nav__center.w-nav-menu.w--open {
    display: block !important;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    overflow-y: auto;
    background: #0d1517;
    padding: 24px 20px 60px;
    z-index: 999;
  }
}

/* Video Modal Styling */
.n23-video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 8, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.n23-video-modal.is-active {
  display: flex;
  opacity: 1;
}
.n23-video-modal__content {
  position: relative;
  width: 90%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.n23-video-modal__iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.n23-video-modal__close {
  position: absolute;
  top: -48px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-size: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.n23-video-modal__close:hover {
  background: #df5ca3;
  transform: scale(1.08);
}

/* Toast & Feedback Notifications */
.n23-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #200b57;
  color: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  border-left: 4px solid #df5ca3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 999999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.n23-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Interactive Cursor / Hover Polish */
.podcast, .challenge-card, .home-hero-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.podcast:hover {
  transform: translateY(-4px);
}

/* Custom brand logo */
.dev-nav__cont {
  min-height: 76px !important;
  align-items: center !important;
}

.dev-nav__left,
.dev-nav__center,
.dev-nav__right,
.dev-nav__brand,
.dev-nav-link,
.dev-nav-link-wrap {
  align-items: center !important;
}

.dev-nav__left,
.dev-nav__right,
.dev-nav__brand {
  display: flex !important;
}

@media screen and (min-width: 992px) {
  .dev-nav__center {
    transform: translateY(4px);
  }
}

.dev-nav__brand > img {
  width: auto !important;
  height: 44px !important;
  max-width: none !important;
  object-fit: contain;
}

.dev-nav__right .primary-btn {
  display: flex !important;
  align-items: center !important;
}

.dev-nav__logo-text,
.footer-logo__text {
  display: none !important;
}

.footer-logo__img {
  width: 168px !important;
  height: auto !important;
  max-width: none !important;
  object-fit: contain;
}

.footer-logo {
  width: auto !important;
}


/* ============================== */
/* SECTION / COMPONENT STYLE #0 */
/* ============================== */
@media (min-width:992px) {html.w-mod-js:not(.w-mod-ix) [data-w-id="caa72fe3-b4e2-d898-4809-b4ab440ea6cf"] {opacity:0;}}

/* ============================== */
/* SECTION / COMPONENT STYLE #1 */
/* ============================== */
@media (min-width: 992px) {
    .rolling-btn__text-rolling {
      transition: transform 0.3s ease;
    }
    .rolling-btn__left {
      transition: width 0.3s ease;
    }
    .rolling-btn__text {
      transition: color 0.3s ease;
    }
    .rolling-btn__arr-rolling {
      transition: transform 0.3s ease;
    }
    .rolling-btn__arr-outer {
      transition: border-radius 0.3s ease;
    }
    .rolling-btn:hover .rolling-btn__text-rolling {
      transform: translateY(-24px);
    }
    .rolling-btn:hover .rolling-btn__left {
      width: 100%;
    }
    .rolling-btn:hover .rolling-btn__text {
      color: var(--surface--pink);
    }
    .rolling-btn:hover .rolling-btn__arr-rolling {
      transform: translateX(20px);
    }
    .rolling-btn:hover .rolling-btn__arr-outer {
      border-radius: 100px;
    }

    .primary-btn:hover {
      background-color: var(--surface--pink);
      color: var(--text--primary-inv);
      border-color: var(--surface--pink);
    }

    .primary-btn.primary-btn--pink:hover {
      background-color: var(--white--white-100);
      color: var(--text--primary);
    }

    .primary-btn:hover .primary-btn__text-rolling {
      top: -24px;
    }

    .blog-card:hover .blog-card__img .cover-img {
      transform: scale(1.1);
    }
    .blog-card .blog-card__img .cover-img {
      transition: transform 300ms ease;
    }
  }

  /* Remove redundant spacing at the end of rich-text */
  .w-richtext > *:last-child,
  .w-richtext ul li:last-child,
  .w-richtext ol li:last-child {
    margin-bottom: 0 !important;
  }
  .w-richtext > :first-child {
    margin-top: 0 !important;
  }

/* ============================== */
/* SECTION / COMPONENT STYLE #2 */
/* ============================== */
/* General Input Styling */
  textarea,
  input.text,
  input[type='text'],
  input[type='button'],
  input[type='submit'],
  input[type='search'] {
    -webkit-appearance: none;
  }

  /* Smoother Text */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  /* Get rid of textarea resizer */
  textarea {
    resize: none;
  }

  /* Slider Dots */
  .w-slider-dot {
    background: rgba(255, 255, 255, 0.4);
    width: 20px;
    height: 5px;
  }

  .w-slider-dot.w-active {
    background: white;
    width: 20px;
    height: 5px;
  }

  .w-slider-nav-invert > div {
    background: #c5b9e4;
  }

  .w-slider-nav-invert > div.w-active {
    background: #c858b2;
    width: 20px;
    height: 5px;
  }

  /* Apply ellipsis after 3 lines of text */
  .card-text-sm,
  .blog-card__text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  /*Apply "..." after 5 lines of text */
  .cs-slider-text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
  }

  .au-ar-title-sm.is--new {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  /* Hide scrollbars for IE, Edge, and Firefox */
  .nav-slide-tracker,
  .p-tabs-menu {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }

  .nav-slide-tracker::-webkit-scrollbar,
  .p-tabs-menu::-webkit-scrollbar {
    display: none;
  }

  @media (max-width: 768px) {
    .nav-slide-tracker {
      scroll-snap-type: x mandatory;
    }

    .fs-sliderdots_content.fs-sliderdots_active {
      scroll-snap-align: center;
    }
  }

  /* Hide last comma in portfolio cards */
  .p-col-cat-it:last-child .p-col-cat-divider {
    display: none;
  }

  /* Remove Webflow styles from pagination button */
  .w-pagination-next {
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 0px;
  }
  .w-pagination-previous {
    border-top: 0;
    border-left: 0;
    border-bottom: 0;
    border-radius: 0px;
  }
  .w-lightbox-backdrop {
    z-index: 9999;
  }

/* ============================== */
/* SECTION / COMPONENT STYLE #3 */
/* ============================== */
/* Base optimizations: pre-create composite layer, isolate from siblings */
  .home-hero__train--up,
  .home-hero__train--down {
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    contain: layout paint;
    animation-play-state: running;
  }

  /* Respect OS-level reduce-motion preference (a11y + battery) */
  @media (prefers-reduced-motion: reduce) {
    .home-hero__train--up,
    .home-hero__train--down {
      animation: none !important;
    }
  }

  /* --- MOBILE (Left / Right) --- */
  @media (max-width: 991px) {
    .home-hero__train--up {
      animation: move-left 85s linear infinite;
    }
    .home-hero__train--down {
      animation: move-right 85s linear infinite;
    }
    @keyframes move-left {
      from {
        transform: translate3d(0, 0, 0);
      }
      to {
        transform: translate3d(-100%, 0, 0);
      }
    }
    @keyframes move-right {
      from {
        transform: translate3d(-100%, 0, 0);
      }
      to {
        transform: translate3d(0, 0, 0);
      }
    }
  }

  /* --- DESKTOP (Up / Down) --- */
  @media (min-width: 992px) {
    .home-hero__train--up {
      animation: move-up 85s linear infinite;
    }
    .home-hero__train--down {
      animation: move-down 85s linear infinite;
    }
    @keyframes move-up {
      from {
        transform: translate3d(0, 0, 0);
      }
      to {
        transform: translate3d(0, -100%, 0);
      }
    }
    @keyframes move-down {
      from {
        transform: translate3d(0, -100%, 0);
      }
      to {
        transform: translate3d(0, 0, 0);
      }
    }
    .home-hero__right {
      -webkit-mask-image: linear-gradient(to bottom, transparent 10%, black 40%, black 65%, transparent 95%);
      mask-image: linear-gradient(to bottom, transparent 10%, black 40%, black 65%, transparent 95%);
      will-change: mask-image;
      transform: translateZ(0);
    }
  }

/* ============================== */
/* SECTION / COMPONENT STYLE #4 */
/* ============================== */
/* Mobile Overlay positioning & look */
  .w-nav-overlay [data-nav-menu-open] {
    top: 64px;
    height: calc(100dvh - 64px);
  }
  .w-nav-overlay {
    top: 0px;
  }

  /* UI Polish */
  .dev-nav-link-wrap {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  }
  html {
    scrollbar-gutter: stable;
  }

  /* --- Arrow styles --- */
  .dev-nav-link__arr {
    transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
    transition: transform 0.3s ease;
  }
  .dev-nav-link__arr.dev-nav-link__arr--rotated {
    transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(180deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
  }
  .dev-nav-link__arr.dev-nav-link__arr--rotated path {
    stroke: var(--dark-turquoise);
  }

  /* --- DESKTOP HOVER EFFECTS (> 992px) --- */
  @media screen and (min-width: 992px) {
    /* Link Hovers */
    .mega-menu-card:hover .mega-menu-card__h,
    .mega-menu-blog:hover .mega-menu-card__h {
      color: var(--text--pink);
    }
    .dev-nav-link-wrap.dev-nav-link--active .dev-nav-link,
    .dev-nav-link.is-dark:hover {
      color: var(--dark-turquoise);
    }
    .res-mega-book:hover .res-mega-book__img {
      transform: scale(1.15);
    }

    /* Arrow button Hover Animation */
    .arrow-btn .arrow-btn__ic {
      transition: transform 200ms ease;
      transform: translateY(0);
    }
    .arrow-btn:hover .arrow-btn__ic {
      transform: translateX(4px);
    }
  }

  /* General Text Truncation */
  .mega-menu-cases .mega-menu-card__desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  @media screen and (max-width: 991px) {
    .dev-nav__menu-btn.w--open {
      background-color: var(--surface--white);
    }
  }

/* ============================== */
/* SECTION / COMPONENT STYLE #5 */
/* ============================== */
/* GRID - Opening mechanics required for the script animation */
  @media (min-width: 992px) {
    .mega-menu-wrapper {
      display: grid !important;
      grid-template-rows: 0fr !important;
      opacity: 0 !important;
      visibility: hidden !important;
      transition:
        grid-template-rows 400ms cubic-bezier(0.4, 0, 0.2, 1),
        opacity 300ms ease,
        visibility 300ms !important;
      overflow: hidden !important;
      height: auto !important;
    }
    .mega-menu-wrapper > div {
      min-height: 0 !important;
    }
    /* "Open" State */
    .mega-menu-wrapper.is-visible {
      grid-template-rows: 1fr !important;
      opacity: 1 !important;
      visibility: visible !important;
    }

    .nav-overlay {
      visibility: hidden;
      display: none;
    }
    /* Show overlay */
    body.menu-open .nav-overlay {
      opacity: 1;
      visibility: visible;
      display: block;
      pointer-events: auto;
    }
    /* Block page scrolling */
    body.menu-open {
      overflow: hidden;
    }
  }

  /* Mobile / Default */
  @media screen and (max-width: 991px) {
    #up-case {
      padding-top: 80px !important;
    }
    #up {
      padding-top: 120px !important;
    }
  }

  @media screen and (min-width: 992px) {
    #up-case {
      padding-top: 104px !important;
    }
    #up {
      padding-top: 176px !important;
    }
  }

  /* When scrolling down, hide the nav wrapper */
  .dev-nav__center.is-hidden,
  .dev-nav__left.is-hidden,
  .dev-nav__logo-text.is-hidden {
    opacity: 0;
    pointer-events: none;
  }

  /* When scrolling up, make the background white */
  .dev-nav-bg.is-solid {
    background-color: #ffffff;
  }

  /* When scrolling up, make the links black */
  .dev-nav-link.is-dark {
    color: var(--text--primary);
  }
  /* When scrolling up, make the logo purple */
  .dev-nav__logo-text.is-purple {
    color: var(--purple--purple-900);
  }

/* ============================== */
/* SECTION / COMPONENT STYLE #6 */
/* ============================== */
/* Ensure the wrapper is flex and hides the overflow */
  .logos-wr {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
  }

  /* The animation logic */
  .logos-train {
    flex: 0 0 auto;
    animation: logo-marquee 40s linear infinite;
  }

  @keyframes logo-marquee {
    from {
      transform: translateX(0%);
    }
    to {
      transform: translateX(-100%);
    }
  }

/* ============================== */
/* SECTION / COMPONENT STYLE #7 */
/* ============================== */
/* Active states */
  .services-table__row.is-active .services-table__desc {
    max-height: none;
    opacity: 1;
    transform: translateY(0);
  }
  .services-table__row.is-active .services-table__img-space {
    opacity: 1;
    max-height: none;
    transform: scale(1);
  }
  .services-table__row.is-active .faq-block__btn-icon {
    transform: rotate(45deg);
  }

/* ============================== */
/* SECTION / COMPONENT STYLE #8 */
/* ============================== */
.podcast:hover .podcast__button-wrap {
    max-height: 100px;
    opacity: 1;
  }

/* ============================== */
/* SECTION / COMPONENT STYLE #9 */
/* ============================== */
/* --- Container & General Typography --- */
  .hbspt-form {
    margin: 0 auto;
    width: 100%;
  }

  /* --- Field Spacing --- */
  .hs-form-field {
    margin-bottom: 24px !important;
    width: 100% !important;
  }

  /* --- Labels --- */
  .hs-form-field label {
    display: block;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--text--secondary) !important;
    line-height: 24px;
    margin-bottom: 8px !important;
    -webkit-font-smoothing: antialiased;
  }

  /* Change label color when the field has an error */
  .hs-form-field:has(.invalid) > label,
  .hs-form-field:has(.error) > label {
    color: var(--text--error) !important;
  }

  /* Purple asterisk for required fields */
  .hs-form-required {
    color: #b857ad !important;
  }

  /* --- Input Styling (Standard State) --- */
  .hs-input:not([type='checkbox']):not([type='radio']) {
    width: 100% !important;
    background-color: var(--surface--white) !important;
    border: 1px solid var(--border--grey) !important;
    border-radius: 28px !important;
    padding: 11px 16px !important;
    font-size: 16px !important;
    color: var(--text--primary) !important;
    transition: border-color 0.2s ease;
    box-sizing: border-box !important;
  }

  /* --- Focus & Active States (Border Only) --- */
  .hs-input:not([type='checkbox']):not([type='radio']):focus,
  .hs-input:not([type='checkbox']):not([type='radio']):active {
    border-color: var(--purple--purple-900) !important;
    outline: none !important;
    box-shadow: none !important;
  }

  /* --- Error States --- */
  /* Input border on error */
  .hs-input.invalid:not([type='checkbox']):not([type='radio']),
  .hs-input.error:not([type='checkbox']):not([type='radio']) {
    border: 1px solid var(--border--error) !important;
  }

  /* Error message list styling */
  ul.hs-error-msgs {
    list-style: none !important; /* Remove the bullet/marker */
    padding: 0 !important; /* Align with input edge */
    margin: 4px 0 0 0 !important;
  }

  ul.hs-error-msgs .hs-error-msg {
    color: var(--text--error) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    display: block;
  }

  /* --- Dropdown/Select Styling --- */
  select.hs-input {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
  }

  /* --- Textarea Styling --- */
  textarea.hs-input {
    border-radius: 20px !important;
    min-height: 120px;
    max-height: 600px;
  }

  /* --- Legal Text & Links --- */
  .hs-richtext {
    font-size: 14px;
    line-height: 24px;
    color: #666;
  }

  .hs-richtext a {
    color: var(--text--pink) !important;
    text-decoration: underline;
    font-weight: 500;
  }

  /* --- Submit Button --- */
  .hs-submit .actions {
    text-align: center;
    padding: 0 !important;
  }

  .hs-button {
    background-color: var(--surface--pink) !important;
    color: var(--text--primary-inv) !important;
    /* Add a border now so it doesn't "jump" when you hover */
    border: 4px solid var(--surface--pink) !important;
    border-radius: 50px !important;
    padding: 10px 60px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    cursor: pointer;
    /* Smoothly transition all properties */
    transition: all 0.3s ease !important;
    width: 100% !important;
  }

  .hs-button:hover {
    /* Swapping colors for the outlined look */
    background-color: var(--surface--white) !important;
    color: var(--text--pink) !important;
    border: 4px solid var(--surface--pink) !important;
  }

  .hs-button:active {
    transform: scale(0.98);
  }

  /* --- Hide recaptcha --- */
  .grecaptcha-badge {
    visibility: hidden;
    height: 0px;
  }
  .hs_recaptcha.hs-recaptcha {
    height: 0px;
  }

  /* --- Layout Logic (Desktop Side-by-Side) --- */
  fieldset {
    max-width: none !important;
    width: 100% !important;
    border: none;
    padding: 0;
    margin: 0;
  }

  .form-columns-2 {
    display: flex !important;
    gap: 15px;
  }

  .form-columns-2 .hs-form-field {
    flex: 1;
    float: none !important;
    width: auto !important;
  }

  /* --- Mobile Stack --- */
  @media (max-width: 600px) {
    .form-columns-2 {
      flex-direction: column !important;
      gap: 0;
    }
    .form-columns-2 .hs-form-field {
      width: 100% !important;
    }
  }

  .recaptcha-text {
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    color: var(--text--secondary);
    margin-top: 16px;
  }

  /* --- Global Error Rollup (Bottom of form) --- */
  .hs_error_rollup {
    text-align: center !important; /* Centers the text */
    margin-bottom: 16px !important; /* Adds space above the button */
  }

  .hs_error_rollup ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .hs_error_rollup label {
    color: var(--text--error) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    display: inline-block; /* Helps with alignment */
  }

/* Homepage award section cleanup */
.sec.bg-light.relative:has(.winner) {
  display: grid;
  grid-template-columns: minmax(360px, 44%) minmax(560px, 56%);
  grid-template-rows: auto auto;
  column-gap: 0;
  align-items: start;
  width: 100%;
  min-height: auto;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  padding: clamp(56px, 5vw, 80px) 0 72px;
  overflow: hidden;
}

.sec.bg-light.relative:has(.winner) > .cont.relative {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: clamp(40px, 6vw, 96px);
  padding-right: clamp(24px, 4vw, 64px);
  justify-self: end;
}

.sec.bg-light.relative:has(.winner) .winner {
  max-width: 540px;
  display: block;
}

.sec.bg-light.relative:has(.winner) .winner__text-wrap {
  max-width: 100%;
}

.sec.bg-light.relative:has(.winner) > .winner__img {
  justify-self: stretch;
}

.winner__img ~ .mt-40,
.winner-logos-wr {
  display: none !important;
}

.winner-stats {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  max-width: none;
  margin: 52px auto 0 !important;
  padding-right: clamp(40px, 6vw, 96px);
  padding-left: clamp(40px, 6vw, 96px);
  position: relative !important;
  inset: auto !important;
  z-index: 1;
}

.sec.bg-light.relative:has(.winner) .winner .winner-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
  margin: 32px 0 0 !important;
  padding: 0;
}

.winner__img {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: clamp(500px, 40vw, 680px);
  max-width: none;
  object-fit: cover;
  object-position: 60% 22%;
  align-self: start;
  position: relative !important;
  z-index: 0;
  transform: scale(1.2) translate(-8%, -6%);
  transform-origin: center;
}

@media screen and (max-width: 991px) {
  .sec.bg-light.relative:has(.winner) {
    display: flex;
    min-height: auto;
    padding: 72px 0;
  }

  .sec.bg-light.relative:has(.winner) > .cont.relative {
    width: min(100% - 40px, var(--container--width, 1320px));
    margin-right: auto;
    margin-left: auto;
  }

  .winner__img {
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 767px) {
  .winner-stats {
    margin-top: 32px !important;
    padding-right: 20px;
    padding-left: 20px;
  }

  .sec.bg-light.relative:has(.winner) .winner .winner-stats {
    gap: 20px;
    padding: 0;
  }
}

/* ============================== */
/* HERO CAROUSEL: FIT MOCKUP IMAGES */
/* ============================== */
/* Cards follow each image's aspect ratio so mockups are never cropped */
.home-hero__marquee--phones .home-hero-card {
  aspect-ratio: 1024 / 936;
}
.home-hero__marquee--screens .home-hero-card {
  aspect-ratio: 4 / 3;
}
.home-hero__marquee--phones .cover-img,
.home-hero__marquee--screens .cover-img {
  object-fit: contain;
}

/* Match the nav container width so hero text lines up with the logo */
.sec-home .cont,
.home-page .sec .cont,
.home-page .contact-sec .cont {
  max-width: 1560px;
}

/* Award section has a custom full-bleed grid; align its left edge with the logo too
   (cqw = section width without the scrollbar, unlike vw) */
.home-page .sec.bg-light.relative:has(.winner) {
  container-type: inline-size;
}
.home-page .sec.bg-light.relative:has(.winner) > .cont.relative,
.home-page .winner-stats {
  padding-left: max(var(--container--padding), calc((100cqw - 1560px) / 2 + var(--container--padding)));
}

@media (min-width: 992px) {
  /* Tighter gap pulls the carousel left and gives it more room */
  .home-hero {
    grid-column-gap: 24px;
  }
  .home-hero__right {
    min-width: 0;
  }
  .home-hero__marquee--phones {
    flex: 1;
  }
  .home-hero__marquee--screens {
    flex: 1.25;
  }
}

@media (max-width: 991px) {
  /* Horizontal tickers: keep the fixed height, let width follow the image */
  .home-hero__marquee--phones .home-hero-card,
  .home-hero__marquee--screens .home-hero-card {
    width: auto;
  }
}

/* ============================== */
/* SERVICES MEGA MENU: IMAGE + LINKS */
/* ============================== */
.svc-mega {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: stretch;
}

.svc-mega__media {
  position: relative;
  min-height: 340px;
  border-radius: 20px;
  overflow: hidden;
  background: #f1eef8;
}

.svc-mega__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.svc-mega__img.is-active {
  opacity: 1;
  transform: scale(1);
}

.svc-mega__list {
  display: flex;
  flex-direction: column;
}

.svc-mega__list .mega-menu-category {
  margin-bottom: 4px;
}

.svc-mega__link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--border--grey, #e6e6e6);
  color: var(--text--primary, #0e0323);
  text-decoration: none;
  transition: padding 0.25s ease;
}

.svc-mega__link:last-child {
  border-bottom: 0;
}

.svc-mega__num {
  flex: none;
  width: 28px;
  font-size: 16px;
  color: var(--text--pink, #df5ca3);
}

.svc-mega__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}

.svc-mega__title {
  font-size: 18px;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.svc-mega__desc {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text--secondary, #6b6880);
}

.svc-mega__arr {
  flex: none;
  font-size: 20px;
  color: var(--text--pink, #df5ca3);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.svc-mega__link:hover,
.svc-mega__link.is-active {
  padding-left: 12px;
}

.svc-mega__link:hover .svc-mega__title,
.svc-mega__link.is-active .svc-mega__title {
  color: var(--text--pink, #df5ca3);
}

.svc-mega__link:hover .svc-mega__arr,
.svc-mega__link.is-active .svc-mega__arr {
  opacity: 1;
  transform: translateX(0);
}

@media screen and (max-width: 991px) {
  .svc-mega {
    display: block;
  }

  .svc-mega__media {
    display: none;
  }

  .svc-mega__link {
    padding: 14px 0;
  }

  .svc-mega__link:hover,
  .svc-mega__link.is-active {
    padding-left: 0;
  }

  .svc-mega__arr {
    opacity: 1;
    transform: none;
  }
}

/* ============================== */
/* SERVICE PAGES                  */
/* ============================== */
.svc-page .mt-16 {
  margin-top: 16px;
}

.svc-page .sec.svc-sec,
.svc-page .sec.svc-hero {
  min-height: auto;
  display: block;
}

.svc-page .sec.svc-sec {
  padding-top: 120px;
  padding-bottom: 120px;
}

/* Hero */
.svc-page .sec.svc-hero {
  padding-top: 180px;
  padding-bottom: 120px;
}

.svc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.svc-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.svc-hero__img {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}

.svc-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.svc-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--text--tertiary-inv, rgba(255, 255, 255, 0.4));
}

.svc-crumbs a {
  color: var(--text--secondary-inv, rgba(255, 255, 255, 0.8));
  text-decoration: none;
  transition: color 0.2s ease;
}

.svc-crumbs a:hover {
  color: var(--text--pink, #df5ca3);
}

/* Section heads */
.svc-head {
  max-width: 780px;
  margin-bottom: 64px;
}

/* What we build */
.svc-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.svc-card {
  background: var(--surface--white, #fff);
  border: 1px solid var(--border--grey, #e6e6e6);
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.svc-card:hover {
  transform: translateY(-4px);
  border-color: var(--text--pink, #df5ca3);
  box-shadow: 0 20px 40px -24px rgba(51, 23, 116, 0.35);
}

.svc-card__num,
.svc-step__num {
  font-size: 16px;
  color: var(--text--pink, #df5ca3);
}

.svc-card__title,
.svc-step__title {
  margin: 20px 0 12px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
}

.svc-card__title {
  color: var(--text--primary, #0e0323);
}

.svc-card__text,
.svc-step__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

.svc-card__text {
  color: var(--text--secondary, #4b4760);
}

/* How we work */
.svc-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.svc-step {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 28px;
}

.svc-step__title {
  color: var(--text--primary-inv, #fff);
}

.svc-step__text {
  color: var(--text--secondary-inv, rgba(255, 255, 255, 0.8));
}

.svc-stack {
  margin-top: 80px;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.svc-tag {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text--primary-inv, #fff);
  font-size: 15px;
}

/* FAQ */
.svc-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}

.svc-faq__item {
  border-bottom: 1px solid var(--border--grey, #e6e6e6);
}

.svc-faq__item:first-child {
  border-top: 1px solid var(--border--grey, #e6e6e6);
}

.svc-faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text--primary, #0e0323);
}

.svc-faq__q::-webkit-details-marker {
  display: none;
}

.svc-faq__icon {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
}

.svc-faq__icon::before,
.svc-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  margin-top: -1px;
  background: var(--text--pink, #df5ca3);
  transition: transform 0.25s ease;
}

.svc-faq__icon::after {
  transform: rotate(90deg);
}

.svc-faq__item[open] .svc-faq__icon::after {
  transform: rotate(0deg);
}

.svc-faq__a {
  margin: 0;
  padding: 0 40px 24px 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text--secondary, #4b4760);
}

/* Other services */
.svc-others {
  margin-top: 120px;
}

.svc-others__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.svc-other {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  min-height: 140px;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, #130035, #371a7d);
  color: var(--text--primary-inv, #fff);
  text-decoration: none;
  transition: transform 0.25s ease;
}

.svc-other:hover {
  transform: translateY(-4px);
}

.svc-other__name {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.svc-other__arr {
  flex: none;
  font-size: 22px;
  color: var(--text--pink, #df5ca3);
  transition: transform 0.25s ease;
}

.svc-other:hover .svc-other__arr {
  transform: translateX(4px);
}

@media screen and (max-width: 991px) {
  .svc-page .sec.svc-hero {
    padding-top: 130px;
    padding-bottom: 80px;
  }

  .svc-page .sec.svc-sec {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .svc-hero__grid,
  .svc-faq {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .svc-cards,
  .svc-steps,
  .svc-others__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .svc-head {
    margin-bottom: 48px;
  }

  .svc-others {
    margin-top: 80px;
  }
}

@media screen and (max-width: 767px) {
  .svc-cards,
  .svc-steps,
  .svc-others__grid {
    grid-template-columns: 1fr;
  }

  .svc-card {
    padding: 24px;
  }

  .svc-faq__q {
    font-size: 18px;
  }

  .svc-faq__a {
    padding-right: 0;
  }

  .svc-other {
    min-height: 100px;
  }
}

/* ============================== */
/* INDUSTRY PAGES: HERO PANEL     */
/* ============================== */
.ind-panel {
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.ind-panel__label {
  color: var(--text--turquoise, #4fd1c5);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ind-panel__list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ind-panel__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text--primary-inv, #fff);
  font-size: 19px;
  line-height: 1.4;
}

.ind-panel__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ind-panel__dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text--pink, #df5ca3);
  box-shadow: 0 0 0 5px rgba(223, 92, 163, 0.2);
}

@media screen and (max-width: 767px) {
  .ind-panel {
    padding: 28px 24px;
  }

  .ind-panel__item {
    font-size: 17px;
    padding: 14px 0;
  }
}

@media screen and (min-width: 1200px) {
  .svc-others__grid--five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Browse-other cards with a photo + overlay */
.svc-other--img {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 180px;
  background: #130035;
}

.svc-other__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.svc-other--img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(19, 0, 53, 0.15) 0%, rgba(19, 0, 53, 0.55) 50%, rgba(19, 0, 53, 0.92) 100%),
    linear-gradient(135deg, rgba(55, 26, 125, 0.35), rgba(223, 92, 163, 0.12));
  transition: opacity 0.3s ease;
}

.svc-other--img:hover .svc-other__img {
  transform: scale(1.08);
}

.svc-other--img:hover::before {
  opacity: 0.85;
}

.svc-other--img .svc-other__name {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

@media screen and (max-width: 767px) {
  .svc-other--img {
    min-height: 140px;
  }
}

.mega-menu-card__img img {
  object-position: center 20%;
}

.svc-page .sec.svc-sec--tight {
  padding-top: 0;
}

.svc-cards--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.person-about {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}

.person-about .text-md {
  font-size: 20px;
  line-height: 1.6;
}

.person-next {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 560px;
  margin-top: 24px;
  padding: 20px 28px 20px 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, #130035, #371a7d);
  color: var(--text--primary-inv, #fff);
  text-decoration: none;
  transition: transform 0.25s ease;
}

.person-next:hover {
  transform: translateY(-4px);
}

.person-next__img {
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: 18px;
  overflow: hidden;
}

.person-next__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.person-next__text {
  flex: 1;
}

.person-next__name {
  font-size: 24px;
  font-weight: 500;
}

.person-next__role {
  margin-top: 4px;
  color: var(--text--secondary-inv, rgba(255, 255, 255, 0.8));
}

.person-next:hover .svc-other__arr {
  transform: translateX(4px);
}

@media screen and (max-width: 991px) {
  .svc-hero__img--portrait {
    justify-self: start;
  }

  .person-about {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media screen and (max-width: 767px) {
  .svc-cards--two {
    grid-template-columns: 1fr;
  }

  .person-about .text-md {
    font-size: 17px;
  }

  .person-next__img {
    width: 72px;
    height: 72px;
  }

  .person-next__name {
    font-size: 20px;
  }
}

/* ============================== */
/* PROCESS & CONTACT PAGES        */
/* ============================== */
.ind-panel__num {
  flex: none;
  min-width: 28px;
  color: var(--text--pink, #df5ca3);
  font-size: 16px;
}

.ind-panel__link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ind-panel__link:hover {
  color: var(--text--pink, #df5ca3);
}

.ind-panel__item--stack {
  align-items: flex-start;
}

.ind-panel__title {
  display: block;
}

.ind-panel__desc {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  color: var(--text--secondary-inv, rgba(255, 255, 255, 0.8));
}

.stages {
  display: flex;
  flex-direction: column;
}

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  padding: 72px 0;
  border-bottom: 1px solid var(--border--grey, #e6e6e6);
  scroll-margin-top: 100px;
}

.stage:first-child {
  padding-top: 0;
}

.stage:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.stage__num {
  margin-bottom: 16px;
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text--pink, #df5ca3);
}

.stage__lists {
  display: grid;
  gap: 16px;
  align-content: start;
}

.stage__box {
  padding: 28px 32px;
  border: 1px solid var(--border--grey, #e6e6e6);
  border-radius: 20px;
  background: var(--surface--white, #fff);
}

.stage__box--accent {
  border-color: transparent;
  background: linear-gradient(135deg, #130035, #371a7d);
}

.stage__label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text--pink, #df5ca3);
}

.stage__box--accent .stage__label {
  color: var(--text--turquoise, #4fd1c5);
}

.stage__list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.stage__item {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text--primary, #0e0323);
}

.stage__box--accent .stage__item {
  color: var(--text--primary-inv, #fff);
}

.stage__item::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 2px;
  width: 12px;
  height: 7px;
  border-bottom: 2px solid var(--text--pink, #df5ca3);
  border-left: 2px solid var(--text--pink, #df5ca3);
  transform: rotate(-45deg);
}

@media screen and (max-width: 991px) {
  .stage {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 0;
  }

  .stage__num {
    font-size: 48px;
  }
}

@media screen and (max-width: 767px) {
  .stage__box {
    padding: 24px;
  }

  .stage__item {
    font-size: 16px;
  }
}

/* Plain (no dropdown) nav links */
a.dev-nav-link--plain {
  color: inherit;
  text-decoration: none;
}

a.dev-nav-link--plain:hover {
  color: var(--dark-turquoise, #36c5c5);
}

/* Footer: Services | Industries (2 cols) | About | Stay connected */
.footer__middle {
  margin-top: 0;
}

.footer__links-col--wide {
  flex: 2;
}

.footer__links--two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(6, auto);
  grid-auto-flow: column;
  column-gap: 24px;
}

.footer__category-wrap--two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}

@media screen and (max-width: 991px) {
  .footer__links-col--wide {
    grid-column: span 2;
  }
}


/* Footer social icons without a link yet */
.footer__social--off {
  cursor: default;
  pointer-events: none;
}

/* Navbar logo: white on the dark hero, dark once the bar turns white on scroll */
.dev-nav__brand > img.brand-logo--dark {
  display: none;
}

.dev-nav-bg.is-solid ~ .dev-nav__cont .brand-logo--light {
  display: none;
}

.dev-nav-bg.is-solid ~ .dev-nav__cont .brand-logo--dark {
  display: block;
}

/* ============================== */
/* MOBILE FIXES                   */
/* ============================== */
.winner__img-inline {
  display: none;
}

@media screen and (max-width: 991px) {
  /* Solid bar so the white logo stays readable over light sections */
  .dev-nav-bg {
    background-color: #160537;
  }

  /* "Contact Us" lives inside the menu (below the links) on mobile */
  .dev-nav__right {
    display: none !important;
  }

  /* Readable links in the dark mobile drawer */
  .dev-nav__center.w-nav-menu .dev-nav-link:not(.w--current) {
    color: #ffffff;
  }

  .dev-nav__center.w-nav-menu .dev-nav-link:not(.w--current):hover {
    color: var(--text--pink, #df5ca3);
  }

  .dev-nav__center.w-nav-menu .dev-nav-link__arr {
    color: #ffffff;
  }

  /* Intro section: team photo sits right under the heading */
  .winner__img-mob,
  .sec.bg-light.relative:has(.winner) > .winner__img {
    display: none !important;
  }

  .winner__img-inline {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-top: 24px;
    border-radius: 20px;
    object-fit: cover;
    object-position: 60% 30%;
  }
}

@media screen and (max-width: 767px) {
  /* Hide the hero carousel on phones */
  .home-hero__right {
    display: none !important;
  }

  .sec-home {
    height: auto !important;
    min-height: 0 !important;
    padding-top: 120px !important;
    padding-bottom: 72px !important;
  }
}

@media screen and (max-width: 991px) {
  /* White carets on the dark drawer */
  .dev-nav__center.w-nav-menu .dev-nav-link__arr-mob {
    filter: brightness(0) invert(1);
  }

  /* Mobile dropdown panel: full screen below the bar */
  .mega-menu-wrapper.is-mobile-open {
    display: block !important;
    position: fixed !important;
    top: 72px !important;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    height: auto !important;
    overflow-y: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    background-color: var(--surface--primary, #f2f2f2);
  }

  .mega-menu-wrapper.is-mobile-open .mega-menu-resources {
    position: sticky;
    top: 0;
    inset: auto;
    z-index: 2;
    background-color: var(--surface--primary, #f2f2f2);
    color: var(--text--primary, #0e0323);
    border-bottom: 1px solid var(--border--grey, #e6e6e6);
  }

  .mega-menu-wrapper.is-mobile-open .mega-menu-back {
    cursor: pointer;
  }

  .mega-menu-wrapper.is-mobile-open .mega-menu-inner {
    position: static;
    top: auto;
    height: auto;
    padding-top: 8px;
  }

  /* Line the intro text up with the hero text */
  .home-page .sec.bg-light.relative:has(.winner) > .cont.relative {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
}

/* ============================== */
/* FOOTER ON PHONES               */
/* ============================== */
@media screen and (max-width: 767px) {
  .footer {
    padding-top: 56px;
  }

  /* Services | About on top, Industries and Stay connected full width below */
  .footer__middle {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 36px;
    margin-top: 0;
    margin-bottom: 40px;
  }

  .footer__middle > .footer__links-col:nth-child(1) { order: 1; }
  .footer__middle > .footer__links-col:nth-child(3) { order: 2; }
  .footer__middle > .footer__links-col:nth-child(2) { order: 3; grid-column: 1 / -1; }
  .footer__middle > .footer__links-col:nth-child(4) { order: 4; grid-column: 1 / -1; }

  /* One "Industries" heading, list in two columns */
  .footer__category-wrap--two {
    grid-template-columns: 1fr;
  }

  .footer__category--more {
    display: none;
  }

  .footer__links--two {
    column-gap: 20px;
  }

  .footer__category-wrap {
    margin-bottom: 8px;
  }

  /* All social icons on one row */
  .footer__socials {
    display: flex !important;
    flex-flow: row wrap;
    gap: 16px;
    margin-bottom: 8px;
    padding-bottom: 0;
  }

  .footer__bottom {
    gap: 12px !important;
    padding-top: 24px !important;
  }

  .footer-logo__img {
    width: 136px !important;
  }
}

.footer__copyright .footer__category {
  white-space: nowrap;
}

.bullet-list__item--contact > p {
  min-width: 0;
}

.nowrap {
  white-space: nowrap;
}

/* Phones/tablets: show the real contact form (the theme swapped it for a button that went nowhere) */
@media screen and (max-width: 991px) {
  .contact-form--cta {
    display: block !important;
    margin-top: 32px;
  }

  .contact__btn-wrap {
    display: none !important;
  }
}

/* ============================== */
/* LEGAL PAGES                    */
/* ============================== */
.svc-page .sec.legal-hero {
  padding-bottom: 80px;
}

.legal-hero .heading-1,
.legal-hero .text-md {
  max-width: 780px;
}

.legal-hero__date {
  margin: 16px 0 0;
  font-size: 15px;
  color: var(--text--tertiary-inv, rgba(255, 255, 255, 0.55));
}

.legal {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.legal__toc {
  position: sticky;
  top: 110px;
  padding: 24px;
  border: 1px solid var(--border--grey, #e6e6e6);
  border-radius: 20px;
  background: var(--surface--white, #fff);
}

.legal__toc-label {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text--pink, #df5ca3);
}

.legal__toc ol {
  margin: 0;
  padding-left: 20px;
}

.legal__toc li {
  padding: 4px 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text--secondary, #4b4760);
}

.legal__toc a {
  color: inherit;
  text-decoration: none;
}

.legal__toc a:hover {
  color: var(--text--pink, #df5ca3);
}

.legal__switch {
  display: inline-block;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text--pink, #df5ca3) !important;
}

.legal__body {
  max-width: 780px;
}

.legal__section {
  padding-bottom: 32px;
  scroll-margin-top: 110px;
}

.legal__section + .legal__section {
  padding-top: 32px;
  border-top: 1px solid var(--border--grey, #e6e6e6);
}

.legal__h {
  margin: 0 0 16px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text--primary, #0e0323);
}

.legal__body p,
.legal__body li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text--secondary, #4b4760);
}

.legal__body p {
  margin: 0 0 14px;
}

.legal__body ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal__body li {
  margin-bottom: 6px;
}

.legal__body strong {
  font-weight: 600;
  color: var(--text--primary, #0e0323);
}

.legal__body a {
  color: var(--text--pink, #df5ca3);
  text-decoration: underline;
}

@media screen and (max-width: 991px) {
  .legal {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .legal__toc {
    position: static;
  }
}

@media screen and (max-width: 767px) {
  .legal__h {
    font-size: 22px;
  }

  .legal__body p,
  .legal__body li {
    font-size: 16px;
  }
}


:root {
  --chat--color-primary: var(--text--pink, #df5ca3);
  --chat--color-primary-shade-50: var(--text--pink-hover, #df5ca3);
  --chat--color-primary-shade-100: var(--text--pink-hover, #df5ca3);
  --chat--color-secondary: var(--dark-turquoise, #00ccca);
  --chat--header--background: var(--purple--purple-900, #331774);
  --chat--header--color: #fff;
  --chat--toggle--background: var(--text--pink, #df5ca3);
  --chat--toggle--hover--background: var(--text--pink-hover, #df5ca3);
  --chat--toggle--color: #fff;
  --chat--message--user--background: var(--text--pink, #df5ca3);
  --chat--message--bot--background: var(--black--black-100, #fbfbfb);
  --chat--border-radius: var(--border-radius--xs, 16px);
  --chat--window--width: min(380px, calc(100vw - 32px));
  --chat--window--height: min(560px, calc(100dvh - 120px));
  --chat--window--z-index: 10001;
  --chat--heading--font-size: 18px;
  --chat--subtitle--font-size: 13px;
  --chat--subtitle--line-height: 1.3;
  --chat--header--padding: 12px 16px;
  --chat--window--bottom: 16px;
  --chat--window--right: 16px;
  --chat--font-family: 'Red Hat Display', sans-serif;
}

#n8n-chat {
  position: relative;
  z-index: 10000;
  font-family: var(--chat--font-family) !important;
  line-height: 1.4;
  letter-spacing: 0;
}

#n8n-chat .chat-window-wrapper {
  z-index: 10001 !important;
  max-height: calc(100dvh - 104px);
  pointer-events: none;
}

#n8n-chat .chat-window,
#n8n-chat .chat-window-toggle {
  pointer-events: auto;
}

#n8n-chat .chat-window {
  min-height: 0;
  flex-shrink: 1;
}

#n8n-chat .chat-layout {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  font-family: var(--chat--font-family) !important;
  line-height: 1.4;
}

#n8n-chat h1,
#n8n-chat p,
#n8n-chat a,
#n8n-chat button,
#n8n-chat input,
#n8n-chat textarea {
  box-sizing: border-box;
  font-family: var(--chat--font-family) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

#n8n-chat .chat-header {
  flex: 0 0 auto;
  gap: 4px;
  padding: 12px 16px !important;
}

#n8n-chat .chat-header h1 {
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: 700;
  line-height: 1.3 !important;
}

#n8n-chat .chat-header p {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
}

#n8n-chat .chat-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

#n8n-chat .chat-footer {
  flex: 0 0 auto;
}

#n8n-chat .chat-footer:has(.chat-input)::after {
  content: "Powered by n8n";
  display: block;
  padding: 4px 12px 8px;
  color: #6b7280;
  background: var(--chat--footer--background, #f2f4f8);
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
}

#n8n-chat .chat-get-started-footer {
  padding: 8px 12px !important;
  text-align: center;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.3;
}

#n8n-chat .chat-powered-by {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
}

#n8n-chat .chat-powered-by a {
  color: inherit !important;
  font-size: inherit !important;
  text-decoration: none;
}

#n8n-chat .chat-input {
  display: flex !important;
  min-width: 0;
  pointer-events: auto !important;
}

#n8n-chat .chat-inputs {
  display: flex !important;
  flex: 0 0 auto;
  align-items: flex-end;
  min-height: 64px;
  pointer-events: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: #fff !important;
  z-index: 1;
}

#n8n-chat .chat-inputs textarea {
  display: block !important;
  width: 100% !important;
  min-width: 0;
  min-height: 50px !important;
  max-height: 180px !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: 8px !important;
  outline: none;
  color: #1e1e1e !important;
  background: #fff !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

#n8n-chat .chat-inputs textarea::placeholder {
  color: #666 !important;
  opacity: 1;
}

#n8n-chat .chat-input-send-button,
#n8n-chat .chat-inputs-controls button {
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  margin: 0 !important;
  padding: 8px !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: var(--chat--color-primary, #df5ca3) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

#n8n-chat .chat-input-send-button:disabled {
  opacity: 0.55 !important;
}

#contact-form .hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#contact-form .form-status {
  margin-top: 16px;
  color: inherit;
}

#contact-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

@media screen and (max-width: 480px) {
  :root {
    --chat--window--width: calc(100vw - 24px);
    --chat--window--height: min(560px, calc(100dvh - 120px));
    --chat--window--right: 12px;
    --chat--window--bottom: 12px;
  }

  #n8n-chat .chat-window-wrapper {
    max-height: calc(100dvh - 96px);
  }
}
