/* =========================================
   Сброс стилей
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-color: #0ea0a5;
    --text-white: #ffffff;
    --text-alert: #ff0000;
    --text-yellow: #f8db95;
    --btn-bg: #0d7b53;
    --input-border: #ffffff;
}

body {
    background-color: var(--bg-color);
    color: var(--text-white);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   Верхняя панель (Top Bar)
   ========================================= */
.top-bar {
    padding: 25px 0;
}

.top-bar p {
    font-size: 16px;
    line-height: 1.3;
}

.alert {
    color: var(--text-alert);
    font-weight: bold;
}

/* =========================================
   Основной блок (Hero)
   ========================================= */
.hero {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    padding-bottom: 60px;
}

/* --- Левая колонка --- */
.hero-left {
    width: 100%;
    max-width: 580px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 55px;
}

.logo-img {
    width: 65px;
    height: auto;
    margin-right: 15px;
    object-fit: contain;
}

.logo-wrapper > svg {
    width: 65px;
    height: 65px;
    flex: 0 0 65px;
    display: block;
    margin-right: 15px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.2px;
}

.hero-title {
    font-size: 42px;
    font-weight: bold;
    line-height: 1.15;
    margin-bottom: 25px;
}

.highlight {
    color: var(--text-yellow);
}

.hero-subtitle {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.3;
}

/* --- Правая колонка (Инпуты) --- */
.hero-right {
    width: 100%;
    max-width: 460px;
    /* Точное выравнивание инпутов с началом заголовка */
    
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 8px;
    
}

.input-group input,
.input-group textarea {
    width: 100%;
    background-color: transparent;
    border: 1px solid var(--input-border);
    border-radius: 25px;
    padding: 13px 18px;
    color: var(--text-white);
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
    outline: none;
}

.input-group textarea {
    height: 80px;
    border-radius: 18px;
    resize: vertical;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

/* Lower quiz form only: green border and text */
.quiz-step[data-step="5"] .input-group label {
    color: #159a63;
}

.quiz-step[data-step="5"] .input-group input {
    border-color: #159a63;
    color: #159a63;
}

.quiz-step[data-step="5"] .input-group input::placeholder {
    color: rgba(21, 154, 99, 0.65);
}

.btn-submit {
    background-color: var(--btn-bg);
    color: var(--text-white);
    border: none;
    border-radius: 25px;
    padding: 14px 45px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 5px;
}

/* Center the submit button in the hero/right column */
.hero-right .btn-submit {
    display: block;
    margin: 20px auto 0;
}

/* =========================================
   Утилиты для точных переносов строк
   ========================================= */
.br-mobile { display: none; }
.br-desktop { display: inline; }

/* =========================================
   Адаптивность (Mobile)
   ========================================= */
@media (max-width: 768px) {
    /* Переключаем переносы строк для мобильной версии */
    .br-mobile { display: inline; }
    .br-desktop { display: none; }

    .container {
        padding: 0 15px;
    }

    .top-bar {
        padding: 15px 0;
        /* Тонкая разделительная линия из мобильного макета */
        border-bottom: 1px solid rgba(255, 255, 255, 0.3); 
    }

    .top-bar p {
        font-size: 17px;
        line-height: 1.25;
    }

    .hero {
        flex-direction: column;
        margin-top: 30px;
    }

    .logo-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 35px;
    }

    .logo-img {
        margin-right: 0;
        margin-bottom: 15px;
        width: 75px;
    }

    .logo-wrapper > svg {
        width: 75px;
        height: 75px;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .logo-text {
        font-size: 25px;
        line-height: 1.3;
    }

    .hero-title {
        font-size: 38px;
        margin-bottom: 25px;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-right {
        margin-top: 20px;
        max-width: 100%;
    }

    .input-group {
        margin-bottom: 15px;
    }
}
:root {
    --bg-main: #f1eacc;      /* Светло-бежевый фон */
    --text-blue: #11658f;    /* Сине-зеленый цвет для заголовка и текста */
    --bg-green: #0f805a;     /* Темно-зеленый фон для блока статистики */
    --text-white: #ffffff;   /* Белый цвет текста */
}

/* Обертка секции (с фоном и шрифтом для независимости блока) */
.fraud-section {
    background-color: var(--bg-main);
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text-blue);
    padding: 60px 0;
    line-height: 1.2;
}

/* Контейнер */
.fraud-section .container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Заголовок */
.section-title {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 55px;
    letter-spacing: 0.2px;
}

/* Сетка причин */
.reasons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
    column-gap: 20px;
    margin-bottom: 50px;
    max-width: 1100px;
    padding-left: 15px;
}

.reason-item {
    display: flex;
    align-items: center;
}

.reason-icon {
    width: auto;
    height: 45px;
    object-fit: contain;
    margin-right: 25px;
    min-width: 65px; 
    text-align: center;
}

.reason-icon-narrow {
    min-width: 40px;
    margin-left: 12px;
    margin-right: 38px;
}

.reason-text {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.3;
}

.reason-item > svg {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: block;
    margin-right: 20px;
    flex-shrink: 0;
}

/* Блок статистики */
.stats-box {
    background-color: var(--bg-green);
    border-radius: 25px;
    padding: 45px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-white);
    box-sizing: border-box;
}

.stat-item {
    flex: 1;
    text-align: center;
}

