:root {
  --blue: #154a9b;
  --blue-dark: #0b2d63;
  --black: #111111;
  --white: #ffffff;
  --bg: #f6f7f9;
  --line: #dce3ed;
  --text: #222222;
  --muted: #666666;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  font-weight: 400;
}

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

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

.topbar {
  background: var(--blue);
  color: var(--white);
  padding: 11px 0;
  font-weight: 500;
}

.topbar-inner {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 108px;
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  align-items: center;
}

.logo img {
  width: 150px;
  display: block;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 38px;
  font-size: 15px;
  font-weight: 600;
}

.nav a:hover {
  color: var(--blue);
}

.hero {
  background: var(--bg);
  padding: 72px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
}

.label {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
}

h1, h2, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: var(--black);
  margin-bottom: 20px;
  font-weight: 650;
}

h1::after,
.requisites h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: var(--blue);
  margin-top: 20px;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  margin-bottom: 22px;
  font-weight: 650;
}

.lead {
  max-width: 640px;
  font-size: 21px;
  color: #333333;
  margin-bottom: 26px;
}

.hero-list {
  display: grid;
  gap: 10px;
  margin: 0 0 32px;
  max-width: 520px;
}

.hero-list span {
  position: relative;
  padding-left: 24px;
  font-size: 18px;
}

.hero-list span::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 11px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 7px;
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
}

.btn:hover {
  background: var(--blue-dark);
}

.requisites {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px;
  box-shadow: 0 18px 44px rgba(16, 35, 60, 0.08);
}

.details {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.details div {
  display: grid;
  gap: 3px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.details div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.details span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.details strong {
  font-size: 19px;
  font-weight: 500;
  color: var(--black);
}

.section {
  padding: 66px 0;
}

.muted-bg {
  background: var(--bg);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 46px;
  align-items: start;
}

.text {
  max-width: 760px;
  color: #333333;
}

.text p {
  font-size: 19px;
  margin-bottom: 18px;
}

.text p:last-child {
  margin-bottom: 0;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.services div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 500;
}

.contact-text {
  color: #333333;
  font-size: 19px;
}

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

.contact-list a,
.contact-list span {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px 18px;
  font-weight: 500;
  background: var(--white);
}

.contact-list a:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.footer {
  background: var(--black);
  color: var(--white);
  padding: 24px 0;
  font-size: 15px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .header-inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 18px 0;
  }

  .nav {
    gap: 22px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    padding: 50px 0;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .lead {
    font-size: 20px;
  }
}

@media (max-width: 560px) {
  .topbar-inner {
    gap: 10px;
    flex-direction: column;
    align-items: center;
  }

  .logo img {
    width: 135px;
  }

  .nav {
    font-size: 14px;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .requisites {
    padding: 24px;
  }

  .details strong {
    font-size: 17px;
  }
}
