:root {
  --bg: #ffffff;
  --bg-soft: #fbf6f3;
  --ink: #1d1b1a;
  --muted: #6b6461;
  --line: #ece4df;
  --accent: #ff8562;
  --accent-ink: #b94a2b;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

header.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font-weight: 800; letter-spacing: .08em; text-decoration: none; color: var(--ink); }
nav a { margin-left: 22px; color: var(--ink); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--accent-ink); }
@media (max-width: 720px) { nav a:not(.cta) { display: none; } }

.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 600;
}
.btn:hover { background: var(--accent-ink); }
nav a.cta { padding: 8px 18px; border-radius: 999px; background: var(--accent); color: #fff; }

.hero { position: relative; color: #fff; }
.hero img { width: 100%; height: min(78vh, 640px); object-fit: cover; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.15)); }
.hero .text { position: absolute; inset: 0; display: flex; align-items: center; }
.hero h1 { font-size: clamp(38px, 7vw, 76px); line-height: 1.02; margin: 0 0 12px; letter-spacing: .04em; }
.hero p { font-size: clamp(18px, 2.4vw, 24px); margin: 0 0 28px; max-width: 560px; }

section { padding: 84px 0; }
section.soft { background: var(--bg-soft); }
h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; margin: 0 0 18px; }
.lead { font-size: 20px; color: var(--muted); max-width: 760px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.stat b { display: block; font-size: 38px; color: var(--accent-ink); line-height: 1.1; }
.stat span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; margin-top: 32px; }
.logos div { background: #fff; border: 1px solid var(--line); border-radius: 14px; height: 96px; display: flex; align-items: center; justify-content: center; padding: 14px; }
.logos img { max-height: 64px; width: auto; object-fit: contain; }

.reels { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; margin-top: 32px; scroll-snap-type: x mandatory; }
.reels img { height: 380px; width: auto; border-radius: 16px; scroll-snap-align: start; flex: none; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: 20px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.markets-list { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.markets-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; font-weight: 600; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.card { border: 1px solid var(--line); border-radius: 18px; padding: 28px; background: #fff; }
.card h3 { margin: 0 0 8px; font-size: 21px; }
.card p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

ul.values { list-style: none; padding: 0; margin: 18px 0 0; font-size: 20px; }
ul.values li { padding: 10px 0; border-bottom: 1px solid var(--line); }

.contact { text-align: center; }
.contact .mail { font-size: 24px; font-weight: 700; }

footer { background: #1d1b1a; color: #d9d2ce; padding: 44px 0; font-size: 14px; }
footer a { color: #ffb39d; }
footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }

.doc { max-width: 820px; }
.doc h1 { font-size: 38px; margin: 0 0 8px; }
.doc h2 { font-size: 24px; margin: 36px 0 10px; }
.doc .meta { color: var(--muted); }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0; }
.doc td { overflow-wrap: anywhere; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.doc td:first-child { color: var(--muted); width: 38%; }
.fill { background: #fff3cd; padding: 0 4px; border-radius: 4px; }
.doc h2[id] { scroll-margin-top: 80px; }
