/* ===================================
   Fonts
   =================================== */
@font-face {
  font-family: "Saans";
  src: url("../fonts/Saans-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Saans";
  src: url("../fonts/Saans-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Saans";
  src: url("../fonts/Saans-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Saans";
  src: url("../fonts/Saans-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SaansTRIAL";
  src: url("../fonts/SaansTRIAL-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===================================
   HOMEPAGE V2 — HERO
   =================================== */
.homepage-v2-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: center / cover no-repeat;
  padding: 180px 0 80px;
}
.homepage-v2-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  z-index: 0;
}
.homepage-v2-hero__inner.container {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto 0 140px;
  padding-inline: 24px;
}
.homepage-v2-hero__title {
  margin: 0 0 28px;
  max-width: 900px;
  font-family: "Saans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  color: #fff;
  text-shadow: 0 14px 36px rgba(0, 0, 0, 0.38);
}
.homepage-v2-hero__text {
  margin: 0 0 38px;
  max-width: 940px;
  font-family: "Saans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 2.9vw, 26px);
  line-height: 1.4;
  color: #fff;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.38);
}
.homepage-v2-hero__button,
.homepage-v2-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 52px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  background: #ed5a00;
  color: #fff !important;
  border-radius: 999px;
  text-decoration: none !important;
  border: 0;
  outline: 0;
}
.homepage-v2-hero__button:hover,
.homepage-v2-hero__button:focus,
.homepage-v2-hero__button:active,
.homepage-v2-hero__button:visited,
.homepage-v2-cta__button:hover,
.homepage-v2-cta__button:focus,
.homepage-v2-cta__button:active,
.homepage-v2-cta__button:visited {
  color: #fff !important;
  text-decoration: none !important;
}

/* ===================================
   HOMEPAGE V2 — SOLUTIONS
   =================================== */
.homepage-v2-solutions {
  --num-col: 44px;
  background: #fff;
  padding: 88px 0 96px;
}
.homepage-v2-solutions__inner.container,
.homepage-v2-banner__inner.container,
.homepage-v2-slider__inner.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 32px;
}
.homepage-v2-solutions__title {
  margin: 0 0 36px;
  margin-left: calc(var(--num-col) + 8px);
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 500;
  color: #ed5a00;
}
.homepage-v2-solutions__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(28px, 3vw, 48px);
  align-items: stretch;
}
.homepage-v2-solutions__list {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.homepage-v2-solutions__tab {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: var(--num-col) 1fr;
  align-items: center;
  column-gap: 8px;
  padding: 14px 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.homepage-v2-solutions__tab::after {
  content: "";
  position: absolute;
  left: calc(var(--num-col) + 8px);
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.28);
}
.homepage-v2-solutions__tab-num {
  font-family: "SaansTRIAL-Medium", "Saans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 25px;
  letter-spacing: 0.02em;
  color: rgba(0, 0, 0, 0.22);
}
.homepage-v2-solutions__tab-label {
  font-family: "SaansTRIAL-Medium", "Saans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 1.6vw, 30px);
  line-height: 1.12;
  color: rgba(0, 0, 0, 0.55);
}
.homepage-v2-solutions__tab.is-active .homepage-v2-solutions__tab-num {
  color: rgba(0, 0, 0, 0.35);
}
.homepage-v2-solutions__tab.is-active .homepage-v2-solutions__tab-label {
  font-weight: 800;
  color: rgba(0, 0, 0, 0.9);
}
.homepage-v2-solutions__tab:hover .homepage-v2-solutions__tab-label {
  color: rgba(0, 0, 0, 0.7);
}
.homepage-v2-solutions__card {
  position: relative;
  overflow: hidden;
  background: #221e1d;
  border-radius: 28px;
  padding: 34px;
  min-height: 520px;
  height: 100%;
  display: flex;
  color: #fff;
}
.homepage-v2-solutions__panel {
  position: relative;
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  padding: 24px 28px;
  border-radius: 18px;
  overflow: hidden;
}
.homepage-v2-solutions__panel.is-active {
  display: flex;
}
.homepage-v2-solutions__text {
  max-width: 520px;
  font-family: "SaansTRIAL", "Saans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}
.homepage-v2-solutions__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 190px;
  height: 48px;
  padding: 0 36px;
  border-radius: 999px;
  background: #ed5a00;
  color: #fff !important;
  text-decoration: none !important;
  font-family: "SaansTRIAL", "Saans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.03em;
  transition: none !important;
  position: absolute;
  margin-top: 200px;
}
.homepage-v2-solutions__button:hover,
.homepage-v2-solutions__button:active,
.homepage-v2-solutions__button:focus,
.homepage-v2-solutions__button:visited {
  color: #fff !important;
  text-decoration: none !important;
  transition: none !important;
  filter: none !important;
  transform: none !important;
}
.homepage-v2-solutions__image {
  position: absolute;
  right: 48px;
  bottom: 48px;
  margin: 0 !important;
  display: block;
  pointer-events: none;
}
.homepage-v2-solutions__image img {
  width: 330px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Legacy select (kept for compatibility if present) */
.homepage-v2-solutions__select-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto 18px;
  display: none;
}
.homepage-v2-solutions__select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 14px 44px 14px 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.28);
  font-family: "SaansTRIAL-Medium", "Saans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 4.8vw, 30px);
  line-height: 1.12;
  color: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}
