:root {
  --blue-950: #08213f;
  --blue-900: #0b2f57;
  --blue-800: #12477f;
  --blue-700: #1d5f9f;
  --blue-100: #e8f2fb;
  --steel-900: #15202b;
  --steel-700: #425466;
  --steel-200: #d5dee8;
  --steel-100: #edf2f7;
  --white: #ffffff;
  --line: rgba(12, 52, 91, 0.16);
  --shadow: 0 16px 45px rgba(8, 33, 63, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100svh;
  margin: 0;
  color: var(--steel-900);
  background: var(--blue-100);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  background: var(--white);
  border-bottom: 5px solid var(--blue-700);
  box-shadow: 0 6px 20px rgba(8, 33, 63, 0.12);
}

.nav-shell {
  width: min(100%, 1480px);
  margin: 0 auto;
  padding: 14px clamp(16px, 3vw, 44px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 176px;
}

.brand img {
  width: 195px;
  height: 73px;
  display: block;
}

.primary-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.primary-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--blue-900);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--white);
  background: var(--blue-800);
}

.nav-contact {
  display: grid;
  gap: 2px;
  color: var(--blue-900);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: right;
  white-space: nowrap;
}

.nav-contact a {
  text-decoration: none;
}

.nav-contact a:hover {
  text-decoration: underline;
}

main {
  flex: 1;
}

.section {
  width: 100%;
  padding: clamp(38px, 6vw, 82px) clamp(16px, 4vw, 64px);
}

.section-blue {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    var(--blue-800);
  background-size: 38px 38px;
}

.content-grid {
  width: min(100%, 1340px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(30px, 5vw, 74px);
  align-items: center;
}

.copy {
  max-width: 780px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.25rem, 4vw, 4.8rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
}

.copy h2 {
  margin-top: 14px;
}

.copy p {
  margin-top: 26px;
  font-size: 1.08rem;
}

.hero-media,
.image-panel {
  margin: 0;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-media {
  padding: clamp(12px, 2vw, 20px);
}

.hero-media img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

.image-panel img {
  width: 100%;
  display: block;
}

.products-section {
  background: var(--steel-100);
}

.wide-inner {
  width: min(100%, 1340px);
  margin: 0 auto;
}

.section-title {
  margin-bottom: 24px;
  color: var(--blue-900);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-rows: 210px auto 1fr;
  gap: 16px;
  min-height: 100%;
  padding: 24px;
  color: var(--steel-900);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 6px solid var(--blue-700);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(8, 33, 63, 0.08);
}

.product-card:hover {
  border-top-color: var(--blue-900);
  box-shadow: 0 16px 38px rgba(8, 33, 63, 0.13);
  transform: translateY(-2px);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card h3 {
  color: var(--blue-900);
}

.product-card p {
  font-size: 1rem;
  line-height: 1.55;
}

.page-panel {
  width: min(100%, 1340px);
  margin: 0 auto;
  padding: clamp(26px, 4vw, 48px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.page-panel h1 {
  color: var(--blue-900);
  font-size: clamp(2rem, 4vw, 4rem);
}

.page-panel h2 {
  margin-top: 12px;
  color: var(--blue-800);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(26px, 5vw, 60px);
  align-items: start;
}

.about-copy p {
  margin-top: 20px;
}

.form-panel {
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.form-panel h2 {
  margin: 0;
  padding: 14px 18px;
  color: var(--white);
  background: var(--blue-900);
}

.form-grid {
  padding: clamp(18px, 3vw, 28px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}

.field {
  display: grid;
  gap: 6px;
  color: var(--blue-950);
  font-size: 1rem;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--steel-900);
  background: var(--steel-100);
  border: 1px solid var(--steel-200);
  border-radius: 4px;
  font: inherit;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field-full {
  grid-column: 1 / -1;
}

.zip-row {
  display: grid;
  grid-template-columns: 0.7fr 1fr auto 1fr;
  gap: 10px;
  align-items: end;
}

.zip-row span {
  padding-bottom: 9px;
}

.checkbox-list {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  padding: 14px 0;
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
}

.checkbox-row input {
  width: 20px;
  height: 20px;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.form-actions input {
  min-width: 120px;
  min-height: 46px;
  padding: 10px 18px;
  color: var(--white);
  background: var(--blue-800);
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.form-actions input[type="reset"] {
  color: var(--blue-900);
  background: var(--steel-100);
  border: 1px solid var(--steel-200);
}

.catalog-header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 30px;
}

.download-link {
  color: var(--blue-800);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.catalog-column {
  display: grid;
  gap: 22px;
  align-content: start;
}

.catalog-group {
  padding: 22px;
  background: var(--steel-100);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.catalog-group h2 {
  margin-bottom: 8px;
  color: var(--blue-900);
  font-size: 1.35rem;
}

.catalog-group p {
  margin: 8px 0 12px;
  color: var(--steel-700);
  font-weight: 700;
}

.catalog-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.catalog-group a {
  display: block;
  overflow-wrap: anywhere;
  color: var(--blue-900);
  text-decoration: none;
}

.catalog-group a:hover {
  text-decoration: underline;
}

.jump-form {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  color: var(--blue-950);
  font-weight: 700;
}

.jump-form select,
.jump-form input {
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid var(--steel-200);
  font: inherit;
}

.jump-form input {
  color: var(--white);
  background: var(--blue-800);
  border-color: var(--blue-800);
  font-weight: 700;
}

.site-footer {
  width: 100%;
  padding: 26px 16px 30px;
  color: var(--white);
  background: var(--blue-950);
  text-align: center;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.footer-logos img {
  display: block;
}

.site-footer p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .content-grid,
  .about-layout,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-rows: 180px auto 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .nav-shell {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .brand {
    justify-content: center;
  }

  .nav-contact {
    text-align: center;
    white-space: normal;
  }

  .primary-nav {
    justify-content: center;
    gap: 4px;
  }

  .primary-nav a {
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .section {
    padding: 32px 14px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .zip-row {
    grid-template-columns: 1fr;
  }

  .zip-row span {
    padding-bottom: 0;
  }

  .form-actions {
    justify-content: stretch;
  }

  .form-actions input {
    flex: 1;
    min-width: 0;
  }
}
