.heroes-memory-page {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(247, 241, 231, 0.96) 42%, rgba(246, 239, 227, 1) 100%);
}

.heroes-memory-hero {
  position: relative;
  min-height: min(760px, calc(100vh - 78px));
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.heroes-memory-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: linear-gradient(90deg, #ffffff 0 33%, #1f5b95 33% 66%, #b3323a 66% 100%);
}

.heroes-memory-hero__image,
.heroes-memory-hero__overlay {
  position: absolute;
  inset: 0;
}

.heroes-memory-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heroes-memory-hero__overlay {
  background:
    linear-gradient(90deg, rgba(24, 28, 34, 0.86) 0%, rgba(34, 37, 42, 0.76) 42%, rgba(34, 37, 42, 0.34) 72%, rgba(34, 37, 42, 0.16) 100%),
    linear-gradient(0deg, rgba(17, 24, 39, 0.38), rgba(17, 24, 39, 0.1));
}

.heroes-memory-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.heroes-memory-eyebrow {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.heroes-memory-title {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 4.85rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.heroes-memory-lead {
  max-width: 700px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.75;
}

.heroes-memory-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.heroes-memory-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.heroes-memory-hero__secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.heroes-memory-hero__secondary:hover,
.heroes-memory-hero__secondary:focus {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.92);
  color: #1f2937;
}

.heroes-memory-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 780px;
  margin-top: 2rem;
}

.heroes-memory-hero__facts div {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(8px);
}

.heroes-memory-hero__facts strong,
.heroes-memory-hero__facts span {
  display: block;
}

.heroes-memory-hero__facts strong {
  color: #fff;
  font-size: 1.08rem;
}

.heroes-memory-hero__facts span {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.45;
}

.heroes-memory-band {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.heroes-memory-band--light {
  background: rgba(255, 253, 248, 0.7);
  border-top: 1px solid rgba(230, 220, 203, 0.72);
  border-bottom: 1px solid rgba(230, 220, 203, 0.72);
}

.heroes-memory-section-heading {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.heroes-memory-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.heroes-memory-card {
  min-width: 0;
  height: 100%;
  padding: 1.2rem;
  border: 1px solid rgba(230, 220, 203, 0.9);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 14px 34px rgba(75, 57, 35, 0.06);
}

.heroes-memory-card .public-text {
  margin-bottom: 0;
}

.heroes-memory-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.heroes-memory-split--reverse .heroes-memory-split__media {
  order: 2;
}

.heroes-memory-split__media {
  min-width: 0;
}

.heroes-memory-split__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(230, 220, 203, 0.86);
  box-shadow: 0 18px 42px rgba(75, 57, 35, 0.12);
}

.heroes-memory-split__content {
  min-width: 0;
}

.heroes-memory-steps {
  display: grid;
  gap: 0.9rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.heroes-memory-steps li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.heroes-memory-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f8f9fb 0%, #e7eef8 48%, #f4e1e2 100%);
  color: var(--app-text);
  font-weight: 700;
}

.heroes-memory-steps p {
  margin: 0;
  color: var(--app-text);
  line-height: 1.65;
}

.heroes-memory-info-list {
  margin-top: 1rem;
}

.heroes-memory-cta {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem);
}

.heroes-memory-cta__inner {
  max-width: 820px;
  text-align: center;
}

.heroes-memory-actions--center {
  justify-content: center;
}

.heroes-memory-phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid rgba(79, 107, 90, 0.28);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--app-primary);
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(75, 57, 35, 0.08);
}

.heroes-memory-phone-link:hover,
.heroes-memory-phone-link:focus {
  color: var(--app-primary-hover);
  background: #fffdf8;
  border-color: rgba(79, 107, 90, 0.42);
  text-decoration: none;
}

@media (max-width: 991.98px) {
  .heroes-memory-hero {
    min-height: auto;
  }

  .heroes-memory-hero__overlay {
    background: linear-gradient(90deg, rgba(24, 28, 34, 0.88) 0%, rgba(24, 28, 34, 0.72) 100%);
  }

  .heroes-memory-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .heroes-memory-split,
  .heroes-memory-split--reverse {
    grid-template-columns: 1fr;
  }

  .heroes-memory-split--reverse .heroes-memory-split__media {
    order: 0;
  }
}

@media (max-width: 767.98px) {
  .heroes-memory-title {
    font-size: clamp(2.1rem, 12vw, 3.2rem);
  }

  .heroes-memory-actions,
  .heroes-memory-actions .btn,
  .heroes-memory-phone-link {
    width: 100%;
  }

  .heroes-memory-hero__facts,
  .heroes-memory-benefits {
    grid-template-columns: 1fr;
  }

  .heroes-memory-split__media img {
    border-radius: 12px;
  }
}
