/* Homepage composition; shared component rules live in mobile-layout-2026.css. */
@media screen and (max-width: 767px) {

  [data-mobile-layout="2026"] .home-hero__showreel.test {
    width: 31.25rem;
    left: calc(50% + 1.5rem);
  }

  [data-mobile-layout="2026"] .hero-link__inner {
    gap: .75rem;
  }

  [data-mobile-layout="2026"] .hero-link__ico {
    width: 2.5rem;
    height: 2.125rem;
    object-fit: contain;
  }

  [data-mobile-layout="2026"] .hero-link__title {
    font-size: .875rem;
    line-height: 1.4;
  }

  [data-mobile-layout="2026"] .hero-link__description {
    font-size: .75rem;
    line-height: 1;
  }

  [data-mobile-layout="2026"] .home-hero {
    padding-inline: 0;
  }

  [data-mobile-layout="2026"] .home-hero .container,
  [data-mobile-layout="2026"] .home-hero .columns,
  [data-mobile-layout="2026"] .home-hero h1.mod--size-72 {
    width: 100%;
    max-width: none;
  }

  [data-mobile-layout="2026"] .home-hero h1 {
    font-size: var(--mobile-hero-title-size);
    line-height: 1.1;
    letter-spacing: var(--mobile-hero-title-tracking);
  }

  [data-mobile-layout="2026"] .home-hero__accent {
    color: #fdc448;
  }

  [data-mobile-layout="2026"] .home-hero__ending {
    white-space: nowrap;
  }

  [data-mobile-layout="2026"] .values-text a {
    white-space: nowrap;
    padding-left: 1.625rem;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 1.5rem 1.5rem;
  }

  /* Bind each decorative icon to its link on mobile without changing the
     desktop/tablet markup consumed by the existing line-splitting animation. */
  [data-mobile-layout="2026"] .values-text__ico {
    display: none !important;
  }

  [data-mobile-layout="2026"] .values-text a::before {
    left: 1.625rem;
    width: calc(100% - 1.625rem);
  }

  [data-mobile-layout="2026"] .values-text a[href="/ai-workflow"] {
    background-image: url('/images/ai-workflows-ico.svg');
  }

  [data-mobile-layout="2026"] .values-text a[href="/ai-toolkit"] {
    background-image: url('/images/ai-products-ico.svg');
  }

  [data-mobile-layout="2026"] .section.mod--products h2.text-size-72 {
    width: 100%;
    max-width: 17rem;
    font-size: var(--mobile-hero-title-size);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: var(--mobile-hero-title-tracking);
  }

  [data-mobile-layout="2026"] .columns.mod--products {
    row-gap: 3.5rem;
  }

  [data-mobile-layout="2026"] .services-head__link h3 {
    line-height: 1;
  }

  [data-mobile-layout="2026"] .services__link:last-child {
    min-height: 0;
  }

  [data-mobile-layout="2026"] .service__link-text {
    width: 100%;
    justify-content: space-between;
    height: 3.25rem;
    padding-right: .5rem;
    line-height: 1.4;
  }

  [data-mobile-layout="2026"] .services__link:first-child .service__link-text {
    height: 3.125rem;
  }

  [data-mobile-layout="2026"] .columns__col.mod--new-services + .columns__col.mod--new-services .services__link:first-child .service__link-text {
    height: 3.25rem;
  }

  [data-mobile-layout="2026"] .services__link:last-child .service__link-text {
    height: 2.25rem;
    align-items: flex-end;
  }

  [data-mobile-layout="2026"] .service-link__arrow {
    transform: none;
    opacity: 1;
  }
}

/* Homepage composition: 5rem from the end of Cases to the Reasons label. */
@media screen and (max-width: 767px) {
  [data-mobile-layout="2026"] .bg-home-gradient.padding-top-80.is2 {
    padding-top: var(--80);
  }

  [data-mobile-layout="2026"] .bg-home-gradient.is2 > .section.mod--choose {
    padding-top: 0;
  }
}
