:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --text: #0f172a;
  --muted: #5b6475;
  --line: #e4e8f0;
  --brand: #b3122e;
  --brand-dark: #8d0d23;
  --card: #ffffff;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f17;
    --bg-alt: #111723;
    --text: #e8ecf3;
    --muted: #9aa4b5;
    --line: #222a38;
    --brand: #e23b55;
    --brand-dark: #c52a43;
    --card: #141b28;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.logo-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: var(--brand); color: #fff; font-weight: 800;
}
.nav-links { display: flex; gap: 28px; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch button {
  border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 600; font-size: .8rem;
  padding: 5px 12px; border-radius: 999px; cursor: pointer;
}
.lang-switch button.active { background: var(--brand); color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; width: 38px; height: 38px; font-size: 1.1rem; cursor: pointer; }

/* Hero */
.hero {
  padding: 110px 0 90px;
  background:
    radial-gradient(800px 400px at 85% -10%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%),
    var(--bg);
}
.eyebrow { color: var(--brand); font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); line-height: 1.1; letter-spacing: -.03em; max-width: 16ch; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
.accent { color: var(--brand); }
.lead { margin-top: 22px; font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.hero-cta { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 10px; font-weight: 600; font: inherit; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: .2s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { border-color: var(--line); }
.btn-ghost:hover { border-color: var(--text); }
.stats { margin-top: 60px; display: flex; gap: 48px; flex-wrap: wrap; }
.stats strong { display: block; font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; }
.stats span { color: var(--muted); font-size: .92rem; }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.two-col p + p { margin-top: 14px; }
.two-col p { color: var(--muted); font-size: 1.05rem; }

.grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -18px rgba(0,0,0,.35); }
.card p { color: var(--muted); margin-top: 8px; font-size: .95rem; }
.icon {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 18px;
  background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); font-size: 1.2rem;
}

.timeline { list-style: none; margin-top: 40px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 36px 28px; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 4px var(--bg);
}
.year { font-size: .85rem; color: var(--brand); font-weight: 600; }
.timeline p { color: var(--muted); }

/* Contact */
.contact { background: var(--bg-alt); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-inner > div > p { color: var(--muted); margin-top: 12px; }
.contact-list { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.contact-list span {
  width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--brand); font-weight: 700; font-size: .9rem;
}
.contact-list a:hover { color: var(--brand); }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; }
.form input, .form textarea {
  font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line);
  border-radius: 9px; padding: 11px 13px; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: 2px solid color-mix(in srgb, var(--brand) 40%, transparent); border-color: var(--brand); }

.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; border-top: 1px solid var(--line); }
  .two-col, .contact-inner, .grid { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 64px; }
  .section { padding: 68px 0; }
  .stats { gap: 28px; }
}
