:root {
  --brand: #0139b0;
  --brand-hover: #002f91;
  --brand-soft: #e8efff;
  --brand-tint: #f3f6ff;
  --ink: #1d2023;
  --muted: #626c77;
  --line: #bcc3d040;
  --page: #ffffff;
  --surface: #f2f3f7;
  --surface-soft: #f8f8fb;
  --green: #12b23f;
  --warning: #f95721;
  --shadow: 0 24px 70px rgba(10, 24, 53, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Geist", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--page);
}

body.menu-open {
  overflow: hidden;
}

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

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(16px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand-logo {
  display: block;
  width: 52px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text span {
  font-family: "Geist", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
}

.brand-text small {
  color: var(--muted);
  font-size: 13px;
  line-height: 16px;
}

.site-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 100px;
  background: var(--surface);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 100px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: #ffffff;
  outline: none;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 100px;
  color: #ffffff;
  background: var(--brand);
  font-family: "Geist", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  color: var(--ink);
  background: var(--surface);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  padding: clamp(44px, 7vw, 92px) clamp(16px, 5vw, 64px) 28px;
  overflow: hidden;
  color: #ffffff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(1, 20, 62, 0.86), rgba(1, 57, 176, 0.48) 44%, rgba(1, 57, 176, 0.08)),
    linear-gradient(0deg, rgba(1, 19, 48, 0.42), rgba(1, 19, 48, 0.1) 48%),
    url("img/hero-building.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: 170px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff);
}

.hero-content {
  max-width: 780px;
  padding-bottom: clamp(80px, 12vw, 148px);
}

.eyebrow,
.section-kicker {
  color: var(--brand);
  font-family: "Geist", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Geist", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0;
}

.hero h1 {
  margin-top: 12px;
  max-width: 1180px;
  font-size: clamp(54px, 11vw, 132px);
  line-height: 0.92;
}

.hero p {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2.3vw, 24px);
  line-height: 1.3;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 100px;
  font-family: "Geist", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn-primary {
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 16px 42px rgba(1, 57, 176, 0.34);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brand-hover);
}

.btn-secondary {
  color: var(--brand);
  background: #ffffff;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--brand-soft);
}

.btn-light {
  color: var(--brand);
  background: #ffffff;
}

.hero-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 980px);
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
}

.hero-info div {
  display: grid;
  gap: 6px;
  padding: 20px 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
}

.hero-info span,
.contact-list span,
.schedule dt {
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.hero-info strong,
.contact-list strong,
.schedule dd {
  min-width: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  overflow-wrap: anywhere;
}

.section {
  padding: clamp(56px, 8vw, 112px) clamp(16px, 5vw, 64px);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.about-grid > div:first-child {
  display: grid;
  gap: 20px;
}

.section h2 {
  margin-top: 12px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.04;
}

.section p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.4;
}

.principles {
  display: grid;
  gap: 12px;
}

.principles article,
.service-card,
.schedule,
.contact-list > * {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.principles article {
  display: grid;
  gap: 8px;
  padding: 24px;
}

.principles span {
  color: var(--brand);
  font-family: "Geist", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.principles h3,
.service-card h3,
.schedule h3 {
  margin: 0;
  font-family: "Geist", Arial, sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
}

.principles p,
.service-card p {
  font-size: 16px;
  line-height: 22px;
}

.services-section,
.contacts-section {
  background: var(--surface-soft);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  gap: 32px;
  align-items: end;
  max-width: 1200px;
  margin: 0 auto 32px;
}

.section-heading p {
  font-size: 18px;
  line-height: 26px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 240px;
  padding: 24px;
}

.service-card svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  color: var(--brand);
  background: var(--brand-soft);
}


.document-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  color: #ffffff;
  background: linear-gradient(120deg, var(--brand), #0b63d9);
}

.document-band .section-kicker,
.document-band p {
  color: rgba(255, 255, 255, 0.78);
}

.document-band h2 {
  max-width: 720px;
}

.document-band p {
  margin-top: 14px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list > * {
  display: grid;
  gap: 8px;
  padding: 24px;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  border-color: rgba(1, 57, 176, 0.35);
  background: var(--brand-tint);
  outline: none;
}

.schedule {
  padding: 24px;
}

.schedule dl {
  display: grid;
  gap: 1px;
  margin: 20px 0 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
}

.schedule dl div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: #ffffff;
}

.schedule dd {
  margin: 0;
  white-space: nowrap;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(16px, 5vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #ffffff;
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 84px;
    z-index: 30;
    display: none;
    justify-self: stretch;
    padding: 8px;
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    min-height: 48px;
    justify-content: center;
  }

  .header-phone {
    display: none;
  }

  .about-grid,
  .section-heading,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .brand-logo {
    width: 46px;
    height: 38px;
  }

  .brand-text span {
    font-size: 15px;
  }

  .hero {
    min-height: auto;
    padding: 72px 16px 20px;
  }

  .hero-bg {
    background-position: 62% center;
  }

  .hero-content {
    padding-bottom: 40px;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-info,
  .service-grid,
  .document-band {
    grid-template-columns: 1fr;
  }

  .hero-info div,
  .principles article,
  .service-card,
  .contact-list > *,
  .schedule {
    padding: 20px;
  }

  .section p {
    font-size: 18px;
  }

  .service-card {
    min-height: auto;
  }

  .document-band .btn {
    justify-self: start;
  }

  .schedule dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .schedule dd {
    white-space: normal;
  }
}