.homepage-v2-solutions__select:focus-visible {
  border-bottom-color: rgba(0, 0, 0, 0.55);
}
.homepage-v2-solutions__select-wrap::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-60%) rotate(45deg);
  border-right: 2px solid rgba(0, 0, 0, 0.65);
  border-bottom: 2px solid rgba(0, 0, 0, 0.65);
  pointer-events: none;
}

/* ===================================
   HOMEPAGE V2 — BANNER
   =================================== */
.homepage-v2-banner {
  padding: 110px 0;
  background: #fff;
}
.homepage-v2-banner__card {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  min-height: 320px;
  padding: 110px 140px;
  background: #241d1e center / cover no-repeat;
  background-image: url("/wp-content/themes/virtuworks/images/homepage_banner.svg");
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}
.homepage-v2-banner__text {
  max-width: 1200px;
  text-align: center;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.75;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.94);
}
.homepage-v2-banner__text p {
  margin: 0;
}

/* ===================================
   CTA (Assessment)
   =================================== */
.homepage-v2-cta {
  position: relative;
  padding: 90px 0 110px;
  text-align: center;
  background: #fff;
}
.homepage-v2-cta__inner {
  max-width: 1140px;
  margin: 0 auto;
}
.homepage-v2-cta__title {
  margin: 0 auto 18px;
  font-family: "SaansTRIAL", "Saans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(44px, 3.4vw, 70px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #1c1c1c;
  max-width: 1140px;
}
.homepage-v2-cta__button {
  margin: 2rem 0;
}
.homepage-v2-cta__top-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  margin: 24px auto 40px;
  flex-wrap: wrap;
}
.homepage-v2-cta__top-logo img {
  display: block;
  max-height: 58px;
  width: auto;
  object-fit: contain;
}
.homepage-v2-cta__cards {
  margin: 0 auto;
  max-width: 980px;
}
.homepage-v2-cta__cards-row {
  display: flex;
  justify-content: center;
  gap: 34px;
}
.homepage-v2-cta__cards-row--2 {
  margin-top: 34px;
}
.homepage-v2-cta__card {
  width: 220px;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
}
.homepage-v2-cta__card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.homepage-v2-cta__cards-row--1 .homepage-v2-cta__card:nth-child(2) img {
  filter: invert(1);
}

/* ===================================
   HOMEPAGE V2 — SLIDER
   =================================== */
