body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #0D0D0D;
    color: #ffffff;
    overflow-x: hidden;
}
main {
    padding-top: 80px;
}
.cta-button {
    background: #FF6B00;
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}
.cta-button:hover {
    background: #ff8533;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
    transform: translateY(-3px);
}

/* === ИЗМЕНЕНИЕ: Стили для уведомления об обновлении === */
.update-notification {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translate(-50%, -30px);
    background-color: #1A1A1A;
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid #FF6B00;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s ease;
}
.update-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
}
.update-notification p {
    margin: 0;
    font-weight: 500;
}
.update-notification button {
    background-color: #FF6B00;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}
.update-notification button:hover {
    background-color: #ff8533;
}

/* === СТИЛИ ДЛЯ СТРАНИЦЫ УСЛУГ === */
.service-block {
    padding: 100px 5vw;
    background-color: #111;
    border-bottom: 1px solid #222;
}
.service-block-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}
.service-block.reversed .service-block-container {
    flex-direction: row-reverse;
}
.service-text-content {
    flex: 1;
}
.service-image-content {
    flex: 1;
}
.service-image-content img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.service-h1, .service-h2 {
    font-weight: 900;
    color: #FF6B00;
    margin-top: 0;
}
.service-h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}
.service-h2 {
    font-size: 2.8rem;
    line-height: 1.3;
}
.service-text-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ccc;
    max-width: 50ch;
}
.service-block-container.column-layout {
    display: block; /* Убираем flex, чтобы элементы шли друг за другом */
}
.service-block-container.column-layout .service-h2 {
    margin-bottom: 40px; /* Отступ после заголовка */
}
.converter-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}
.converter-bottom-row {
    margin-top: 40px;
}
.converter-bottom-row p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #aaa;
    max-width: none;
}
.converter-bottom-row p strong {
    color: #FF6B00;
    font-weight: 600;
}

.currency-converter {
    background-color: #1A1A1A;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 25px;
    width: 100%;
}
.currency-toggle {
    display: flex;
    background-color: #222;
    border-radius: 8px;
    padding: 5px;
    margin-bottom: 20px;
}
.toggle-button {
    flex: 1;
    padding: 10px;
    border: none;
    background-color: transparent;
    color: #888;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.toggle-button.active {
    background-color: #FF6B00;
    color: white;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
}
.converter-row {
    display: flex;
    align-items: center;
    gap: 20px;
}
.converter-field {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.converter-field label {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 8px;
}
.converter-field input {
    background: #222;
    border: 1px solid #444;
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    width: 100%;
    box-sizing: border-box;
}
.converter-field input:focus {
    outline: none;
    border-color: #FF6B00;
}
.converter-icon {
    font-size: 1.5rem;
    color: #888;
    padding-top: 25px;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}
.converter-icon:hover {
    color: #FF6B00;
}
.converter-rate {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #888;
}

.form-section-standalone {
    padding: 100px 5vw;
    background-color: #0D0D0D;
}
.form-container {
    background: #1A1A1A;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #333;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}
.form-container h3 {
    font-size: 2rem;
    color: #FF6B00;
    margin: 0 0 15px 0;
}
.form-container p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 30px;
}
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.modal-form input, .modal-form textarea {
    background: #222;
    border: 1px solid #444;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}
.modal-form input:focus, .modal-form textarea:focus {
    outline: none;
    border-color: #FF6B00;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
}
.modal-form textarea {
    resize: vertical;
    min-height: 100px;
}
.modal-form input[type="tel"]{

        padding-left: 0px;
     width: auto;
     padding: 1rem;
}
/* Адаптивность */
@media (max-width: 768px) {
    .service-block-container,
    .service-block.reversed .service-block-container {
        flex-direction: column;
    }
    .service-h1 {
        font-size: 2.5rem;
    }
    .service-h2 {
        font-size: 2rem;
    }
    .currency-converter{
        width: auto;
    }
    .converter-top-row {
        grid-template-columns: 1fr; /* Одна колонка на мобильных */
        gap: 30px;
    }
    .converter-row {
        flex-direction: column;
        gap: 15px;
    }
    .converter-icon {
        padding-top: 0;
        transform: rotate(90deg);
    }
    .converter-field input {
        font-size: 1.2rem;
    }
}
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 99999; 
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    min-width: 300px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.toast-success {
    background: rgba(30, 130, 76, 0.8);
    backdrop-filter: blur(5px);
}
.toast-error {
    background: rgba(192, 57, 43, 0.8);
    backdrop-filter: blur(5px);
}
.toast i {
    font-size: 1.5rem;
}
.toast p {
    margin: 0;
    font-weight: 500;
}
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.7);
}
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 5vw;
    box-sizing: border-box;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}
