:root {
  --navy: #071941;
  --ink: #11213e;
  --muted: #4d5c72;
  --accent: #c5ed69;
  --paper: #f5f7fb;
  --line: #dbe2ed;
  --blue: #174694;
  --wrap: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #3973e5; outline-offset: 4px; }
button { font: inherit; }
.wrap { width: min(calc(100% - 88px), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; top: 6px; left: 8px; z-index: 5; padding: 10px 16px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
h1, h2, h3, p { margin: 0; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.head-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; line-height: 1.1; }
.brand img { width: 62px; background: #071654; padding: 6px; border-radius: 6px; }
.brand span { display: grid; gap: 0px; }
.brand strong { font-size: 31px; letter-spacing: -.035em; }
.brand small { color: var(--muted); font-size: 19px; }
#navigation { display: flex; align-items: stretch; gap: clamp(16px, 2vw, 31px); align-self: stretch; }
#navigation a { display: grid; place-items: center; font-size: 16px; font-weight: 550; text-decoration: none; position: relative; white-space: nowrap; }
#navigation a:hover, #navigation a[aria-current] { color: var(--blue); }
#navigation a[aria-current]::after { content: ""; position: absolute; height: 3px; background: #3665b3; left: 0; right: 0; bottom: 0; }
.header-contact { display: grid; justify-items: end; white-space: nowrap; }
.header-contact small { font-size: 15px; color: var(--muted); }
.header-contact a { text-decoration: none; font-size: 17px; font-weight: 750; }
.menu-toggle { display: none; }
.hero { color: white; padding-top: 24px; }
.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 380px;
  aspect-ratio: 3 / 1;
  border-radius: 14px;
  background: #11164c;
  overflow: hidden;
}
.hero-copy { position: relative; z-index: 1; width: 47%; padding: 38px clamp(24px, 3vw, 42px); }
.eyebrow { display: flex; gap: 10px; align-items: center; color: #d9f4a4; margin-bottom: 21px; font-size: 17px; font-weight: 700; }
.eyebrow span { width: 20px; height: 2px; background: var(--accent); }
.hero h1 { font-size: clamp(35px, 3.7vw, 48px); line-height: .99; font-weight: 780; letter-spacing: -.058em; }
.hero-desc { margin-top: 24px; color: #d8e1f1; font-size: 17px; max-width: 440px; }
.hero-actions { margin-top: 31px; display: flex; flex-wrap: wrap; gap: 11px; }
.button { min-height: 49px; display: inline-flex; align-items: center; gap: 14px; padding: 10px 18px; border-radius: 7px; text-decoration: none; font-weight: 750; font-size: 14px; }
.button-primary { color: #15270b; background: var(--accent); }
.button-primary:hover { background: #dbf594; }
.button-secondary { color: #fff; border: 1px solid #7586a3; }
.button-secondary:hover { background: #1d3155; }
.hero-photo { position: absolute; inset: 0; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #11164c 9%, #11164ce6 28%, transparent 55%);
  pointer-events: none;
}
h2 { font-size: clamp(29px, 3.4vw, 45px); line-height: 1.05; letter-spacing: -.048em; }
.product { padding-block: 56px 0; }
.section-line { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: end; gap: 12px; margin-bottom: 24px; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.category { display: flex; flex-direction: column; text-decoration: none; background: white; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 5px 16px #11213e05; }
.category:hover { border-color: #8ca9d4; box-shadow: 0 8px 20px #11213e14; }
.category > img { width: 100%; height: auto; aspect-ratio: 2.5; object-fit: cover; }
.category-body { padding: 19px 19px 22px; display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; flex: 1; }
.category h3 { font-size: clamp(18px, 1.7vw, 24px); letter-spacing: -.035em; line-height: 1.17; }
.category p { font-size: 17px; color: var(--muted); margin-top: 8px; }
.arrow { flex: 0 0 34px; height: 34px; display: grid; place-items: center; background: #e9effa; border-radius: 50%; color: var(--blue); font-size: 19px; line-height: 1; }
.exports { padding-top: 50px; }
.export-panel { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; padding: 34px 38px; border: 1px solid #d7e4f3; background: #e9f0fa; border-radius: 12px; }
.export-panel h2 { font-size: clamp(29px, 3.2vw, 41px); }
.export-panel p { max-width: 490px; margin-top: 14px; color: var(--muted); }
.export-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px; }
.text-link { color: var(--blue); text-underline-offset: 3px; font-size: 16px; font-weight: 750; }
.text-link:hover { color: #0c2d63; }
.route { align-self: center; display: flex; align-items: center; gap: 14px; font-weight: 750; font-size: clamp(14px, 1.5vw, 20px); }
.route-line { border-top: 2px dashed #5b7bb5; position: relative; flex: 1; min-width: 28px; }
.route-line::before, .route-line::after { content: ""; position: absolute; top: -5px; width: 8px; height: 8px; }
.route-line::before { left: 0; border-radius: 50%; background: #355b9e; }
.route-line::after { right: 0; border-top: 2px solid #355b9e; border-right: 2px solid #355b9e; transform: rotate(45deg); }
.sonar { font-size: 17px; color: var(--muted); margin-top: 14px; }
.partners { padding-block: 42px 52px; }
.partners h2 { font-size: clamp(28px, 3vw, 36px); }
.partner-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.partner-grid a { display: grid; min-height: 78px; place-items: center; background: white; border: 1px solid var(--line); border-radius: 9px; padding: 8px 13px; }
.partner-grid a:hover { border-color: #8ca9d4; }
.partner-grid img { max-width: 142px; width: 100%; max-height: 60px; object-fit: contain; }
.site-footer { background: var(--navy); color: white; padding: 32px 0 22px; }
.foot-main { display: grid; grid-template-columns: 1fr 1.38fr auto; gap: 28px; align-items: start; }
.foot-main nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 15px; }
.foot-main nav a, .foot-contacts a { font-size: 14px; font-weight: 650; text-decoration: none; }
.foot-main nav a:hover, .foot-contacts a:hover { text-decoration: underline; }
.foot-contacts { display: grid; gap: 2px; }
.site-footer small, .foot-end { color: #bdc9df; }
.foot-end { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; padding-top: 16px; margin-top: 24px; border-top: 1px solid #3b4b6a; font-size: 12px; }
.inner { padding-top: 30px; }
.back { display: inline-block; margin-bottom: 16px; }
.legacy { padding: clamp(18px, 4vw, 52px); border: 1px solid var(--line); background: white; border-radius: 12px; margin-bottom: 30px; overflow-wrap: anywhere; }
.legacy::after { content: ""; display: block; clear: both; }
.legacy h1 { font-size: clamp(31px, 4vw, 49px); line-height: 1.05; letter-spacing: -.04em; margin-bottom: 20px; }
.legacy h2 { font-size: clamp(22px, 3vw, 31px); margin: 18px 0 12px; }
.legacy h3 { margin-block: 10px; }
.legacy p { margin-bottom: 13px; text-align: start; }
.legacy a { color: var(--blue); }
.legacy img { display: inline-block; }
.legacy img[align="right"] { float: right; max-width: 42%; margin: 0 0 16px 20px; }
.legacy img[align="left"] { float: left; max-width: 42%; margin: 0 20px 16px 0; }
.legacy table { max-width: 100%; }
.legacy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr)); gap: 14px; }
.catalog-tile { padding: 12px; background: var(--paper); text-align: center; border-radius: 9px; }
.catalog-tile a { font-size: 15px; }
.catalog-tile img { width: 100%; height: 125px; object-fit: contain; }

@media (max-width: 1120px) {
  .wrap { width: calc(100% - 64px); }
  .head-inner { gap: 14px; }
  #navigation { gap: 16px; }
}
@media (max-width: 1040px) {
  .head-inner { min-height: 70px; flex-wrap: wrap; position: relative; }
  .header-contact { margin-inline-start: auto; }
  .menu-toggle { display: flex; align-items: center; gap: 8px; padding: 8px 11px; color: var(--ink); border: 1px solid var(--line); border-radius: 6px; background: white; font-weight: 700; }
  #navigation { display: none; }
  #navigation.is-open { display: flex; flex-direction: column; gap: 0; flex: 1 0 100%; margin-top: -6px; padding-bottom: 12px; order: 3; }
  #navigation a { padding: 8px 0; display: block; white-space: normal; }
  #navigation a[aria-current]::after { display: none; }
}
@media (max-width: 980px) {
  .hero-inner { flex-direction: column; align-items: stretch; min-height: 0; aspect-ratio: auto; }
  .hero-copy { width: auto; padding: 30px clamp(18px, 4vw, 42px) 24px; }
  .hero h1 { font-size: clamp(32px, 7.6vw, 51px); }
  .hero-desc { font-size: 15px; margin-top: 17px; }
  .hero-actions { margin-top: 22px; gap: 8px; }
  .hero-photo { position: relative; aspect-ratio: 60 / 29; }
  .hero-photo img { position: absolute; top: 0; right: 0; width: 145%; max-width: none; height: auto; }
  .hero-photo::after { background: linear-gradient(180deg, #11164c, transparent 24%); }
}
@media (max-width: 740px) {
  .wrap { width: calc(100% - 36px); }
  .hero { padding-top: 14px; }
  .product { padding-top: 36px; }
  .category-grid { grid-template-columns: 1fr; gap: 12px; }
  .category { display: grid; grid-template-columns: minmax(90px, .52fr) 1fr; }
  .category > img { height: 100%; min-height: 117px; aspect-ratio: auto; }
  .category-body { align-items: center; padding: 13px 11px 13px 14px; }
  .category h3 { font-size: clamp(16px, 4.4vw, 21px); }
  .category p { font-size: 12px; margin-top: 5px; }
  .arrow { flex-basis: 26px; height: 26px; font-size: 16px; }
  .exports { padding-top: 34px; }
  .export-panel { grid-template-columns: 1fr; padding: 23px 19px; }
  .export-links { display: grid; }
  .route { padding: 9px 0 0; }
  .partners { padding-block: 34px 39px; }
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .partner-grid a { min-height: 59px; padding: 5px 7px; }
  .partner-grid img { max-height: 45px; }
  .foot-main { grid-template-columns: 1fr; gap: 22px; }
  .legacy { overflow-x: auto; }
}
@media (max-width: 480px) {
  .header-contact { display: none; }
  .brand img { width: 50px; }
  .brand strong { font-size: 16px; }
  .brand small { font-size: 11px; }
  .button { padding-inline: 12px; }
}