.homepage-v2-slider {
  background: #1d1517;
  padding: 100px 0 130px;
  color: #fff;
}
.homepage-v2-slider__title {
  margin: 0 0 34px;
  font-family: "SaansTRIAL-Medium", sans-serif;
  font-weight: 500;
  font-size: clamp(38px, 6.4vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.homepage-v2-slider__title-part--orange {
  color: #ea5a01;
}
.homepage-v2-slider__title-part--white {
  color: #fff;
}
.homepage-v2-slider__viewport {
  position: relative;
  overflow: hidden;
  overflow-x: auto;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: 18px;
  scrollbar-width: none;
}
.homepage-v2-slider__viewport::-webkit-scrollbar {
  height: 0;
}
.homepage-v2-slider__track {
  display: flex;
  width: 100%;
}
.homepage-v2-slider__slide {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
  position: relative;
  min-height: 580px;
  border-radius: 18px;
  overflow: hidden;
  background: #231d1e center / cover no-repeat;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}
.homepage-v2-slider__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.1) 55%,
    rgba(0, 0, 0, 0.15) 100%
  );
  pointer-events: none;
}
.homepage-v2-slider__overlay {
  position: absolute;
  left: 54px;
  top: 44px;
  width: min(660px, calc(100% - 108px));
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
}
.homepage-v2-slider__box {
    position: relative;
    width: 100%;
    padding: 34px 34px 28px;
    border-radius: 16px;

    /* darker glass */
    background: rgba(20, 16, 17, 0.55);

    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    z-index: 1;
    height: clamp(200px, 18vw, 260px);
    overflow: hidden;
}

/* subtle depth + readability boost */
.homepage-v2-slider__box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.35) 0%,
            rgba(0, 0, 0, 0.15) 100%);
    pointer-events: none;
    z-index: -1;
	border-radius: 16px;
}
.homepage-v2-slider__box-title {
  margin: 0 0 16px;
  font-family: "SaansTRIAL", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  color: #fff;
}
.homepage-v2-slider__box-text {
  font-family: "SaansTRIAL", sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  color: #fff;
  opacity: 0.92;
  max-height: calc(100% - 44px);
  overflow: auto;
  padding-right: 6px;
}
.homepage-v2-slider__box-text::-webkit-scrollbar {
  width: 8px;
}
.homepage-v2-slider__box-text::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}
.homepage-v2-slider__box-text::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}
.homepage-v2-slider__cta {
    pointer-events: auto;
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    background: #ea5a01;
    color: #fff;
    text-decoration: none;
    font-family: "SaansTRIAL", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    border: 0;
    cursor: pointer;
    user-select: none;
}
.homepage-v2-slider__cta:hover {
  color: #fff;
  filter: brightness(0.98);
}
.homepage-v2-slider__cta::after {
  content: "↗";
  font-size: 13px;
  line-height: 1;
  transform: translateY(-1px);
  opacity: 0.9;
}
.homepage-v2-slider__nav {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.homepage-v2-slider__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}
.homepage-v2-slider__nav-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}
.homepage-v2-slider__nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}
.homepage-v2-slider__nav-btn::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  display: block;
}
.homepage-v2-slider__nav-btn--prev::before {
  transform: rotate(225deg);
}
.homepage-v2-slider__nav-btn--next::before {
  transform: rotate(45deg);
}
.homepage-v2-slider__dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}
.homepage-v2-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}
.homepage-v2-slider__dot.is-active {
  width: 22px;
  background: rgba(255, 255, 255, 0.9);
}
.homepage-v2-slider__dot:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ===================================
   HOMEPAGE V2 — TESTIMONIALS (hp2-tm)
   =================================== */
