:root {
  --blue: #003b87;
  --ink: #1d1d1d;
  --muted: #4a4a4a;
  --line: #e6e8ee;
  --max: 1100px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: inherit; }

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

/* Header */
.site-header {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img { width: 160px; }

.nav { display: flex; gap: 28px; }

.nav a {
  font-size: 14px;
  color: #353535;
  text-decoration: none;
  letter-spacing: 0.2px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.nav a:hover { color: var(--blue); }

.nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }

main { flex: 1; width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Home */
.hero {
  text-align: center;
  padding: 40px 0 96px;
}

.hero h1,
.hero p.lead {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 400;
  color: var(--blue);
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.4;
  margin: 0 auto;
  max-width: 920px;
}

.hero p.lead { margin-top: 1.1em; }

.address-line {
  text-align: center;
  color: var(--blue);
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  padding: 0 0 72px;
  margin: 0;
}

/* Products */
.page-title {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 400;
  color: var(--blue);
  text-align: center;
  font-size: 34px;
  margin: 28px 0 24px;
}

.brands { list-style: none; margin: 0; padding: 0 0 40px; }

.brand-item {
  text-align: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.brand-item:last-child { border-bottom: 0; }

.brand-item .logo {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.brand-item .logo img { max-height: 130px; width: auto; max-width: min(330px, 80vw); }

.brand-item .logo img.wide { max-width: min(640px, 90vw); max-height: 92px; }

.brand-item h2 {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: 40px;
  color: #111;
  margin: 0 0 10px;
}

.brand-item p {
  max-width: 820px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* Contacts */
.offices { display: grid; gap: 56px; padding: 24px 0 64px; }

.office { display: grid; gap: 22px; }

.map {
  width: 100%;
  height: 380px;
  border: 0;
  filter: grayscale(1);
  background: #eceae6;
}

.office-card {
  text-align: center;
  color: var(--blue);
  font-size: 15px;
  line-height: 1.7;
}

.office-card strong { display: block; font-weight: 700; }

.office-card a { text-decoration: none; }

.office-card a:hover { text-decoration: underline; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 24px;
}

.site-footer .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: #8a8f99;
}

.site-footer img { width: 52px; }

/* 404 */
.notfound { text-align: center; padding: 80px 0 120px; }

.notfound h1 { font-family: "Oswald", sans-serif; font-weight: 400; color: var(--blue); font-size: 40px; margin: 0 0 12px; }

.notfound a { color: var(--blue); }

@media (max-width: 640px) {
  .site-header { flex-direction: column; gap: 8px; padding-top: 16px; }
  .brand img { width: 140px; }
  .nav { gap: 22px; }
  .hero { padding: 24px 0 56px; }
  .address-line { font-size: 15px; padding-bottom: 48px; }
  .brand-item { padding: 36px 0; }
  .brand-item h2 { font-size: 32px; }
  .map { height: 280px; }
  .site-footer .inner { flex-direction: column; text-align: center; }
}
