:root {
  --navy: #13285f;
  --blue: #1f5fb0;
  --green: #5aaa3c;
  --green-dark: #3f8a26;
  --ink: #1d2433;
  --muted: #566074;
  --bg: #ffffff;
  --bg-soft: #f3f7f4;
  --line: #e2e8e4;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); }
a:hover { color: var(--navy); }

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

/* Header */
.site-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);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--navy); font-weight: 700; font-size: 1.05rem;
}
.brand img { height: 40px; width: auto; }
.brand .ai { color: var(--green); }
.nav { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--blue); }
.lang {
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
  font-weight: 600; font-size: 0.85rem;
}
@media (max-width: 640px) {
  .nav a:not(.lang) { display: none; }
  .brand span.name-long { display: none; }
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
  padding: 64px 0 72px;
}
.hero .wrap {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-block; color: var(--green-dark); font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 12px;
}
.hero h1 {
  color: var(--navy); font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.15; margin: 0 0 20px;
}
.hero p.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.hero-logo { width: 100%; max-width: 420px; height: auto; justify-self: center; }
.btn {
  display: inline-block; background: var(--navy); color: #fff; text-decoration: none;
  padding: 12px 24px; border-radius: 999px; font-weight: 600;
}
.btn:hover { background: var(--blue); color: #fff; }
@media (max-width: 820px) {
  .hero { padding: 40px 0 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-logo { max-width: 260px; order: -1; }
}

/* Sections */
section { padding: 72px 0; }
section h2 { color: var(--navy); font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 12px; }
.section-intro { color: var(--muted); max-width: 40em; margin: 0 0 36px; }
.rule { width: 56px; height: 3px; background: var(--green); border: 0; margin: 0 0 20px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  background: #fff;
}
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-soft); color: var(--green-dark); margin-bottom: 14px;
}
.card h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }

/* Contacts */
.contact { background: var(--bg-soft); }
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.person {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.person .role {
  color: var(--green-dark); font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 4px;
}
.person h3 { margin: 0 0 10px; font-size: 1.2rem; color: var(--navy); }
.person h3 a { color: inherit; text-decoration: none; border-bottom: 2px solid transparent; }
.person h3 a:hover { border-bottom-color: var(--green); }
.person ul { list-style: none; padding: 0; margin: 0; font-size: 0.95rem; }
.person li { margin: 2px 0; }
.person li a { text-decoration: none; }
@media (max-width: 640px) { .people { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--navy); color: #c9d3ea; padding: 36px 0; font-size: 0.9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer strong { color: #fff; }
.site-footer .version { opacity: 0.6; font-size: 0.8rem; }
