.tw-hero {
  position: relative;
  overflow: hidden;
  min-height: 922px;
  padding: 196px 0 102px;
}

.tw-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 922px;
  background-image: var(--tw-hero-bg-image, none);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.2;
  filter: blur(2px);
  pointer-events: none;
  background-color: var(--tw-color-hero-bg);
  z-index: 0;
}

.tw-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 96px;
}

.tw-hero__content {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.tw-hero__eyebrow {
  font-size: 50px;
  font-weight: 300;
  letter-spacing: 2px;
  line-height: normal;
  color: var(--tw-color-text);
  margin: 0;
}

.tw-hero__title {
  font-size: 100px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 100%;
  background-image: var(--tw-gradient-heading);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

.tw-hero__text {
  max-width: 438px;
  font-size: 32px;
  font-weight: 300;
  line-height: 1.25;
  color: var(--tw-color-text);
  margin: 0 0 48px;
}

.tw-hero__text p {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

.tw-hero__text strong,
.tw-hero__text b {
  font-weight: 500;
}

.tw-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* Primary: icon on physical left (LTR inside button) */
.tw-hero__btn-primary {
  direction: ltr;
  gap: 4px;
  font-weight: 300;
  font-size: 20px;
  color: #fff;
  background-image: linear-gradient(97.31deg, #40322a 1.82%, #724225 111.81%);
  border: 0;
}

.tw-hero__btn-primary svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
}

.tw-hero__btn-ghost {
  font-weight: 700;
  font-size: 20px;
  color: #626262;
  border-color: #d1d1d1;
  background: #f7f6f9;
}

.tw-hero__media {
  width: min(1205px, 100%);
  height: 734px;
}

.tw-hero__image {
  width: 100%;
  height: 100%;
  margin-inline: auto;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .tw-hero {
    min-height: 0;
    padding: 140px 0 64px;
  }

  .tw-hero__bg {
    height: 780px;
  }

  .tw-hero__inner {
    gap: 56px;
  }

  .tw-hero__content {
    max-width: 640px;
    width: 100%;
    padding-inline: 8px;
  }

  .tw-hero__eyebrow {
    font-size: 36px;
    letter-spacing: 1.5px;
  }

  .tw-hero__title {
    font-size: 64px;
    letter-spacing: -1.5px;
  }

  .tw-hero__text {
    max-width: 400px;
    font-size: 24px;
    margin: 0 0 32px;
  }

  .tw-hero__actions {
    gap: 12px;
  }

  .tw-hero__btn-primary,
  .tw-hero__btn-ghost {
    font-size: 18px;
    min-height: 48px;
    padding: 11px 22px;
  }

  .tw-hero__btn-primary svg {
    width: 22px;
    height: 22px;
  }

  .tw-hero__media {
    width: min(900px, 100%);
    height: 480px;
  }
}

@media (max-width: 768px) {
  .tw-hero {
    min-height: 0;
    padding: 120px 0 40px;
  }

  .tw-hero__bg {
    height: 620px;
  }

  .tw-hero__inner {
    gap: 36px;
  }

  .tw-hero__content {
    max-width: 100%;
    padding-inline: 4px;
  }

  .tw-hero__eyebrow {
    font-size: 22px;
    letter-spacing: 1px;
    line-height: 1.3;
  }

  .tw-hero__title {
    font-size: clamp(32px, 10vw, 42px);
    letter-spacing: -1px;
    line-height: 1.1;
    margin-top: 4px;
  }

  .tw-hero__text {
    max-width: 320px;
    font-size: 16px;
    line-height: 1.4;
    margin: 12px 0 24px;
  }

  .tw-hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 280px;
    gap: 12px;
  }

  .tw-hero__actions .tw-btn {
    width: 100%;
    max-width: none;
    min-height: 48px;
    padding: 12px 20px;
  }

  .tw-hero__btn-primary,
  .tw-hero__btn-ghost {
    font-size: 16px;
    justify-content: center;
  }

  .tw-hero__btn-primary svg {
    width: 20px;
    height: 20px;
  }

  .tw-hero__media {
    width: 100%;
    height: auto;
    aspect-ratio: 1205 / 734;
    max-height: 320px;
  }

  .tw-hero__image {
    object-fit: contain;
    object-position: center;
  }
}
