* {
  font-family: Roboto, Arial, sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* базовый цвет текста — тёмно‑серый */
}

body {
  z-index: -2;
  position: relative;
  background-color: #f6f7f9;
  /* светло‑нейтральный фон */
  color: #1f2937;
}

/* Консервативная "синяя" палитра */
:root {
  --brand-dark: #0b2545;
  /* глубокий тёмно‑синий (основной) */
  --brand-mid: #27496d;
  /* средний синий (акцент) */
  --muted: #6b7280;
  /* нейтральный серый */
  --soft-bg: #f6f7f9;
  /* очень светлый фон */
  --card-bg: #ffffff;
  /* белые карточки */
  --accent: #0f7764;
  /* спокойный зелёно‑синий (по необходимости) */
}

/* Классы */
.bg-blue {
  background-color: var(--brand-dark) !important;
}

.navbar-brand {
  font-size: larger;
  color: #ffffff;
}

a.navbar-brand:hover {
  color: #e6eef6;
  text-decoration: underline;
}

.btn-my-red {
  /* оставляем имя класса, но делаем цвет более консервативным */
  color: #ffffff;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 600;
  border-radius: 12px;
  background-color: var(--brand-mid);
  background-position: center center;
  border-color: transparent;
  border-style: solid;
  padding: 10px 18px;
}

/* Кастомные заголовки */
.custom-header {
  line-height: 48px;
  display: inline-block;
}

.custom-header span {
  display: inline-block;
  line-height: 20px;
  color: var(--brand-dark);
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 700;
}

.custom-header span:before {
  content: '';
  display: inline-block;
  background-color: var(--brand-dark);
  width: 44px;
  height: 2px;
  vertical-align: middle;
  margin-right: 10px;
}

/* Навигация */

.navbar {
  padding: 0;
  background: transparent;
}

.navbar .navbar-toggler {
  border: none;
  background-color: transparent;
  color: #ffffff;
}

.navbar .navbar-toggler .navbar-toggler-icon {
  color: #ffffff;
  background-image: none;
  position: relative;
  flex-shrink: 0;
  width: 28px;
  height: 20px;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  transition: .3s ease-in-out;
  cursor: pointer;
  z-index: 999;
}

.navbar .navbar-toggler .navbar-toggler-icon span {
  display: block;
  position: relative;
  width: 100%;
  height: 3px;
  background-color: #fff;
  margin-bottom: 5px;
}

.nav-link {
  padding: 0 15px !important;
  color: #ffffff !important;
  font-weight: 600;
}

.navbar-collapse {
  display: flex;
  flex-direction: row;
}

.navbar-collapse .nav {
  width: 100%;
}

.navbar-collapse.show,
.navbar-collapse.collapsing {
  display: flex;
  flex-direction: column;
  margin: 10px;
}

.navbar-collapse.show>*,
.navbar-collapse.collapsing>* {
  min-height: 40px;
  margin: 10px 0;
}

.navbar .sociallinks {
  min-width: 125px;
}

.navbar .sociallinks .sociallinks__item {
  float: left;
  padding: 0 5px;
}

/* Секция 1 */
.section-1 {
  min-height: 600px;
  display: block;
  position: relative;
  background-image: url(/img/3.jpg);
  background-position: center center;
  background-attachment: scroll;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: transparent;
  z-index: -1;
}

.section-1 .row {
  padding-top: 120px;
}

.section-1 .calc-text {
  text-align: center;
  color: #ffffff;
}

.section-1 .calc-text h1 {
  font-size: 48px;
  line-height: 64px;
  color: #ffffff;
}

.section-1 .calc-text p {
  color: #e6eef6;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
}

.section-1 .calc-form {
  width: 100%;
  height: 100%;
  padding: 20px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.85);
  border-color: transparent;
  border-style: solid;
  color: var(--brand-dark);
}

.section-1 .calc-form .form-floating {
  color: var(--brand-dark);
}

/* Секция 2 "О нас" */

.section-2 {
  position: relative;
  padding-top: 80px;
  background-color: var(--soft-bg);
}

.section-2 div.img {
  display: block;
  padding: 40px 0;
}

.section-2 div.img img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.section-2 div.text {
  padding-left: 30px;
}

.section-2 h2 {
  line-height: 44px;
  font-size: 32px;
  color: var(--brand-dark);
}

.section-2 p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}

/* Секция 3. Наши преимущества */
.section-3 {
  position: relative;
  padding-top: 50px;
  background: transparent;
}

.section-3 h2 {
  color: var(--brand-dark);
  font-size: 32px;
  text-align: center;
  margin-bottom: 60px;
}

.section-3 .pros {
  border-radius: 12px;
  background-color: var(--card-bg);
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.06);
  padding: 20px 30px;
  width: 100%;
  min-height: 260px;
}