.hp2-tm {
  position: relative;
  background: #1d1516;
  color: #fff;
  min-height: 100vw;
  padding: clamp(96px, 12vh, 160px) 0;
  overflow: visible;
  isolation: isolate;
}
.hp2-tm::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background: url("/wp-content/themes/virtuworks/images/top_bg.svg") top center no-repeat,
    url("/wp-content/themes/virtuworks/images/bottom_bg.svg") bottom center no-repeat;
  background-size: contain;
  z-index: 0;
  pointer-events: none;
}
.hp2-tm__inner,
.hp2-tm__viewport {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}
.hp2-tm__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: stretch;
}
.hp2-tm__title {
  font-weight: 600;
  color: #fff;
  font-size: clamp(50px, 7.5vw, 90px);
  line-height: 1.06;
  margin: clamp(90px, 12vh, 160px) 0 14px;
}
.hp2-tm__tabs {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 6px 0 clamp(32px, 5vw, 56px);
}
.hp2-tm__tab {
  width: clamp(60px, 12vw, 90px);
  height: 2px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  font-size: 0;
  cursor: pointer;
  padding: 0;
}
.hp2-tm__tab.is-active {
  background: #fff;
}
.hp2-tm__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  display: flex;
  align-items: center;
  min-height: 0;
  position: relative;
  scrollbar-width: none;
}
.hp2-tm__viewport::-webkit-scrollbar {
  height: 0;
}
.hp2-tm__track {
  display: flex;
  width: 100%;
}
.hp2-tm__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-inline: clamp(12px, 3vw, 24px);
}
.hp2-tm__name {
  margin: 0 0 16px;
  font-family: "SaansTRIAL", "Saans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 4.6vw, 44px);
  line-height: 1.1;
  color: #f49b49;
}
.hp2-tm__quote {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.94);
  text-align: center;
}
.hp2-tm__quote p {
  margin: 0 0 0.8em;
}
.hp2-tm__chev {
  position: absolute;
  z-index: 5;
  width: 54px;
  height: 54px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  line-height: 0;
  cursor: pointer;
  transform: translateY(-50%);
  display: none;
}
.hp2-tm__chev svg {
  display: block;
  width: 100%;
  height: 100%;
}
.hp2-tm__chev polyline {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.92;
  transition: opacity 0.15s ease;
}
.hp2-tm__chev:hover polyline {
  opacity: 1;
}
.hp2-tm__chev--prev {
  left: clamp(16px, 6vw, 120px);
}
.hp2-tm__chev--next {
  right: clamp(16px, 6vw, 120px);
}
.hp2-tm__tab:focus-visible,
.hp2-tm__chev:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

/* ===================================
   Shared wrapper: Banner + CTA map
   =================================== */
.hp2-banner-cta-wrap {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
  --map-opacity: 1;
  --map-size: 140%;
  --map-x: 50%;
  --map-y: 15%;
}
.hp2-banner-cta-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: var(--map-y);
  bottom: -25%;
  background: url("/wp-content/themes/virtuworks/images/iso-map.webp") no-repeat var(--map-x) top /
    var(--map-size);
  opacity: var(--map-opacity);
  pointer-events: none;
  z-index: 0;
}
.hp2-banner-cta-wrap > * {
  position: relative;
  z-index: 1;
}
.hp2-banner-cta-wrap .homepage-v2-banner,
.hp2-banner-cta-wrap .homepage-v2-cta {
  background: transparent !important;
}

/* ===================================
   Misc
   =================================== */
.page-id-6,
.footer {
  background: #1d1517;
}

/* ===================================
   Responsive
   Ordered from large -> small
   =================================== */

/* <= 1200px */
@media (max-width: 1200px) {
  .homepage-v2-hero__inner.container {
    margin-left: 80px;
  }
  .homepage-v2-banner__card {
    padding: 90px 80px;
    min-height: 280px;
  }
}

