:root {
  --navy: #12263f;
  --navy-2: #1c3557;
  --teal: #1f7f7f;
  --teal-dark: #176464;
  --ink: #1d2733;
  --muted: #5a6675;
  --line: #dde3ea;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --warn-bg: #fff8e6;
  --warn-line: #f0d48a;
  --radius: 10px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: var(--teal-dark); }
a:hover { color: var(--navy); }

img, svg { max-width: 100%; }

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

/* Header */
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.2px;
}
.brand:hover { color: #fff; }
.brand svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: #d6e2ee; text-decoration: none; font-size: 15px; }
.nav a:hover { color: #fff; }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%, #23466b 100%);
  color: #fff;
  padding: 72px 0 80px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.15;
  margin: 0 0 18px;
  max-width: 820px;
}
.hero p.lead {
  font-size: clamp(17px, 2.2vw, 20px);
  color: #d6e2ee;
  max-width: 720px;
  margin: 0 0 28px;
}
.hero .points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  color: #d6e2ee;
  font-size: 15px;
}
.hero .points li::before { content: "✓ "; color: #7fd1c7; font-weight: 700; }

.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost { border-color: #9fb6cc; color: #fff; margin-left: 10px; }
.btn-ghost:hover { border-color: #fff; color: #fff; }

/* Sections */
section { padding: 64px 0; }
section.soft { background: var(--bg-soft); }
h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--navy);
}
h3 { color: var(--navy); margin: 0 0 8px; font-size: 20px; }
.section-intro { color: var(--muted); max-width: 720px; margin: 0 0 32px; }

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.card p { margin: 0 0 12px; color: var(--muted); }
.card ul { margin: 0 0 16px; padding-left: 20px; color: var(--ink); }
.card ul li { margin-bottom: 4px; }
.price {
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
  margin: 4px 0 2px;
}
.price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.turnaround { font-size: 14px; color: var(--muted); margin-bottom: 14px !important; }
.card .btn { margin-top: auto; text-align: center; }
.card.featured { border: 2px solid var(--teal); }
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: #e3f3f1;
  color: var(--teal-dark);
  padding: 3px 9px;
  border-radius: 20px;
  margin-bottom: 10px;
  align-self: flex-start;
}

.note {
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 15px;
  margin-top: 24px;
}

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 22px 56px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps li strong { display: block; color: var(--navy); font-size: 18px; }
.steps li span { color: var(--muted); }

/* Two-column lists */
.cols { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.check-list, .x-list { list-style: none; padding: 0; margin: 0; }
.check-list li, .x-list li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.x-list li::before { content: "✕"; position: absolute; left: 2px; color: #b04a3a; font-weight: 700; }

/* FAQ */
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px 18px;
  margin-bottom: 12px;
}
summary { cursor: pointer; font-weight: 600; color: var(--navy); }
details p { margin: 10px 0 0; color: var(--muted); }

/* Form */
form.contact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 760px;
}
.form-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 14px; color: var(--navy); }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid #b9c4d0;
  border-radius: 7px;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid #bfe3de; border-color: var(--teal); }
.hidden { position: absolute; left: -9999px; }
.fine { font-size: 14px; color: var(--muted); }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #b9c9da;
  padding: 36px 0;
  font-size: 14px;
}
.site-footer a { color: #d6e2ee; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }

/* Document (sample) pages */
.doc-banner {
  background: var(--warn-bg);
  border-bottom: 1px solid var(--warn-line);
  padding: 12px 0;
  font-size: 15px;
}
.doc {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}
.doc h1 { color: var(--navy); font-size: clamp(26px, 4vw, 34px); line-height: 1.2; margin: 0 0 6px; }
.doc h2 { font-size: 24px; margin-top: 40px; border-bottom: 2px solid var(--line); padding-bottom: 6px; }
.doc h3 { font-size: 19px; margin-top: 26px; }
.doc .meta { color: var(--muted); margin: 0 0 24px; }
.doc table { border-collapse: collapse; width: 100%; margin: 16px 0 24px; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; }
.doc th { background: var(--bg-soft); color: var(--navy); }
.table-scroll { overflow-x: auto; }
.callout {
  border-left: 4px solid var(--teal);
  background: var(--bg-soft);
  padding: 14px 18px;
  margin: 18px 0;
}
.doc-nav { margin-top: 40px; }

@media print {
  .site-header, .site-footer, .doc-nav, .btn { display: none !important; }
  .doc { padding: 0; }
  body { font-size: 12pt; }
}

@media (max-width: 560px) {
  section { padding: 48px 0; }
  .hero { padding: 52px 0 60px; }
  .btn-ghost { margin: 12px 0 0; }
  .nav { gap: 12px; }
  form.contact { padding: 20px; }
}
