:root { --brand-blue: #17477c; }

header .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; }
.header-contacts { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px 20px; margin-inline-start: auto; }
.header-contacts a { text-decoration: none; }
.header-contacts a:not(.header-details):hover { text-decoration: underline; }
.header-details { padding: 10px 16px; border: 0; border-radius: 24px; background: var(--brand-blue); color: #fff; font: inherit; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: system-ui, sans-serif; color: var(--brand-blue); background: #f5f5f5; }
.container { width: min(1100px, calc(100% - 40px)); margin-inline: auto; }
header { background: #fff; border-bottom: 1px solid #d9e2eb; }
header .container { padding-block: 16px; }
.logo { display: inline-block; }
.logo img { display: block; width: 217px; max-width: 100%; height: auto; }
a { color: inherit; }
main { flex: 1; display: flex; }
.hero {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  width: 100%;
  min-height: clamp(360px, 52vw, 760px);
  background: var(--brand-blue);
  color: #fff;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, .57);
}
.hero .container { width: min(741px, calc(100% - 40px)); padding-block: 48px; container-type: inline-size; }
.hero h1 { margin: 0; font-size: min(5.8cqi, 3.0625rem); font-weight: 600; line-height: 1.15; letter-spacing: .025em; text-transform: uppercase; white-space: nowrap; }
.hero-divider { height: 4px; margin: 8px 0 10px; border: 0; background: currentColor; }
.hero-image { position: absolute; inset: 0; z-index: -2; display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-description { max-width: 640px; margin: 0 auto; color: #fff; font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; }
footer { background: var(--brand-blue); color: #fff; }
footer .container { padding-block: 24px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; }
.contacts, .documents { display: grid; align-content: start; gap: 12px; font-style: normal; }
.contact { display: flex; align-items: baseline; gap: 10px; padding-block: 11px; line-height: 1.5; text-decoration: none; }
.contact a { text-decoration: none; }
.contact-icon { flex: 0 0 1.25em; text-align: center; }
.document { width: 100%; padding: 10px 18px; border: 1px solid #adc5df; border-radius: 24px; background: transparent; color: inherit; font: inherit; line-height: 1.5; text-align: left; }
@media (max-width: 560px) {
  .header-contacts { flex-basis: 100%; justify-content: flex-start; margin-inline-start: 0; }
  .header-contacts a:not(.header-details) { display: none; }
  .header-details { margin-inline-start: 23px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid .documents { grid-row: 1; }
}

.document-link { text-decoration: none; }
.document-link:hover, .document-link:focus-visible,
.header-details:hover, .header-details:focus-visible { box-shadow: inset 0 0 0 100vmax rgba(255, 255, 255, .12); }
.offer { flex: 0 0 auto; flex-direction: column; background: #fff; }
.offer article { max-width: 850px; padding-block: clamp(32px, 6vw, 72px); }
.offer h1 { margin: 0 0 20px; font-weight: 600; }
.offer p { margin: 0; line-height: 1.65; }
.offer article > p + p { margin-top: .75rem; }
.offer article h2 { margin: 1.75rem 0 .75rem; font-size: 1.2rem; }
.offer-table { margin-block: 1rem; overflow-x: auto; }
.offer-table table { width: 100%; border-collapse: collapse; }
.offer-table td { padding: .5rem; border: 1px solid #d9e2eb; vertical-align: top; }
.company-details { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 12px 20px; line-height: 1.5; }
.company-details dt { font-weight: 600; }
.company-details dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .company-details { grid-template-columns: 1fr; gap: 4px; }
  .company-details dd + dt { margin-top: 12px; }
}
.offer-download { background: #fff; padding-block: 6px 36px; }
.offer-download .container { display: flex; justify-content: center; }
.offer-download-link { padding: 12px 20px; border-radius: 24px; background: var(--brand-blue); color: #fff; text-decoration: none; }
