/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* --- СТИЛИ ДЛЯ ФОРМЫ --- */

/* Карточка формы */
.intermat-form-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06); /* Легкая тень */
    padding: 30px;
    max-width: 500px;
    margin: 0 auto 40px auto; /* Отступ снизу до футера */
    border: 1px solid #eee;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Заголовок формы */
.im-form-header {
    text-align: center;
    margin-bottom: 25px;
}
.im-form-header h3 {
    margin: 0 0 8px 0;
    font-size: 22px;
    color: #333;
    font-weight: 700;
}
.im-form-header p {
    margin: 0;
    font-size: 14px;
    color: #888;
}

/* Лейблы и поля */
.im-form-body label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}
.im-form-body .req { color: #e74c3c; }

/* Инпуты */
.im-input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fdfdfd;
    font-size: 15px;
    box-sizing: border-box;
    transition: all 0.3s;
}

.im-input:focus {
    border-color: #000;
    background: #fff;
    outline: none;
}

textarea.im-input {
    min-height: 100px;
    resize: vertical;
}

/* Кнопка */
.im-btn {
    width: 100%;
    background: #000; /* Черная стильная кнопка */
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s;
}
.im-btn:hover {
    background: #333;
}


/* --- СТИЛИ ДЛЯ ОТДЕЛЬНОГО ФУТЕРА --- */

.intermat-standalone-footer {
    width: 100%;
    padding: 30px 20px;
    background: transparent; /* Прозрачный фон, чтобы вписался в дизайн сайта */
    border-top: 1px solid #eee; /* Тонкая разделительная линия сверху */
    text-align: center;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.im-footer-brand {
    font-size: 18px;
    font-weight: 800;
    color: #222;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.im-sub-brand {
    color: #777;
    font-weight: 400;
    font-size: 12px;
    text-transform: none;
    margin-left: 5px;
}

.im-footer-info p {
    margin: 5px 0;
    color: #555;
    font-size: 14px;
}

.im-footer-info a {
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid transparent;
    transition: border 0.3s;
}
.im-footer-info a:hover {
    border-bottom-color: #000;
}

/* Кнопки соцсетей в ряд */
.im-footer-socials {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.im-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f0f0f0;
    color: #333;
    border-radius: 50px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
}

.im-social-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

/* Цветные иконки при наведении */
.im-social-btn.telegram:hover {
    background: #2AABEE;
    color: white;
}
.im-social-btn.telegram:hover svg path { fill: white; }
.im-social-btn.telegram svg path { fill: #2AABEE; } /* Изначально иконка синяя */

.im-social-btn.max-user:hover {
    background: #000;
    color: white;
}
.im-social-btn.max-user:hover svg path { fill: white; }
.im-social-btn.max-user svg path { fill: #000; } /* Изначально иконка черная */


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}