.injury-hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  height: fit-content;
  overflow: hidden;
  background: var(--color-brand-surface);
  color: var(--color-brand-accent);
  font-family: var(--font-body);
}

.injury-hero__background,
.injury-hero__background picture,
.injury-hero__background-image,
.injury-hero__background-video,
.injury-hero__wash,
.injury-hero__top-fade {
  position: absolute;
  inset: 0;
}

.injury-hero__background {
  z-index: -4;
}

.injury-hero__background-image,
.injury-hero__background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.injury-hero__background--fallback {
  background:
    linear-gradient(90deg, rgba(250, 247, 240, 0.2), rgba(250, 247, 240, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 247, 240, 0.66)),
    repeating-linear-gradient(90deg, rgba(79, 72, 64, 0.08) 0 1px, transparent 1px 20vw),
    linear-gradient(135deg, #f7f5ef 0%, #e3e1db 52%, #d5d8d6 100%);
}

.injury-hero__wash {
  z-index: -3;
  background: rgba(250, 247, 240, 0.6);
}

.injury-hero__top-fade {
  z-index: -2;
  height: min(47vw, 525px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
}

.injury-hero__inner {
  position: relative;
  width: min(100%, 1728px);
  min-height: inherit;
  margin: 0 auto;
}

.injury-hero__title {
  position: absolute;
  z-index: 1;
  top: clamp(128px, 7.75vw, 134px);
  left: 3.875%;
  width: 92.25%;
  margin: 0;
  color: var(--color-brand-accent);
  font-family: var(--font-display);
  font-size: clamp(120px, 18.06vw, 312px);
  font-weight: var(--fw-black);
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
}

.injury-hero__title--long {
  font-size: clamp(92px, 14.5vw, 154px);
}

.injury-hero__portrait {
  position: absolute;
  z-index: 10;
  /* top: clamp(210px, 12.44vw, 215px); */
  bottom: 0;
  left: 35.3%;
  width: min(52.84vw, 90vh, 913px);
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 2;
  transform: translateY(clamp(24px, 2.2vw, 42px));
}

.injury-hero__portrait picture,
.injury-hero__portrait-image {
  display: block;
  width: 100%;
  height: 100%;
}

.injury-hero__portrait-image {
  object-fit: contain;
  object-position: center bottom;
}

.injury-hero__portrait--fallback {
  display: none;
}

.injury-hero__copy {
  position: absolute;
  z-index: 3;
  top: clamp(462px, 32.4vw, 562px);
  left: 12.67%;
  display: flex;
  width: min(30.1vw, 520px);
  min-width: 420px;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

/* Spanish hero: keep the headline slightly lower, but align copy block with EN hero rhythm. */
.injury-hero--lang-es .injury-hero__title {
  top: clamp(148px, 8.7vw, 170px);
}

.injury-hero--lang-es .injury-hero__copy {
  top: clamp(474px, 33.1vw, 574px);
  bottom: auto;
}

.injury-hero__description {
  margin: 0;
  color: var(--color-brand-accent);
  font-size: calc(var(--fs-body-large) + 2px);
  font-weight: var(--fw-medium);
  line-height: 1.48;
  letter-spacing: 0;
}

.injury-hero__cta {
  display: inline-flex;
  width: min(100%, 348px);
  min-height: 72px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 32px;
  border-radius: var(--radius-md);
  background: var(--color-cta-default);
  color: var(--color-cta-text);
  font-size: var(--fs-cta);
  font-weight: var(--fw-medium);
  line-height: 1.3;
  letter-spacing: 1px;
  text-align: center;
  text-decoration: none;
  transition:
    background-color var(--duration-normal) var(--ease-out),
    transform var(--duration-normal) var(--ease-out);
}

.injury-hero__cta:hover,
.injury-hero__cta:focus-visible {
  background: var(--color-cta-hover);
  transform: translateY(-1px);
}

.injury-hero__cta:focus-visible {
  outline: 2px solid var(--color-brand-accent);
  outline-offset: 4px;
}

.injury-hero__trust {
  display: flex;
  width: min(100%, 560px);
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin: -10px 0 0;
  padding: 0;
}

.injury-hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  color: var(--color-brand-accent);
}

.injury-hero__rating-score {
  color: #111;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: var(--fw-bold);
  line-height: 1;
}

.injury-hero__rating-detail {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.injury-hero__rating-count {
  color: rgba(17, 17, 17, 0.74);
  font-size: 12px;
  font-weight: var(--fw-bold);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.injury-hero__trust-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.injury-hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  color: var(--color-brand-accent);
  font-size: 14px;
  font-weight: var(--fw-bold);
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.injury-hero__trust-item + .injury-hero__trust-item::before {
  display: inline-block;
  width: 1px;
  height: 14px;
  margin: 0 12px;
  background: rgba(79, 72, 64, 0.42);
  content: "";
}

.injury-hero__trust-logo {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.injury-hero__stars {
  display: block;
  width: 100px;
  height: 30px;
  background: #f5b301;
  mask: var(--stars-url) center / contain no-repeat;
  -webkit-mask: var(--stars-url) center / contain no-repeat;
}

.injury-hero__cta-icon {
  flex: 0 0 auto;
}

.injury-hero__rules {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  height: 17px;
}

.injury-hero__rule {
  position: absolute;
  right: 0;
  left: 0;
  display: block;
  background: var(--color-text-secondary);
}

.injury-hero__rule--thin {
  top: 0;
  height: 1px;
}

.injury-hero__rule--medium {
  top: 4px;
  height: 3px;
}

.injury-hero__rule--thick {
  bottom: 0;
  height: 6px;
}

@media (max-width: 1180px) {
  .injury-hero {
    min-height: max(100svh, 760px);
  }

  .injury-hero__title {
    top: 130px;
    font-size: clamp(86px, 15vw, 156px);
  }

  .injury-hero__portrait {
    top: auto;
    bottom: 0;
    z-index: 5;
    left: 45%;
    width: min(50vw, 64vh, 560px);
    transform: none;
  }

  .injury-hero__copy {
    top: 430px;
    left: var(--section-padding-x);
    width: min(48vw, 520px);
    min-width: 0;
  }
}

@media (max-width: 1700px) and (min-width: 769px) {
  .injury-hero--lang-es .injury-hero__title {
    left: var(--section-padding-x);
    width: min(100%, 11.2ch);
    font-size: clamp(78px, 8.8vw, 128px);
    line-height: 0.94;
    text-align: left;
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .injury-hero {
    min-height: 0;
  }

  .injury-hero__inner {
    display: flex;
    min-height: 0;
    flex-direction: column;
    justify-content: flex-start;
    padding: 108px var(--section-padding-x) 18px;
  }

  .injury-hero__title {
    position: relative;
    top: auto;
    left: auto;
    z-index: 3;
    width: min(100%, 620px);
    font-size: clamp(56px, 14.5vw, 94px);
    line-height: 0.98;
    text-align: left;
    white-space: normal;
  }

  /* Reset Spanish desktop offsets so mobile flow does not overlap title/copy. */
  .injury-hero--lang-es .injury-hero__title {
    top: auto;
  }

  .injury-hero__portrait {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    order: 3;
    align-self: flex-end;
    width: min(74vw, 420px);
    margin-top: 8px;
    opacity: 0.96;
    transform: none;
  }

  .injury-hero__copy {
    position: relative;
    top: auto;
    left: auto;
    z-index: 4;
    order: 2;
    width: min(100%, 520px);
    min-width: 0;
    margin-top: 22px;
    gap: 24px;
  }

  .injury-hero--lang-es .injury-hero__copy {
    top: auto;
    bottom: auto;
  }

  .injury-hero__description {
    font-size: 18px;
    line-height: 1.6;
  }

  .injury-hero__cta {
    width: 100%;
    min-height: 64px;
    padding: 18px 24px;
    font-size: 16px;
  }

  .injury-hero__trust {
    margin-top: -2px;
    gap: 8px;
  }

  .injury-hero__trust-list {
    row-gap: 6px;
  }

  .injury-hero__trust-item {
    white-space: normal;
  }

  .injury-hero__trust-item + .injury-hero__trust-item::before {
    margin: 0 7px;
  }

  .injury-hero__rating {
    flex-wrap: wrap;
    gap: 7px;
  }

  .injury-hero__rating-score {
    font-size: 19px;
  }

  .injury-hero__rating-count {
    font-size: 11px;
  }

  .injury-hero__trust-logo {
    width: 36px;
    height: 36px;
  }

  .injury-hero__stars {
    width: 84px;
    height: 18px;
  }

  .injury-hero__trust-item {
    font-size: 12px;
  }

  .injury-hero__trust-item + .injury-hero__trust-item::before {
    height: 12px;
    margin: 0 8px;
  }
}

@media (max-width: 480px) {
  .injury-hero {
    min-height: 0;
  }

  .injury-hero__inner {
    min-height: 0;
    padding-top: 98px;
    padding-bottom: 12px;
  }

  .injury-hero__portrait {
    width: min(84vw, 390px);
    margin-top: 6px;
    align-self: center;
  }

  .injury-hero__copy {
    margin-top: 18px;
  }

  .injury-hero__title {
    font-size: clamp(46px, 15.5vw, 68px);
    line-height: 0.96;
  }
}
