@font-face {
  font-family: 'Unbounded';
  src: url('./fonts/Unbounded-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Unbounded';
  src: url('./fonts/Unbounded-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('./fonts/Inter-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('./fonts/Inter-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
    --bg-blue: #213A98;
    --bg-grey: #F0F0F0;
    --bg-white: #FFFFFF;
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-muted: #54545A;
}
html {
    box-sizing: border-box;
    font-family: 'Unbounded';
}
*, *::before, *::after {
    box-sizing: inherit;
}

/* Цвета */
.color-blue {
  color: var(--bg-blue);
}
.bg-grey {
  background-color: var(--bg-grey);
}


.pt-8 {padding-top: 8px;}
.pt-16 {padding-top: 16px;}
.pt-26 {padding-top: 26px;}
.pt-28 {padding-top: 28px;}
.pt-48 {padding-top: 48px;}
.pb-48 {
  padding-bottom: 48px;
}
.pt-64 {padding-top: 64px;}
.pb-64 {padding-bottom: 64px;}
.pt-80 {padding-top: 80px;}
.pt-40 {padding-top: 40px;}
.pb-80 {padding-bottom: 80px;}
.pt-96 {padding-top: 96px;}
.pb-96 {padding-bottom: 96px;}

.mt-26 {margin-top: 26px;}
.mt-28 {margin-top: 28px;}
.mt-40 {margin-top: 40px;}
.mt-52 {margin-top: 52px;}

.text-muted {
  color: var(--color-muted) !important;
}


.mb-28 {
    margin-bottom: 28px;
}

/* ISIN code */
.isin {
    font-size: 24px;
    line-height: 30px;
    color: var(--color-muted);
}
.isin-code {
    font-size: 24px;
}
.isin-code {
font-size: 24px;
}


.text-white {
    color: var(--color-white);
}

/* Размер шрифта */
.fs-10 {font-size: 10px !important;}
.fs-12 {font-size: 12px !important;}
.fs-14 {font-size: 14px !important;}
.fs-16 {font-size: 16px !important;}
.fs-20 {font-size: 20px !important;}
.fs-32 {font-size: 32px !important;}
.fs-40 {font-size: 40px !important;}
.fs-48 {font-size: 48px !important;}
.fs-60 {font-size: 60px !important;}

.fs-2 {font-size: 20px !important;}
.fs-3 {font-size: 24px !important;}

.txt-1-bold {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
}

.h-4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 24px;
}

.f-2 {font-family: 'Inter';}
.t-2-bold, .txt-2-bold {
  font-family: Inter;
  font-weight: 700;
  font-size: 16px;
}
.txt-2-bold-12 {
  font-family: Inter;
  font-weight: 700;
  font-size: 12px;
}

.t-2, .txt-2-light-bold {
  font-family: Inter;
  font-weight: 600;
  font-size: 14px;
}

.txt-2-regular {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
}

/* Бордюры */
[class^="b-"] {
  border-width: 1px;
  border-style: solid;
}

[class^="b-1-grey"] {
  border-color: #E8E8E9;
}



span.badge {
    font-family: Inter;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.3px;
    vertical-align: middle;
    text-transform: uppercase;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 16px;
    border: 1px solid #FFFFFF;
    border-radius: 4px;
}

span.badge.top {
    color: var(--color-white);
}

body {
    margin: 0;
}
.block-top {
    background-image: url(./images/main-1.png);
    background-repeat: no-repeat;
    background-position: right;
    min-height: 670px;
    background-position-y: bottom;
    background-size: contain;
    /*background-size: 50%;*/
}
.block-top .sub-title {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    display: flex;
    align-items: center;
    color: #54545A;
}


h1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    margin: 0;
}
h1.main-title {
    font-family: Unbounded;
    font-weight: 500;
    font-size: 50.11px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
}


.block-grey {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    gap: 16px;

    width: 292px;
    height: 87px;

    background: #F0F0F0;
    border-top: 3px solid #000000;
    border-radius: 0px 0px 24px 24px;
}

.card-blue {
  box-sizing: border-box;
  padding: 32px;
  background: var(--bg-blue);
  border-top: 3px solid #000000;
  border-radius: 0px 0px 24px 24px;
  color: var(--color-white);
}
.card-blue .title {
  font-family: Inter;
  font-weight: 700;
  font-size: 20px;
}
.card-blue .content {
  margin-top: 12px;
  font-family: Inter;
  font-weight: 400;
  font-size: 14px;
}

[class^='card-white'] {
  background-color: var(--color-white);
  padding-top: 32px;
  padding-right: 32px;
  padding-bottom: 54px;
  padding-left: 32px;
  border-bottom-right-radius: 24px;
  border-bottom-left-radius: 24px;
  border-top-width: 3px;
  border-top: 3px solid #000000;
  position: relative;
}
.card-white .avatar {
  border-color: var(--color-black);
  width: 112px;
  height: 112px;
  border-width: 3px;
  border-radius: 1000px;
  border-style: solid;
  position: absolute;
  top: -56px;
}



button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px 32px;
    border-radius: 4px;
    color: var(--color-white);
    font-weight: 700;
    font-style: Bold;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    border: none;
}
button.blue {
    background: #213A98;
}