/* <= 980px */
@media (max-width: 980px) {
  .homepage-v2-hero {
    padding: 200px 0 60px;
    align-items: flex-start;
  }
  .homepage-v2-hero__inner.container {
    margin: 0 auto;
    max-width: 760px;
    padding-inline: 20px;
  }

  .homepage-v2-solutions__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .homepage-v2-solutions__title {
    margin-left: 0;
    text-align: center;
    font-size: clamp(40px, 7vw, 56px);
  }

  /* Ensure desktop list is hidden on mobile */
  .homepage-v2-solutions__list {
    display: none !important;
  }
  /* Hide legacy select to avoid duplication if present */
  .homepage-v2-solutions__select-wrap {
    display: none !important;
  }

  .homepage-v2-solutions__card {
    min-height: clamp(620px, 50vh, 760px);
    height: auto;
    padding: 18px;
    border-radius: 22px;
  }
  .homepage-v2-solutions__panel {
    padding: 22px;
    min-height: 100%;
    height: auto;
    gap: 18px;
  }
  .homepage-v2-solutions__text {
    max-width: none;
    font-size: 18px;
    line-height: 1.55;
    flex: 1 1 auto;
  }
  .homepage-v2-solutions__button {
    position: static;
    margin: 8px 0 0;
    min-width: 160px;
  }
  .homepage-v2-solutions__image {
    position: static;
    margin-top: auto !important;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: clamp(220px, 26vh, 320px);
  }
  .homepage-v2-solutions__image img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    object-fit: contain;
  }

  .hp2-tm {
    min-height: clamp(560px, 86vh, 980px);
  }
  .hp2-tm__title {
    margin: clamp(70px, 10vh, 120px) 0 14px;
  }

  /* Map wrapper tweak */
  .hp2-banner-cta-wrap {
    --map-size: 200%;
    --map-y: 28%;
  }
}

/* >= 981px */
@media (min-width: 981px) {
  .homepage-v2-solutions__list-wrap > :not(.homepage-v2-solutions__list) {
    display: none !important;
  }
  .homepage-v2-solutions__list {
    display: flex !important;
  }
  .hp2-tm__chev {
    display: block;
  }
  .hp2-tm__viewport {
    align-items: flex-start;
  }
}

/* <= 960px */
@media (max-width: 960px) {
  .homepage-v2-banner {
    padding: 90px 0;
  }
  .homepage-v2-banner__card {
    padding: 72px 48px;
    min-height: 260px;
    border-radius: 32px;
  }
}

/* <= 768px */
@media (max-width: 768px) {
  .homepage-v2-cta {
    padding: 70px 0 80px;
  }
  .homepage-v2-cta__top-logos {
    gap: 28px;
    margin-bottom: 30px;
  }
  .homepage-v2-cta__card {
    width: 190px;
    padding: 22px;
  }
  .homepage-v2-cta__cards-row {
    gap: 18px;
    flex-wrap: wrap;
  }

  .homepage-v2-slider {
    padding: 70px 0 90px;
  }
  .homepage-v2-slider__slide {
    min-height: 520px;
  }
  .homepage-v2-slider__overlay {
    left: 28px;
    top: 26px;
    width: min(620px, calc(100% - 56px));
  }
  .homepage-v2-slider__box {
    padding: 28px 28px 24px;
    height: auto;
    overflow: visible;
  }
  .homepage-v2-slider__box-title {
    font-size: 19px;
  }
  .homepage-v2-slider__box-text {
    font-size: 14px;
    max-height: none;
    overflow: visible;
    padding-right: 0;
    line-height: 1.65;
  }
  .homepage-v2-slider__cta {
    margin-top: 14px;
  }
}

