:root {
  --navy: #0f2a4a;
  --navy-2: #173b66;
  --accent: #c8963e;
  --ink: #1d2733;
  --muted: #5b6878;
  --line: #dfe4ea;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --radius: 10px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { font-family: "Merriweather", Georgia, serif; line-height: 1.25; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

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

/* Header */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 700; }
.brand-mark { width: 38px; height: 38px; border-radius: 8px; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: "Merriweather", serif; font-size: 1.2rem; }
.brand-name { font-family: "Merriweather", serif; font-size: 1.05rem; line-height: 1.15; }
.brand-name small { display: block; font-family: "Inter", sans-serif; font-weight: 500; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy-2); }
.nav a.btn, .nav a.btn[aria-current="page"] { color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 1rem; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; border: 0; border-radius: 8px; padding: 12px 22px; font-weight: 600; font-size: 1rem; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--navy-2); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #b3822f; }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 88px 0; }
.hero h1 { color: #fff; max-width: 760px; }
.hero p { font-size: 1.15rem; max-width: 620px; color: #dbe5f1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Sections */
section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--muted); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--muted); margin: 0; }
.card-icon { width: 44px; height: 44px; border-radius: 10px; background: #eef2f8; color: var(--navy); display: grid; place-items: center; margin-bottom: 14px; }

.steps { counter-reset: step; }
.step { position: relative; padding-left: 56px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }

.cta-band { background: var(--navy); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe5f1; max-width: 560px; margin: 0 auto 24px; }

/* Page header */
.page-header { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 48px 0 36px; }
.page-header p { color: var(--muted); margin: 0; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.contact-info .card + .card { margin-top: 16px; }
.contact-info dt { font-weight: 600; color: var(--navy); }
.contact-info dd { margin: 0 0 12px; color: var(--muted); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; border: 1px solid #c9d1db; border-radius: 8px;
  font: inherit; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy-2); outline-offset: 1px; border-color: var(--navy-2); }
.field textarea { min-height: 120px; resize: vertical; }
.hint { font-weight: 400; color: var(--muted); font-size: .85rem; }

.consent { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; margin-bottom: 20px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--navy); }
.consent label { font-size: .86rem; line-height: 1.55; color: var(--ink); font-weight: 400; }
.consent a { font-weight: 600; }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(10, 22, 40, .55); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 100; }
.modal.open { display: flex; }
.modal-box { background: #fff; border-radius: 12px; max-width: 420px; width: 100%; padding: 32px 28px; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.modal-check { width: 56px; height: 56px; border-radius: 50%; background: #e7f5ec; color: #1f8a4c; display: grid; place-items: center; margin: 0 auto 16px; }
.modal-box p { color: var(--muted); }

/* Legal pages */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { margin-top: 1.4em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.callout { border-left: 4px solid var(--accent); background: #fbf6ec; padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 1em 0; }
.legal-toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 1.5em; }
.legal-toc ol { margin: 0; padding-left: 1.2em; columns: 2; }

/* Footer */
.site-footer { background: #0b1f38; color: #b9c6d6; padding: 48px 0 24px; font-size: .92rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-bottom nav { display: flex; gap: 18px; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); gap: 4px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
  .grid-3, .grid-2, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal-toc ol { columns: 1; }
  .hero { padding: 64px 0; }
  section { padding: 56px 0; }
  .form { padding: 20px; }
}
