:root {
  --navy: #0b1f33;
  --navy-2: #14324c;
  --gold: #c4a46a;
  --teal: #0e6e62;
  --text: #132033;
  --muted: #5c6b7b;
  --line: #dbe3eb;
  --bg: #f4f7fa;
  --white: #fff;
  --shadow: 0 18px 40px rgba(11, 31, 51, 0.12);
}

* { box-sizing: border-box; }

html, body { margin: 0; }
body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

.container { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 31, 51, 0.96);
  color: #fff;
  backdrop-filter: blur(8px);
}

.header-inner, .site-nav, .brand {
  display: flex;
  align-items: center;
}

.header-inner { justify-content: space-between; min-height: 76px; gap: 16px; }

.brand { gap: 12px; color: inherit; text-decoration: none; }
.brand img {
  display: block;
  height: 48px;
  width: auto;
}
.footer-logo {
  display: block;
  height: 40px;
  width: auto;
  margin-bottom: 10px;
}

.site-nav { gap: 22px; }
.site-nav a {
  color: #d5e0ea;
  text-decoration: none;
  font-weight: 600;
}
.site-nav a.is-active, .site-nav a:hover { color: #fff; }

.nav-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: #fff;
  border-radius: 8px;
  padding: 8px 10px;
}

.hero {
  background:
    radial-gradient(700px 280px at 90% 0%, #1d4e73 0%, transparent 55%),
    linear-gradient(180deg, var(--navy) 0%, #071422 100%);
  color: #fff;
  padding: 72px 0 80px;
}

.hero h1 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.15;
  margin: 0 0 14px;
  max-width: 16ch;
}

.hero p { max-width: 58ch; color: #d7e2ec; font-size: 18px; }

.btn {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.btn.secondary { background: transparent; border: 1px solid rgba(255,255,255,0.3); margin-left: 10px; }
.btn.solid { background: var(--navy); }

.section { padding: 64px 0; }
.section.alt { background: var(--white); }
.section h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 32px;
  margin: 0 0 10px;
}

.lead { color: var(--muted); max-width: 62ch; }

.cards, .footer-grid, .split {
  display: grid;
  gap: 22px;
}

.cards { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); }

.split { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

label { display: block; margin: 0 0 6px; font-weight: 600; font-size: 14px; }
input, textarea, select {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; }

.form-error { color: #b42318; min-height: 1.2em; margin: 0 0 10px; }

.site-footer {
  background: var(--navy);
  color: #d5e0ea;
  padding: 36px 0 18px;
}
.footer-grid { grid-template-columns: 2fr 1fr 1fr; }
.site-footer a { display: block; color: #d5e0ea; text-decoration: none; margin-top: 6px; }
.legal { margin-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 14px; font-size: 13px; }

.toast {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(7, 16, 26, 0.45);
  z-index: 40;
}
.toast[hidden] { display: none; }
.toast-card {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: min(420px, calc(100% - 32px));
  background: #fff;
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
  animation: pop .28s ease;
}
.toast-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #def4ee;
  color: var(--teal);
  font-size: 24px;
  font-weight: 700;
}
.toast-card p { margin: 4px 0 0; color: var(--muted); }

@keyframes pop {
  from { transform: translateY(10px) scale(0.96); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@media (max-width: 800px) {
  .cards, .split, .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--navy-2);
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .site-nav.is-open { display: flex; }
  .btn.secondary { margin-left: 0; }
}
