/* ── Split Hero ──────────────────────────────────────────── */

.sh-split-hero {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  background: #fff;
  overflow: hidden;
}

.sh-split-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  max-width: 1440px;
  width: 100%;
  min-height: 85vh;
  max-height: 100vh;
  padding: 80px 64px 60px;
  overflow: hidden;
}

/* ── Text side ───────────────────────────────────────────── */

.sh-split-hero__text {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sh-split-hero__headline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}

.sh-split-hero__headline-main {
  font-family: var(--font-nexa-heavy, sans-serif);
  font-size: 60px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  color: #231f20;
}

.sh-split-hero__headline-sub {
  font-family: var(--font-san-de-more, serif);
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: #009b8c;
  font-style: italic;
}

.sh-split-hero__description {
  font-family: var(--font-deuterium, sans-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: #555;
  margin: 0;
  max-width: 480px;
}

/* ── CTA ─────────────────────────────────────────────────── */

.sh-split-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-deuterium, sans-serif);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background: #231f20;
  border: none;
  border-radius: 100px;
  padding: 18px 40px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
  align-self: flex-start;
}

.sh-split-hero__cta:hover {
  background: #009b8c;
  transform: translateY(-1px);
}

.sh-split-hero__cta svg {
  transition: transform 0.2s ease;
}

.sh-split-hero__cta:hover svg {
  transform: translateX(3px);
}

/* ── Trust badges ────────────────────────────────────────── */

.sh-split-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 4px;
}

.sh-split-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-deuterium, sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: #666;
}

.sh-split-hero__badge-check {
  flex-shrink: 0;
}

/* ── Media side ──────────────────────────────────────────── */

.sh-split-hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 640px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08), 0 2px 12px rgba(0, 0, 0, 0.04);
}

.sh-split-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Vertical two-column auto-scrolling image marquee ────── */

@keyframes sh-marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes sh-marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@keyframes sh-marquee-up {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@keyframes sh-marquee-down {
  from { transform: translateY(-50%); }
  to { transform: translateY(0); }
}

/* When images are active, media container spans freely — no card */
.sh-split-hero__media--marquee {
  aspect-ratio: unset;
  max-height: none;
  border-radius: 0;
  box-shadow: none;
  align-self: stretch;
}

.sh-split-hero__marquee {
  display: flex;
  gap: 12px;
  height: 100%;
  overflow: hidden;
}

.sh-split-hero__marquee-col {
  flex: 1;
  overflow: hidden;
}

.sh-split-hero__marquee-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sh-split-hero__marquee-track--up {
  animation: sh-marquee-up 30s linear infinite;
}

.sh-split-hero__marquee-track--down {
  animation: sh-marquee-down 30s linear infinite;
}

.sh-split-hero__marquee-card {
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
}

.sh-split-hero__marquee-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

/* ── Responsive: Tablet ──────────────────────────────────── */

@media (max-width: 1200px) {
  .sh-split-hero__inner {
    gap: 48px;
    padding: 80px 40px 48px;
  }

  .sh-split-hero__headline-main {
    font-size: 48px;
  }

  .sh-split-hero__headline-sub {
    font-size: 52px;
  }

  .sh-split-hero__marquee-card {
    border-radius: 14px;
  }
}

/* ── Responsive: Mobile ──────────────────────────────────── */

@media (max-width: 809px) {
  .sh-split-hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
    max-height: none;
    overflow: visible;
    padding: 80px 24px 40px;
  }

  .sh-split-hero__media {
    aspect-ratio: 4 / 3;
    max-height: 360px;
    border-radius: 20px;
  }

  /* On mobile, marquee is full-width single horizontal row, no card */
  .sh-split-hero__media--marquee {
    aspect-ratio: unset;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    align-self: auto;
    margin: 0 -24px;
    width: calc(100% + 48px);
  }

  .sh-split-hero__marquee {
    flex-direction: row;
    gap: 0;
    height: auto;
  }

  /* Hide second column on mobile — single row only */
  .sh-split-hero__marquee-col:last-child {
    display: none;
  }

  .sh-split-hero__marquee-col {
    flex: none;
    width: 100%;
    overflow: hidden;
  }

  .sh-split-hero__marquee-track {
    flex-direction: row;
    gap: 10px;
  }

  .sh-split-hero__marquee-track--up {
    animation: sh-marquee-left 20s linear infinite;
  }

  .sh-split-hero__marquee-track--down {
    animation: none;
  }

  .sh-split-hero__marquee-card {
    width: 160px;
    border-radius: 12px;
  }

  .sh-split-hero__marquee-card img {
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .sh-split-hero__headline-main {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .sh-split-hero__headline-sub {
    font-size: 40px;
  }

  .sh-split-hero__description {
    font-size: 16px;
  }

  .sh-split-hero__cta {
    align-self: stretch;
    justify-content: center;
    padding: 16px 32px;
    font-size: 15px;
  }

  .sh-split-hero__badges {
    flex-direction: column;
    gap: 12px;
  }
}
