/* K-Collect LTD — corporate website.
   Design tokens taken from the K-Collect corporate design (invoices, mails):
   copper accent on slate, Brandon Grotesque Light/Black for display, Helvetica for text.
   No external requests: fonts are self-hosted, there is no tracking and no cookie. */

@font-face {
  font-family: 'Brandon';
  src: url('fonts/BrandonGrotesque-Light.otf') format('opentype');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Brandon';
  src: url('fonts/BrandonGrotesque-Black.otf') format('opentype');
  font-weight: 900;
  font-display: swap;
}

:root {
  --accent: #A0602F;
  --accent-dark: #834C26;
  --accent-soft: rgba(160, 96, 47, .10);
  --ink: #0F172A;
  --mid: #334155;
  --mute: #64748B;
  --faint: #94A3B8;
  --line: #E2E4E8;
  --ground: #EDEFF2;
  --box: #F5F6F8;
  --card: #FFFFFF;
  --display: 'Brandon', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-dark); }

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

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* ── header ─────────────────────────────────────────────────────────────── */
header.top {
  background: var(--card);
  border-bottom: 2px solid var(--accent);
  position: sticky; top: 0; z-index: 20;
}
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand img { height: 40px; width: auto; }
.brand .nm { font-family: var(--display); font-weight: 900; font-size: 21px; letter-spacing: .01em; }
.brand .sb {
  font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--mute); font-weight: 700; margin-top: -3px;
}
nav.main { margin-left: auto; display: flex; align-items: center; gap: 26px; }
nav.main a { color: var(--mid); text-decoration: none; font-size: 14.5px; font-weight: 600; }
nav.main a:hover { color: var(--accent); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang a { padding: 5px 12px; font-size: 12.5px; font-weight: 700; color: var(--mute); text-decoration: none; }
.lang a[aria-current] { background: var(--accent); color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 12px; font-size: 15px; color: var(--ink); cursor: pointer; }

@media (max-width: 860px) {
  nav.main {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--card); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 18px;
  }
  nav.main.open { display: flex; }
  nav.main > a { padding: 11px 0; border-top: 1px solid var(--line); }
  .lang { align-self: flex-start; margin-top: 14px; }
  .lang a { padding: 7px 16px; }
  .menu-btn { display: block; }
}

/* ── typography ─────────────────────────────────────────────────────────── */
.over {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--faint); margin-bottom: 6px;
}
.rule { width: 34px; height: 2px; background: var(--accent); margin-bottom: 22px; }

h1, h2, h3 { font-family: var(--display); font-weight: 300; letter-spacing: -.01em; margin: 0 0 16px; }
h1 { font-size: clamp(34px, 5.4vw, 54px); line-height: 1.08; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 900; letter-spacing: 0; }
h1 b, h2 b { font-weight: 900; }
p { margin: 0 0 16px; }
.lead { font-size: 18.5px; line-height: 1.6; color: var(--mid); max-width: 62ch; }
.muted { color: var(--mute); }
.small { font-size: 14px; line-height: 1.6; }

section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }
section.tint { background: var(--card); }

/* ── hero ───────────────────────────────────────────────────────────────── */
.hero { padding: 86px 0 78px; background: var(--card); }
.hero .lead { font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.btn {
  display: inline-block; padding: 13px 24px; border-radius: 8px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }

/* ── grids and cards ────────────────────────────────────────────────────── */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .g2, .g3 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 26px;
}
section.tint .card { background: var(--box); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card .num {
  font-family: var(--display); font-weight: 900; font-size: 13px;
  color: var(--accent); letter-spacing: .06em; margin-bottom: 10px;
}

ul.ticks { list-style: none; padding: 0; margin: 0; }
ul.ticks li { position: relative; padding: 7px 0 7px 26px; border-top: 1px solid var(--line); }
ul.ticks li:first-child { border-top: none; }
ul.ticks li::before {
  content: ''; position: absolute; left: 4px; top: 17px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}

/* ── facts table ────────────────────────────────────────────────────────── */
dl.facts { display: grid; grid-template-columns: minmax(160px, 240px) 1fr; gap: 0; margin: 0; }
dl.facts dt {
  font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; font-weight: 700;
  color: var(--mute); padding: 12px 16px 12px 0; border-top: 1px solid var(--line);
}
dl.facts dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
dl.facts dt:first-of-type, dl.facts dd:first-of-type { border-top: none; }
@media (max-width: 640px) {
  dl.facts { grid-template-columns: 1fr; }
  dl.facts dt { padding-bottom: 0; border-top: 1px solid var(--line); }
  dl.facts dd { padding-top: 2px; border-top: none; }
}

/* ── contact strip ──────────────────────────────────────────────────────── */
.strip { background: var(--ink); color: #fff; border-radius: 16px; padding: 40px 38px; }
.strip h2 { color: #fff; margin-bottom: 10px; }
.strip p { color: #CBD5E1; }
.strip a.btn { background: var(--accent); border-color: var(--accent); }
.strip .mailto { color: #fff; font-weight: 700; }

/* ── legal pages ────────────────────────────────────────────────────────── */
.legal { max-width: 760px; }
.legal h2 { font-size: 24px; margin-top: 42px; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 17px; margin-top: 26px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal .updated { font-size: 13.5px; color: var(--mute); }

/* ── footer ─────────────────────────────────────────────────────────────── */
footer.bottom {
  background: var(--ink); color: #94A3B8; border-top: 3px solid var(--accent);
  padding: 46px 0 30px; font-size: 13.5px; line-height: 1.75;
}
footer.bottom .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 28px; }
@media (max-width: 820px) { footer.bottom .cols { grid-template-columns: 1fr; } }
footer.bottom .fnm { font-family: var(--display); font-weight: 900; font-size: 17px; color: #fff; margin-bottom: 8px; }
footer.bottom h4 {
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: #64748B; margin: 0 0 10px; font-weight: 700;
}
footer.bottom a { color: #CBD5E1; text-decoration: none; display: block; padding: 2px 0; }
footer.bottom a:hover { color: var(--accent); }
footer.bottom .legalline {
  margin-top: 32px; padding-top: 18px; border-top: 1px solid #1E293B;
  font-size: 12.5px; color: #64748B;
}
