:root {
  --navy: #1c3f73;
  --blue: #2f6fad;
  --gold: #c8962e;
  --cream: #fbf7f1;
  --ink: #243044;
  --card: #ffffff;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}
a { color: var(--navy); }
img { max-width: 100%; display: block; }

.skip-link {
  position: absolute;
  left: -999px;
}
.skip-link:focus { left: 12px; top: 12px; background: #fff; padding: 8px; }

.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #eadfce;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand img { height: 78px; width: auto; }
.nav { display: flex; gap: 18px; align-items: center; }
.nav a { text-decoration: none; font-weight: 650; color: var(--navy); }
.nav a[aria-current="page"],
.nav a:hover { color: var(--gold); }
.nav-toggle, .burger { display: none; }

.hero {
  min-height: 420px;
  background: linear-gradient(rgba(28, 63, 115, 0.55), rgba(28, 63, 115, 0.45)), url("/images/hero.jpg") center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
}
.hero-inner, .wrap { max-width: 1100px; margin: 0 auto; padding: 48px 20px; }
.hero h1 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.15; }
.hero p { max-width: 640px; font-size: 1.15rem; }
.btn {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}
.btn.navy { background: var(--navy); }

.section { padding: 28px 0 10px; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card, .panel {
  background: var(--card);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(28, 63, 115, 0.06);
}
.card h2, .panel h2 { margin-top: 0; color: var(--navy); font-size: 1.25rem; }
.gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
}
.gallery img { width: 100%; height: 240px; object-fit: cover; border-radius: 16px; }
.split, .contact-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
}
.contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
.split img { width: 220px; height: 280px; object-fit: cover; border-radius: 16px; }

.page-title { padding: 28px 0 0; }
.page-title h1 { margin: 0; color: var(--navy); }

form { display: flex; flex-direction: column; gap: 12px; }
label { font-weight: 650; color: var(--navy); }
input, textarea {
  width: 100%;
  margin-top: 4px;
  padding: 12px;
  border: 1px solid #e2d6c4;
  border-radius: 10px;
  font: inherit;
}
.hp { position: absolute; left: -9999px; }
.status { min-height: 1.4em; font-weight: 650; }
.status.ok { color: #1d7a3a; }
.status.err { color: #a12626; }

.site-footer {
  margin-top: 40px;
  background: var(--navy);
  color: #fff;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 16px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #f3d48a; }
.site-footer h2 { margin: 0 0 10px; font-size: 1.05rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 6px; }
.copy {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 13px;
}

@media (max-width: 800px) {
  .burger { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; }
  .burger span, .burger span:before, .burger span:after {
    display: block; width: 22px; height: 2px; background: var(--navy); position: relative; content: "";
  }
  .burger span:before { position: absolute; top: -7px; }
  .burger span:after { position: absolute; top: 7px; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 16px;
    border-bottom: 1px solid #eadfce;
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .cards, .gallery, .split, .contact-grid, .footer-inner { grid-template-columns: 1fr; }
  .gallery img, .split img { height: auto; width: 100%; }
}