/* section 2 */
.section-2 {
    background-color: var(--bg-blue);
    padding-top: 96px;
    padding-bottom: 96px;
    color: var(--color-white);
}
.section-2 .block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
    gap: 20px;

    border-left: 4px solid #FFFFFF;
}
.section-2 .block .title {
    font-weight: 700;
    font-size: 28px;
    line-height: 100%;
    letter-spacing: 0px;
    vertical-align: middle;
}
.section-2 .block .sub-title {
    font-family: Inter;
    font-weight: 500;
    font-style: Medium;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
}

/* section 3 */
.section-3 {
    background-color: var(--bg-grey);
}
.section-3 [class^="block-"] {
  width: 50%;
  display: flex;
}
.section-3 .block-left .text {
  border-bottom-right-radius: 30px;
  border-bottom: 2px solid var(--bg-blue);
  border-right: 2px solid var(--bg-blue);
  padding-right: 50px;
  margin-right: -1px;
}
.section-3 .block-right .text {
  border-bottom-left-radius: 30px;
  border-bottom: 2px solid var(--bg-blue);
  border-left: 2px solid var(--bg-blue);
  padding-left: 50px;
  margin-left: -1px;
}


.section-3 .arrows-block {
  display: flex;
  width: 100%;
  position: relative;
  margin-top: 10px;
}
.section-3 .arrows-block img {
  position: absolute;
  top: -5px;
  left: calc(50% - 6.6px);
}
.section-3 [class^="block-"] .percent {
  font-weight: 500;
  font-style: Medium;
  font-size: 31.69px;
  line-height: 44.99px;
  letter-spacing: 0px;
  color: var(--bg-blue);
}
.section-3 [class^="block-"] .percent .per-val {
  font-family: 'Inter';
  font-weight: 600;
  font-size: 17px;
  color: var(--color-black)
}

.section-3 [class^="block-"] .text {
  font-family: Inter;
  font-weight: 400;
  font-size: 12.13px;
  line-height: 100%;
  letter-spacing: 0px;
  vertical-align: middle;
  color: var(--color-muted);
  padding-top: 20px;
  padding-bottom: 20px;
}
.section-3 .chart-container {
  position: relative;
  height: 300px; /* Здесь вы можете задать любую нужную вам высоту */
  width: 100%;
}

/* section 4 */
.section-4 .b-1-grey.block {
  padding: 24px;

}
.section-4 .b-1-grey.block .title {
  font-size: 14px;
  font-family: 'Inter';
  color: #8B8B93;
  margin-bottom: 5px;
}
.section-4 .b-1-grey.block .value {
  font-size: 18px;
  font-weight: 700;
  font-family: 'Inter';

}
/* section 5 */
.section-5 .card {
  background-color: #F0F0F0;
  gap: 16px;
  padding-top: 32px;
  padding-right: 32px;
  padding-bottom: 54px;
  padding-left: 32px;
  border-bottom-right-radius: 24px;
  border-bottom-left-radius: 24px;
  border-top-width: 3px;
  border-top: 3px solid #000000;
}
.section-5 .card:not(:last-child) {
  margin-right: 24px;
}
/* section 6 */
.section-6 {
  background-color: var(--bg-grey);
}
.section-6 .chart-label-2 {
  position: absolute;
  bottom: 57px;
}
.section-6 .chart-label-1 {
  position: absolute;
  top: 200px;
}
.custom-legend {
  display: flex;
  flex-wrap: wrap;            /* Разрешает перенос на мобильных экранах */
  justify-content: center;    /* Центрирует элементы по горизонтали */
  align-items: center;
  gap: 32px;                  /* Отступ между элементами легенды */
  padding: 20px 10px;
  font-family: 'Inter', sans-serif;
}

