.download-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(7.2rem, 11vw, 8.8rem) 16px clamp(2.4rem, 4vw, 3rem);
}

.download-hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: var(--border-radius-xl);
  background-color: #1a1a1a;
  z-index: 0;
}

.download-hero__bg {
  position: absolute;
  inset: 18px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  object-fit: cover;
  object-position: center;
  border-radius: var(--border-radius-xl);
  z-index: 0;
}

.download-hero::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: var(--border-radius-xl);
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.18) 0%, rgba(10, 10, 10, 0.64) 100%);
  z-index: 1;
}

.download-hero__container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.download-hero__content {
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  max-width: 920px;
}

.download-hero__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.download-hero__breadcrumb .breadcrumb__link,
.download-hero__breadcrumb .breadcrumb__separator {
  color: rgba(255, 255, 255, 0.72);
}

.download-hero__breadcrumb .breadcrumb__current {
  color: #ffffff;
}

.download-hero__title {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #ffffff;
  white-space: nowrap;
}

.download-library {
  background: #ffffff;
  padding-top: clamp(2.5rem, 4vw, 3.2rem);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.download-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.15rem;
  padding: 1.4rem 1.5rem;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #faf8f5 100%);
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 16px 36px rgba(13, 13, 13, 0.05);
}

.download-card__icon {
  width: 82px;
  min-width: 82px;
  height: 82px;
  border-radius: 22px;
  background: #f3f5f7;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.2rem;
  color: #0b4c61;
  font-weight: var(--fw-bold);
}

.download-card__icon svg {
  width: 38px;
  height: 38px;
}

.download-card__icon span {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.download-card__body {
  min-width: 0;
  display: grid;
  gap: 0.75rem;
}

.download-card__title {
  margin: 0;
  color: #08384d;
  font-size: clamp(1.02rem, 1.45vw, 1.32rem);
  line-height: 1.34;
  letter-spacing: -0.02em;
}

.download-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.download-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.42rem 0.72rem;
  border-radius: 10px;
  background: #f6f4f1;
  color: #615b53;
  font-size: 0.8rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.download-card__button {
  min-width: 146px;
  min-height: 48px;
  gap: 0.45rem;
  padding-inline: 1.1rem;
}

.download-card__button svg {
  width: 18px;
  height: 18px;
}

.download-notes {
  background: #ffffff;
  padding-top: 0;
}

.download-notes__container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.download-note-card {
  padding: 1.35rem 1.45rem;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 16px 38px rgba(13, 13, 13, 0.04);
}

.download-note-card__title {
  margin: 0;
  color: #111111;
  font-size: 1.15rem;
  line-height: 1.3;
}

.download-note-card__text {
  margin: 0.7rem 0 0;
  color: rgba(17, 17, 17, 0.66);
  line-height: 1.75;
}

@media (max-width: 1100px) {
  .download-grid,
  .download-notes__container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .download-hero {
    min-height: 50vh;
    padding-top: 7.1rem;
  }

  .download-hero::before,
  .download-hero__bg,
  .download-hero::after {
    inset: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border-radius: 22px;
  }

  .download-hero__title {
    font-size: clamp(2rem, 10vw, 3rem);
    white-space: normal;
  }

  .download-hero__breadcrumb {
    padding: 0.55rem 0.9rem;
  }

  .download-card {
    grid-template-columns: auto 1fr;
    align-items: start;
  }

  .download-card__button {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0.2rem;
  }
}

@media (max-width: 480px) {
  .download-card {
    padding: 1.15rem;
    gap: 0.95rem;
  }

  .download-card__icon {
    width: 72px;
    min-width: 72px;
    height: 72px;
    border-radius: 18px;
  }
}
