/**
 * Landing page — purpose-built mobile/tablet layout.
 * Desktop (>1024px) is unchanged; rules apply only below 1024px.
 */

@media (max-width: 1024px) {
  :root {
    --gt-page-gutter: 24px;
    --gt-container-padding: 20px;
    --gt-section-gap: clamp(56px, 10vw, 88px);
    --gt-header-height: 72px;
  }

  html,
  body {
    overflow-x: clip;
    max-width: 100%;
  }

  #page.site {
    width: 100%;
    max-width: 100%;
    margin: 0;
    zoom: unset;
    transform: none;
  }

  .gt-container {
    padding-left: var(--gt-container-padding);
    padding-right: var(--gt-container-padding);
  }

  /* ─── Header: fixed, always visible, logo + hamburger ─── */
  .gt-header {
    top: 0 !important;
    position: fixed !important;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: max(12px, env(safe-area-inset-top)) var(--gt-container-padding) 0;
    transform: none !important;
    pointer-events: auto !important;
  }

  .gt-header.is-hidden {
    transform: none !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .gt-header .gt-container {
    padding-left: 0;
    padding-right: 0;
  }

  .gt-header__inner {
    min-height: 56px;
    height: auto;
    padding: 10px 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(9, 10, 44, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .gt-header__logo {
    flex-shrink: 0;
  }

  .gt-header__logo-img {
    width: 120px;
    height: auto;
  }

  .gt-header__cta {
    display: none;
  }

  .gt-header__nav {
    position: static;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    margin-left: auto;
  }

  .gt-header__toggle {
    display: flex !important;
    margin-left: 0;
    flex-shrink: 0;
  }

  .gt-header__toggle-bar {
    background: #fff;
  }

  .gt-header__menu {
    position: fixed;
    top: calc(max(12px, env(safe-area-inset-top)) + 56px + 8px);
    left: var(--gt-container-padding);
    right: var(--gt-container-padding);
    width: auto;
    max-height: calc(100dvh - var(--gt-header-height) - 16px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 24px;
    background: rgba(18, 19, 72, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    z-index: 190;
  }

  .gt-header__nav.is-open .gt-header__menu {
    display: flex;
  }

  .gt-header__menu > .menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .gt-header__menu > .menu-item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px;
    font-size: 17px;
    white-space: normal;
  }

  .gt-header__menu .menu-item-has-children {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .gt-header__menu .menu-item-has-children > a {
    width: 100%;
  }

  .gt-mega-menu,
  .industry-solutions-dropdown,
  .company-dropdown {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    left: auto !important;
    top: auto !important;
    margin: 0 !important;
    pointer-events: auto !important;
    z-index: auto !important;
  }

  .gt-mega-menu[hidden],
  .industry-solutions-dropdown[hidden],
  .company-dropdown[hidden] {
    display: none !important;
  }

  .gt-mega-menu.is-open,
  .industry-solutions-dropdown.is-open,
  .company-dropdown.is-open {
    display: block !important;
    visibility: visible !important;
  }

  .gt-mega-menu__panel,
  .industry-solutions-dropdown-panel,
  .company-dropdown-panel {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px 0 12px 8px;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .gt-mega-menu__links,
  .industry-solutions-dropdown-links,
  .company-dropdown-links {
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
    gap: 0;
  }

  .gt-mega-menu__item,
  .industry-solutions-dropdown-item,
  .company-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    grid-template-columns: unset;
    padding: 12px 8px;
    margin: 0;
    border-radius: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: #fff;
  }

  .gt-mega-menu__item:last-child,
  .industry-solutions-dropdown-item:last-child,
  .company-dropdown-item:last-child {
    border-bottom: none;
  }

  .gt-mega-menu__icon,
  .industry-solutions-dropdown-icon,
  .company-dropdown-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
  }

  .gt-mega-menu__copy,
  .industry-solutions-dropdown-content,
  .company-dropdown-content {
    min-width: 0;
    flex: 1;
  }

  .gt-mega-menu__title,
  .industry-solutions-dropdown-title,
  .company-dropdown-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
  }

  .gt-mega-menu__desc,
  .industry-solutions-dropdown-desc,
  .company-dropdown-desc {
    display: none;
  }

  .gt-mega-menu__feature,
  .industry-solutions-dropdown-feature,
  .company-dropdown-feature {
    display: none;
  }

  body.gt-nav-open {
    overflow: hidden;
  }

  /* ─── Hero ─── */
  .gt-hero {
    min-height: auto;
    padding-top: calc(max(12px, env(safe-area-inset-top)) + 72px);
    padding-bottom: 0;
  }

  .gt-hero__overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.35) 100%);
  }

  .gt-hero__content {
    padding-bottom: 32px;
    text-align: left;
  }

  .gt-hero__badge span {
    white-space: normal;
  }

  .gt-hero__title-line {
    font-size: clamp(28px, 8vw, 40px);
  }

  .gt-hero__title-line--bold {
    font-size: clamp(32px, 9vw, 44px);
  }

  .gt-hero__subtitle {
    font-size: clamp(15px, 4vw, 17px);
    max-width: 100%;
    margin-bottom: 28px;
  }

  .gt-hero__features {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .gt-hero__feature {
    width: 100%;
    max-width: 100%;
  }

  .gt-hero__feature span {
    max-width: none;
    font-size: 14px;
  }

  .gt-hero__trust {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 8px;
    padding: 24px 0 32px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  }

  .gt-hero__trust-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .gt-hero__trust-label::after {
    display: none;
  }

  .gt-marquee {
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  }

  .gt-marquee__item img {
    height: 36px;
    max-width: 110px;
  }

  /* ─── Section headings ─── */
  .gt-section {
    padding-top: var(--gt-section-gap);
    padding-bottom: var(--gt-section-gap);
  }

  .gt-section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
  }

  .gt-section-heading__title {
    font-size: clamp(26px, 7vw, 36px);
    max-width: 100%;
  }

  .gt-section-heading__desc {
    font-size: clamp(15px, 4vw, 17px);
    max-width: 100%;
    margin: 0;
  }

  .gt-outcomes .gt-section-heading__desc,
  .gt-industries .gt-section-heading__desc,
  .gt-channels .gt-section-heading__desc,
  .gt-case-studies .gt-section-heading__desc,
  .gt-enterprise .gt-section-heading__desc {
    margin: 0;
  }

  /* ─── Outcomes ─── */
  .gt-outcomes__grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .gt-outcomes__card--dark {
    min-height: auto;
    padding: 28px 24px;
  }

  .gt-outcomes__card--reach {
    min-height: 280px;
  }

  .gt-outcomes__reach-video {
    min-height: 280px;
  }

  .gt-outcomes__stats {
    flex-direction: column;
    gap: 20px;
    padding-top: 24px;
  }

  .gt-outcomes__stat-label {
    white-space: normal;
  }

  .gt-outcomes__stat-value {
    font-size: 36px;
  }

  /* ─── Industries ─── */
  .gt-industries__tabs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0 0 12px;
    margin-bottom: 12px;
  }

  .gt-industries__tab {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 8px 6px;
  }

  .gt-industries__tab-label {
    font-size: 13px;
    white-space: nowrap;
  }

  .gt-industries__stack {
    min-height: auto !important;
    height: auto !important;
    margin-top: 0;
    padding-top: 0;
    perspective: none;
  }

  .gt-industries--mobile-tabs .gt-industries__panel,
  .gt-industries__panel {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transform: none !important;
    filter: none !important;
    pointer-events: none;
  }

  .gt-industries--mobile-tabs .gt-industries__panel.is-active,
  .gt-industries__panel.is-active {
    opacity: 1;
    visibility: visible;
    height: auto;
    overflow: visible;
    pointer-events: auto;
    z-index: 1;
  }

  .gt-industries__panel.is-stacked {
    display: none;
  }

  .gt-industries__panel-inner {
    min-height: auto;
    max-height: none;
    height: auto;
    padding: 24px 20px 0;
  }

  .gt-industries__panel-left {
    position: relative;
    max-width: 100%;
    padding: 0 0 20px;
  }

  .gt-industries__panel-title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .gt-industries__panel-desc {
    font-size: clamp(16px, 4vw, 20px);
    max-width: 100%;
  }

  .gt-industries__panel-visual {
    position: relative;
    inset: auto;
    height: auto;
    min-height: 0;
    margin-top: 8px;
  }

  .gt-industries__panel-visual img,
  .gt-industries__visual-img {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 320px !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 auto;
    display: block;
    object-fit: contain;
    transform: none !important;
    animation: none !important;
    mix-blend-mode: normal;
  }

  /* ─── Channels: horizontal swipe carousel ─── */
  .gt-channels {
    margin-bottom: 40px;
    overflow: hidden;
  }

  .gt-channels .gt-container {
    padding-right: 0;
  }

  .gt-channels .gt-section-heading {
    padding-right: var(--gt-container-padding);
  }

  .gt-channels .cards-wrapper,
  .gt-channels .cards-wrapper.is-mobile-layout {
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    perspective: none !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: 16px;
    padding: 4px var(--gt-container-padding) 20px calc(var(--gt-container-padding) + 4px);
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gt-container-padding);
    scrollbar-width: none;
    transform: none !important;
  }

  .gt-channels .cards-wrapper::-webkit-scrollbar {
    display: none;
  }

  .gt-channels .cards-wrapper::after {
    content: '';
    flex: 0 0 8px;
  }

  .gt-channels .card {
    position: relative !important;
    flex: 0 0 min(82vw, 280px) !important;
    scroll-snap-align: center;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    width: min(82vw, 280px) !important;
    max-width: 280px !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 360px !important;
    max-height: none !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
  }

  .gt-channels .card .img {
    flex: 1 1 auto;
    min-height: 200px;
    max-height: 260px;
    position: relative !important;
    inset: auto !important;
    height: auto !important;
  }

  .gt-channels .card .content {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 16px 20px;
    flex-shrink: 0;
  }

  .gt-channels .bluebg {
    font-size: 15px;
    padding: 10px 18px;
    margin: 0;
  }

  .gt-channels .blueft {
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
  }

  .gt-channels__inner {
    flex-direction: column;
    gap: 24px;
  }

  /* ─── Case studies: pill tabs + clean card ─── */
  .gt-case-studies__nav {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
  }

  .gt-case-studies__tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gt-container-padding);
    grid-template-columns: unset;
    gap: 10px;
    padding: 4px var(--gt-container-padding) 12px 0;
    scrollbar-width: none;
  }

  .gt-case-studies__tabs::-webkit-scrollbar {
    display: none;
  }

  .gt-case-studies__tab {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
    min-height: 48px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(18, 19, 72, 0.14);
    background: #fff;
    box-shadow: 0 2px 8px rgba(18, 19, 72, 0.06);
  }

  .gt-case-studies__tab.is-active {
    border-color: #ff9300;
    background: linear-gradient(135deg, #fff9f0 0%, #fff 100%);
    box-shadow: 0 4px 12px rgba(255, 147, 0, 0.15);
  }

  .gt-case-studies__tab:not(.is-active) img,
  .gt-case-studies__tab:not(.is-active) strong,
  .gt-case-studies__tab:not(.is-active) span {
    opacity: 1;
  }

  .gt-case-studies__tab img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .gt-case-studies__tab > div {
    min-width: 0;
  }

  .gt-case-studies__tab strong {
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    display: block;
  }

  .gt-case-studies__tab span {
    display: none;
  }

  .gt-case-studies__tab + .gt-case-studies__tab::before {
    display: none;
  }

  .gt-case-studies__progress {
    margin-top: 4px;
    height: 2px;
  }

  .gt-case-studies__stack {
    min-height: auto !important;
    height: auto !important;
    perspective: none;
  }

  .gt-case-studies__panel {
    position: relative;
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transform: none !important;
    filter: none !important;
    pointer-events: none;
  }

  .gt-case-studies__panel.is-active {
    opacity: 1;
    visibility: visible;
    height: auto;
    overflow: visible;
    pointer-events: auto;
  }

  .gt-case-studies__panel.is-stacked {
    display: none;
  }

  .gt-case-studies__card {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
    max-height: none;
  }

  .gt-case-studies__card-main {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 24px 20px 0;
    height: auto;
  }

  .gt-case-studies__card-header h3 {
    white-space: normal;
    font-size: 22px;
  }

  .gt-case-studies__card-visual-col {
    grid-column: 1;
    grid-row: auto;
    padding: 16px 20px 24px;
    width: 100%;
  }

  .gt-case-studies__card-visual {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 200px;
  }

  .gt-case-studies__card-visual img {
    max-height: 240px;
  }

  .gt-case-studies__card-stats {
    flex-direction: column;
    gap: 16px;
    align-self: stretch;
  }

  .gt-case-studies__card-quote {
    padding: 28px 24px;
  }

  /* ─── Enterprise stats ─── */
  .gt-enterprise .gt-container {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .gt-enterprise .gt-section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .gt-enterprise .gt-section-heading__title,
  .gt-enterprise .gt-section-heading__desc {
    flex: none;
    max-width: 100%;
  }

  .gt-enterprise__grid {
    display: flex !important;
    flex-direction: column;
    gap: 16px;
  }

  .gt-enterprise__column {
    display: contents;
  }

  .gt-enterprise__card {
    min-height: auto !important;
    flex: none !important;
  }

  .gt-enterprise__card--compact,
  .gt-enterprise__card--equal,
  .gt-enterprise__card--tall,
  .gt-enterprise__card--image {
    min-height: 200px;
  }

  .gt-enterprise__card--image.gt-enterprise__card--tall {
    min-height: 260px;
  }

  .gt-enterprise__value {
    font-size: clamp(40px, 10vw, 52px);
  }

  /* ─── Integrations ─── */
  .gt-integrations__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .gt-integrations__title,
  .gt-integrations__desc {
    max-width: 100%;
    font-size: clamp(22px, 5.5vw, 28px);
  }

  .gt-integrations__desc {
    font-size: clamp(15px, 4vw, 18px);
    margin-bottom: 20px;
  }

  .gt-integrations__diagram {
    max-width: min(100%, 340px);
    margin: 0 auto;
    justify-self: center;
    animation: none;
  }

  .gt-orbit-diagram {
    animation: none !important;
  }

  /* ─── CTA + Footer: single card flow, no overlap ─── */
  .gt-cta {
    margin-bottom: 0 !important;
    padding: 0 var(--gt-container-padding) 24px;
    overflow: visible;
  }

  .gt-cta .gt-container.gt-cta__inner {
    display: flex !important;
    flex-direction: column;
    grid-template-columns: unset;
    width: 100%;
    max-width: 100%;
    gap: 0;
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(165deg, #ffffff 0%, #fff6eb 100%);
    box-shadow: 0 16px 48px rgba(18, 19, 72, 0.1);
    border: 1px solid rgba(18, 19, 72, 0.08);
  }

  .gt-cta__visual {
    order: 0;
    width: 100%;
    max-height: 200px;
    overflow: hidden;
    border-radius: 0;
    background: #f8f4ef;
  }

  .gt-cta__visual-media {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 200px;
    overflow: hidden;
  }

  .gt-cta__visual-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    object-position: center bottom;
    margin: 0 auto;
  }

  .gt-cta__content {
    height: auto !important;
    min-height: auto !important;
    align-self: auto !important;
    padding: 24px 20px 28px;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .gt-cta__content h2 {
    font-size: clamp(22px, 6vw, 28px);
    margin-bottom: 12px;
  }

  .gt-cta__content p {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 0;
  }

  .gt-cta__content .gt-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    margin-top: 20px;
  }

  .gt-cta__inner {
    flex-direction: column;
    gap: 0;
    text-align: left;
  }

  .gt-footer {
    padding-top: 32px !important;
    margin-top: 0;
    border-radius: 24px 24px 0 0;
  }

  .gt-footer .gt-container.gt-footer__inner,
  .gt-footer__inner {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-left: var(--gt-container-padding);
    padding-right: var(--gt-container-padding);
  }

  .gt-footer__brand {
    max-width: 100%;
    text-align: left;
  }

  .gt-footer__brand p {
    font-size: 14px;
    line-height: 1.6;
  }

  .gt-footer__nav {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 24px;
    width: 100%;
  }

  .gt-footer__col h4 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .gt-footer__col ul li {
    margin-bottom: 10px;
  }

  .gt-footer__col a {
    font-size: 14px;
  }

  .gt-footer__col--social .gt-footer__contact-heading {
    margin-top: 20px;
  }

  .gt-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 32px;
  }

  .gt-footer__legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .gt-footer__legal span {
    display: none;
  }
}

@media (max-width: 768px) {
  .gt-hero__badge span {
    font-size: 14px;
  }

  .gt-case-study__grid {
    grid-template-columns: 1fr;
  }

  .gt-footer__nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --gt-container-padding: 16px;
  }

  .gt-hero__title-line {
    font-size: clamp(24px, 7.5vw, 30px);
  }

  .gt-hero__title-line--bold {
    font-size: clamp(28px, 8vw, 34px);
  }

  .gt-industries__tab-label {
    font-size: 12px;
  }

  .gt-channels .card {
    min-height: 340px !important;
  }
}