body.lang-ua .lang-switcher a[data-lang="ua"] {
    background-color: #FF6B00;
    color: white;
    cursor: default;
    pointer-events: none; /* Делаем активную ссылку некликабельной */
}
body.lang-ua .lang-switcher a[data-lang="ua"]:hover {
    background-color: #FF6B00; /* Предотвращаем изменение цвета при наведении */
}

body.lang-ru .lang-switcher a[data-lang="ru"] {
    background-color: #FF6B00;
    color: white;
    cursor: default;
    pointer-events: none; /* Делаем активную ссылку некликабельной */
}
body.lang-ru .lang-switcher a[data-lang="ru"]:hover {
    background-color: #FF6B00; /* Предотвращаем изменение цвета при наведении */
}
body.lang-eng .lang-switcher a[data-lang="en"] {
    background-color: #FF6B00;
    color: white;
    cursor: default;
    pointer-events: none; /* Делаем активную ссылку некликабельной */
}
body.lang-eng .lang-switcher a[data-lang="en"]:hover {
    background-color: #FF6B00; /* Предотвращаем изменение цвета при наведении */
}
.logo a {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
}
.logo span {
    display: inline-block;
    animation: neon-flicker 3s infinite;
    animation-delay: calc(var(--i) * 0.15s);
}
@keyframes neon-flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        text-shadow: 0 0 4px #fff, 0 0 11px #FF6B00, 0 0 19px #FF6B00;
        color: #fff;
    }
    20%, 24%, 55% { text-shadow: none; color: #888; }
}
.main-nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav a {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}
.main-nav a:hover {
    color: #FF6B00;
}
.dropdown > a i {
    font-size: 0.7em;
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.dropdown:hover > a i {
    transform: rotate(180deg);
}

/* Стили для "Мега-меню" */
.mega-menu {
    position: static; /* Важно для полноэкранного меню */
}
.mega-menu-content {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 5vw;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    gap: 40px;
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s ease;
}
.mega-menu:hover .mega-menu-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.mega-menu-column {
    flex: 1;
    max-width: 350px;
}
.mega-menu-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}
.mega-menu-item:hover {
    background-color: rgba(255, 107, 0, 0.1);
}
.mega-menu-item i {
    font-size: 1.8rem;
    color: #FF6B00;
    margin-top: 5px;
}
.mega-menu-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 5px 0;
}
.mega-menu-text p {
    font-size: 0.9rem;
    color: #aaa;
    margin: 0;
    line-height: 1.5;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

/* Адаптивность хедера */
@media (max-width: 992px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(10px);
        padding: 20px;
        border-top: 1px solid #222;
        box-sizing: border-box; /* ИСПРАВЛЕНИЕ: Добавлено для корректного расчета ширины */
    }
    .main-nav.is-open {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    .main-nav li {
        width: 100%;
    }
    .main-nav a {
        display: flex;
        justify-content: space-between;
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .mega-menu {
        position: relative;
    }
    /* Переделываем мега-меню в простой аккордеон */
    .mega-menu-content {
        position: static;
        display: block;
        flex-direction: column;
        background: none;
        backdrop-filter: none;
        border: none;
        padding: 0 0 0 20px;
        margin-top: 10px;
        gap: 0;
        
        /* Логика аккордеона */
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height 0.5s ease-in-out;
    }
    .mega-menu:hover .mega-menu-content {
        /* Отключаем ховер на десктопе */
    }
    .dropdown.is-open .mega-menu-content {
        max-height: 500px; /* Максимальная высота для раскрытия */
    }
    .mega-menu-column {
        max-width: 100%;
    }
    .mega-menu-item {
        padding: 10px;
    }
    .dropdown.is-open > a i {
        transform: rotate(180deg);
    }
    .mobile-menu-toggle {
        display: block;
    }
}
body.lang-ua .lang-switcher a[data-lang="ua"] {
    background-color: #FF6B00;
    color: white;
    cursor: default;
    pointer-events: none; /* Делаем активную ссылку некликабельной */
}
body.lang-ua .lang-switcher a[data-lang="ua"]:hover {
    background-color: #FF6B00; /* Предотвращаем изменение цвета при наведении */
}

body.lang-ru .lang-switcher a[data-lang="ru"] {
    background-color: #FF6B00;
    color: white;
    cursor: default;
    pointer-events: none; /* Делаем активную ссылку некликабельной */
}
body.lang-ru .lang-switcher a[data-lang="ru"]:hover {
    background-color: #FF6B00; /* Предотвращаем изменение цвета при наведении */
}

.lang-switcher {
    display: flex;
    gap: 5px;
    background-color: #1A1A1A;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 5px;
}

.lang-switcher a {
    padding: 8px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    
    /* Стиль неактивной кнопки по умолчанию */
    background-color: transparent;
    color: #888;
}

/* Стиль при наведении на неактивную кнопку */
.lang-switcher a:hover {
    background-color: #2a2a2a;
    color: #fff;
}

.scroll-down-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #888;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
}
.scroll-down-hint .mouse {
    width: 24px;
    height: 40px;
    border: 2px solid #888;
    border-radius: 12px;
    position: relative;
}
.scroll-down-hint .mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: #888;
    border-radius: 2px;
    animation: scroll-wheel 1.5s ease-in-out infinite;
}
@keyframes scroll-wheel {
    0% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 10px); opacity: 0; }
    100% { transform: translate(-50%, 0); opacity: 1; }
}