/* <= 640px */
@media (max-width: 640px) {
  .homepage-v2-hero {
    padding: 220px 0 48px;
  }
  .homepage-v2-hero__inner.container {
    padding-inline: 16px;
  }

  .homepage-v2-solutions__inner.container,
  .homepage-v2-slider__inner.container,
  .homepage-v2-banner__inner.container {
    padding: 0 20px;
  }

  .homepage-v2-banner {
    padding: 70px 0;
  }
  .homepage-v2-banner__card {
    padding: 56px 22px;
    min-height: 240px;
    border-radius: 24px;
  }
  .homepage-v2-banner__text {
    font-size: 18px;
    line-height: 1.7;
  }

  .homepage-v2-slider__title {
    font-size: clamp(30px, 8vw, 44px);
  }
  .homepage-v2-slider__slide {
    min-height: 460px;
    border-radius: 16px;
  }
  .homepage-v2-slider__viewport {
    border-radius: 16px;
  }
  .homepage-v2-slider__overlay {
    left: 16px;
    top: 16px;
    width: calc(100% - 32px);
  }
  .homepage-v2-slider__box {
    padding: 20px 18px 18px;
    border-radius: 14px;
  }
  .homepage-v2-slider__box-title {
    font-size: 16px;
  }
  .homepage-v2-slider__box-text {
    font-size: 13px;
    line-height: 1.6;
  }
  .homepage-v2-slider__cta {
    margin-top: 12px;
    padding: 11px 18px;
    font-size: 13px;
  }
  .homepage-v2-slider__nav {
    gap: 10px;
  }
  .homepage-v2-slider__nav-btn {
    width: 40px;
    height: 40px;
  }
  .homepage-v2-slider__dots {
    padding: 9px 12px;
    gap: 7px;
  }

  .hp2-tm {
    min-height: clamp(520px, 88vh, 900px);
    padding: 72px 0;
  }
  .hp2-tm__tabs {
    gap: 16px;
  }
  .hp2-tm__tab {
    width: 56px;
  }
  .hp2-tm__title {
    margin: clamp(70px, 10vh, 120px) 0 14px;
  }

  /* Map wrapper tweak */
  .hp2-banner-cta-wrap {
    --map-size: 290%;
    --map-y: 35%;
  }
  .hp2-banner-cta-wrap::before {
    bottom: -40%;
  }
}

/* <= 629px */
@media (max-width: 629px) {
  .homepage-v2-cta__cards-row {
    display: contents;
  }
  .homepage-v2-cta__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    justify-items: center;
    max-width: 460px;
    margin: 0 auto;
  }
  .homepage-v2-cta__card {
    width: min(210px, 44vw);
    max-width: 210px;
  }
  .homepage-v2-cta__cards-row--2 .homepage-v2-cta__card:nth-child(2),
  .homepage-v2-cta__cards-row--2 .homepage-v2-cta__card:only-child {
    grid-column: 1 / -1;
    justify-self: center;
  }
  .homepage-v2-cta__cards-row--2 {
    margin-top: 0 !important;
  }
}

/* <= 480px */
@media (max-width: 480px) {
  .homepage-v2-cta__top-logos {
    gap: 34px;
  }
  .homepage-v2-cta__card {
    width: 170px;
  }
  .homepage-v2-solutions__panel {
    gap: 14px;
  }
  .homepage-v2-solutions__button {
    width: auto;
    min-width: 0;
  }
  .homepage-v2-solutions__image img {
    width: min(240px, 78vw);
    height: auto;
  }
  .hp2-tm__slide {
    padding-inline: 18px;
  }
}

/* <= 400px */
@media (max-width: 400px) {
  .homepage-v2-cta__title {
    font-size: clamp(34px, 8.8vw, 40px);
    line-height: 1.12;
    letter-spacing: 0;
  }
}

/* ===================================
   Testimonials: large-screen offsets
   =================================== */
