:root {
  --red: #da291c;
  --ink: #0e0f10;
  --paper: #ffffff;
  --muted: #62666b;
  --faint: #9a9ea3;
  --line: #e6e6e3;
  --wash: #f7f7f5;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.logo .dot { color: var(--red); }
.nav-right { display: flex; align-items: center; }
nav a.link { color: var(--muted); text-decoration: none; margin-left: 28px; font-size: 0.95rem; }
nav a.link:hover { color: var(--ink); }
nav a.link.accent { color: var(--red); font-weight: 600; }

.langs { display: flex; align-items: center; margin-left: 30px; font-size: 0.8rem; }
.langs a {
  color: var(--faint); text-decoration: none; padding: 0 8px;
  border-left: 1px solid var(--line); letter-spacing: 0.04em;
}
.langs a:first-child { border-left: 0; }
.langs a:hover { color: var(--ink); }
.langs a.on { color: var(--ink); font-weight: 700; }

/* ---------- hero ---------- */
.hero { padding-top: 108px; padding-bottom: 96px; border-bottom: 1px solid var(--line); }
.flag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.85rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; margin-bottom: 30px; background: var(--paper);
}
.flag .sq { width: 14px; height: 14px; background: var(--red); border-radius: 2px; position: relative; flex: none; }
.flag .sq::before, .flag .sq::after { content: ""; position: absolute; background: #fff; }
.flag .sq::before { left: 6px; top: 3px; width: 2px; height: 8px; }
.flag .sq::after { left: 3px; top: 6px; width: 8px; height: 2px; }
h1 {
  font-size: clamp(2.7rem, 6.5vw, 4.8rem);
  line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; max-width: 20ch;
}
h1 em { font-style: normal; color: var(--red); }
.hero p.sub { margin-top: 28px; font-size: 1.2rem; color: var(--muted); max-width: 56ch; }
.cta-row { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 14px 28px; border-radius: 8px; font-size: 1rem; border: 0; cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { filter: brightness(0.9); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: var(--paper); }
.btn-ghost:hover { border-color: var(--faint); }

/* ---------- sections ---------- */
section { padding: 96px 0; border-bottom: 1px solid var(--line); }
section.wash { background: var(--wash); }
.kicker {
  color: var(--red); font-weight: 700; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 16px;
}
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -0.025em; line-height: 1.12; max-width: 28ch; }
.lede { margin-top: 18px; color: var(--muted); font-size: 1.1rem; max-width: 60ch; }

/* ---------- services ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 20px; margin-top: 52px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 30px 26px;
}
.card .num { color: var(--red); font-weight: 700; font-size: 0.85rem; margin-bottom: 16px; }
.card h3 { font-size: 1.18rem; letter-spacing: -0.01em; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- why ---------- */
.why-list { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 38px 48px; }
.why h3 { font-size: 1.08rem; margin-bottom: 8px; }
.why h3::before { content: "— "; color: var(--red); }
.why p { color: var(--muted); font-size: 0.95rem; }

/* ---------- contact ---------- */
.contact a.mail { color: var(--red); text-decoration: none; font-weight: 600; }
.contact a.mail:hover { text-decoration: underline; }

footer { padding: 40px 0 52px; color: var(--muted); font-size: 0.88rem; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 860px) {
  nav a.link { margin-left: 20px; font-size: 0.9rem; }
  .langs { margin-left: 20px; }
}
@media (max-width: 700px) {
  nav a.link:not(.accent) { display: none; }
  .hero { padding-top: 72px; padding-bottom: 64px; }
  section { padding: 68px 0; }
  .langs { margin-left: 14px; font-size: 0.75rem; }
  .langs a { padding: 0 6px; }
}
