:root {
  --navy: #05245a;
  --navy-2: #0b397b;
  --blue: #125dce;
  --blue-soft: #eaf2ff;
  --mint: #68cfc0;
  --mint-soft: #e9faf7;
  --green: #37a66b;
  --paper: #ffffff;
  --cloud: #f5f8fc;
  --line: #dfe8f3;
  --text: #0f1f3a;
  --muted: #607089;
  --shadow: 0 18px 45px rgba(5, 36, 90, 0.12);
  --shadow-soft: 0 12px 28px rgba(5, 36, 90, 0.08);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  background: var(--paper);
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  overflow-x: clip;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(223, 232, 243, 0.72);
  backdrop-filter: blur(18px);
  transition: box-shadow 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(5, 36, 90, 0.08);
}

.nav {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--navy);
}

.brand-mark {
  width: 42px;
  height: 42px;
  color: var(--navy);
  flex: 0 0 auto;
}

.brand span {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 999px;
  color: #1a2d4d;
  font-size: 0.93rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--blue);
  background: var(--blue-soft);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.icon-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.icon-button:hover {
  background: var(--blue-soft);
  border-color: #c8d9ef;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), #003d9e);
  box-shadow: 0 16px 30px rgba(18, 93, 206, 0.28);
}

.button-primary:hover {
  box-shadow: 0 18px 34px rgba(18, 93, 206, 0.34);
}

.button-secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  border-color: #c9d5e4;
  box-shadow: 0 12px 24px rgba(5, 36, 90, 0.08);
}

.button-secondary:hover {
  background: #ffffff;
  border-color: #9eb7d3;
}

.header-phone {
  min-height: 46px;
  padding-inline: 18px;
  font-size: 0.93rem;
}
