:root {
  --navy: #163243;
  --navy-2: #1f4558;
  --ink: #1c2429;
  --muted: #5c6b73;
  --line: #d7cfc3;
  --paper: #f6f1e8;
  --card: #fffdf8;
  --rust: #c45c26;
  --rust-dark: #9e4518;
  --ok: #2f6b4f;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(22, 50, 67, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a { color: var(--rust-dark); }
img { max-width: 100%; }

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

.topbar {
  background: var(--navy);
  color: #e8e0d4;
  font-size: 13px;
  letter-spacing: .02em;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.topbar a { color: #e8e0d4; text-decoration: none; }

header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 241, 232, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand {
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.15;
}
.brand small {
  display: block;
  font-weight: 600;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
nav.desk { display: flex; gap: 16px; flex-wrap: wrap; }
nav.desk a {
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
nav.desk a.active, nav.desk a:hover { color: var(--rust); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.btn-rust { background: var(--rust); color: white; }
.btn-rust:hover { background: var(--rust-dark); }
.btn-navy { background: var(--navy); color: white; }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.hero {
  background:
    linear-gradient(120deg, rgba(22,50,67,.92), rgba(22,50,67,.72)),
    radial-gradient(circle at 80% 20%, #c45c26 0, transparent 28%),
    #163243;
  color: white;
  padding: 56px 0 48px;
}
.hero h1 {
  font-size: clamp(34px, 7vw, 64px);
  line-height: 1.02;
  margin: 0 0 14px;
  letter-spacing: -.03em;
}
.hero p { font-size: 18px; max-width: 640px; color: #f0e7da; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.chip {
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

section { padding: 48px 0; }
h2 {
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--navy);
  letter-spacing: -.02em;
}
h3 { margin: 0 0 8px; color: var(--navy); }
.lede { color: var(--muted); max-width: 680px; font-size: 17px; }

.grid-3, .grid-2, .cards {
  display: grid;
  gap: 16px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 18px; }
.card ul, .prose ul { padding-left: 18px; }
.card li, .prose li { margin: 6px 0; }
.step-num {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--rust);
  color: white;
  display: grid; place-items: center;
  font-weight: 800;
  margin-bottom: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { background: var(--navy); color: white; font-weight: 650; }
tr:last-child td { border-bottom: 0; }
.price { font-weight: 800; color: var(--navy); white-space: nowrap; }

.note {
  background: #efe4d4;
  border-left: 4px solid var(--rust);
  padding: 12px 14px;
  border-radius: 0 10px 10px 0;
}

form { display: grid; gap: 12px; }
label { font-size: 13px; font-weight: 700; color: var(--navy); }
input, textarea, select {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: white;
}
textarea { min-height: 120px; resize: vertical; }

footer.site {
  background: var(--navy);
  color: #d9d1c5;
  padding: 36px 0 90px;
}
footer.site a { color: #fff; }
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
}
.tiny { font-size: 13px; color: #b7c0c4; }

.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--navy);
  display: none;
  grid-template-columns: 1fr 1fr;
  z-index: 30;
}
.callbar a {
  color: white;
  text-decoration: none;
  text-align: center;
  padding: 14px 8px;
  font-weight: 800;
}
.callbar a:first-child { background: var(--rust); }

@media (max-width: 860px) {
  nav.desk { display: none; }
  .grid-3, .grid-2, .foot-grid { grid-template-columns: 1fr; }
  .hero { padding: 36px 0 32px; }
  section { padding: 36px 0; }
  .callbar { display: grid; }
  footer.site { padding-bottom: 100px; }
}
