@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    background-color: #f8f9fa;
}

/* ===== НАВИГАЦИЯ (ИДЕНТИЧНО СТРАНИЦЕ УСЛУГ) ===== */
.favicon-icon {
    position: fixed;
    top: 45px;
    left: 60px;
    width: 90px;
    height: auto;
    z-index: 1001;
    transition: all 0.3s ease;
}

.favicon-icon:hover {
    opacity: 0.6;
    transform: scale(0.95);
}

.navigator-icon {
    display: block;
    position: fixed;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
    z-index: 1;
    transition: transform 0.3s ease;
}

.navigator-icon:hover {
    transform: translateX(-50%) scale(1.05);
}

.top-bar {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 28px 0;
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.top-bar a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.top-bar a:hover {
    color: #f0f0f0;
}

/* ===== ЗАГОЛОВКИ С УВЕЛИЧЕННЫМИ ОТСТУПАМИ ===== */
h1 {
    color: #2c3e50;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    text-align: center;
    margin: 180px 0 30px;
    padding: 0 20px;
    line-height: 1.3;
    position: relative;
}

h2 {
    color: #3498db;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.8rem;
    text-align: center;
    margin: 0 0 50px 0;
    padding: 0 20px;
    line-height: 1.4;
}

/* ===== АНИМАЦИИ ДЛЯ ПОЛОСОК ===== */

/* Вертикальная анимация волны (для полоски в тексте) */
@keyframes verticalWave {

    0%,
    100% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 0% 100%;
    }
}

/* ===== ОСНОВНОЙ ТЕКСТ (БОЛЕЕ ВЫРАЗИТЕЛЬНЫЙ) ===== */
.main-content {
    max-width: 900px;
    margin: 0 auto 100px;
    padding: 0 20px;
    text-align: left;
}

.main-content p {
    font-size: 1.15em;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: justify;
    font-weight: 500;
    letter-spacing: 0.2px;
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.05);
}

/* === ИЗМЕНЯЕМ ЗДЕСЬ: Первый абзац с вертикальной градиентной полоской === */
.main-content p:first-of-type {
    font-size: 1.2em;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.9;
    margin-bottom: 40px;
    position: relative;
    padding-left: 35px;
}

/* === ИЗМЕНЯЕМ ЗДЕСЬ: Вертикальная полоска без эффекта наведения === */
.main-content p:first-of-type::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom,
            #0a9e3c 0%,
            #00ff88 25%,
            #0a9e3c 50%,
            #00ff88 75%,
            #0a9e3c 100%);
    border-radius: 3px;
    animation: verticalWave 3s ease-in-out infinite;
    background-size: 100% 200%;
    box-shadow: 2px 0 6px rgba(10, 158, 60, 0.3);
    /* УБРАН transition и эффект наведения */
}

/* === УДАЛЯЕМ ВЕСЬ ЭТОТ БЛОК: Эффект при наведении на первый абзац ===
.main-content p:first-of-type:hover::before {
    width: 10px;
    box-shadow: 3px 0 10px rgba(10, 158, 60, 0.5);
}
*/

