:root {
  --navy: #0f2a44;
  --navy-2: #173b5f;
  --gold: #d4a24c;
  --gold-dark: #b8862f;
  --ink: #1b2430;
  --muted: #5a6675;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --line: #e2e7ee;
  --radius: 12px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

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

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); color: #fff; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: .6em;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  padding: .8em 1.4em;
  border-radius: 999px;
  border: 2px solid var(--gold);
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-small { padding: .45em 1.1em; font-size: .95rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(15, 42, 68, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 1.15rem; white-space: nowrap; }
.brand strong { color: var(--gold); font-weight: 700; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; }
.nav a:not(.btn) { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: #fff; }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(212,162,76,.22), transparent 45%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: rgba(255,255,255,.88);
  padding: 110px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; right: -60px; bottom: -1px;
  width: 520px; height: 260px;
  background: linear-gradient(135deg, transparent 50%, rgba(255,255,255,.05) 50%);
  clip-path: polygon(0 100%, 45% 20%, 60% 45%, 78% 0, 100% 100%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-inner > * { max-width: 760px; }
.hero .eyebrow { color: var(--gold); }
.lead { font-size: 1.2rem; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: rgba(255,255,255,.85); }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: var(--gold); }

.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.split p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.section-dark .split p:not(.eyebrow) { color: rgba(255,255,255,.8); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(15,42,68,.08); }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(212,162,76,.15);
  display: grid; place-items: center; margin-bottom: 18px;
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { counter-increment: step; border-top: 3px solid var(--gold); padding-top: 18px; }
.steps li::before { content: "0" counter(step); display: block; font-weight: 800; font-size: 1.6rem; color: var(--line); margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; }

/* Contact */
.contact-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-label { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--gold); margin-bottom: .3em; }
.contact-value { display: block; font-size: 1.3rem; color: #fff; text-decoration: none; margin-bottom: 24px; word-break: break-word; }
.contact-value:hover { text-decoration: underline; }

/* Footer */
.site-footer { background: #0a1e31; color: rgba(255,255,255,.6); font-size: .9rem; padding: 24px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.footer-inner a { color: rgba(255,255,255,.75); }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.notfound h1 { color: var(--navy); }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav ul li:not(:last-child) { display: none; }
  .split { grid-template-columns: 1fr; gap: 12px; }
  .hero { padding: 72px 0 84px; }
  .hero::after { display: none; }
  .section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .brand span { font-size: 1rem; }
  .contact-box { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
