:root {
  --brand: #1f2a44;      /* deep slate navy */
  --brand-2: #2f6df6;    /* electric blue accent */
  --accent: #d4a72c;     /* gold (from the logo) */
  --ink: #1c1c1e;
  --muted: #5c6470;
  --rule: #e6e8ee;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --maxw: 1100px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-2); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 76px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--brand); text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 6px 2px; border-bottom: 2px solid transparent; transition: border-color .15s, color .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--brand-2); border-bottom-color: var(--brand-2); }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  width: 44px; height: 44px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--brand); margin: 5px auto; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; text-align: center;
  background: linear-gradient(rgba(20,28,48,.72), rgba(20,28,48,.82)), center/cover no-repeat var(--hero-img);
}
.hero .container { padding-top: 110px; padding-bottom: 110px; }
.hero h1 {
  font-size: clamp(34px, 6vw, 58px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -.02em;
}
.hero p { font-size: clamp(17px, 2.2vw, 21px); color: #d8def0; max-width: 640px; margin: 0 auto 32px; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 16px;
  padding: 14px 28px; border-radius: 10px; transition: transform .12s, box-shadow .12s, background .12s;
}
.btn-primary { background: var(--brand-2); color: #fff; box-shadow: 0 8px 22px rgba(47,109,246,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(47,109,246,.45); }
.btn-ghost { background: transparent; color: var(--brand-2); border: 2px solid var(--brand-2); }
.btn-ghost:hover { background: var(--brand-2); color: #fff; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; margin: 0 0 20px; letter-spacing: -.01em; }
.lead { color: var(--muted); font-size: 19px; }
.eyebrow { color: var(--brand-2); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; margin: 0 0 10px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-grid img { border-radius: 14px; box-shadow: 0 18px 50px rgba(20,28,48,.18); }

.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; list-style: none; padding: 0; margin: 24px 0 0; }
.services li { position: relative; padding-left: 34px; font-weight: 600; }
.services li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 18px; height: 9px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}
.services .more { color: var(--brand-2); }

.prose p { margin: 0 0 18px; }
.prose .muted { color: var(--muted); }

/* ---------- Contact form ---------- */
.form { max-width: 620px; margin: 0 auto; }
.field { margin-bottom: 18px; text-align: left; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; font: inherit; color: var(--ink);
  border: 1px solid var(--rule); border-radius: 10px; background: #fff;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(47,109,246,.15); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 800px; }
.legal h1 { font-size: clamp(30px, 5vw, 40px); margin: 0 0 6px; }
.legal h3 { font-size: 18px; margin: 30px 0 6px; }
.legal .updated { color: var(--muted); margin: 0 0 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand); color: #c7cede; padding: 40px 0; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.footer-copy { font-size: 14px; color: #97a0b8; }

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--rule);
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav-links.open { max-height: 320px; }
  .nav-links li { width: 100%; text-align: center; border-top: 1px solid var(--rule); }
  .nav-links a { display: block; padding: 16px; border-bottom: none; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-grid .about-media { order: -1; }
  .services { grid-template-columns: 1fr; }
}
