:root {
  --bg: #f6f7f8;
  --surface: #ffffff;
  --surface-2: #eef1f4;
  --ink: #17202a;
  --muted: #5d6875;
  --line: #dde3e8;
  --accent: #f05a28;
  --accent-2: #ffefe8;
  --dark: #18222d;
  --dark-2: #243241;
  --focus: #0f6bdc;
  --shadow: 0 18px 50px rgba(23, 32, 42, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--dark);
  color: #d8e1ea;
  font-size: 14px;
}

.topbar__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar__links a + a::before {
  content: "|";
  color: #7f8b98;
  margin-right: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 310px;
  flex: 0 0 auto;
}

.brand__logo {
  display: block;
  width: 200px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 650;
}

.nav a[aria-current="page"],
.nav a:hover {
  background: var(--accent-2);
  color: var(--accent);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--ink);
  display: block;
  border-radius: 2px;
}

.menu-toggle {
  flex-direction: column;
  gap: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 750;
  font-size: 14px;
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(240, 90, 40, 0.22);
}

.btn--primary:hover { color: #fff; background: #dc4518; }

.btn--dark {
  background: var(--dark);
  color: #fff;
}

.btn--dark:hover { color: #fff; background: #0f1720; }

.btn--ghost {
  background: #fff;
  border-color: var(--line);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: min(520px, 55vw);
  height: 300px;
  background: radial-gradient(circle at 60% 30%, rgba(240, 90, 40, 0.25), transparent 64%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  min-height: 650px;
  padding: 76px 0 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  margin: 0 0 14px;
}

h1, h2, h3 {
  line-height: 1.08;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  font-size: clamp(38px, 6vw, 72px);
  max-width: 820px;
}

.hero h1 {
  font-size: 45px;
}

h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 22px; }

.lead {
  color: var(--muted);
  /* font-size: clamp(18px, 2vw, 21px); */
  font-size: 18px;
  max-width: 760px;
  margin: 22px 0 0;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero__meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-self: center;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(23, 32, 42, 0.06);
}

.metric strong {
  display: block;
  font-size: 34px;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.hero-card__body {
  padding: 22px;
}

.status-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
  flex: 0 0 auto;
}

.section {
  padding: 82px 0;
}

.section--white { background: var(--surface); }
.section--dark { background: var(--dark); color: #fff; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.section-head p {
  color: var(--muted);
  max-width: 560px;
  margin: 0;
}

.section--dark .section-head p,
.section--dark .muted { color: #b7c2ce; }

.grid {
  display: grid;
  gap: 18px;
}

.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.card--link {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card--link:hover {
  color: var(--ink);
  transform: translateY(-3px);
  border-color: rgba(240, 90, 40, 0.45);
  box-shadow: var(--shadow);
}

.card__tag {
  display: inline-flex;
  width: fit-content;
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--accent-2);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 18px;
}

.card p {
  color: var(--muted);
  margin: 12px 0 0;
}

.section--dark .card h3 {
  color: var(--ink);
}

.card__footer {
  margin-top: 24px;
  color: var(--accent);
  font-weight: 800;
}

.feature-strip {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
}

.media-panel {
  min-height: 390px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #d9dee3;
}

.media-panel img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.stack {
  display: grid;
  gap: 18px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.pill-list li {
  padding: 8px 10px;
  background: var(--surface-2);
  border-radius: 8px;
  color: #384656;
  font-weight: 700;
  font-size: 14px;
}

.page-hero {
  padding: 64px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

.prose {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
}

.prose p { margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { margin: 38px 0 18px; font-size: 30px; }
.prose h3 { margin: 30px 0 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 22px; }
.prose li + li { margin-top: 8px; }

.data-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 26px;
}

.data-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcfd;
}

.data-item strong { display: block; }
.data-item span { color: var(--muted); font-size: 14px; }

.side-card {
  position: sticky;
  top: 100px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.doc-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.doc-list a {
  display: block;
  padding: 13px 14px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
}

.doc-list a:hover {
  background: var(--accent-2);
  color: var(--accent);
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.contact-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.contact-card a {
  display: inline-block;
  margin-top: 8px;
  font-weight: 750;
  color: var(--accent);
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  color: #fff;
  overflow: hidden;
}

.cta p { color: #c7d1dc; margin: 10px 0 0; max-width: 760px; }

.footer {
  background: #111922;
  color: #dce4ec;
  padding: 44px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer a { color: #dce4ec; }
.footer a:hover { color: #ff9a5c; }
.footer p { color: #aeb9c5; margin: 10px 0 0; }
.footer ul { padding: 0; margin: 12px 0 0; list-style: none; display: grid; gap: 8px; }
.footer__bottom { color: #93a0ad; font-size: 13px; padding-top: 22px; }

@media (max-width: 980px) {
  .topbar__inner { align-items: flex-start; flex-direction: column; padding: 10px 0; }
  .header__inner { height: 68px; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 110px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .menu-open .nav { display: flex; }
  .header__actions .btn { display: none; }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; padding-top: 54px; }
  .hero__meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid--3, .grid--2, .feature-strip, .content-layout, .footer__grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .contacts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .brand { min-width: 0; }
  .brand__logo {
    width: min(180px, 58vw);
    height: 48px;
  }
  .topbar__inner > span {
    display: none;
  }
  .topbar__links { gap: 10px; }
  .topbar__links a + a::before {
    margin-right: 10px;
  }
  .hero__meta, .data-list, .contacts-grid, .cta { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
  .prose { padding: 22px; }
  .cta { padding: 24px; }
}
