:root {
  --ink: #1c2430;
  --muted: #5a6573;
  --line: #dfe3e8;
  --bg: #ffffff;
  --soft: #f5f7f9;
  --accent: #1f4e79;
  --accent-ink: #ffffff;
  --radius: 10px;
  --max: 1040px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

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(--accent); }
a:hover { text-decoration: none; }

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

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 24px; padding-top: 16px; padding-bottom: 16px;
}
.brand { font-weight: 700; font-size: 1.05rem; color: var(--ink); text-decoration: none; line-height: 1.3; }
.brand small { display: block; font-weight: 400; font-size: 0.8rem; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 0.95rem; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; }

/* Home */
.intro { background: var(--soft); border-bottom: 1px solid var(--line); }
.intro .wrap { padding-top: 56px; padding-bottom: 56px; }
.intro h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.2; margin: 0 0 14px; max-width: 22ch; }
.intro p { color: var(--muted); max-width: 60ch; margin: 0; font-size: 1.05rem; }

.section { padding: 48px 0; }
.section h2 { font-size: 1.4rem; margin: 0 0 18px; }

.grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.split { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1.15fr; } }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list strong { display: block; font-size: 0.85rem; color: var(--muted); font-weight: 600; }

/* Form */
.form-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.req { color: #a12a2a; }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"] {
  width: 100%; padding: 12px 14px; font-size: 1rem; font-family: inherit;
  border: 1px solid #c3cad3; border-radius: 8px; background: #fff; color: var(--ink);
}
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }

.consent {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--soft); border: 1px solid var(--line); border-radius: 8px;
  padding: 14px; margin: -4px 0 18px;
}
.consent input[type="checkbox"] { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--accent); }
.consent label { font-size: 0.88rem; line-height: 1.5; color: var(--ink); font-weight: 400; }

.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: 8px; padding: 13px 26px; font-size: 1rem; font-weight: 600;
  font-family: inherit; cursor: pointer;
}
.btn:hover { background: #173c5e; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 12px 0 0; }
.hidden { position: absolute; left: -10000px; }

/* Legal pages */
.legal .wrap { max-width: 780px; padding-top: 44px; padding-bottom: 56px; }
.legal h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin: 0 0 6px; line-height: 1.2; }
.legal .updated { color: var(--muted); margin: 0 0 30px; font-size: 0.95rem; }
.legal h2 { font-size: 1.2rem; margin: 34px 0 10px; padding-top: 6px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.callout { border-left: 4px solid var(--accent); background: var(--soft); padding: 14px 18px; border-radius: 0 8px 8px 0; }
.callout p { margin: 0; }
address { font-style: normal; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--soft); font-size: 0.9rem; color: var(--muted); }
.site-footer .wrap { padding-top: 28px; padding-bottom: 28px; display: grid; gap: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer p { margin: 0; }
