/* ---------------------------------------------------------------------------
   Tokens
   Palette: cool paper white, ink slate, Czech garnet accent, steel secondary.
--------------------------------------------------------------------------- */
:root {
  --paper: #f6f8f9;
  --paper-alt: #eef1f4;
  --ink: #1e2733;
  --steel: #5a6875;
  --garnet: #8a1e30;
  --garnet-dark: #6e1826;
  --line: #d9dfe5;

  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas,
    monospace;

  --wrap: 1080px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.wrap-narrow { max-width: 680px; }

a { color: var(--garnet); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--garnet);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------------------
   Header
--------------------------------------------------------------------------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand-dot { color: var(--garnet); }

.top-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.top-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}
.top-nav a:hover { color: var(--garnet); }

.lang-switch {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  border-left: 1px solid var(--line);
  padding-left: 1.4rem;
}
.lang-sep { color: var(--line); margin: 0 0.35rem; }
.lang-current { color: var(--steel); }
.lang-link { text-decoration: none; }
.lang-link:hover { text-decoration: underline; }

/* ---------------------------------------------------------------------------
   Hero
--------------------------------------------------------------------------- */
.hero { padding: 5.5rem 0 4.5rem; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--steel);
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  max-width: 18ch;
  font-weight: 750;
}

.cursor {
  display: inline-block;
  width: 0.5ch;
  height: 0.85em;
  margin-left: 0.15ch;
  background: var(--garnet);
  vertical-align: baseline;
  transform: translateY(0.12em);
  animation: blink 1.1s steps(1) infinite;
}
@media (prefers-reduced-motion: reduce) {
  .cursor { animation: none; }
}
@keyframes blink { 50% { opacity: 0; } }

.lead {
  font-size: 1.2rem;
  color: var(--steel);
  max-width: 46ch;
  margin: 0 0 2rem;
}
.hero-actions { margin: 0; }

/* ---------------------------------------------------------------------------
   Sections
--------------------------------------------------------------------------- */
.section { padding: 4.5rem 0; }
.section-alt {
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 2.25rem;
  font-weight: 700;
}
.section-intro {
  color: var(--steel);
  max-width: 46ch;
  margin: -1.25rem 0 2.25rem;
}

/* Services */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.5rem 1.5rem 1.25rem;
}
.card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--steel); font-size: 0.98rem; }

/* Process — a real sequence, so numbered */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem 1.5rem;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--garnet);
  display: block;
  border-bottom: 2px solid var(--garnet);
  padding-bottom: 0.4rem;
  margin-bottom: 0.9rem;
}
.steps h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--steel); font-size: 0.95rem; }

/* ---------------------------------------------------------------------------
   Form
--------------------------------------------------------------------------- */
.feedback-form { display: grid; gap: 1.1rem; }

.field { display: grid; gap: 0.35rem; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--steel);
}
.field input,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.65rem 0.75rem;
}
.field input:focus,
.field textarea:focus { border-color: var(--garnet); }
.field textarea { resize: vertical; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.btn {
  display: inline-block;
  background: var(--garnet);
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 0.75rem 1.5rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  justify-self: start;
}
.btn:hover { background: var(--garnet-dark); }

.form-status {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.95rem;
  color: var(--steel);
}

/* ---------------------------------------------------------------------------
   Footer
--------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--steel);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------------------------------------------------------------------------
   Small screens
--------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .hero { padding: 3.5rem 0 3rem; }
  .section { padding: 3rem 0; }
}

/* ---------------------------------------------------------------------------
   Legal / privacy page + footer legal line
--------------------------------------------------------------------------- */
.form-note {
  margin: -0.4rem 0 0;
  font-size: 0.85rem;
  color: var(--steel);
}

.footer-legal {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--steel);
  line-height: 1.5;
}

.legal-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}
.legal-page h2 {
  font-size: 1.15rem;
  margin: 2.25rem 0 0.6rem;
  letter-spacing: -0.01em;
}
.legal-page p { margin: 0 0 0.9rem; color: var(--ink); }
.legal-updated {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--steel);
}
.legal-id {
  border-left: 3px solid var(--garnet);
  padding-left: 1rem;
  color: var(--steel);
}
