@import '/fonts/HelveticaNeueCyr/stylesheet.css';
:root {
    font-family: HelveticaNeueCyr, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.5em;
}

body {
    padding: 0;
    margin: 0;
}

.center-holder {
    display: flex;
    justify-content: center;
}

.content-holder {
    max-width: 1200px;
}

.page-title {
    font-size: 24px;
    margin: 20px 0;
    text-align: center;
}

.subtitle {
    text-align: center;
}

.title-images {
    margin-top: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-images-subtitle {
    display: flex;
    justify-content: flex-end;
    .inner {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.phones {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #0066CC;
    strong {
        text-decoration: underline;
    }
    a {
        color: #0066CC;
    }
}

.request-call-block {
    .callback-btn {
        /* Базовые свойства ссылки и выравнивание текста */
        display: inline-block;
        text-decoration: none;
        font-family: sans-serif;
        font-weight: bold;
        letter-spacing: 0.5px;
        text-align: center;

        /* Цвета с изображения */
        background-color: #007F3E; /* Точный зеленый цвет фона */
        color: #FFFFFF;            /* Белый цвет текста */

        /* Размеры и скругление углов */
        padding: 12px 32px;
        border-radius: 10px;       /* Характерное скругление углов кнопки */

        /* Плавный переход при наведении (опционально) */
        transition: background-color 0.2s ease;
    }

    /* Эффект при наведении (кнопка станет чуть темнее) */
    .callback-btn:hover {
        background-color: #006632;
    }
}

.request-call-block {
    display: flex;
    justify-content: flex-end;
    &.block-2 {
        justify-content: center;
    }
}

h1 {
    font-size: 36px;
    font-weight: 400;
    margin: 25px 0;
    text-align: center;
}

.causes-of-the-malfunction-block {
    background-color: #EFEFEF;
    margin: 1em 3em;
    padding: 1em 2em;

    .title {
        text-align: center;
        font-size: 34px;
    }

    .subtitle {
        margin-top: 1em;
        text-align: center;
    }

    .features-container {
        margin-top: 2em;
        display: flex;
        gap: 1em;
        .feature-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            img {
                width: min-content;
            }
            h3 {
                color: #0074C4;
                text-align: center;
                font-size: 26px;
            }

            .description {
                text-align: center;
            }
        }
    }
}

.advantages {
    display: flex;
    flex-direction: column;
    gap: 3em;
    background-color: #444444;
    padding: 1em;
    color: white;
    margin-top: 2em;
    .title {
        text-align: center;
        font-size: 34px;
    }
    .advantages-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);


        .advantage-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            img {
                filter: invert(1);
                width: min-content;
            }
            h3 {
                text-align: center;
                font-size: 26px;
                line-height: 1.3em;
                font-weight: 400;
            }

            .description {
                text-align: center;
            }
        }
    }
}

.back-title {
    font-weight: 400;
    text-align: center;
    margin-top: 2em;
    font-size: 34px;
}

.contacts-block {
    > h2 {
        font-weight: 400;
        text-align: center;
        margin-top: 2em;
        font-size: 34px;
    }
}

.contacts-block-inner {
    display: flex;
    flex-direction: column;
    gap: 2em;
    align-items: flex-start;
    width: min-content;
    margin: 0 auto;
}

.location-grid {
    display: grid;
    /* Первый столбец под иконку, второй — под текст */
    grid-template-columns: auto 1fr;
    /* Отступ между иконкой и текстом */
    column-gap: 20px;
    font-family: Arial, Helvetica, sans-serif;
    max-width: 600px;

    .location-icon {
        /* Выравнивание иконки по верхней линии заголовка */
        padding-top: 4px;
    }

    .location-content {
        h2 {
            margin: 0 0 8px 0;
            color: #2B2B2B;
            font-size: 24px;
            font-weight: bold;
        }

        address {
            margin: 0;
            color: #2B2B2B;
            font-size: 16px;
            font-style: normal; /* Отмена стандартного курсива */
            line-height: 1.4;
        }
    }
}

.schedule-grid {
    display: grid;
    /* Колонка для иконки и колонка для текста */
    grid-template-columns: auto 1fr;
    column-gap: 20px;
    font-family: Arial, Helvetica, sans-serif;
    max-width: 600px;
    align-items: flex-start; /* Выравнивание по верхнему краю */

    .schedule-icon {
        /* Легкое смещение вниз для лучшего баланса со строками */
        padding-top: 2px;
    }

    .schedule-content {
        p {
            margin: 0 0 6px 0;
            color: #2B2B2B;
            font-size: 16px;
            line-height: 1.4;

            /* Обнуляем отступ у последнего абзаца */
            &:last-child {
                margin-bottom: 0;
            }
        }

        strong {
            font-weight: bold;
        }
    }
}

.phones-grid {
    display: grid;
    /* Колонка для иконки и колонка для списка телефонов */
    grid-template-columns: auto 1fr;
    column-gap: 20px;
    font-family: Arial, Helvetica, sans-serif;
    max-width: 600px;
    align-items: flex-start;

    .phones-icon {
        /* Небольшое смещение, чтобы иконка стояла вровень с первым номером */
        padding-top: 4px;
    }

    .phones-content {
        .phone-item {
            display: flex;
            flex-direction: column;
            margin-bottom: 12px;
        }

        .phone-link {
            color: #2B2B2B;
            font-size: 24px;
            font-weight: bold;
            text-decoration: none;
            line-height: 1.2;

            &:hover {
                text-decoration: underline;
            }
        }

        .phone-desc {
            color: #2B2B2B;
            font-size: 14px;
            margin-top: 2px;
        }

        .diagnostic-note {
            margin: 24px 0 0 0;
            color: #2B2B2B;
            font-size: 16px;
            line-height: 1.4;
        }
    }
}

.email-grid {
    display: grid;
    /* Колонка для иконки и колонка для email */
    grid-template-columns: auto 1fr;
    column-gap: 20px;
    font-family: Arial, Helvetica, sans-serif;
    max-width: 600px;
    align-items: center; /* Центрируем иконку и текст по вертикали */

    .email-icon {
        display: flex;
        align-items: center;
    }

    .email-content {
        .email-link {
            color: #0074C4; /* Синий цвет ссылки с изображения */
            font-size: 18px;
            text-decoration: underline;
            line-height: 1.2;

            &:hover {
                text-decoration: none; /* Убираем подчеркивание при наведении */
            }
        }
    }
}

.footer-info-grid {
    margin-top: 3em;
    display: grid;
    /* Две колонки: первая под соцсети, вторая под оплату */
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    background-color: #222222; /* Темный фон из изображения */
    padding: 30px;
    font-family: Arial, Helvetica, sans-serif;

    .info-column {
        display: flex;
        flex-direction: column;

        .column-title {
            color: #FFFFFF;
            font-size: 18px;
            font-weight: normal;
            margin: 0 0 12px 0;
        }

        .divider {
            height: 1px;
            background-color: #444444; /* Тонкая разделительная линия */
            margin-bottom: 20px;
            width: 100%;
        }

        .icons-list {
            display: flex;
            gap: 12px;
            align-items: center;
            height: 30px;
            &.payment-list {
                /* Иконки оплаты выстроены в ряд */
                flex-wrap: wrap;
            }
        }

        .social-icon img {
            border-radius: 8px; /* Скругление углов для иконки соцсети */
            display: block;
        }

        .payment-icon {
            object-fit: contain;
            display: block;
            height: 100%;

            box-sizing: border-box;
        }
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 600px) {
    .footer-info-grid {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }
}