.parallax-cta-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    color: white;
}
.parallax-bg {
     position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:url('../images_seo/banner.png');
    background-size: cover;
    background-position: center top; /* Начинаем с верха изображения */
    z-index: 1;
}
.cta-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}
.cta-content h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 20px 0;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.cta-content p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 30px auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.cta-content .cta-button {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 107, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
    }
}
.content-after-cta
{
    z-index:3 ;
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* Делаем кликабельным */
}
.modal-content {
    position: relative;
    background: #1A1A1A;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #333;
    width: 100%;
    max-width: 450px;
    text-align: center;
     transform: scale(0.9);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2.5rem;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.modal-close:hover {
    color: #FF6B00;
    transform: rotate(90deg);
}
.modal-content h3 {
    font-size: 2rem;
    color: #FF6B00;
    margin: 0 0 15px 0;
}
.modal-content p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 30px;
}
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.modal-form input, .modal-form textarea {
    background: #222;
    border: 1px solid #444;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}
.modal-form input:focus, .modal-form textarea:focus {
    outline: none;
    border-color: #FF6B00;
    box-shadow: 0 0 10px #FF6B00;
}
.modal-form textarea {
    resize: vertical;
    min-height: 100px;
}
.phone-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.phone-prefix {
    position: absolute;
    left: 1rem;
    color: #888;
    font-size: 1rem;
    pointer-events: none; /* Чтобы можно было кликнуть сквозь префикс */
}
.modal-form input[type="tel"] {
    padding-left: 55px; /* Освобождаем место для префикса +380 */
    width: 100%;
}