@media (min-width: 980px) and (max-width: 1599px) {
  .hp2-tm__slide {
    padding-top: clamp(260px, 26vh, 420px);
  }
}
@media (min-width: 1600px) and (max-width: 1750px) {
  .hp2-tm__slide {
    padding-top: clamp(200px, 18vh, 340px);
  }
}
@media (min-width: 1751px) and (max-width: 1999px) {
  .hp2-tm__slide {
    padding-top: clamp(220px, 20vh, 380px);
  }
}
@media (min-width: 2000px) and (max-width: 2199px) {
  .hp2-tm__slide {
    padding-top: clamp(160px, 14vh, 300px);
  }
}
@media (min-width: 2200px) and (max-width: 2559px) {
  .hp2-tm__slide {
    padding-top: clamp(460px, 26vh, 700px);
  }
}
@media (min-width: 2560px) and (max-width: 2999px) {
  .hp2-tm__slide {
    padding-top: clamp(320px, 26vh, 620px);
  }
}
@media (min-width: 3000px) {
  .hp2-tm__viewport {
    align-items: flex-start;
  }
  .hp2-tm__slide {
    padding-top: clamp(300px, 22vh, 520px);
  }
  .hp2-tm__title {
    font-size: clamp(70px, 5vw, 140px);
    margin-top: clamp(140px, 18vh, 240px);
  }
  .hp2-tm__name {
    font-size: clamp(38px, 3vw, 70px);
  }
  .hp2-tm__quote {
    font-size: clamp(22px, 1.6vw, 32px);
    line-height: 1.9;
    max-width: 1100px;
  }
}

/* ===================================
   SOLUTIONS — Mobile dropdown (overlay native select)
   Paste at the very bottom
   =================================== */

@media (max-width: 980px) {
  /* Hide legacy select if it exists */
  .homepage-v2-solutions__select-wrap {
    display: none !important;
  }

  /* Show the new mobile select wrapper */
  .homepage-v2-solutions__mobile-select {
    position: relative;
    width: 100%;
    margin: 0 auto 18px;
    display: block;
  }

  /* Native select: invisible but clickable (covers the whole row) */
  .homepage-v2-solutions__mobile-native {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }

  /* Visible "desktop-like" row */
  .homepage-v2-solutions__mobile-display {
    display: grid;
    grid-template-columns: var(--num-col, 44px) 1fr;
    align-items: center;
    column-gap: 8px;

    padding: 14px 44px 14px 6px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.28);
  }

  .homepage-v2-solutions__mobile-display .homepage-v2-solutions__tab-num {
    font-family: "SaansTRIAL-Medium", "Saans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 700;
    font-size: 25px;
    letter-spacing: 0.02em;
    color: rgba(0, 0, 0, 0.22);
  }

  .homepage-v2-solutions__mobile-display .homepage-v2-solutions__tab-label {
    font-family: "SaansTRIAL-Medium", "Saans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 800;
    font-size: clamp(22px, 4.8vw, 30px);
    line-height: 1.12;
    color: rgba(0, 0, 0, 0.9);
  }

  /* Chevron */
  .homepage-v2-solutions__chevron {
    position: absolute;
    right: 8px;
    top: 50%;
    width: 10px;
    height: 10px;
    transform: translateY(-60%) rotate(45deg);
    border-right: 2px solid rgba(0, 0, 0, 0.65);
    border-bottom: 2px solid rgba(0, 0, 0, 0.65);
    pointer-events: none;
    z-index: 1;
  }

  /* Focus state (when the hidden select is focused) */
  .homepage-v2-solutions__mobile-native:focus-visible + .homepage-v2-solutions__mobile-display {
    border-bottom-color: rgba(0, 0, 0, 0.55);
  }
}

/* ===================================
   Slider box + overlay — desktop ONLY
   Make the box wider + a bit taller
   =================================== */
@media (min-width: 981px) {

    /* 1) Widen the overlay (this is the real limiter) */
    .homepage-v2-slider__overlay {
        width: min(980px, calc(100% - 108px));
        /* was 660px */
    }

    /* 2) Make the box fill that wider overlay */
    .homepage-v2-slider__box {
        width: 100%;
        max-width: none;
        padding: 52px 56px 46px;
        height: clamp(300px, 24vw, 380px);
    }

    /* 3) Bigger typography */
    .homepage-v2-slider__box-title {
        font-size: 26px;
        line-height: 1.25;
        margin: 0 0 20px;
    }

    .homepage-v2-slider__box-text {
        font-size: 19px;
        line-height: 1.75;
        font-weight: 450;
    }
}