/* Второй абзац - немного иначе */
.main-content p:last-of-type {
    font-size: 1.1em;
    color: #34495e;
    line-height: 1.8;
    background: linear-gradient(90deg, rgba(52, 152, 219, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(52, 152, 219, 0.1);
}

/* Эффект при наведении на параграфы (но не на полоску) */
.main-content p:hover {
    color: #2c3e50;
    transition: all 0.3s ease;
}

/* ===== ИЗОБРАЖЕНИЯ И АНИМАЦИИ ===== */
.images {
    position: relative;
    margin-bottom: 1700px;
}

.Profit-icon {
    display: block;
    position: absolute;
    left: -210px;
    top: 315px;
    animation: diagonalFromTopLeft 1s ease-out;
}

@keyframes diagonalFromTopLeft {
    from {
        transform: translate(-100px, -100px);
        opacity: 0;
    }

    to {
        transform: translate(0, 0);
        opacity: 1;
    }
}

.income-icon {
    display: block;
    position: absolute;
    left: calc(50% - 415px);
    top: 700px;
    height: auto;
}

.two-year {
    display: block;
    position: absolute;
    right: 17px;
    top: 730px;
    animation: diagonalFromBottomRight 1s ease-out;
}

@keyframes diagonalFromBottomRight {
    from {
        transform: translate(100px, 100px);
        opacity: 0;
    }

    to {
        transform: translate(0, 0);
        opacity: 1;
    }
}

.process {
    display: block;
    position: absolute;
    right: 130px;
    top: 350px;
    animation: diagonalFromTopRight 1s ease-out;
}

@keyframes diagonalFromTopRight {
    from {
        transform: translate(100px, -100px);
        opacity: 0;
    }

    to {
        transform: translate(0, 0);
        opacity: 1;
    }
}

.week {
    display: block;
    position: absolute;
    left: 240px;
    top: 940px;
    animation: smoothFloatUp 2.2s ease-out;
}

@keyframes smoothFloatUp {
    from {
        transform: translateY(150px) scale(0.9);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.subscribers {
    display: block;
    position: absolute;
    right: 10px;
    top: 200px;
    animation: diagonalFromTopRight 1s ease-out;
}

/* ===== ПОДВАЛ ===== */
.footer {
    position: relative;
    width: 100%;
    margin-bottom: 0px;
    padding-bottom: 0px;
    margin-top: 0;
    background-color: #f0f0f0;
    bottom: 0;
    overflow: hidden;
}

.footer-image {
    display: block;
    width: 110%;
    height: auto;
    margin-left: -5%;
    margin-right: -5%;
}

.footer-content {
    position: relative;
}

/* Два столбца ссылок в подвале */
.footer-links-columns {
    position: absolute;
    top: 50%;
    left: 450px;
    transform: translateY(-50%);
    display: flex;
    gap: 80px;
    font-family: 'Montserrat', sans-serif;
}

.footer-links-column {
    display: flex;
    flex-direction: column;
}

.footer-links-column a {
    color: white;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-links-column a:hover {
    color: #0a9e3c;
    transform: translateX(5px);
}

.footer-links-column:first-child a {
    font-weight: 600;
}

.footer-links-column:last-child a:first-child {
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-links-column:last-child a:not(:first-child) {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.footer-overlay {
    position: absolute;
    top: 40%;
    left: 100px;
    transform: translateY(-50%);
    color: white;
    text-align: left;
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
}

.footer-contacts p,
.footer-social a {
    color: white;
    text-decoration: none;
}

.footer-social a:hover {
    color: #f0f0f0;
}

.footer-copyright {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    text-align: center;
    font-weight: 600;
    opacity: 0.8;
}

.footer-contacts .phone {
    margin-bottom: -9px;
    font-weight: bold !important;
}

.footer-contacts .phone a {
    color: inherit;
    text-decoration: none;
}

.footer-contacts .phone a:hover {
    color: inherit;
    text-decoration: underline;
}

.footer-contacts .email {
    font-weight: normal !important;
    margin-bottom: 25px;
}

.footer-contacts .email a {
    color: inherit;
    text-decoration: none;
}

.footer-contacts .email a:hover {
    color: inherit;
    text-decoration: underline;
}

.social-icon {
    width: 32px;
    height: 32px;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

a[href*="telegram"] .social-icon,
a[href*="t.me"] .social-icon {
    width: 42px;
    height: 42px;
}

a[href*="vk.com"] .social-icon,
a[href*="vkontakte"] .social-icon {
    width: 40px;
    height: 40px;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* ===== БЛОК КОНСУЛЬТАЦИИ ===== */
.consultation-form {
    position: absolute;
    top: 50px;
    right: 200px;
    padding: 20px;
    width: 350px;
}

.consultation-title {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
    transform: translateY(-35px);
}

.consultation-form-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group input {
    width: 240px;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.9);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.form-group.required input::placeholder {
    color: #666;
}

.form-group input:focus {
    outline: none;
    border-color: #0a9e3c;
    background: white;
}

.file-input {
    display: none;
}

.file-label {
    display: block;
    width: 240px;
    padding: 12px 15px;
    border: 1px dashed rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-align: center;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.file-label:hover {
    background: rgba(255, 255, 255, 0.3);
}

.submit-btn {
    padding: 14px;
    background: #0a9e3c;
    color: white;
    border: none;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 185px;
    width: 270px;
    position: absolute;
    margin-left: -130px;
}

.submit-btn:hover {
    background: #088530;
    transform: translateY(-2px);
}

.form-group input[name="name"] {
    margin-left: -130px;
}

.form-group input[name="phone"] {
    position: absolute;
    top: 75px;
    left: 195px;
}

.form-group input[name="subject"] {
    margin-left: -130px;
    top: 139px;
    position: absolute;
}

.form-group input[name="email"] {
    position: absolute;
    left: 195px;
    top: 139px;
}

.form-group input[name="company"] {
    margin-left: -130px;
    top: 200px;
    position: absolute;
}

.file-label {
    margin-left: 175px;
    position: absolute;
    top: 200px;
}

.error-message {
    color: #f00101;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    position: absolute;
    top: 45px;
    left: 45px;
    white-space: nowrap;
    display: none;
    font-weight: 500;
}

/* ===== АДАПТИВНОСТЬ ===== */
/* ===== АДАПТИВНОСТЬ ===== */

/* ПЛАНШЕТЫ И НОУТБУКИ (1024px и меньше) */
@media (max-width: 1024px) {
    h1 {
        margin: 150px 0 25px;
        font-size: 2.2rem;
    }

    h2 {
        margin: 0 0 40px 0;
        font-size: 1.6rem;
    }

    .footer-links-columns {
        left: 400px;
    }

    .consultation-form {
        right: 150px;
        width: 320px;
    }
}

/* ПЛАНШЕТЫ ПОРТРЕТ (768px и меньше) */
@media (max-width: 768px) {
    h1 {
        margin: 130px 0 20px;
        font-size: 1.9rem;
    }

    h2 {
        margin: 0 0 30px 0;
        font-size: 1.4rem;
    }

    .top-bar {
        gap: 30px;
        padding: 25px 0;
    }

    .favicon-icon {
        top: 25px;
        left: 30px;
        width: 70px;
    }

    .main-content {
        padding: 0 15px;
        margin: 0 auto 40px;
    }

    .main-content p {
        font-size: 1.05em;
        line-height: 1.7;
        font-weight: 500;
        text-align: left;
    }

    .main-content p:first-of-type {
        font-size: 1.1em;
        padding-left: 25px;
        margin-bottom: 30px;
    }

    .main-content p:first-of-type::before {
        width: 5px;
    }

    .main-content p:last-of-type {
        font-size: 1.05em;
        padding: 20px;
    }

    .footer-links-columns {
        left: 300px;
        gap: 50px;
    }

    .consultation-form {
        right: 100px;
        width: 300px;
    }
}

/* ТЕЛЕФОНЫ В ЛАНДШАФТЕ (541-960px, горизонтально) */
@media (min-width: 541px) and (max-width: 960px) and (orientation: landscape) {
    .favicon-icon {
        position: fixed !important;
        top: 15px !important;
        left: 15px !important;
        width: 50px !important;
        height: auto !important;
        z-index: 1002 !important;
        background: blue !important;
        border: 3px solid white !important;
    }

    body {
        padding-top: 70px !important;
    }

    h1 {
        margin-top: 120px !important;
        font-size: 2.2rem !important;
    }

    h2 {
        margin-top: 10px !important;
        font-size: 1.6rem !important;
    }

    .images {
        margin-bottom: 1000px !important;
    }

    .footer-image {
        height: 300px !important;
        object-fit: cover !important;
    }

    .footer-overlay {
        top: 30% !important;
        left: 5% !important;
        font-size: 18px !important;
    }

    .footer-links-columns {
        left: 250px !important;
        gap: 50px !important;
    }

    .consultation-form {
        top: 40px !important;
        right: 5% !important;
        width: 40% !important;
        max-width: 320px !important;
    }

    .consultation-title {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }

    .form-group input {
        width: 100% !important;
        max-width: 280px !important;
        padding: 10px 12px !important;
        font-size: 13px !important;
    }

    .submit-btn {
        width: 100% !important;
        max-width: 312px !important;
        padding: 12px !important;
        font-size: 15px !important;
    }

    .social-icon {
        width: 30px !important;
        height: 30px !important;
    }

    a[href*="telegram"] .social-icon,
    a[href*="t.me"] .social-icon {
        width: 34px !important;
        height: 34px !important;
    }

    a[href*="vk.com"] .social-icon,
    a[href*="vkontakte"] .social-icon {
        width: 32px !important;
        height: 32px !important;
    }
}

/* ТЕЛЕФОНЫ В ПОРТРЕТЕ (540px и меньше) - САМЫЙ ПОСЛЕДНИЙ! */
@media (max-width: 540px) {
    h1 {
        margin: 100px 0 15px;
        font-size: 1.7rem;
        padding: 0 15px;
    }

    h2 {
        margin: 0 0 25px 0;
        font-size: 1.3rem;
        padding: 0 15px;
    }

    .top-bar {
        gap: 20px;
        padding: 20px 0;
    }

    .favicon-icon {
        position: fixed !important;
        top: 100px !important;
        left: 11px !important;
        width: 50px !important;
        height: auto !important;
        z-index: 1001 !important;
        transition: opacity 0.3s ease;
    }

    .main-content {
        padding: 0 10px;
        margin: 0 auto 30px;
    }

    .main-content p {
        font-size: 1em;
        line-height: 1.6;
    }

    .main-content p:first-of-type {
        font-size: 1.05em;
        padding-left: 20px;
    }

    .main-content p:first-of-type::before {
        width: 4px;
    }

    .main-content p:last-of-type {
        padding: 15px;
    }

    .footer-links-columns {
        display: none;
    }

    .footer {
        display: flex;
        flex-direction: column;
    }

    .consultation-form {
        position: relative;
        order: 1;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 400px;
        margin: 40px auto 0;
        padding: 0 20px;
        min-height: 450px;
    }

        .consultation-title {
        color: #2c3e50;
        left: 50px;
    }

    .footer-content {
        order: 2;
    }

    .footer-image {
        margin-top: 50px;
        height: 275px;
    }

    /* 1. Поле "Ваше имя *" */
    .form-group input[name="name"] {
        position: absolute;
        top: 20px;
        left: 180px;
        width: 280px;
        padding: 12px 15px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 25px;
        background: rgba(255, 255, 255, 0.9);
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        box-sizing: border-box;
    }

    /* 2. Поле "Номер телефона *" */
    .form-group input[name="phone"] {
        position: absolute;
        top: 80px;
        left: 50px;
        width: 280px;
        padding: 12px 15px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 25px;
        background: rgba(255, 255, 255, 0.9);
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        box-sizing: border-box;
    }

    /* 3. Поле "E-mail *" */
    .form-group input[name="email"] {
        position: absolute;
        top: 140px;
        left: 50px;
        width: 280px;
        padding: 12px 15px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 25px;
        background: rgba(255, 255, 255, 0.9);
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        box-sizing: border-box;
    }

    /* 4. Поле "Тема" */
    .form-group input[name="subject"] {
        position: absolute;
        top: 200px;
        left: 180px;
        width: 280px;
        padding: 12px 15px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 25px;
        background: rgba(255, 255, 255, 0.9);
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        box-sizing: border-box;
    }

    /* 5. Поле "Организация" */
    .form-group input[name="company"] {
        position: absolute;
        top: 260px;
        left: 180px;
        width: 280px;
        padding: 12px 15px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 25px;
        background: rgba(255, 255, 255, 0.9);
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        box-sizing: border-box;
    }

    /* 6. Кнопка "Добавить файл" */
    .consultation-form .file-label {
        position: absolute;
        top: 320px;
        left: -120px;
        width: 280px;
        padding: 12px 15px;
        border: 1px dashed rgba(255, 255, 255, 0.5);
        border-radius: 25px;
        background: #4a5568;
        color: white;
        text-align: center;
        cursor: pointer;
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        font-weight: 600;
        box-sizing: border-box;
    }

    /* 7. Кнопка "Отправить заявку" */
    .consultation-form .submit-btn {
        position: absolute;
        top: 190px;
        left: 185px;
        width: 280px;
        padding: 14px;
        background: #0a9e3c;
        color: white;
        border: none;
        border-radius: 25px;
        font-family: 'Montserrat', sans-serif;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        box-sizing: border-box;
        z-index: 111;
    }



    /* 8. Иконка Telegram - ФИКСИРОВАННАЯ ПОЗИЦИЯ */
    .consultation-form a[href*="telegram"] .social-icon,
    .consultation-form a[href*="t.me"] .social-icon {
        position: absolute;
        top: 610px;
        /* Фиксированно от верха формы */
        left: 90px;
        /* Фиксированно от левого края формы */
        width: 36px;
        height: 36px;
        z-index: 1000;
    }

    /* 9. Иконка VK - ФИКСИРОВАННАЯ ПОЗИЦИЯ */
    .consultation-form a[href*="vk.com"] .social-icon,
    .consultation-form a[href*="vkontakte"] .social-icon {
        position: absolute;
        top: 450px;
        /* На 40px ниже Telegram */
        left: 20px;
        /* Такое же смещение слева */
        width: 34px;
        height: 34px;
        z-index: 1000;
    }

    /* СКРЫТЬ ВСЕ ИКОНКИ СОЦСЕТЕЙ НА МОБИЛЬНЫХ */
    .social-icon,
    .footer-social {
        display: none !important;
    }

    .error-message {
        font-size: 13px;
        left: 64px;
        top: 44px;
        color: rgba(240, 1, 1, 0.2); /* 70% непрозрачности */
    }

}