/* Reports hero — unified NAQDA government visual system */
.hero {
  --reports-navy: #071f2b;
  --reports-navy-2: #0b2f3e;
  --reports-teal: #0f7b84;
  --reports-teal-dark: #0c6873;
  --reports-gold: #c69c46;
  --reports-ink: #17262d;
  --reports-muted: #53666e;
  --reports-line: #d8e2e5;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 0;
  padding: clamp(60px, 7vw, 86px) 0 clamp(100px, 10vw, 126px);
  color: var(--reports-ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(247, 250, 250, 0.97) 62%, rgba(229, 241, 240, 0.95) 100%),
    #f5f8f8;
  border-bottom: 4px solid var(--reports-gold);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: 7px;
  background: var(--reports-teal);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -180px;
  right: -130px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(15, 123, 132, 0.13);
  border-radius: 50%;
  background: transparent;
}

.hero .hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(38px, 6vw, 78px);
  align-items: center;
  width: min(100%, 1280px);
  max-width: 1280px;
  min-height: 390px;
  margin: 0 auto;
  padding: 0 40px;
}

.hero .hero-copy {
  display: grid;
  gap: 22px;
  max-width: 720px;
}

.hero .hero-copy::before {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-bottom: 2px;
  background: linear-gradient(90deg, var(--reports-teal) 0 70%, var(--reports-gold) 70% 100%);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--reports-navy);
  font-family: "Inter", sans-serif;
  font-size: clamp(2.55rem, 5vw, 4.25rem);
  font-weight: 780;
  line-height: 1.03;
  letter-spacing: -0.05em;
  text-shadow: none;
  animation: none;
}

.hero p {
  max-width: 680px;
  margin: 0;
  color: var(--reports-muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.75;
  animation: none;
}

.hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.hero .hero-btn {
  min-height: 48px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 5px !important;
  box-shadow: none;
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.hero .hero-btn--primary {
  color: #fff;
  background: var(--reports-teal);
  border-color: var(--reports-teal);
}

.hero .hero-btn--primary:hover,
.hero .hero-btn--primary:focus-visible {
  color: #fff;
  background: var(--reports-teal-dark);
  border-color: var(--reports-teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(12, 104, 115, 0.18);
}

.hero .hero-btn--secondary {
  color: var(--reports-navy-2);
  background: #fff;
  border-color: #aebfc4;
}

.hero .hero-btn--secondary:hover,
.hero .hero-btn--secondary:focus-visible {
  color: var(--reports-teal-dark);
  background: #f1f9f8;
  border-color: var(--reports-teal);
  transform: translateY(-1px);
}

.hero .hero-archive-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 390px;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(15, 123, 132, 0.24), transparent 46%),
    var(--reports-navy);
  border-left: 5px solid var(--reports-gold);
  border-radius: 6px;
  box-shadow: 0 22px 54px rgba(7, 31, 43, 0.16);
}

.hero .hero-archive-panel::before,
.hero .hero-archive-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero .hero-archive-panel::before {
  top: 28px;
  right: 28px;
  width: 68px;
  height: 68px;
  border-top: 1px solid rgba(198, 156, 70, 0.58);
  border-right: 1px solid rgba(198, 156, 70, 0.58);
}

.hero .hero-archive-panel::after {
  bottom: -94px;
  left: -94px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(223, 242, 241, 0.13);
  border-radius: 50%;
}

.hero .hero-archive-sheet {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px 17px;
  align-content: start;
  width: min(66%, 245px);
  min-height: 285px;
  padding: 34px 30px;
  background: #fff;
  border: 1px solid var(--reports-line);
  border-radius: 5px;
  box-shadow:
    13px 13px 0 rgba(15, 123, 132, 0.34),
    26px 26px 0 rgba(223, 242, 241, 0.1);
  transform: rotate(-2deg);
}

.hero .hero-archive-sheet::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 100%;
  background: var(--reports-gold);
}

.hero .hero-archive-sheet i {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--reports-teal-dark);
  border-radius: 4px;
  font-size: 1.35rem;
}

.hero .hero-archive-sheet span {
  display: block;
  align-self: center;
  height: 7px;
  background: #d7e1e4;
  border-radius: 1px;
}

.hero .hero-archive-sheet span:nth-of-type(1) {
  width: 82%;
  background: var(--reports-navy-2);
}

.hero .hero-archive-sheet span:nth-of-type(2) {
  width: 58%;
}

.hero .hero-archive-sheet span:nth-of-type(3),
.hero .hero-archive-sheet span:nth-of-type(4) {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 15px;
}

.hero .hero-archive-sheet span:nth-of-type(4) {
  width: 74%;
  margin-top: 0;
}

@media (max-width: 920px) {
  .hero {
    padding: 56px 0 104px;
  }

  .hero .hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.7fr);
    gap: 32px;
    min-height: 350px;
  }

  .hero .hero-archive-panel {
    min-height: 350px;
  }
}

@media (max-width: 760px) {
  .hero::before {
    width: 4px;
  }

  .hero .hero-content {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 0 20px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.3rem);
    letter-spacing: -0.04em;
  }

  .hero .hero-archive-panel {
    min-height: 330px;
  }

  .hero .hero-archive-sheet {
    width: min(62%, 230px);
    min-height: 260px;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 44px 0 92px;
  }

  .hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero .hero-btn {
    width: 100%;
  }

  .hero .hero-archive-panel {
    min-height: 290px;
  }

  .hero .hero-archive-sheet {
    width: min(65%, 210px);
    min-height: 225px;
    padding: 28px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero-btn {
    transition: none;
  }
}