.stat-number {
    font-size: 72px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-text {
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 0.3px;
}

/* Утилита для переноса */
.br-mobile {
    display: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .br-mobile {
        display: inline;
    }

    .fraud-section {
        padding: 30px 0 40px;
    }

    .fraud-section .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 40px;
        line-height: 1.25;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
        row-gap: 30px;
        margin-bottom: 40px;
    }

    .reason-icon {
        height: 40px;
        min-width: 55px;
        margin-right: 15px;
    }

    .reason-icon-narrow {
        min-width: 35px;
        margin-left: 10px;
        margin-right: 25px;
    }

    .reason-text {
        font-size: 16px;
    }

    .reason-item > svg {
        width: 40px;
        height: 40px;
        min-width: 40px;
        margin-right: 14px;
    }

    .stats-box {
        flex-direction: column;
        padding: 45px 20px;
        border-radius: 20px;
        gap: 50px;
    }

    .stat-number {
        font-size: 52px;
        margin-bottom: 12px;
    }

    .stat-text {
        font-size: 14px;
        padding: 0 10px;
    }
}
:root {
    --bg-main: #f3ebd3;        /* Основной бежевый фон */
    --text-blue: #11658f;      /* Синий цвет заголовков слева */
    --card-green: #097b54;     /* Темно-зеленый фон карточки */
    --text-teal: #006b5b;      /* Изумрудный цвет текста в квизе */
    --btn-blue: #11658f;       /* Синий цвет кнопок и прогресс-бара */
    --bar-bg: #c4c4c4;         /* Серый фон прогресс-бара */
    --text-white: #ffffff;
}

/* Обертка секции */
.trust-section {
    background-color: var(--bg-main);
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text-blue);
    padding: 70px 0 80px;
    line-height: 1.2;
}

.trust-section .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.layout-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

/* Левая колонка */
.features-column {
    flex: 1;
    max-width: 500px;
    padding-top: 10px;
}

.features-title {
    font-size: 26px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 45px;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 35px;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature-icon {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.feature-item > svg {
    width: 55px;
    height: 55px;
    min-width: 55px;
    display: block;
    flex-shrink: 0;
}

.feature-text {
    font-size: 18px;
    font-weight: bold;
}

/* Правая колонка (Квиз) */
.quiz-column {
    width: 100%;
    max-width: 600px;
}

.quiz-card {
    background-color: var(--card-green);
    border-radius: 35px;
    padding: 35px;
}

.quiz-title {
    color: var(--text-white);
    font-size: 22px;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 25px;
}

.quiz-body {
    background-color: var(--text-white);
    border-radius: 20px;
    padding: 30px;
}

/* Прогресс бар */
.progress-container {
    margin-bottom: 25px;
}

.progress-track {
    width: 100%;
    height: 12px;
    background-color: var(--bar-bg);
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--btn-blue);
    border-radius: 6px;
    transition: width 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 6px;
}

.progress-text {
    color: var(--text-white);
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
}

/* Элементы формы квиза */
.quiz-step {
    display: block;
    animation: fadeIn 0.4s ease;
}

.quiz-step.hidden {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-question {
    color: var(--text-teal);
    font-size: 19px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 20px;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-teal);
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
}

.option-item input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--text-teal);
}

/* Инпуты (Шаг 6) */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    color: #fff;
    font-size: 19px;
    font-weight: bold;
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    border: 2px solid #F4EBC2;
    border-radius: 20px;
    padding: 12px 18px;
    font-size: 16px;
    color: #ffffff;
    outline: none;
    box-sizing: border-box;
}


.input-group input::placeholder {
    color: #ffffff91;
}

.final-step-empty-container {
    min-height: 96px;
    border: 1px dashed #b6d8d1;
    border-radius: 16px;
    background-color: #f6fbfa;
    margin-bottom: 20px;
}

.quiz-step[data-step="5"] .u-form-submit {
    display: flex;
    justify-content: center;
}

.quiz-step[data-step="5"] .u-form-submit .btn-submit {
    display: block;
    margin: 0 auto;
}

/* Кнопки */
.step-actions {
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

.step-actions.center-action {
    justify-content: center;
}

.trust-section .btn {
    background-color: var(--btn-blue);
    color: var(--text-white);
    border: none;
    border-radius: 25px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: normal;
    cursor: pointer;
    flex: 1;
    transition: background-color 0.2s ease;
}

.center-action .btn {
    max-width: 80%;
    flex: none;
    width: 100%;
}

.trust-section .btn:hover {
    background-color: #0d4f72;
}

/* Адаптивность */
@media (max-width: 992px) {
    .layout-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .features-column {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .quiz-column {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .trust-section {
        padding: 40px 0;
    }

    .features-title {
        font-size: 22px;
        text-align: center;
    }

    .quiz-card {
        padding: 25px 20px;
        border-radius: 25px;
    }

    .quiz-title {
        font-size: 18px;
    }

    .quiz-body {
        padding: 25px 15px;
    }

    .step-question {
        font-size: 17px;
    }

    .option-item {
        font-size: 15px;
    }

    .center-action .btn {
        max-width: 100%;
    }

    .feature-item > svg {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }
}

/* Обертка футера */
.site-footer {
    background-color: #0fb2b8; /* Бирюзовый цвет фона */
    padding: 15px 0;
    font-family: Arial, Helvetica, sans-serif;
}

/* Контейнер для ограничения ширины */
.site-footer .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Контент футера */
.footer-content {
    display: flex;
    justify-content: flex-end; /* Выравнивание ссылок по правому краю */
    gap: 25px;
}

/* Ссылки */
.footer-link {
    color: #ffffff;
    text-decoration: underline;
    font-size: 14px;
    font-weight: bold;
}

/* Эффект при наведении */
.footer-link:hover {
    text-decoration: none;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 576px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}