/* Элемент легенды (маркер + текст) */
.legend-item {
  display: flex;
  align-items: center;
  gap: 12px;                  /* Расстояние от иконки до текста */
}

/* Текст подписи */
.legend-text {
  font-size: 13px;
  font-weight: 600;           /* Полужирное начертание как в макете */
  color: #000000;
  white-space: nowrap;        /* Запрещает перенос текста внутри одного элемента */
}

/* Базовый класс для всех маркеров */
.legend-marker {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 1. Маркер: Синяя линия с точкой */
.legend-marker.line-blue {
  width: 32px;
  height: 2px;
  background-color: #1D3E9B;
}
.legend-marker.line-blue .marker-dot {
  width: 8px;
  height: 8px;
  background-color: #1D3E9B;
  border-radius: 50%;
  position: absolute;
}

/* 2. Маркер: Пунктирная серая линия с точкой */
.legend-marker.line-dashed-gray {
  width: 32px;
  height: 2px;
  /* Создаем идеальный пунктир через градиент */
  background: linear-gradient(to right, #CCCCCC 50%, transparent 50%);
  background-size: 6px 100%;
}
.legend-marker.line-dashed-gray .marker-dot {
  width: 8px;
  height: 8px;
  background-color: #CCCCCC;
  border-radius: 50%;
  position: absolute;
}

/* 3. Маркер: Синий прямоугольник */
.legend-marker.rect-blue {
  width: 24px;
  height: 14px;
  background-color: #1D3E9B;
  border-radius: 2px;         /* Легкое скругление углов */
}

/* 4. Маркер: Серый прямоугольник */
.legend-marker.rect-gray {
  width: 24px;
  height: 14px;
  background-color: #CCCCCC;
  border-radius: 2px;
}

/* Адаптивность для мобильных телефонов */
@media (max-width: 768px) {
  .custom-legend {
    gap: 16px 24px;           /* Уменьшаем отступы на маленьких экранах */
  }
}
/* section-7 */
.custom-line-legend {
  display: flex;
  flex-wrap: wrap;            /* Перенос элементов на мобильных экранах */
  justify-content: center;    /* Центрирование элементов */
  padding: 20px;
  font-family: 'Inter', sans-serif;
}

/* Строка легенды (маркер + текст) */
.legend-item {
  display: flex;
  align-items: center;        /* Выравнивание по центру высоты */
  gap: 16px;                  /* Расстояние от маркера до текста */
}

/* Стили для текста подписи */
.legend-text {
  font-size: 13px;
  font-weight: 600;           /* Полужирный шрифт из макета */
  line-height: 1.3;           /* Межстрочный интервал для аккуратного переноса */
  color: #000000;
}

/* Базовый класс для линии маркера */
.legend-marker {
  position: relative;
  width: 40px;                /* Длина горизонтальной линии */
  height: 2px;                /* Толщина линии */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;             /* Запрещает линии сжиматься */
}

/* Синяя линия */
.legend-marker.line-blue {
  background-color: #1D3E9B;
}

/* Черная линия */
.legend-marker.line-black {
  background-color: #000000;
}

/* Базовый класс для круглой точки на линии */
.marker-dot {
  width: 10px;                /* Размер точки */
  height: 10px;
  border-radius: 50%;
  position: absolute;
}

/* Синяя закрашенная точка */
.marker-dot.filled-blue {
  background-color: #1D3E9B;
}

/* Черная полая точка (белая с черной рамкой) */
.marker-dot.hollow-black {
  background-color: #ffffff;
  border: 2px solid #000000;
}

/* Адаптивность для мобильных телефонов */
@media (max-width: 768px) {
  .custom-line-legend {
    flex-direction: column;   /* На смартфонах элементы встанут друг под друга */
    align-items: flex-start;  /* Выравнивание по левому краю */
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
  }
}
.section-7 .left-block {
  background-color: var(--bg-grey);
  padding: 39px 40px 0px 40px;
}



.charts-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.title-1 {
    font-size: 48px;
}



.card {
    background-color: var(--bg-white);
    gap: 40px;
    padding: 40px;
    border-radius: 4px;
}
.card.contact-form {
  padding: 40px 41px 40px 41px;
}

.figure-circle {
    width: 176.7252655029297px;
    height: 176.72528076171875px;
    gap: 10.27px;
    opacity: 1;
    padding-top: 10.27px;
    padding-right: 18.49px;
    padding-bottom: 10.27px;
    padding-left: 18.49px;
    border-radius: 102.75px;
    left: 471.47px;
    background-color: var(--bg-blue);
    display: flex;
    font-family: Inter;
    font-weight: 500;
    font-style: Medium;
    font-size: 30.28px;
    leading-trim: NONE;
    line-height: 62.76px;
    letter-spacing: 0px;
    text-align: center;
    vertical-align: bottom;
    color: var(--color-white);
}




/*  ----------------------------------               */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Главный контейнер-карточка */
.income-container {
  background-color: #ffffff;
  width: 100%;
  border-radius: 8px;
  padding: 50px 60px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}


/* Верхняя секция структуры */
.structure-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
}

/* Синий круг */
.circle-badge {
  background-color: #1D3E9B;
  color: var(--color-white);
  width: 170px;
  height: 170px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: -0.5px;
  z-index: 2;
  font-family: Inter;
  font-weight: 500;
  font-style: Medium;
  font-size: 30.28px;
  line-height: 62.76px;
  letter-spacing: 0px;
  text-align: center;
  vertical-align: bottom;
}
.circle-badge .number {
  font-family: 'Unbounded';
  font-weight: 500;
  font-size: 40px;
}

.contact-form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  font-family: 'Inter', sans-serif;
}

