body.home .carousel-tab-slide {
  position: relative;
}

body.home .carousel-tab-module {
  padding-top: clamp(7.25rem, 8vw, 8.5rem);
  scroll-margin-top: 100px;
}

body.home .ct-audience-layer {
  box-sizing: border-box;
  margin: 0 auto clamp(1.5rem, 3vw, 2.75rem);
  width: 87.5%;
}

body.home .ct-audience-heading {
  margin-bottom: clamp(1.25rem, 2vw, 2rem);
  max-width: 58rem;
}

body.home .ct-audience-heading h2 {
  color: #161616;
  font-size: clamp(1.75rem, 2.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin: 0 0 0.75rem;
}

body.home .ct-audience-heading p,
body.home .ct-audience-industries {
  color: #555;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}

body.home .ct-audience-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.home .ct-audience-card {
  appearance: none;
  background: #f4f4f4;
  border: 1px solid #dedede;
  border-radius: 12px;
  color: #222;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font: inherit;
  gap: 0.5rem;
  min-height: 10.25rem;
  padding: 1.35rem;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body.home .ct-audience-card strong {
  font-size: 1.0625rem;
  line-height: 1.35;
}

body.home .ct-audience-card span {
  color: #5a5a5a;
  font-size: 0.875rem;
  line-height: 1.55;
}

body.home .ct-audience-card em {
  color: #cf1f27;
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 700;
  margin-top: auto;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

body.home .ct-audience-card:hover {
  border-color: #e6232b;
  box-shadow: 0 12px 30px rgba(43, 48, 54, 0.1);
  transform: translateY(-2px);
}

body.home .ct-audience-card:active {
  transform: translateY(0);
}

body.home .ct-audience-card:focus-visible {
  outline: 2px solid #e6232b;
  outline-offset: 3px;
}

body.home .ct-audience-industries {
  border-top: 1px solid #dedede;
  margin-top: 1.25rem;
  padding-top: 1rem;
}

body.home .ct-audience-industries strong {
  color: #222;
}

body.home .ct-application-route-heading {
  box-sizing: border-box;
  margin: clamp(3rem, 5vw, 5rem) auto clamp(1.5rem, 2.5vw, 2.5rem);
  width: 87.5%;
}

body.home .ct-application-route-heading h2 {
  color: #161616;
  font-size: clamp(1.75rem, 2.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin: 0 0 0.75rem;
}

body.home .ct-application-route-heading p {
  color: #555;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  max-width: 52rem;
}

body.home .carousel-tab-bg {
  filter: brightness(1.14) contrast(0.94) saturate(0.88);
}

body.home .carousel-tab-container > .carousel-tab-lazy-inner,
body.home .carousel-tab-lazy-inner > .carousel-tab-swiper {
  height: 100%;
  min-height: 100%;
}

body.home .carousel-tab-lazy-inner > .carousel-tab-swiper .carousel-tab-slide::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 28%, rgba(255, 255, 255, 0.3) 52%, rgba(255, 255, 255, 0.02) 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 68%, rgba(20, 24, 28, 0.1) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

body.home .carousel-tab-text-container {
  align-items: flex-start;
  bottom: 0;
  box-sizing: border-box;
  gap: clamp(1.25rem, 2.2vw, 2rem);
  height: auto;
  justify-content: center;
  margin-left: 0;
  max-width: none;
  padding: clamp(2rem, 4vw, 3.5rem) 6.25% 8rem;
  text-align: left;
  top: 0;
  width: 100%;
}

body.home .carousel-tab-text-content {
  align-items: flex-start;
  gap: clamp(0.75rem, 1.4vw, 1.25rem);
  max-width: 40rem;
  text-align: left;
}

body.home .carousel-tab-label,
body.home .carousel-tab-title,
body.home .carousel-tab-description {
  text-shadow: none;
}

body.home .carousel-tab-label {
  color: #cf1f27;
  font-weight: 700;
}

body.home .carousel-tab-title {
  color: #171717;
}

body.home .carousel-tab-description {
  color: #333;
}

body.home .carousel-tab-description {
  min-height: 0;
}

body.home .carousel-tab-buttons {
  margin-top: 0;
  width: auto;
}

body.home .carousel-tab-btn {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 3rem;
  width: auto;
}

body.home .carousel-tab-btn.contact-us {
  order: -1;
}

body.home .carousel-tab-btn.learn-more {
  background: #fff;
  border: 1px solid #c9c9c9;
  color: #222;
}

body.home .carousel-tab-btn:focus-visible {
  outline: 2px solid #e6232b;
  outline-offset: 3px;
}

body.home .carousel-tab-tabs {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  bottom: 1.5rem;
  box-shadow: 0 12px 32px rgba(43, 48, 54, 0.12);
  z-index: 901;
}

body.home .carousel-tab-tab h3 {
  color: #666;
}

body.home .carousel-tab-tab.active h3,
body.home .carousel-tab-tab:hover h3 {
  color: #cf1f27;
}

body.home .carousel-tab-progress-bg {
  background: #d8d8d8;
}

body.home .ct-application-carousel-controls {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(34, 38, 43, 0.18);
  color: #333;
  display: flex;
  gap: 0.65rem;
  padding: 0.5rem;
  position: absolute;
  right: 6.25%;
  top: 1.5rem;
  z-index: 5;
}

body.home .ct-application-carousel-arrow {
  align-items: center;
  appearance: none;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 50%;
  color: #333;
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  padding: 0;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
  width: 44px;
}

body.home .ct-application-carousel-arrow svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 20px;
}

body.home .ct-application-carousel-arrow:hover,
body.home .ct-application-carousel-arrow:focus-visible {
  background: #e6232b;
  border-color: #e6232b;
  color: #fff;
}

body.home .ct-application-carousel-arrow:focus-visible {
  outline: 2px solid #e6232b;
  outline-offset: 3px;
}

body.home .ct-application-carousel-arrow:disabled {
  background: #f4f4f4;
  border-color: #d8d8d8;
  color: #999;
  cursor: default;
}

body.home .ct-application-carousel-position {
  align-items: baseline;
  display: inline-flex;
  font-size: 0.875rem;
  gap: 0.2rem;
  min-width: 2.5rem;
  justify-content: center;
}

body.home .ct-application-carousel-position strong {
  color: #e6232b;
  font-size: 1rem;
}

body.home .ct-application-carousel-hint {
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

body.home .ct-application-hint-mobile {
  display: none;
}

/* One clear conversion exit on the homepage; detailed contact channels remain in the footer. */
body.home .ct-contact-rail {
  background: transparent;
  bottom: 24px;
  box-shadow: none;
  height: auto;
  opacity: 1;
  padding: 0;
  right: 24px;
  top: auto;
  transform: translateY(0);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  visibility: visible;
  width: auto;
}

body.home .ct-contact-rail.ct-contact-rail-suppressed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  visibility: hidden;
}

body.home .ct-contact-rail button {
  display: none;
}

body.home .ct-contact-rail button:first-child {
  align-items: center;
  background: #e6232b;
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(34, 38, 43, 0.24);
  display: inline-flex;
  gap: 0.5rem;
  height: 48px;
  justify-content: center;
  min-width: 48px;
  padding: 0 18px;
  width: auto;
}

body.home .ct-contact-rail button:first-child:hover {
  background: #c91f27;
}

body.home .ct-contact-rail button:first-child:focus-visible {
  outline: 2px solid #e6232b;
  outline-offset: 3px;
}

body.home .ct-contact-rail-label {
  display: inline;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 1100px) {
  body.home .ct-audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body.home .ct-audience-layer {
    width: 90%;
  }

  body.home .ct-audience-heading h2 {
    font-size: 1.75rem;
  }

  body.home .ct-audience-heading p,
  body.home .ct-audience-industries,
  body.home .ct-application-route-heading p {
    font-size: 0.875rem;
  }

  body.home .ct-application-route-heading {
    margin-bottom: 1.5rem;
    margin-top: 2.75rem;
    width: 90%;
  }

  body.home .ct-application-route-heading h2 {
    font-size: 1.75rem;
  }

  body.home .ct-audience-grid {
    display: flex;
    gap: 0.75rem;
    margin-right: -5.56%;
    overflow-x: auto;
    padding: 0 5.56% 0.75rem 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  body.home .ct-audience-card {
    flex: 0 0 min(82vw, 20rem);
    min-height: 9.5rem;
    scroll-snap-align: start;
  }

  body.home .carousel-tab-container,
  body.home .carousel-tab-container > .carousel-tab-lazy-inner {
    min-height: 39rem;
  }

  body.home .carousel-tab-container {
    aspect-ratio: auto;
    height: 39rem;
  }

  body.home .carousel-tab-bg {
    filter: brightness(1.12) contrast(0.94) saturate(0.88);
    object-position: center 20%;
  }

  body.home .carousel-tab-lazy-inner > .carousel-tab-swiper .carousel-tab-slide::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.08) 36%, rgba(255, 255, 255, 0.88) 58%, #fff 78%);
  }

  body.home .carousel-tab-text-container {
    align-items: flex-start;
    gap: 1rem;
    justify-content: flex-end;
    padding: 1.75rem 1.25rem 7.25rem;
    text-align: left;
  }

  body.home .carousel-tab-text-content {
    gap: 0.75rem;
  }

  body.home .carousel-tab-label {
    font-size: 0.8125rem;
    letter-spacing: 0.03em;
  }

  body.home .carousel-tab-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    line-height: 1.16;
  }

  body.home .carousel-tab-description {
    font-size: 0.875rem;
    line-height: 1.5;
    max-width: 38rem;
  }

  body.home .carousel-tab-buttons {
    flex-direction: row;
    gap: 0.625rem;
    margin-top: 0;
    width: min(100%, 22rem);
  }

  body.home .carousel-tab-btn {
    font-size: 0.875rem;
    min-height: 2.875rem;
    padding: 0.75rem 1rem;
    width: 100%;
  }

  body.home .carousel-tab-tabs {
    bottom: 0.75rem;
    display: block;
    padding: 0.75rem 1rem;
    width: 90%;
  }

  body.home .ct-application-carousel-controls {
    right: 5%;
    top: 6.5rem;
  }

  body.home .ct-application-hint-desktop {
    display: none;
  }

  body.home .ct-application-hint-mobile {
    display: inline;
  }

  body.home .ct-contact-rail button:first-child {
    min-width: 3rem;
    padding: 0;
    width: 3rem;
  }

  body.home .ct-contact-rail-label {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }
}

@media (max-width: 480px) {
  body.home .carousel-tab-module {
    padding-top: 7rem;
  }

  body.home .carousel-tab-container,
  body.home .carousel-tab-container > .carousel-tab-lazy-inner {
    min-height: 43rem;
  }

  body.home .carousel-tab-container {
    height: 43rem;
  }

  body.home .carousel-tab-buttons {
    flex-direction: column;
  }

  body.home .carousel-tab-text-container {
    padding-bottom: 7rem;
  }

  body.home .ct-contact-rail {
    bottom: 12px;
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .carousel-tab-btn,
  body.home .ct-audience-card {
    transition: none;
  }
}