.pros .icon {
  display: block;
  width: 80px;
  margin: 0 auto;
  margin-bottom: 14px;
}

.pros .icon img {
  width: 100%;
}

.pros h3 {
  text-align: center;
  line-height: 28px;
  color: var(--brand-dark);
  font-size: 18px;
}

.pros .text {
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  margin-top: 12px;
  text-align: center;
}

/* Секция 4. Оплата*/

.section-4 {
  padding-top: 80px;
  padding-bottom: 80px;
  margin-top: 60px;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  background-color: var(--brand-dark);
}

.section-4 .custom-header span {
  color: #e6eef6;
}

.section-4 .custom-header span:before {
  background-color: #e6eef6;
}

.section-4 h2 {
  line-height: 44px;
  font-size: 28px;
  font-weight: 500;
  color: #e6eef6;
}

.section-4 .img {
  width: 100%;
}

/* Секция 5. Как это работает */

.section-5 {
  margin-top: 60px;
  padding-bottom: 60px;
  background-color: transparent;
}

.section-5 h2 {
  color: var(--brand-dark);
  font-size: 28px;
  text-align: center;
  margin-bottom: 40px;
}

.section-5 .stage {
  border-width: 1px;
  border-radius: 12px;
  background-color: var(--card-bg);
  border-color: rgba(11, 37, 69, 0.07);
  border-style: solid;
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.04);
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 24px;
  font-size: 16px;
}

.section-5 .stage img {
  width: 28%;
}

.stage h3 {
  font-size: 1em;
  color: var(--brand-dark);
}

.stage p {
  font-size: 0.95em;
  font-weight: 400;
  margin-top: 12px;
  text-align: center;
  min-height: 120px;
  color: var(--muted);
}

.stage .arrow {
  display: block;
  position: absolute;
  width: 46px !important;
  z-index: 1;
}

.stage .arrow_right {
  right: -36px;
  transform: rotate(270deg);
}

.stage .arrow_bottom {
  bottom: -36px;
}

.section-5 .shadow {
  margin-top: 30px;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 .5rem 1rem rgba(16, 24, 40, 0.08) !important;
}

.section-5 .shadow h2 {
  text-align: left;
}

/* Секция 6. Телеграмм*/
.section-6 {
  margin-top: 60px;
  padding: 60px 20px;
  text-align: center;
  color: var(--brand-dark);
  background-color: var(--brand-mid);
  color: #ffffff;
}

.section-6 img.icon {
  width: 29px;
}

/* Секция 7. Самые частые вопросы */
.section-7 {
  margin: 60px 0;
  text-align: center;
  font-size: 18px;
}

.section-7 h2 {
  line-height: 42px;
  color: var(--brand-dark);
}

.section-7 h2.accordion-header button.accordion-button {
  font-size: 20px !important;
  line-height: 1.3;
}

.section-7 .accordion-body {
  text-align: left;
  font-size: 15px;
  color: var(--muted);
}

/* Секция 8. Контакты */
.section-8 {
  margin-top: 60px;
  padding: 30px;
  text-align: center;
  color: var(--brand-dark);
  font-size: 18px;
  background-color: var(--soft-bg);
}

.section-8 h2 {
  line-height: 44px;
  color: var(--brand-dark);
}

.section-8 h3 {
  font-size: 18px;
  text-align: left;
  line-height: 28px;
  color: var(--brand-dark);
}

.section-8 .contacts {
  text-align: left;
  margin-top: 20px;
  padding: 0;
}

.section-8 .contacts .contacts-item {
  list-style: none;
  position: relative;
  margin-bottom: 12px;
  color: var(--muted);
}

.section-8 .contacts .contacts-item::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0%;
  left: -35px;
  width: 28px;
  height: 28px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.9;
}

.section-8 .contacts .contacts-item.contacts-item__phone::before {
  background-image: url('/img/icon_phone_icon.png');
}

.section-8 .contacts .contacts-item__address::before {
  background-image: url('/img/icon_address.png');
}

.section-8 .contacts .contacts-item__telegramm::before {
  background-image: url('/img/icon_telegram_address.png');
}

.section-8 .contacts .contacts-item__insta::before {
  background-image: url('/img/icon_instagram_icon.png');
}

.section-8 form {
  color: #475569;
}

.section-8 form textarea {
  min-height: 150px;
}

.section-8 form button {
  margin: 20px;
  background-color: var(--brand-mid);
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
}

/* Подвал */
footer {
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: var(--brand-dark) !important;
}

footer p {
  text-align: center;
  font-size: 14px;
  color: #cbd5e1;
  padding-top: 20px;
  padding-bottom: 10px;
}