:root {
  --ink: #0a1220;
  --ink-2: #142033;
  --ink-3: #1c2c44;
  --paper: #f6f2ea;
  --paper-2: #ece5d8;
  --white: #fffdf8;
  --copper: #c4841d;
  --copper-2: #e0a03a;
  --copper-soft: rgba(224, 160, 58, 0.16);
  --muted: #5d6674;
  --line: rgba(10, 18, 32, 0.12);
  --line-light: rgba(255, 253, 248, 0.14);
  --shadow: 0 18px 50px rgba(10, 18, 32, 0.12);
  --radius: 18px;
  --max: 1160px;
  --sans: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.12; letter-spacing: -0.03em; margin: 0; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 560; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 560; }
h3 { font-size: 1.35rem; font-weight: 560; }
p { margin: 0; color: var(--muted); }
ul { margin: 0; padding: 0; list-style: none; }

.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  clip-path: none;
  overflow: visible;
  padding: 8px 12px;
  background: var(--copper-2);
  color: var(--ink);
  z-index: 80;
  border-radius: 8px;
}

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 88px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.lede { font-size: 1.08rem; max-width: 58ch; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.2s ease;
}
.btn-primary { background: var(--copper-2); color: var(--ink); }
.btn-primary:hover { background: #efb24a; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line-light); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 242, 234, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; }
.brand img { width: 44px; height: 44px; flex: none; }
.wordmark {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1;
}
.site-footer .wordmark { color: var(--white); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { font-size: 0.93rem; font-weight: 600; color: var(--ink-2); }
.nav a:hover, .nav a.active { color: var(--copper); }
.nav a.btn-dark,
.nav a.btn-dark:hover {
  color: var(--white);
  background: var(--ink);
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
}
.nav-toggle span { display: block; height: 2px; margin: 6px 9px; background: var(--ink); }

.hero {
  background:
    radial-gradient(circle at 85% 10%, rgba(224,160,58,.22), transparent 28%),
    linear-gradient(180deg, var(--ink) 0%, #0e1a2e 100%);
  color: var(--white);
  padding: 84px 0 72px;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 420px;
  background: radial-gradient(circle, rgba(196,132,29,.18), transparent 60%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: italic; color: var(--copper-2); font-weight: 500; }
.hero p { color: rgba(255,253,248,.74); font-size: 1.12rem; max-width: 54ch; margin-top: 18px; }
.hero-card {
  background: rgba(255,253,248,.05);
  border: 1px solid var(--line-light);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(8px);
}
.hero-card h3 { margin-bottom: 14px; }
.hero-list { display: grid; gap: 12px; }
.hero-list li {
  display: flex;
  gap: 10px;
  color: rgba(255,253,248,.82);
  font-size: 0.95rem;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--copper-2); margin-top: 8px; flex: none;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.fact { padding: 28px 24px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact b { display: block; font-family: var(--serif); font-size: 1.35rem; margin-bottom: 6px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card, .service, .value, .step, .office, .role {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
}
.service:hover, .role:hover, .office:hover { transform: translateY(-3px); box-shadow: var(--shadow); transition: 0.2s ease; }
.num { color: var(--copper); font-weight: 800; font-size: 0.82rem; letter-spacing: .12em; }
.service h3, .role h3, .value h3, .office h3 { margin: 10px 0 8px; }
.more { display: inline-block; margin-top: 14px; color: var(--copper); font-weight: 700; font-size: 0.92rem; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.panel {
  background: var(--ink);
  color: var(--white);
  border-radius: 28px;
  padding: 36px;
}
.panel p { color: rgba(255,253,248,.72); }
.panel + .panel { background: var(--ink-2); }

.band { background: var(--ink); color: var(--white); }
.band p { color: rgba(255,253,248,.72); }
.cta-row { display: flex; justify-content: space-between; gap: 24px; align-items: center; }

.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: 72px 0 56px;
}
.page-hero p { color: rgba(255,253,248,.72); margin-top: 14px; max-width: 58ch; }
.crumbs { font-size: 0.84rem; color: rgba(255,253,248,.55); margin-bottom: 16px; }
.crumbs a:hover { color: var(--copper-2); }

.check li { position: relative; padding-left: 22px; margin: 8px 0; color: var(--muted); }
.check li::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--copper-2); }

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 0.84rem; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  padding: 12px 14px;
}
.field textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.note { font-size: 0.82rem; color: var(--muted); margin-top: 10px; }
.alert {
  display: none;
  background: #e8f6ea;
  color: #1b5e20;
  border: 1px solid #b7e0bc;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
}
.alert.show { display: block; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.faq summary { cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin-top: 8px; }

.site-footer {
  background: var(--ink);
  color: rgba(255,253,248,.74);
  padding: 56px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
.site-footer h4 { color: var(--white); margin-bottom: 14px; font-size: 1rem; }
.site-footer a:hover { color: var(--copper-2); }
.site-footer li { margin: 8px 0; }
.legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-light);
  margin-top: 36px;
  padding-top: 18px;
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .hero-grid, .grid-2, .grid-3, .grid-4, .split, .facts, .footer-grid, .form-row, .cta-row { grid-template-columns: 1fr; }
  .facts .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 22px;
    gap: 14px;
    z-index: 40;
  }
  .nav.open { display: flex; }
  .nav .btn { width: 100%; }
  .hero, .section, .page-hero { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service:hover, .btn-primary:hover { transform: none; }
}
