:root {
  --blue: #006699;
  --blue-dark: #004a70;
  --ink: #2a2b2b;
  --muted: #5b656e;
  --orange: #e88700;
  --bg: #f3f6f9;
  --card: #ffffff;
  --line: #e3e8ee;
  --soft: #e8f3f9;
  --shadow: 0 10px 30px rgba(22, 40, 58, 0.08);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; }
p { margin: 0 0 0.8em; }

.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  min-width: 220px;
}
.brand:hover { color: var(--ink); }
.brand img { width: 64px; height: 64px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; }
.brand-text strong { font-size: 15px; letter-spacing: 0.01em; }
.brand-text span { color: var(--muted); font-size: 12.5px; max-width: 220px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a, .nav button.more {
  color: var(--ink);
  background: none;
  border: 0;
  font: inherit;
  font-size: 15px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.nav a:hover, .nav button.more:hover,
.nav a.active { color: var(--blue); background: var(--soft); }
.more-wrap { position: relative; }
.more-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 210px;
  box-shadow: var(--shadow);
  padding: 6px;
}
.more-wrap:hover .more-menu,
.more-wrap:focus-within .more-menu { display: block; }
.more-menu a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); }
.more-menu a:hover, .more-menu a.active { background: var(--soft); color: var(--blue); }

.menu-btn {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  padding: 42px 0 18px;
}
.kicker {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 8px;
}
.hero h1 { font-size: 42px; letter-spacing: -0.03em; }
.lead { font-size: 18.5px; color: #3d474f; max-width: 540px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
  padding: 11px 16px;
  font-weight: 650;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
}
.btn:hover { background: var(--blue-dark); color: #fff; }
.btn.ghost { background: #fff; color: var(--blue); border: 1px solid #b9d3e2; }
.btn.ghost:hover { background: var(--soft); color: var(--blue-dark); }
.hero-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--line);
}
.hero-card img { width: 100%; }

.notice {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 16px;
  padding: 22px 24px 18px;
  box-shadow: var(--shadow);
}
.notice h2 { font-size: 26px; }
.notice ul { margin: 0 0 0.9em; padding-left: 1.2em; }
.notice li { margin: 0.25em 0; }

.section { padding: 28px 0; }
.section h2 { font-size: 28px; }
.sub { color: var(--muted); margin-top: -6px; }

.grid { display: grid; gap: 14px; }
.grid.modules { grid-template-columns: repeat(5, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.grid.two { grid-template-columns: 1fr 1fr; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 16px 14px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.card h3 { font-size: 17px; }
.card p:last-child { margin-bottom: 0; }
.mod {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 14px 12px;
}
.mod strong { display: block; color: var(--blue); font-size: 15px; }
.mod span { color: var(--muted); font-size: 13.5px; }

.page-head {
  padding: 28px 0 8px;
}
.page-head h1 { font-size: 36px; }
.page-head p { color: #3d474f; max-width: 720px; }

.news {
  display: grid;
  gap: 10px;
}
.news a {
  display: block;
  background: #fff;
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.news a:hover { color: var(--blue); }
.news small { display: block; color: var(--orange); font-weight: 700; letter-spacing: 0.04em; }

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { background: var(--blue); color: #fff; font-weight: 650; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.note { color: var(--muted); font-size: 14.5px; }

.anchors { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.anchors a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--ink);
  font-size: 14px;
}
.anchors a:hover { border-color: var(--blue); color: var(--blue); }

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
summary { cursor: pointer; font-weight: 700; }
details p, details li { color: #333; }
ol.steps { margin: 0; padding-left: 1.2em; }
ol.steps li { margin: 0.35em 0; }

.people { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.person span { display: block; color: var(--muted); }

form.contact {
  display: grid;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
label { font-weight: 650; font-size: 14px; }
input, textarea, select {
  width: 100%;
  font: inherit;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cfd6dd;
  background: #fff;
}
textarea { min-height: 120px; resize: vertical; }

.refs { columns: 2; gap: 22px; }
.refs li { break-inside: avoid; margin: 0 0 8px; }
.filter {
  width: min(420px, 100%);
  margin: 0 0 14px;
}

.site-footer {
  margin-top: 28px;
  background: var(--ink);
  color: #d7dde2;
  padding: 28px 0 18px;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: #ffc14d; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 22px;
}
.site-footer h3 { color: #fff; font-size: 16px; }
.legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 18px;
  padding-top: 12px;
  font-size: 13.5px;
  color: #aeb6bc;
}
.badge-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.badge-row img { background: #fff; border-radius: 6px; padding: 6px; height: 42px; width: auto; }

@media (max-width: 980px) {
  .hero, .grid.modules, .grid.three, .grid.four, .people, .foot-grid { grid-template-columns: 1fr 1fr; }
  .grid.modules { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 34px; }
}
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 84px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 12px 14px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .more-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 8px; }
  .hero, .grid.three, .grid.two, .grid.four, .grid.modules, .people, .foot-grid, .refs {
    grid-template-columns: 1fr;
    columns: 1;
  }
  .header-inner { min-height: 74px; }
  .brand-text span { display: none; }
  .hero { padding-top: 22px; }
  .hero h1, .page-head h1 { font-size: 30px; }
}
