.w-100 {
    width: 100%;
}

.w-75 {
    width: 75%;
}

.w-50 {
    width: 50%;
}

.w-25 {
    width: 25%;
}

@media (max-width: 768px) {
    .w-25,
    .w-50,
    .w-75 {
        width: 100%;
    }
}

/* =======================================
   Padding card
   ======================================= */

.padding-top {
    padding-top: 100px;
}

.padding-bottom {
    padding-bottom: 100px;
}

.padding-combined {
    padding-bottom: 100px;
    padding-top: 100px;
}

@media (max-width: 1168px) {
    .padding-top {
        padding-top: 80px;
    }

    .padding-bottom {
        padding-bottom: 80px;
    }

    .padding-combined {
        padding-bottom: 80px;
        padding-top: 80px;
    }
}

@media (max-width: 768px) {
    .padding-top {
        padding-top: 60px;
    }

    .padding-bottom {
        padding-bottom: 60px;
    }

    .padding-combined {
        padding-bottom: 60px;
        padding-top: 60px;
    }
}

/* =======================================
   Margin card
   ======================================= */

.margin-top {
    margin-top: 120px;
}

.margin-bottom {
    margin-bottom: 120px;
}

.margin-combined {
    margin-bottom: 120px;
    margin-top: 120px;
}

@media (max-width: 1168px) {
    .margin-top {
        padding-top: 80px;
    }

    .margin-bottom {
        padding-bottom: 80px;
    }

    .margin-combined {
        padding-bottom: 80px;
        padding-top: 80px;
    }
}

@media (max-width: 768px) {
    .margin-top {
        margin-top: 60px;
    }

    .margin-bottom {
        margin-bottom: 60px;
    }

    .margin-combined {
        margin-bottom: 60px;
        margin-top: 60px;
    }
}

/* =======================================
   СТИЛИ ИНПУТОВ (Строки)
   ======================================= */
.input-row {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}

/* Лейбл слева */
.input-row label {
    width: 50%;
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
}

/* Само поле ввода справа */
.input-row input[type="text"] {
    width: 50%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit !important;
}

.input-row input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 32px 0 40px 0;
}

.checkbox-row input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-row input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4.5L5 8.5L13 1' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.checkbox-row label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.custom-form {
    padding: 16px 0px;
}

@media (max-width: 768px) {
    .input-row label,
    .input-row input[type="text"] {
        width: 100%;
    }

    .custom-form {
        position: relative;
        padding: 16px 0px;
    }

    .input-row {
        align-items: start;
        flex-direction: column;
        gap: 20px;
    }
}

/* =======================================
   СТИЛИ ИНПУТОВ конец
======================================= */

/* =======================================*/
/* left-fill-section                      */
/* =======================================*/
.left-fill-section-combined {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    height: auto;
    overflow: hidden;
}

.left-fill-section-bg-pc {
    position: relative;
    display: block;
    width: 100vw;
    height: auto;
    min-height: 400px;
    object-fit: cover;
    z-index: 1;
}

.left-fill-section-bg-mobile {
    position: relative;
    display: block;
    width: 100vw;
    height: auto;
    z-index: 1;
}

.left-fill-section-combined .left-fill-section-bg-mobile {
    display: none;
}

.left-fill-section-content {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 90%;
    max-width: 1200px;
    z-index: 2;
    box-sizing: border-box;
    padding: 40px 16px;
    gap: 20px;
}

/* =======================================*/
/* АДАПТИВ (max-width: 768px)             */
/* =======================================*/
@media (max-width: 768px) {
    .left-fill-section-combined {
        min-height: 500px;
    }

    .left-fill-section-combined .left-fill-section-bg-pc {
        display: none;
    }

    .left-fill-section-combined .left-fill-section-bg-mobile {
        display: block;
        min-height: 500px;
        object-fit: cover;
    }

    .left-fill-section-combined .left-fill-section-content {
        height: 100%;
        padding: 32px 16px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: start;
        text-align: start;
        gap: 10px;
        left: 0;
        transform: none;
    }
}

