@font-face {
  font-family: "Boxed Book";
  src: url("FONT/BoxedBook.woff2") format("woff2"),
    url("FONT/BoxedBook.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Boxed Bold";
  src: url("FONT/BoxedRegular-Bold.woff2") format("woff2"),
    url("FONT/BoxedRegular-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #1f3367;
  --red: #ef4938;
  --text: #092047;
  --muted: #52627a;
  --bg: #f4f8fc;
  --white: #ffffff;
  --line: rgba(31, 51, 103, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Boxed Book", Arial, sans-serif;
  letter-spacing: 0;
}

main {
  display: block;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 110px 24px 80px;
  background: url("bg.jpg") center / cover no-repeat;
  color: var(--white);
  text-align: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 25, 0.52);
}

.development-badge {
  position: absolute;
  z-index: 2;
  top: 0%;
  left: 50%;
  width: min(720px, calc(100% - 32px));
  transform: translate(-50%, 20%);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  padding: 13px 22px;
  background: rgba(16, 28, 45, 0.42);
  color: var(--white);
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.28;
  backdrop-filter: blur(8px);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.42);
}

.hero__welcome {
  margin: 0 0 8px;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.05;
}

.hero h1 {
  margin: 0;
  font-family: "Boxed Bold", "Boxed Book", Arial, sans-serif;
  font-size: clamp(44px, 6.1vw, 92px);
  line-height: 0.96;
  white-space: nowrap;
}

.hero__text {
  width: min(760px, 100%);
  margin: 22px auto 0;
  font-size: clamp(20px, 2.2vw, 31px);
  line-height: 1.1;
}

.procurement {
  padding: clamp(58px, 8vw, 105px) 24px;
  background: linear-gradient(135deg, #f7fbff 0%, #eef4fa 100%);
}

.procurement__inner {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.section-label {
  margin: 0 0 14px;
  color: var(--red);
  font-family: "Boxed Bold", "Boxed Book", Arial, sans-serif;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.1;
}

.procurement h2 {
  max-width: 940px;
  margin: 0;
  color: var(--blue);
  font-family: "Boxed Bold", "Boxed Book", Arial, sans-serif;
  font-size: clamp(30px, 4.1vw, 56px);
  line-height: 1.05;
}

.document-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 3.8vw, 40px);
  background: var(--white);
  box-shadow: 0 18px 55px rgba(31, 51, 103, 0.1);
}

.document-card__label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.2;
}

.document-card h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(20px, 2vw, 29px);
  font-weight: 400;
  line-height: 1.18;
}

.download-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 17px 28px;
  background: var(--red);
  color: var(--white);
  font-family: "Boxed Bold", "Boxed Book", Arial, sans-serif;
  font-size: 19px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.download-button:hover,
.download-button:focus-visible {
  background: #d83c2f;
}

.footer {
  display: block;
  position: relative;
  z-index: 1;
  padding: 38px 24px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer__inner {
  display: flex;
  width: min(1080px, 100%);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
}

.footer__logo {
  width: min(230px, 44vw);
  height: auto;
}

.footer__info {
  max-width: 520px;
  color: var(--blue);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.34;
  text-align: right;
}

.footer__info p {
  margin: 5px 0;
}

.footer__title {
  font-family: "Boxed Bold", "Boxed Book", Arial, sans-serif;
}

.footer__info a {
  text-decoration-color: rgba(31, 51, 103, 0.35);
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .hero {
    min-height: 100vh;
    padding: 104px 18px 72px;
    background-position: 55% center;
  }

  .development-badge {
    width: calc(100% - 28px);
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 13px;
  }

  .hero__welcome {
    font-size: clamp(25px, 8vw, 34px);
  }

  .hero h1 {
    font-size: clamp(34px, 10.4vw, 50px);
  }

  .hero__text {
    font-size: clamp(17px, 5vw, 22px);
    line-height: 1.14;
  }

  .procurement {
    padding: 52px 18px 24px;
  }

  .procurement h2 {
    font-size: clamp(27px, 7.4vw, 40px);
  }

  .document-card {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
    padding: 24px 22px 28px;
  }

  .document-card__label {
    font-size: 17px;
  }

  .document-card h3 {
    font-size: clamp(18px, 5.2vw, 24px);
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .download-button {
    width: 100%;
    white-space: normal;
  }

  .footer {
    margin-top: 0;
    padding: 28px 18px max(30px, env(safe-area-inset-bottom));
  }

  .footer__inner {
    display: block;
  }

  .footer__logo {
    width: min(210px, 70vw);
    margin-bottom: 22px;
  }

  .footer__info {
    text-align: left;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero__text {
    font-size: 16px;
  }
}