/* Основной блок формы */
.contact-form {
  background-color: #ffffff;
  width: 100%;
  max-width: 570px;          /* Ограничение ширины карточки формы */
  padding: 45px 50px;
  border-radius: 20px;       /* Крупное скругление углов карточки */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #e0e0e0;
}

/* Стили заголовка */
.contact-form .form-title {
  color: #000000;
  margin-bottom: 35px;
  font-family: Unbounded;
  font-weight: 500;
  font-size: 32px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
}

/* Контейнеры полей ввода */
.input-group {
  margin-bottom: 16px;
}

/* Общие стили для инпутов и текстового поля */
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #dcdcdc; /* Тонкая серая рамка */
  border-radius: 4px;        /* Легкое скругление полей */
  font-size: 14px;
  color: #000000;
  outline: none;
  font-family: 'Inter';
  font-weight: 400;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Изменение рамки при фокусе */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #1D3E9B;
  box-shadow: 0 0 0 3px rgba(29, 62, 155, 0.1);
}

/* Стилизация плейсхолдеров */
.contact-form ::placeholder {
  color: #8e8e8e;
  opacity: 1;
}

/* Запрет ручного изменения размера textarea по горизонтали */
.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

/* Блок согласия приватности */
.privacy-agreement {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 30px;
}

/* Кастомный вид чекбокса */
.privacy-agreement input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Текст согласия */
.privacy-agreement label {
  font-size: 12px;
  line-height: 1.4;
  color: #666666;
  cursor: pointer;
}

/* Ссылка на политику */
.privacy-link {
  color: #666666;
  text-decoration: underline;
  transition: color 0.2s;
}

.privacy-link:hover {
  color: #1D3E9B;
}

/* Кнопка отправки */
.btn-submit {
  width: 100%;
  background-color: var(--bg-blue);
  color: #ffffff;
  border: none;
  padding: 16px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.2s, transform 0.1s;
}

/* Эффекты при наведении и нажатии */
.btn-submit:hover {
  background-color: #153077;
}

.btn-submit:active {
  transform: scale(0.99);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 480px) {
  .contact-form {
    padding: 30px 20px;
    border-radius: 12px;
  }
  .form-title {
    font-size: 26px;
    margin-bottom: 25px;
  }
}
/*  footer */
footer {
  background-color: var(--bg-blue);
  color: var(--color-white);
}
footer .menu {
  margin-top: 20px;
  font-size: 12px;
  font-family: 'Inter';
  font-weight: 500;
}
footer .menu .menu-item {
  margin-bottom: 20px;
}
footer hr {
  margin-top: 56px;
  margin-bottom: 56px;
}
footer p {
  font-family: 'Inter';
  font-weight: 400;
  font-size: 10px;
  margin-bottom: 16px;
}