:root {
  --ink: #202724;
  --muted: #61706a;
  --line: #d8dfdb;
  --surface: #ffffff;
  --tint: #f3f6f4;
  --accent: #216c5a;
  --max-width: 1160px;
  --header-height: 68px;
  --footer-space: 116px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: var(--header-height) 0 var(--footer-space);
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a { color: inherit; }

a:focus-visible {
  outline: 3px solid #8fc5b6;
  outline-offset: 3px;
}

.container { width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 10px 14px; background: var(--ink); color: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; top: 0; right: 0; left: 0; z-index: 5; border-bottom: 1px solid #39433f; background: #151a17; color: #f6f8f7; }
.header-content { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand, .footer-brand { display: inline-flex; width: 42px; height: 42px; color: var(--ink); }
.brand img, .footer-brand img { width: 100%; height: 100%; filter: invert(1); }
.main-nav { display: flex; gap: 18px; overflow-x: auto; white-space: nowrap; }
.main-nav a, .back-link { color: #cfd7d3; font-size: .875rem; text-decoration: none; }
.main-nav a:hover, .back-link:hover { color: #fff; }

.hero { padding: clamp(92px, 15vw, 180px) 0; background: var(--tint); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-content { max-width: 850px; }
.hero-grid h1 { font-size: clamp(2.8rem, 5.6vw, 4.8rem); }
.media { margin: 0; }
.media img { display: block; width: 100%; height: auto; border-radius: 6px; background: var(--line); }
.media figcaption { margin-top: 10px; color: var(--muted); font-size: .8rem; }
.hero-media img { aspect-ratio: 4 / 3; object-fit: cover; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1, h2 { letter-spacing: -.045em; line-height: 1.06; }
h1 { max-width: 850px; margin-bottom: 24px; font-size: clamp(3.2rem, 8vw, 6.6rem); font-weight: 650; }
h2 { margin-bottom: 24px; font-size: clamp(2.2rem, 4vw, 3.35rem); font-weight: 650; }
.hero-intro { max-width: 650px; margin-bottom: 14px; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.hero-motto { margin-bottom: 30px; font-size: 1.05rem; font-weight: 700; }
.hero-contact { color: var(--accent); font-size: .95rem; font-weight: 700; text-underline-offset: 4px; }

.section { padding: clamp(72px, 10vw, 128px) 0; scroll-margin-top: 68px; }
.section-tint, .contact-section { background: var(--tint); }
.split-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); gap: clamp(40px, 10vw, 145px); }
.section-content { max-width: 500px; color: var(--muted); font-size: 1.08rem; }
.service-section .media { margin: 30px 0 0; }
.service-section .check-list { margin-top: 26px; }
.check-list { margin: 30px 0 0; padding: 0; list-style: none; color: var(--ink); font-size: 1rem; }
.check-list li { position: relative; padding: 16px 0 16px 26px; border-top: 1px solid var(--line); }
.check-list li::before { content: ""; position: absolute; top: 24px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.section-heading { max-width: 670px; margin-bottom: 44px; }
.process-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 0; padding: 0; list-style: none; counter-reset: process; }
.process-list li { position: relative; min-height: 126px; padding: 22px 0 22px 46px; border-top: 1px solid var(--line); color: var(--muted); counter-increment: process; }
.process-list li::before { position: absolute; top: 22px; left: 0; color: var(--accent); font-size: .78rem; font-weight: 700; content: "0" counter(process); }
.process-list strong { color: var(--ink); }

.contact-section { padding-bottom: clamp(88px, 14vw, 158px); }
.contact-content { max-width: 760px; }
.contact-form { display: grid; gap: 20px; max-width: 560px; }
.form-field { display: grid; gap: 8px; }
.form-field label, .privacy-check { font-size: .94rem; font-weight: 700; }
.form-field input, .form-field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); font: inherit; }
.form-field textarea { min-height: 144px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--accent); outline: 3px solid #b8d8ce; outline-offset: 2px; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy-check { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-weight: 400; }
.privacy-check input { width: 1.1rem; height: 1.1rem; margin: .15rem 0 0; accent-color: var(--accent); }
.privacy-check a { color: var(--ink); text-underline-offset: 3px; }
.form-submit { justify-self: start; padding: 12px 18px; border: 1px solid var(--accent); border-radius: 4px; background: var(--accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.form-submit:hover { background: #185346; border-color: #185346; }
.contact-status { margin: 4px 0 0; padding: 18px 20px; border-left: 4px solid var(--accent); background: #e2efea; color: var(--ink); font-size: clamp(1.08rem, 2vw, 1.3rem); font-weight: 700; line-height: 1.35; }
.contact-status.is-error { border-color: #a53c2f; background: #f8e9e6; }

.site-footer { position: fixed; right: 0; bottom: 0; left: 0; z-index: 5; padding: 26px 0; border-top: 1px solid #39433f; background: #151a17; color: #cfd7d3; font-size: .8rem; }
.footer-content { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.site-footer a { text-underline-offset: 3px; }

.legal-page { padding: clamp(72px, 10vw, 128px) 0; }
.confirmation-page { display: grid; min-height: calc(100vh - var(--header-height) - var(--footer-space)); align-items: center; padding: clamp(72px, 10vw, 128px) 0; background: var(--tint); }
.confirmation-content { max-width: 760px; }
.confirmation-content h1 { max-width: 720px; }
.confirmation-content > p:not(.eyebrow) { max-width: 600px; margin-bottom: 30px; color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.45rem); }
.legal-content { max-width: 760px; }
.legal-content h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); }
.legal-content h2 { margin-top: 52px; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.legal-content p { max-width: 680px; color: var(--muted); font-size: 1.06rem; }
.legal-content a { color: var(--accent); }
.legal-data { margin: 38px 0; }
.legal-data div { padding: 17px 0; border-top: 1px solid var(--line); }
.legal-data div:last-child { border-bottom: 1px solid var(--line); }
.legal-data dt { margin-bottom: 4px; font-weight: 700; }
.legal-data dd { margin: 0; color: var(--muted); }

@media (max-width: 700px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: 2; }
  .process-list { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --header-height: 60px; --footer-space: 154px; }
  .container { width: min(calc(100% - 32px), var(--max-width)); }
  .header-content { min-height: 60px; gap: 14px; }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: .78rem; }
  .hero { padding-top: 88px; }
  .split-layout { grid-template-columns: 1fr; }
  .section { scroll-margin-top: 60px; }
  .cf-turnstile { transform: scale(.92); transform-origin: left top; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