@media (min-width: 1921px) {
    .left-fill-section-combined {
        width: 100%;
        max-width: 1920px;
        margin-left: auto;
        margin-right: auto;
        border-radius: 24px;
    }

    .left-fill-section-bg-pc {
        width: 100%;
        border-radius: 24px;
    }
}
/* =======================================*/
/* left-fill-section                      */
/* =======================================*/
.text-primary {
    color: var(--text-primary);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-disabled {
    color: var(--text-disabled);
}

.text-subtle {
    color: var(--text-subtle);
}

.title-card {
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: start;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* @font-face {
  font-family: 'Stem';
  src: local('Arial'), local('Helvetica'); 
  font-weight: 400;
  font-style: normal;
} */

body {
    background-color: var(--background-primary, #0a1515);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 40px 40px;

    padding-top: 72.8px;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: clip;
    position: relative;
}

@media (max-width: 1168px) {
    body {
        padding-top: 88px;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.card-text {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    padding-bottom: 50px;
}

.card-text > * {
    margin: 5px;
}

@media (max-width: 768px) {
    .first-block {
        display: flex;
        flex-direction: column;
    }

    .card-text {
        display: flex;
        flex-direction: column;
        text-align: start;
        justify-content: start;
        padding-bottom: 25px;
    }
}

a:hover {
    text-decoration: none;
    color: var(--primary-default) !important;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4 {
    transition: color 0.3s ease;
    padding-bottom: 10px;
}

a:hover h1,
a:hover .h1,
a:hover h2,
a:hover .h2,
a:hover h3,
a:hover .h3,
a:hover h4,
a:hover .h4 {
    color: var(--primary-default);
}

.content-block {
    position: relative;
    padding-right: 50px;
    padding-left: 50px;
}

.content-block::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    border-bottom: var(--border-settings);
    pointer-events: none;
}

/*.content styling with grid mesh and random flashes centered inside 1200px width */
.content {
    border-left: var(--border-settings);
    border-right: var(--border-settings);
    width: 1200px;
    background-color: var(--background-primary, #0a1515);
    position: relative;

    z-index: 1;
    /* box-shadow:
        0 0 80px 10px color-mix(in srgb, var(--secondary-default, #4ecccd) 10%, transparent); */
}

.content-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fill-bg {
    position: relative;
    display: block;
    width: 100vw;
    height: auto;
    z-index: 1;
}

.bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: -1;
    pointer-events: none;
}

.bg img,
.bg svg {
    flex-shrink: 0;
    width: 100%;
    max-width: 1920px;
    height: auto;
}

/* ============================= */

/* Блок с почтой и телефоном */

.info-block {
    display: flex;
    gap: 20px;
}

h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4 {
    margin: 0;
}

@media (max-width: 1200px) {
    .content-block {
        border-bottom: 0px dashed var(--border-subtle);
        padding: clamp(28px, 8vw, 44px) clamp(14px, 4vw, 20px);
    }

    .content {
        width: 100%;
        max-width: 100vw;
        /* padding: 0 16px; */
        box-sizing: border-box;

        border-left: none;
        border-right: none;
    }
}

/* ========================================= */
/* ТИПОГРАФИКА: ЗАГОЛОВКИ                    */
/* ========================================= */

h1,
.h1 {
    font-size: var(--h1-fs);
    font-weight: var(--h1-fw);
    line-height: var(--h1-lh);
    letter-spacing: var(--h1-ls);
    color: var(--text-primary);
}

h2,
.h2 {
    font-size: var(--h2-fs);
    font-weight: var(--h2-fw);
    line-height: var(--h2-lh);
    letter-spacing: var(--h2-ls);
    color: var(--text-primary);
}

h3,
.h3 {
    font-size: var(--h3-fs);
    font-weight: var(--h3-fw);
    line-height: var(--h3-lh);
    letter-spacing: var(--h3-ls);
    /* color: var(--text-primary);   */
}

h4,
.h4 {
    font-size: var(--h4-fs);
    font-weight: var(--h4-fw);
    line-height: var(--h4-lh);
    letter-spacing: var(--h4-ls);
    color: var(--text-primary);
}

/* ============================= */
/* Стандартный абзац и класс body16 */
p,
.p,
.body16 {
    font-size: var(--body16-fs);
    font-weight: var(--body16-fw);
    line-height: var(--body16-lh);
    letter-spacing: var(--body16-ls);
}

/* Лид-абзац (вводный текст, крупнее обычного) */
.lead {
    font-size: var(--lead-fs);
    font-weight: var(--lead-fw);
    line-height: var(--lead-lh);
    letter-spacing: var(--lead-ls);
}

/* Мелкий текст */
.body14 {
    font-size: var(--body14-fs);
    font-weight: var(--body14-fw);
    line-height: var(--body14-lh);
    letter-spacing: var(--body14-ls);
}

/* Очень мелкий текст (сноски, подписи) */
.body12 {
    font-size: var(--body12-fs);
    font-weight: var(--body12-fw);
    line-height: var(--body12-lh);
    letter-spacing: var(--body12-ls);
}

/* ========================================= */
/* ТИПОГРАФИКА: UI, НАВИГАЦИЯ, КНОПКИ        */
/* ========================================= */

.nav-text {
    font-size: var(--nav-fs);
    font-weight: var(--nav-fw);
    line-height: var(--nav-lh);
    letter-spacing: var(--nav-ls);
}

/* Классы для текста кнопок (если нужно применить отдельно от самого компонента кнопки) */
.text-btn16 {
    font-size: var(--btn16-fs);
    font-weight: var(--btn16-fw);
    line-height: var(--btn16-lh);
    letter-spacing: var(--btn16-ls);
}

.text-btn14 {
    font-size: var(--btn14-fs);
    font-weight: var(--btn14-fw);
    line-height: var(--btn14-lh);
    letter-spacing: var(--btn14-ls);
}

.text-btn12 {
    font-size: var(--btn12-fs);
    font-weight: var(--btn12-fw);
    line-height: var(--btn12-lh);
    letter-spacing: var(--btn12-ls);
}

/* ========================================= */
/* ТИПОГРАФИКА: DATA / KPI (Большие цифры)   */
/* ========================================= */

/* Огромные цифры в статистике */
.kpi {
    font-size: var(--kpi-fs);
    font-weight: var(--kpi-fw);
    line-height: var(--kpi-lh);
    letter-spacing: var(--kpi-ls);
    display: inline-block;
}

/* Суффиксы или приставки к большим цифрам (например, знак %, ₽ или "млн") */
.kpi-suf {
    font-size: var(--kpi-suf-fs);
    font-weight: var(--kpi-suf-fw);
    line-height: var(--kpi-suf-lh);
    letter-spacing: var(--kpi-suf-ls);
    display: inline-block;
}

/* Классы помошники для скрытия и показа элементов на пк и мобильной части */
.dl {
    display: flex;
}

.dm {
    display: none;
}

.d-n-mobile {
    display: flex;
}

.d-n-pc {
    display: none;
}

@media (max-width: 768px) {
    .d-n-pc {
        display: flex;
    }

    .d-n-mobile {
        display: none;
    }
}

@media (max-width: 498px) {
    .dl {
        display: none;
    }

    .dm {
        display: flex;
    }
}

[id] {
    scroll-margin-top: 150px;
}

.btn-next,
.btn-prev {
    z-index: 15;
}

/* swiper */
.swiper-pagination {
    z-index: 10 !important;
    bottom: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 52px;
}

.swiper-button-prev,
.swiper-button-next {
    z-index: 11 !important;
    top: auto !important;
    bottom: 0 !important;
    margin-top: 0 !important;
    height: 52px;
}

.swiper-button-prev {
    left: 8px;
}

.swiper-button-next {
    right: 8px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 52px;
    color: var(--text-primary);
}

.highlight {
    color: var(--secondary-hover);
    text-shadow: 0 0 22px rgba(24, 228, 236, 0.34);
}

.copy {
    /* max-width: 610px; */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

@media (max-width: 1200px) {
    .copy {
        padding: 0 24px;
        max-width: 100%;
    }
}

/* Глобальный стиль для бейджиков (кикеров) страниц */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.16));
    border-radius: 999px;
    padding: 8px 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
    background: rgba(255, 255, 255, 0.05);
    width: max-content;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.kicker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary-default, #4ECCCD);
    box-shadow: 0 0 12px var(--secondary-default, #4ECCCD);
    flex-shrink: 0;
}
