@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --navy: #1d2740;
  --slate: #7b8495;
  --light: #d5d8de;
  --bg: #ffffff;
  --bg-alt: #f4f5f7;
  --text: #1d2740;
  --radius: 14px;
  --maxw: 1140px;
  --shadow: 0 10px 30px rgba(29, 39, 64, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}
.btn--primary {
  background: var(--navy);
  color: #fff;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost {
  border: 1.5px solid var(--slate);
  color: var(--navy);
}
.btn--ghost:hover { background: var(--light); border-color: var(--navy); }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--light);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.header__brand { display: flex; align-items: center; gap: 10px; }
.header__logo { height: 40px; width: auto; }
.header__name {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--navy);
}
.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.nav a {
  font-size: 15px;
  color: var(--slate);
  position: relative;
  white-space: nowrap;
  transition: color .2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--navy);
  transition: width .2s ease;
}
.nav a:hover { color: var(--navy); }
.nav a:hover::after { width: 100%; }
.header__phone {
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.hero {
  background: linear-gradient(135deg, #1d2740 0%, #2b3856 100%);
  color: #fff;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  padding: 90px 24px 100px;
}
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  color: var(--light);
  margin-bottom: 18px;
}
.hero__title {
  font-weight: 600;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  margin-bottom: 22px;
}
.hero__text {
  color: var(--light);
  font-size: 18px;
  max-width: 520px;
  margin-bottom: 34px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.hero__visual {
  display: flex;
  justify-content: center;
}
.hero__visual img {
  width: 320px;
  height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.35));
}

.section { padding: 90px 0; }
.section--alt { background: var(--bg-alt); }
.section__tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 12px;
}
.section__title {
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--navy);
  margin-bottom: 40px;
}
.section__title:has(+ .section__lead) {
  margin-bottom: 14px;
}
.section__lead {
  max-width: 760px;
  margin: 0 0 40px;
  color: var(--slate);
  font-size: 18px;
  line-height: 1.6;
}

.about { display: grid; gap: 20px; max-width: 820px; }
.about p { font-size: 18px; color: #424c63; }
.stats {
  display: flex;
  gap: 48px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat__num {
  font-weight: 600;
  font-size: 44px;
  color: var(--navy);
  line-height: 1;
}
.stat__label { color: var(--slate); font-size: 15px; margin-top: 6px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--light);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--slate);
}
.card__title {
  font-weight: 600;
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 10px;
}
.card p { color: var(--slate); font-size: 15px; }

.advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.advantage__no {
  font-weight: 600;
  font-size: 34px;
  color: var(--light);
  display: block;
  margin-bottom: 10px;
}
.advantage h3 {
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}
.advantage p { color: var(--slate); font-size: 15px; }

.contacts {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}
.info-list { list-style: none; margin-bottom: 28px; }
.info-list li {
  display: flex;
  flex-direction: column;
  padding: 14px 0;
  border-bottom: 1px solid var(--light);
}
.info-list__label {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  color: var(--slate);
  margin-bottom: 4px;
}
.info-list__value { font-size: 17px; color: var(--navy); font-weight: 600; }
.info-list__value a:hover { color: var(--slate); }
.contacts__map {
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--light);
  box-shadow: var(--shadow);
}
.contacts__map iframe { display: block; min-height: 420px; border: 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--light);
  border-radius: var(--radius);
  padding: 32px 24px 26px;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 56px;
  right: -16px;
  width: 16px;
  height: 2px;
  background: var(--slate);
  opacity: 0.5;
}
.step__no {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}
.step__title {
  font-weight: 600;
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 8px;
}
.step p { color: var(--slate); font-size: 15px; }

.feedback {
  background: linear-gradient(135deg, #1d2740 0%, #2b3856 100%);
  color: #fff;
}
.section__tag--light { color: var(--light); }
.section__title--light { color: #fff; }
.feedback__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.feedback__text {
  color: var(--light);
  font-size: 18px;
  max-width: 460px;
  margin-bottom: 24px;
}
.feedback__benefits { list-style: none; display: grid; gap: 12px; }
.feedback__benefits li {
  position: relative;
  padding-left: 30px;
  color: #eef0f4;
}
.feedback__benefits li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--slate);
  color: #fff;
  font-size: 12px;
  display: grid;
  place-items: center;
}

.form {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  display: grid;
  gap: 18px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form__field { display: grid; gap: 7px; }
.form__field > span {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.form__field i { color: #d6453c; font-style: normal; }
.form input,
.form textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--navy);
  padding: 13px 15px;
  border: 1.5px solid var(--light);
  border-radius: 10px;
  background: var(--bg-alt);
  transition: border-color .2s ease, background .2s ease;
  width: 100%;
}
.form input::placeholder,
.form textarea::placeholder { color: #aeb4bf; }
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
}
.form textarea { resize: vertical; min-height: 96px; }
.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--slate);
  line-height: 1.5;
}
.form__consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.form__submit { justify-self: start; border: none; }
.form__note { font-size: 14px; margin: 0; min-height: 1px; }
.form__note--ok { color: #1c7a4a; }
.form__note--error { color: #d6453c; }

.footer {
  background: var(--navy);
  color: var(--light);
  padding: 36px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #fff;
}
.footer__logo {
  height: 44px;
  width: auto;
}
.footer__copy { font-size: 14px; }
.footer__up { font-size: 14px; transition: color .2s ease; }
.footer__up:hover { color: #fff; }

@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; padding-top: 60px; }
  .hero__text { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__visual { order: -1; }
  .hero__visual img { width: 200px; height: 200px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .advantages { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .contacts { grid-template-columns: 1fr; }
  .feedback__inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 1080px) {
  .header__inner { gap: 16px; }
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
}
@media (max-width: 900px) {
  .header__phone { display: none; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .stats { gap: 28px; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .cards { grid-template-columns: 1fr; }
  .advantages { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .header__phone { display: none; }
  .form { padding: 24px; }
  .form__row { grid-template-columns: 1fr; }
}
