:root {
  --bg: #fbf8f4;
  --surface: #ffffff;
  --ink: #1d1a17;
  --muted: #5f5850;
  --line: #e6dfd6;
  --accent: #d9622b;
  --accent-ink: #ffffff;
  --accent-soft: #fbe7dc;
  --radius: 14px;
  --max: 1080px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 248, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 64px;
}
.brand { font-weight: 800; font-size: 1.1rem; text-decoration: none; letter-spacing: -0.01em; }
.header-actions { display: flex; gap: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 18px; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; font-size: 1rem; transition: transform 120ms ease, background 120ms ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #c4551f; }
.btn-ghost { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-sm { padding: 8px 14px; font-size: 0.9rem; }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero h1 {
  font-size: clamp(2.1rem, 6vw, 3.6rem); line-height: 1.05;
  letter-spacing: -0.03em; margin: 0 0 16px; max-width: 14ch;
}
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; margin: 0 0 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; color: var(--muted); font-size: 0.95rem; padding: 0; list-style: none; }
.trust li::before { content: "✓ "; color: var(--accent); font-weight: 800; }

/* Sections */
section { padding: 48px 0; }
section h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: -0.02em; margin: 0 0 8px; }
section .sub { color: var(--muted); margin: 0 0 28px; max-width: 60ch; }

.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; padding: 0; list-style: none; }
.steps li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; counter-increment: step;
}
.steps li::before {
  content: counter(step); display: inline-grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-weight: 800; margin-bottom: 10px;
}
.steps h3 { margin: 0 0 6px; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); }

.grid-tags { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.grid-tags li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }

.note { background: var(--accent-soft); border-radius: var(--radius); padding: 16px 20px; margin-top: 20px; }

.pricing {
  display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.pricing .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.pricing .card h3 { margin: 0 0 4px; }
.pricing .card p { margin: 0; color: var(--muted); }

/* Quote form */
.quote { background: var(--ink); color: var(--bg); border-radius: 20px; padding: 32px 20px; }
.quote h2 { color: var(--bg); }
.quote .sub { color: #cfc6bb; }
form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; max-width: 560px; }
label { font-weight: 600; display: grid; gap: 6px; min-width: 0; }
label > input:not([type="checkbox"]), label > textarea { width: 100%; min-width: 0; }
input, textarea, select {
  font: inherit; padding: 12px 14px; border-radius: 10px;
  border: 1px solid #4a443d; background: #2a2622; color: var(--bg);
}
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-weight: 400; font-size: 0.9rem; color: #cfc6bb; align-items: start; }
.check input { width: 18px; height: 18px; margin-top: 2px; }
.check a { color: var(--bg); }
.form-status { min-height: 1.4em; font-size: 0.95rem; }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 10px; }
summary { font-weight: 700; cursor: pointer; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 96px; color: var(--muted); font-size: 0.92rem; }
.site-footer .wrap { display: grid; gap: 10px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }

/* Sticky mobile call bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 16px;
  background: var(--surface); border-top: 1px solid var(--line);
}
@media (min-width: 760px) {
  .mobile-bar { display: none; }
  .site-footer { padding-bottom: 32px; }
}
@media (max-width: 520px) {
  .header-actions .btn-ghost { display: none; }
}

/* Legal pages */
.legal { padding: 40px 0 64px; max-width: 760px; }
.legal h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); letter-spacing: -0.02em; margin-bottom: 4px; }
.legal h2 { font-size: 1.25rem; margin-top: 32px; }
.legal p, .legal li { color: #34302b; }
.legal .meta { color: var(--muted); margin-top: 0; }