.homepage-v2-slider__overlay,
.homepage-v2-slider__overlay * {
    pointer-events: auto;
}

/* ================================
   Testimonials — bottom navigation (slider-like)
   ================================ */
.hp2-tm__nav {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hp2-tm__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.hp2-tm__nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.hp2-tm__nav-btn::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  display: block;
}

.hp2-tm__nav-btn--prev::before { transform: rotate(225deg); }
.hp2-tm__nav-btn--next::before { transform: rotate(45deg); }

/* Reuse your existing bars as the "dots container" */
.hp2-tm__tabs {
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  gap: 8px;
}

/* Optional: keep old floating chevrons hidden forever */
.hp2-tm__chev { display: none !important; }

/* ================================
   Testimonials — desktop crop (hide bottom background)
   ================================ */
@media (min-width: 981px) {
  /* Make the section shorter on desktop */
  .hp2-tm {
    overflow: hidden;
    padding: 110px 300px; /* adjust if needed */
    min-height: 850px;
  }

  /* Hide the bottom background layer (keep only top) */
  .hp2-tm::before {
    background:
      url("/wp-content/themes/virtuworks/images/top_bg.svg") top center no-repeat;
    background-size: cover;
  }

  /* Optional: reduce extra vertical offset if you had any large-screen paddings */
  .hp2-tm__slide {
    padding-top: 0 !important;
  }
}

/* ================================
   Testimonials — mobile simple bars
   ================================ */
@media (max-width: 980px) {

  /* container with bars */
  .hp2-tm__tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
  }

  /* bar itself */
  .hp2-tm__tab {
    width: 42px;
    height: 4px;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    border: 0;
    cursor: default;

    /* remove all button styles */
    box-shadow: none;
    outline: none;
  }

  /* active bar */
  .hp2-tm__tab.is-active {
    background: #ffffff;
  }

  /* remove focus / hover effects */
  .hp2-tm__tab:hover,
  .hp2-tm__tab:focus {
    background: rgba(255, 255, 255, 0.35);
  }
}

@media (max-width: 768px) {
    .hp2-tm__nav-btn {
        display: none;
    }

    .hp2-tm__tabs {
        background: transparent
    }
}

/* =========================
   SLIDER NAV — match Testimonials style
   ========================= */

.homepage-v2-slider__nav{
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* Arrow buttons (same vibe as testimonials) */
.homepage-v2-slider__nav-btn{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
  cursor: pointer;
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
  padding: 0;
}

.homepage-v2-slider__nav-btn:disabled{
  opacity: .35;
  cursor: not-allowed;
}

/* Dots wrapper = pill */
.homepage-v2-slider__dots{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-width: 260px;
  padding: 10px 16px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

/* Dots -> bars */
.homepage-v2-slider__dot{
  border: 0;
  padding: 0;
  cursor: pointer;

  width: 28px;
  height: 4px;
  border-radius: 999px;

  background: rgba(255,255,255,.28);
  transition: width .18s ease, background-color .18s ease, opacity .18s ease;
}

.homepage-v2-slider__dot.is-active{
  width: 54px;
  background: rgba(255,255,255,.95);
  opacity: 1;
}

/* =========================
   Mobile: only bars (no arrows)
   ========================= */
@media (max-width: 980px){
  .homepage-v2-slider__nav{
    margin-top: 18px;
    gap: 0;
  }

  /* On mobile keep just the bars (no pill background if you want it cleaner) */
  .homepage-v2-slider__dots{
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    gap: 10px;
  }

  .homepage-v2-slider__dot{
    width: 26px;
    height: 4px;
    background: rgba(255,255,255,.28);
  }

  .homepage-v2-slider__dot.is-active{
    width: 52px;
    background: rgba(255,255,255,.95);
  }
}

/* =========================
   Slider nav – hide arrows on tablet & mobile
   ========================= */
@media (max-width: 768px){
  .homepage-v2-slider__nav-btn{
    display: none !important;
  }
}