
:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #eef3fb;
  --text: #152238;
  --muted: #5f6f86;
  --line: #dbe4f0;
  --primary: #1b4e9d;
  --accent: #bdc724;
  --shadow: 0 14px 40px rgba(21, 34, 56, 0.08);
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 32px)); }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 249, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(219, 228, 240, 0.8);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--text); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-text { display: flex; flex-direction: column; }
.brand-text small { color: var(--muted); }
.site-nav { display: flex; gap: 20px; align-items: center; }
.site-nav a { color: var(--text); font-weight: 600; }
.nav-toggle {
  display: none; border: 1px solid var(--line); background: var(--surface); border-radius: 12px;
  padding: 10px 12px; font-size: 20px; cursor: pointer;
}
.hero {
  padding: 72px 0 48px;
  background: radial-gradient(circle at top right, rgba(27, 78, 157, 0.12), transparent 35%),
              radial-gradient(circle at bottom left, rgba(189, 199, 36, 0.18), transparent 28%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 28px; align-items: center;
}
.eyebrow {
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; font-weight: 800;
  color: var(--primary); margin-bottom: 12px;
}
.hero h1, .section-heading h2 { margin: 0 0 16px; line-height: 1.1; }
.hero h1 { font-size: clamp(36px, 6vw, 62px); max-width: 12ch; }
.lead { font-size: 18px; color: var(--muted); max-width: 62ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: white; }
.btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.hero-card, .service-card, .contact-card, .info-panel, .ref-group, .doc-list, .table-wrap {
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.hero-card {
  border-radius: 24px; padding: 28px; display: grid; gap: 16px;
}
.hero-logo {
  width: 140px;
  height: auto;
  margin: 0 auto 8px auto;
  justify-self: center;
}
.stat {
  border-radius: 18px; background: var(--surface-2); padding: 18px; border: 1px solid var(--line);
}
.stat strong { display: block; font-size: 32px; }
.stat span { color: var(--muted); }
.section { padding: 72px 0; }
.section.alt { background: #f0f5fb; }
.section-heading { margin-bottom: 28px; }
.section-heading.left { margin-bottom: 22px; }
.section-heading p:last-child { color: var(--muted); }
.cards-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px;
}
.service-card {
  border-radius: var(--radius); padding: 24px;
}
.service-card h3 { margin-top: 0; margin-bottom: 12px; font-size: 22px; }
.service-card ul { margin: 0; padding-left: 18px; color: var(--muted); }
.service-card li + li { margin-top: 8px; }
.references-list { display: grid; gap: 16px; }
.ref-group {
  border-radius: 18px; overflow: hidden;
}
.ref-group summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700;
  display: flex; justify-content: space-between; gap: 12px;
}
.ref-group summary::-webkit-details-marker { display: none; }
.ref-group summary span { color: var(--muted); font-weight: 600; }
.table-wrap { box-shadow: none; border: 0; border-top: 1px solid var(--line); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 820px; }
th, td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--surface-2); font-size: 14px; }
tbody tr:hover { background: #fafcff; }
.doc-list {
  margin: 0; padding: 10px; border-radius: var(--radius);
}
.doc-list li {
  list-style: none; padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.doc-list li:last-child { border-bottom: 0; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.9fr; gap: 24px; align-items: start; }
.contact-side { padding-top: 138px; }
.contact-cards { display: grid; gap: 14px; }
.contact-card, .info-panel { border-radius: var(--radius); padding: 22px; }
.contact-card span, .info-panel ul, .site-footer p { color: var(--muted); }
.contact-card strong { display: block; margin-top: 8px; font-size: 18px; }
.info-panel h3 { margin-top: 0; margin-bottom: 10px; }
.info-panel ul { padding-left: 18px; }
.site-footer { border-top: 1px solid var(--line); padding: 24px 0 40px; }
.footer-wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 920px) {
  .hero-grid, .contact-grid, .cards-grid { grid-template-columns: 1fr; }
  .contact-side { padding-top: 0; }
  .site-nav {
    position: absolute; top: calc(100% + 8px); left: 16px; right: 16px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
    padding: 14px; box-shadow: var(--shadow); display: none; flex-direction: column; align-items: flex-start;
  }
  .site-nav.open { display: flex; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 640px) {
  .hero { padding-top: 48px; }
  .section { padding: 56px 0; }
  .container, .narrow { width: min(100% - 24px, 1120px); }
  .hero h1 { max-width: none; }
}
aside.info-panel.contact-side {
  margin-top: 92px !important;
  padding-bottom: 50px !important;
}
@media (max-width: 920px) {
  aside.info-panel.contact-side {
    margin-top: 24px !important;
  }
}
@media (max-width: 920px) {
  aside.info-panel.contact-side {
    padding-top: 36px !important;
  }
}