:root {
  --navy: #14304a;
  --navy-deep: #0e2438;
  --accent: #b98246;
  --accent-soft: #f6ede1;
  --ink: #17202a;
  --muted: #5c6b7a;
  --line: #e0e6ec;
  --bg: #ffffff;
  --bg-soft: #f5f8fa;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 26px; }

/* ---------- header ---------- */
header.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

header.top .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-decoration: none;
}

.brand .mark {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

header.top nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  margin-left: 24px;
}

header.top nav a:hover { color: var(--navy); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 88px 0 72px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(115deg, rgba(255,255,255,.06) 0 1px, transparent 1px 100%),
    linear-gradient(115deg, rgba(255,255,255,.035) 0 1px, transparent 1px 100%);
  background-size: 90px 90px, 34px 34px;
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; }

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  max-width: 16em;
  font-weight: 700;
}

.hero p.lead {
  font-size: 19px;
  color: #c9d6e2;
  max-width: 33em;
  margin: 0 0 34px;
}

.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 5px;
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .15s ease;
}

.btn:hover { opacity: .88; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; }

/* ---------- stats band ---------- */
.stats {
  background: var(--accent-soft);
  border-bottom: 1px solid #ecdfcc;
}

.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.stat .n {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stat .l { font-size: 14px; color: #7a6242; margin-top: 4px; }

/* ---------- sections ---------- */
section { padding: 64px 0; }
section.alt { background: var(--bg-soft); }

h2 {
  font-size: 28px;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  color: var(--navy);
}

h3 { font-size: 17px; margin: 0 0 8px; color: var(--navy); }
p { margin: 0 0 16px; }

.section-lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 40em;
  margin-bottom: 32px;
}

/* ---------- cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px 26px 24px;
}

section:not(.alt) .card { background: var(--bg-soft); border-color: #e6ecf2; }

.card .ico { width: 32px; height: 32px; margin-bottom: 14px; color: var(--accent); }
.card .ico svg { width: 100%; height: 100%; display: block; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }

/* ---------- table ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }

table { width: 100%; border-collapse: collapse; font-size: 15.5px; background: #fff; }

th, td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-bottom: none;
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: #fafcfd; }

td.svc { font-weight: 600; color: var(--navy); white-space: nowrap; }
td.price { white-space: nowrap; font-weight: 700; color: var(--navy); text-align: right; }

/* ---------- note ---------- */
.note {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 18px 22px;
  margin-top: 24px;
  font-size: 16px;
  color: #6d5636;
  border-radius: 0 5px 5px 0;
}

.note strong { color: #52401f; }

ul.plain { margin: 0; padding-left: 20px; }
ul.plain li { margin-bottom: 12px; color: var(--muted); }

/* ---------- steps ---------- */
ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }

ol.steps li {
  counter-increment: s;
  position: relative;
  padding-left: 58px;
  margin-bottom: 30px;
}

ol.steps li:last-child { margin-bottom: 0; }

ol.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 2px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

ol.steps li strong { display: block; color: var(--navy); }
ol.steps li p { margin: 6px 0 0; color: var(--muted); }

/* ---------- faq ---------- */
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 10px;
}

details summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; }
details summary::-webkit-details-marker { display: none; }

details summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 400;
  font-size: 19px;
  line-height: 1;
}

details[open] summary::after { content: "\2013"; }
details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- cta ---------- */
.cta {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  text-align: center;
  padding: 68px 0;
}

.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { color: #c9d6e2; max-width: 34em; margin: 0 auto 30px; }
.cta .btn.primary { font-size: 16px; padding: 15px 34px; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 40px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px;
}

.contact-grid .k {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}

.contact-grid .v { font-size: 16.5px; }
.contact-grid a { color: var(--navy); }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 56px;
  font-size: 14.5px;
  color: var(--muted);
}

footer a { color: var(--muted); }
footer .legal { margin-top: 8px; }

/* ---------- legal pages ---------- */
.legal-page h1 { font-size: 34px; letter-spacing: -0.02em; color: var(--navy); margin: 0 0 8px; }
.legal-page h2 { font-size: 20px; margin-top: 34px; }
.legal-page p, .legal-page li { color: #33414f; }
.legal-meta { font-size: 15px; color: var(--muted); margin-bottom: 26px; }

@media (max-width: 860px) {
  .hero { padding: 62px 0 52px; }
  .hero h1 { font-size: 33px; }
  .grid, .contact-grid { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  header.top nav { display: none; }
  body { font-size: 16px; }
  section { padding: 48px 0; }
  .table-wrap { overflow-x: auto; }
  table { min-width: 560px; }
}
