/* Homepage welcome - balanced copy + industrial visual */

@keyframes jamsWelcomeIn {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes jamsWelcomeMediaIn {
  from {
    opacity: 0;
    transform: translate3d(28px, 0, 0) scale(1.02);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.jams-welcome {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: var(--gacor-container, 1320px);
  margin: 0 auto;
  padding: 36px 0 20px;
  box-sizing: border-box;
}

.jams-welcome .jams-motif--chevrons .jams-motif__stack {
  opacity: 0.55;
}

.jams-welcome .jams-motif--corners .jams-motif__stack {
  opacity: 0.7;
}

.jams-welcome__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.jams-welcome__copy {
  position: relative;
  padding: 8px 0 4px;
  min-width: 0;
}

.jams-welcome__copy::before {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-bottom: 18px;
  background: #00aeef;
}

.jams-welcome__eyebrow {
  margin: 0 0 12px !important;
  font-family: var(--gacor-font, "DM Sans", sans-serif) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #00aeef !important;
}

.jams-welcome__title {
  margin: 0 0 16px !important;
  max-width: 16ch;
  font-family: var(--gacor-font, "DM Sans", sans-serif) !important;
  font-size: clamp(28px, 3.4vw, 42px) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em;
  color: var(--gacor-heading, #0b1220) !important;
  text-wrap: balance;
}

.jams-welcome__lead {
  margin: 0 0 26px !important;
  max-width: 42ch;
  font-family: var(--gacor-font, "DM Sans", sans-serif) !important;
  font-size: clamp(15px, 1.2vw, 17px) !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  color: var(--gacor-muted, #757575) !important;
}

.jams-welcome__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 26px;
}

.jams-welcome__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px;
  box-sizing: border-box;
  font-family: var(--gacor-font, "DM Sans", sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 0;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease;
}

.jams-welcome__btn--primary {
  background: #00aeef;
  border: 1px solid #00aeef;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(0, 174, 239, 0.22);
}

.jams-welcome__btn--primary:hover,
.jams-welcome__btn--primary:focus-visible {
  background: #0095d0;
  border-color: #0095d0;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 174, 239, 0.3);
}

.jams-welcome__btn--ghost {
  background: transparent;
  border: 1px solid var(--gacor-heading, #0b1220);
  color: var(--gacor-heading, #0b1220) !important;
}

.jams-welcome__btn--ghost:hover,
.jams-welcome__btn--ghost:focus-visible {
  background: var(--gacor-dark, #0b1220);
  color: #fff !important;
  transform: translateY(-2px);
}

.jams-welcome__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid rgba(20, 20, 20, 0.1);
}

.jams-welcome__points li {
  position: relative;
  margin: 0;
  padding-left: 16px;
  font-family: var(--gacor-font, "DM Sans", sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gacor-heading, #0b1220);
  list-style: none;
}

.jams-welcome__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  background: #00aeef;
}

.jams-welcome__points li::marker {
  content: none;
}

/* Visual panel */
.jams-welcome__media {
  position: relative;
  margin: 0;
  min-height: 420px;
  overflow: hidden;
  background: var(--gacor-dark, #0b1220);
  isolation: isolate;
}

.jams-welcome__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  filter: none;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.jams-welcome__media:hover img {
  transform: scale(1.04);
}

.jams-welcome__media-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(8, 8, 8, 0.05) 0%,
      rgba(8, 8, 8, 0.12) 48%,
      rgba(8, 8, 8, 0.68) 100%
    );
}

.jams-welcome__media-frame {
  position: absolute;
  inset: 14px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.jams-welcome__caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

.jams-welcome__caption-label {
  font-family: var(--gacor-font, "DM Sans", sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #00aeef;
}

.jams-welcome__caption-text {
  font-family: var(--gacor-font, "DM Sans", sans-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

/* Entrance motion */
.jams-welcome[data-animate="true"] .jams-welcome__eyebrow,
.jams-welcome[data-animate="true"] .jams-welcome__title,
.jams-welcome[data-animate="true"] .jams-welcome__lead,
.jams-welcome[data-animate="true"] .jams-welcome__actions,
.jams-welcome[data-animate="true"] .jams-welcome__points {
  opacity: 0;
  animation: jamsWelcomeIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.jams-welcome[data-animate="true"] .jams-welcome__eyebrow { animation-delay: 0.05s; }
.jams-welcome[data-animate="true"] .jams-welcome__title { animation-delay: 0.14s; }
.jams-welcome[data-animate="true"] .jams-welcome__lead { animation-delay: 0.24s; }
.jams-welcome[data-animate="true"] .jams-welcome__actions { animation-delay: 0.34s; }
.jams-welcome[data-animate="true"] .jams-welcome__points { animation-delay: 0.44s; }

.jams-welcome[data-animate="true"] .jams-welcome__media {
  opacity: 0;
  animation: jamsWelcomeMediaIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
}

.wpb_wrapper > .jams-welcome {
  margin-top: 8px;
}

@media (max-width: 999px) {
  .jams-welcome {
    padding: 28px 20px 20px;
  }

  .jams-welcome__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .jams-welcome__title {
    max-width: none;
    font-size: clamp(28px, 7vw, 40px);
  }

  .jams-welcome__media,
  .jams-welcome__media img {
    min-height: 280px;
  }

  .jams-welcome__btn {
    flex: 1 1 auto;
    min-width: 140px;
  }

  .jams-welcome[data-animate="true"] .jams-welcome__media {
    animation-name: jamsWelcomeIn;
  }
}

@media (max-width: 640px) {
  .jams-welcome {
    padding: 20px 16px 16px;
  }

  .jams-welcome__actions {
    flex-direction: column;
  }

  .jams-welcome__btn {
    width: 100%;
    min-width: 0;
    text-align: center;
    justify-content: center;
  }

  .jams-welcome__media,
  .jams-welcome__media img {
    min-height: 220px;
  }

  .jams-welcome__lead {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jams-welcome[data-animate="true"] .jams-welcome__eyebrow,
  .jams-welcome[data-animate="true"] .jams-welcome__title,
  .jams-welcome[data-animate="true"] .jams-welcome__lead,
  .jams-welcome[data-animate="true"] .jams-welcome__actions,
  .jams-welcome[data-animate="true"] .jams-welcome__points,
  .jams-welcome[data-animate="true"] .jams-welcome__media,
  .jams-welcome__media img {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
