:root {
  --navy: #0A2540;
  --navy-2: #123056;
  --slate: #5A6A7A;
  --paper: #F4F6F8;
  --white: #FFFFFF;
  --line: #D5DCE4;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }

header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 37, 64, .94);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand img { height: 46px; width: auto; }
nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
}
nav a { color: #e6ebf1; letter-spacing: .04em; font-size: .95rem; }
nav a.active, nav a:hover { color: #fff; }
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: white;
  font-size: 1.5rem;
}

.page-hero {
  min-height: 42vh;
  display: flex;
  align-items: center;
  color: white;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.page-hero.home { min-height: 72vh; background-image: linear-gradient(105deg, rgba(10,37,64,.88), rgba(10,37,64,.62)), url("images/home.jpg"); }
.page-hero.about { background-image: linear-gradient(105deg, rgba(10,37,64,.88), rgba(10,37,64,.62)), url("images/about.jpg"); }
.page-hero.contact { background-image: linear-gradient(105deg, rgba(10,37,64,.88), rgba(10,37,64,.62)), url("images/contact.jpg"); }
.page-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.15;
  max-width: 820px;
  margin: 12px 0 16px;
}
.hero-logo { height: 72px; width: auto; margin-bottom: 22px; }
.kicker {
  letter-spacing: .2em;
  font-size: .75rem;
  color: #c9d3de;
}
.hero-lead { max-width: 700px; color: #e6ebf1; font-size: 1.08rem; }

section { padding: 64px 0; }
.band { background: var(--paper); }
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 14px;
}
.lead { color: var(--slate); max-width: 760px; }
.mission {
  font-size: 1.2rem;
  line-height: 1.55;
  max-width: 820px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--slate); }
.grid.values { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid.values { grid-template-columns: 1fr 1fr; } }

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 28px;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
}
label { display: block; margin: 12px 0 6px; font-size: .9rem; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 11px 12px;
  font: inherit;
  color: var(--navy);
}
textarea { min-height: 150px; resize: vertical; }
.counter { text-align: right; color: var(--slate); font-size: .82rem; margin-top: 6px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: white;
  padding: 11px 18px;
  border: 0;
  border-radius: 2px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.btn:hover { background: var(--navy-2); }
.note { color: var(--slate); font-size: .88rem; margin-top: 12px; }

footer {
  background: var(--navy);
  color: #c5ced8;
  padding: 28px 0 18px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
footer a:hover { color: white; }
.legal {
  width: min(1080px, calc(100% - 40px));
  margin: 16px auto 0;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 12px;
  font-size: .82rem;
}

@media (max-width: 800px) {
  nav ul { display: none; }
  nav ul.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 20px;
    top: 82px;
    background: var(--navy);
    border: 1px solid rgba(255,255,255,.15);
    padding: 16px;
    width: 220px;
  }
  .menu-toggle { display: block; }
  .grid, .contact-grid { grid-template-columns: 1fr; }
}
