:root {
    --accent-yellow: #f5b907;
    /* Тексты для светлых секций */
    --text-dark: #121212;
    --text-muted-dark: #5a606b;
    /* Тексты для темных секций (Hero, CTA, Карточки услуг) */
    --text-light: #ffffff;
    --text-muted-light: #a0a5b0;
    
    --bg-page: #ffffff;    /* Светлый фон основных секций */
    --bg-card: #f9f9f9;    /* Фон для светлых карточек */
    --border: rgba(0, 0, 0, 0.1);
    --border-hover: rgba(245, 185, 7, 0.6);
    --shadow-glow: 0 8px 32px rgba(0, 0, 0, 0.06);
}
:root {
    /* Точные цвета со скриншота */
    --base-dark: #13171e; /* Глубокий темный фон */
    --accent-yellow: #f5b907; /* Насыщенный желтый акцент */
    --text-light: #ffffff;
    --text-muted: #a0a5b0;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    scroll-behavior: smooth;
    background-color: #0b0d11;
}

/* --- Хедер --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--base-dark);
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 4%;
    box-sizing: border-box;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Эффект прозрачности при скролле ниже hero */
header.scrolled {
    background-color: rgba(19, 23, 30, 0.75);
    backdrop-filter: blur(12px);
    padding: 12px 4%;
}

/* --- Логотип и текст --- */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px; 
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text .title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.subtitle-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2px;
}

.subtitle-wrap .line {
    flex-grow: 1;
    height: 1px;
    background-color: var(--text-light);
    opacity: 0.7;
}

.logo-text .subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 4px;
    padding: 0 6px;
    text-transform: uppercase;
}

/* --- Навигация --- */
.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    position: relative;
    padding: 10px 0;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-yellow);
}

/* Стилизация активной страницы (желтая полоса снизу как на макете) */
.nav-links a.active {
    color: var(--accent-yellow);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent-yellow);
}

/* --- Правая часть: Телефон и Кнопка --- */
.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}


.cta-button {
    background-color: var(--accent-yellow);
    color: #000000;
    padding: 13px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.2s, background-color 0.3s;
}

.cta-button:hover {
    background-color: #e0a800;
    transform: translateY(-1px);
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.8rem;
    cursor: pointer;
}

/* --- Мобильное адаптивное меню --- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--base-dark);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.1, 0.9, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 80px 40px;
    box-sizing: border-box;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}

.mobile-menu.active {
    right: 0;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px; /* Привязываем кнопку к правому краю вместо левого */
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    z-index: 50; /* Гарантирует, что кнопка будет поверх ссылок меню */
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.mobile-nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
}

.mobile-nav-links a:hover {
    color: var(--accent-yellow);
}



/* --- Адаптивность для экранов (Планшеты и Мобильные) --- */
@media (max-width: 1120px) {
    .nav-links {
        gap: 20px;
    }
    .header-right {
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    .phone-block {
        display: none;
    }
    .cta-button {
        display: none;
    }
    .burger-menu {
        display: block;
    }
}


/* --- Секция Main Hero --- */
.main-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-image: url('../img/background-fone.png.webp'); 
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    color: var(--text-light);
    padding-top: 100px; 
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(15,18,25,0.9) 0%, rgba(15,18,25,0.6) 40%, rgba(15,18,25,0.2) 100%);
    z-index: 1;
}

.slider-arrow {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(19, 23, 30, 0.6);
    border: none;
    color: #fff;
    width: 50px;
    height: 80px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.slider-arrow:hover {
    background: var(--accent-yellow);
    color: #000;
}

.slider-arrow svg {
    width: 24px;
    height: 24px;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 5%;
    flex-grow: 1;
    width: 100%;
    box-sizing: border-box;
}

.hero-content {
    max-width: 700px;
}

.hero-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 20px 0;
    text-transform: uppercase;
}

.text-yellow {
    color: var(--accent-yellow);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #d1d5db;
    margin-bottom: 30px;
    max-width: 550px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-item svg {
    width: 28px;
    height: 28px;
    color: var(--accent-yellow);
}

.feature-item span {
    font-size: 0.85rem;
    line-height: 1.2;
    color: #e5e7eb;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-yellow {
    background-color: var(--accent-yellow);
    color: #000;
    border: 2px solid var(--accent-yellow);
}

.btn-yellow:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
}

.btn-outline svg {
    color: var(--accent-yellow);
}

.hero-right-card {
    background: rgba(40, 45, 55, 0.45); 
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px; 
    border-radius: 10px;
    width: 250px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    top: 0;
    position: absolute;
    right: 0; top: 30px;
}

.card-header {
    display: flex;
    align-items:    center; 
    justify-content: center;
    gap: 10px; 
    text-align: left;
    width: 100%;
}

.card-icon {
    width: 20px; 
    height: 20px;
    color: var(--accent-yellow);
    flex-shrink: 0;
}

.card-header span {
    font-size: 0.75rem; 
    font-weight: 500;
    line-height: 1.3;
    color: #e5e7eb;
}

.card-map {
    width: 85%; 
    height: auto;
    opacity: 0.8;
}

.card-footer {
    font-size: 0.7rem; 
    color: var(--text-muted);
}

.hero-stats-bar {
    position: relative;
    z-index: 2;
    background-color: #13171e; 
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 25px 5%;
    border-top: 1px solid rgba(255,255,255,0.05);
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    color: var(--accent-yellow);
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 60px;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-overlay {
        background: rgba(15, 18, 25, 0.8); 
    }

    .hero-features {
        justify-content: center;
    }

    .hero-right-card {
        display: none; 
    }

    .slider-arrow {
        display: none; 
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats-bar {
        grid-template-columns: 1fr 1fr;
        display: grid;
        text-align: left;
    }
    .stat-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-stats-bar {
        grid-template-columns: 1fr;
        justify-content: center;
        align-items: center;
    }
    .stat-item {
        justify-content: flex-start;
        padding-left: 15%;
    }
}
@media (max-width: 590px){
        .hero-features {
                grid-template-columns: 1fr 1fr;
        display: grid;
    }
}

/* ==========================================================================
   СЕКЦИЯ О НАС (ABOUT SECTION) - СВЕТЛАЯ ВЕРСИЯ
   ========================================================================== */
.about-section {
    background-color: #ffffff; 
    padding: 100px 4%;
    color: #13171e; 
    position: relative;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 80px;
    align-items: center;
}

.about-image-block {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-image-wrap {
    position: relative;
    width: 90%;
    max-width: 500px;
    aspect-ratio: 1 / 1; 
}

.about-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    position: relative;
    z-index: 2;
    filter: brightness(0.95) contrast(1.05);
}

.decor-lines {
    position: absolute;
    width: 80px;
    height: 80px;
    z-index: 1;
    pointer-events: none;
}

.decor-lines.tl {
    top: -20px;
    left: -20px;
    border-top: 3px solid var(--accent-yellow);
    border-left: 3px solid var(--accent-yellow);
}

.decor-lines.tl::before {
    content: '';
    position: absolute;
    top: 10px; left: 10px;
    width: 40px; height: 40px;
    border-top: 1px solid rgba(0,0,0,0.1); /* Сделали темной для белого фона */
    border-left: 1px solid rgba(0,0,0,0.1);
}

.decor-lines.br {
    bottom: -20px;
    right: -20px;
    border-bottom: 3px solid var(--accent-yellow);
    border-right: 3px solid var(--accent-yellow);
}

.decor-lines.br::before {
    content: '';
    position: absolute;
    bottom: 10px; right: 10px;
    width: 40px; height: 40px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    border-right: 1px solid rgba(0,0,0,0.1);
}

.about-content {
    display: flex;
    flex-direction: column;
}

.about-subtitle {
    font-size: 0.9rem;
    color: var(--accent-yellow);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dots-grid {
    width: 12px;
    height: 12px;
    background-image: radial-gradient(var(--accent-yellow) 2px, transparent 2px);
    background-size: 5px 5px;
    display: inline-block;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    color: #13171e; 
}

.about-description {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4b5563; 
    margin-bottom: 30px;
}

.about-meta-block {
    margin-bottom: 40px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.check-circle {
    background-color: rgba(245, 185, 7, 0.1);
    color: var(--accent-yellow);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
    border: 1px solid rgba(245, 185, 7, 0.3);
}

.list-text {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #4b5563;
}

.list-text strong {
    color: #13171e; 
}

.about-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1); 
    padding-top: 30px;
}

@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr; 
        gap: 50px;
    }
    
    .about-title {
        font-size: 2rem;
    }

    .main-image-wrap {
        max-width: 400px; 
    }
}

@media (max-width: 576px) {
    .about-section {
        padding: 60px 4%; 
    }
}


/* ==========================================================================
   СЕКЦИЯ ПОЧЕМУ ВЫБИРАЮТ НАС (WHY CHOOSE US) - ОБНОВЛЕННАЯ ПРЕМИУМ ВЕРСИЯ
   ========================================================================== */
.why-section {
background-color: white;
    padding: 120px 4%;
    color: #13171e;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.why-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Разделение на фото и контент */
    gap: 70px;
    align-items: center;
}

/* --- Левый блок: Изображение и декор --- */
.why-image-block {
    position: relative;
    width: 100%;
}

.why-img-wrap {
    position: relative;
    width: 90%;
}

.why-main-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 6px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 45px rgba(19, 23, 30, 0.15);
}

/* Смещенная желтая рамка за фотографией */
.why-decor-border {
    position: absolute;
    top: -18px;
    left: -18px;
    right: 18px;
    bottom: 18px;
    border: 2px solid var(--accent-yellow);
    border-radius: 6px;
    z-index: 1;
    pointer-events: none;
}

/* Парящая плашка поверх фото */
.why-decor-badge {
    position: absolute;
    bottom: 35px;
    right: -30px;
    background: var(--base-dark);
    color: #fff;
    padding: 22px 28px;
    border-radius: 6px;
    z-index: 3;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 4px solid var(--accent-yellow);
}

.why-decor-badge .badge-num {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--accent-yellow);
    line-height: 1;
    margin-bottom: 5px;
}

.why-decor-badge .badge-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    white-space: nowrap;
}

/* --- Правый блок: Контент и сетка карточек --- */
.why-content-block {
    display: flex;
    flex-direction: column;
}

.why-header {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 45px;
}

.why-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 10px 0 0 0;
    text-transform: uppercase;
    color: #13171e;
}

/* Компактная премиальная сетка 2х2 */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.why-card {
    background: #ffffff;
    border: 1px solid rgba(19, 23, 30, 0.04);
    padding: 35px 28px;
    border-radius: 6px;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 4px 20px rgba(19, 23, 30, 0.01);
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-yellow);
    box-shadow: 0 20px 40px rgba(19, 23, 30, 0.06);
}
.why-card:hover .why-icon {
    color: #000000; /* или var(--black), если используется переменная */
}
.why-icon-wrap {
    background: rgba(245, 185, 7, 0.08);
    color: var(--accent-yellow);
    width: 52px;
    height: 52px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border: 1px solid rgba(245, 185, 7, 0.12);
    transition: background 0.3s ease, color 0.3s ease;
}

.why-card:hover .why-icon-wrap {
    background: var(--accent-yellow);
    color: #000000;
}

.why-icon {
    width: 26px;
    height: 26px;
}

.why-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #13171e;
}

.why-card-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #4b5563;
    margin: 0;
}

/* --- Адаптивность для мобильных устройств --- */
@media (max-width: 1200px) {
    .why-container {
        gap: 40px;
    }
    .why-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 992px) {
    .why-container {
        grid-template-columns: 1fr; /* Перестраиваем в одну колонку: фото сверху, контент снизу */
        gap: 60px;
    }
    .why-image-block {
        max-width: 480px;
        margin: 0 auto;
    }
    .why-img-wrap {
        width: 100%;
    }
    .why-header {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .why-section {
        padding: 70px 4%;
    }
    .why-grid {
        grid-template-columns: 1fr; /* Карточки встают вертикально друг под друга */
        gap: 20px;
    }
    .why-card {
        padding: 30px 22px;
    }
    .why-decor-badge {
        right: -10px;
        bottom: 20px;
        padding: 15px 20px;
    }
    .why-title {
        font-size: 1.8rem;
    }
}
/* ==========================================================================
   СЕКЦИЯ УСЛУГ — СВЕТЛАЯ И КРАСОЧНАЯ ВЕРСИЯ
   ========================================================================== */
.services-section {
    background-color: #f0f2f5; /* Приятный светло-серый оттенок для контраста с чисто белым "О нас" */
    padding: 100px 4%;
    color: #13171e;
    position: relative;
    overflow: hidden; 
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-top-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-end;
    margin-bottom: 60px;
}

.services-main-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 15px 0 0 0;
    text-transform: uppercase;
    color: #13171e;
}

.services-header-right p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
}

.services-slider-container {
    width: 100%;
    overflow: scroll;
    position: relative;
    padding-top: 50px; 
    padding-left: 20px; 
    margin-left: -20px; 
}
/* Скрываем скроллбар для контейнера услуг */
.services-slider-container,
.services-grid, 
.services-track,
.process-grid {
    -ms-overflow-style: none;  /* Для Internet Explorer и Edge */
    scrollbar-width: none;  /* Для Firefox */
}

/* Для Chrome, Safari и Opera */
.services-slider-container::-webkit-scrollbar,
.services-grid::-webkit-scrollbar,
.services-track::-webkit-scrollbar,
.process-grid::-webkit-scrollbar {
    display: none;
}
.services-slider-track {
    display: flex;
    gap: 30px; 
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    /* Добавляем вид курсора "рука" */
    cursor: grab;
}
/* Курсор при зажатии мыши */
.services-slider-track:active {
    cursor: grabbing;
}
.services-track {
    -ms-overflow-style: none;  /* IE и Edge */
    scrollbar-width: none;  /* Firefox */
}
.services-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
.service-card {
    position: relative;
    flex: 0 0 calc(25% - 22.5px); 
    cursor: pointer;
    background: transparent;
    border: none;
}

.service-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.service-number {
    position: absolute;
    top: -45px;      
    left: -20px;     
    font-size: 5rem; 
    font-weight: 700;
    color: var(--accent-yellow);  
    line-height: 1;
    z-index: 3;
    letter-spacing: -2px;
    pointer-events: none;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9); 
    transition: filter 0.5s ease, transform 0.5s ease;
}

.service-card:hover .service-img {
    filter: brightness(1.05); 
    transform: scale(1.05); 
}

.service-info-box {
    position: absolute;
    bottom: 30px; 
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95); 
    padding: 22px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover .service-info-box {
    background-color: #ffffff; 
}

.service-info-box h4 {
    font-size: 1.05rem;
    font-weight: 700; 
    margin: 0;
    color: #13171e; 
    letter-spacing: 0.5px;
}

.service-arrow {
    color: #13171e; 
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-arrow {
    color: var(--accent-yellow);
    transform: translate(3px, -3px);
}

.services-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
}

.services-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.15); 
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.services-dot.active {
    background-color: var(--accent-yellow);
    transform: scale(1.25);
}

.services-bottom-action {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

@media (max-width: 1200px) {
    .service-card { flex: 0 0 calc(40% - 15px); }
}

@media (max-width: 650px) {
    .service-card { flex: 0 0 calc(80% - 20px); }
    .service-number { font-size: 4rem; top: -35px; left: -10px; }
}

@media (max-width: 992px) {
    .services-top-header { grid-template-columns: 1fr; gap: 25px; }
}


/* ==========================================================================
   МИНИ-СЕКЦИЯ СТА (ГОТОВЫ НАЧАТЬ ПРОЕКТ) С ФОНОМ
   ========================================================================== */
.mini-cta-section {
    background-image: url('../img/banner-fone.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
    padding: 60px 4%;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.mini-cta-container {
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 6px;
    padding: 60px 60px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden; 
}

.mini-cta-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(19, 23, 30, 0.95) 0%, rgba(19, 23, 30, 0.75) 100%);
    z-index: -1;
}

.mini-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.mini-cta-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 750px;
}

.mini-cta-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.mini-cta-text {
    font-size: 1.15rem;
    color: #e5e7eb; 
    margin: 0;
    line-height: 1.5;
}

.btn-mini-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-yellow);
    color: #000000;
    padding: 16px 38px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(245, 185, 7, 0.15);
}

.btn-mini-cta:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 185, 7, 0.3);
}

@media (max-width: 992px) {
    .mini-cta-container {
        padding: 45px 40px;
    }
    .mini-cta-container::before {
        background: rgba(19, 23, 30, 0.9);
    }
    .mini-cta-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    .btn-mini-cta {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 600px) {
    .mini-cta-section {
        padding: 40px 4%;
    }
    .mini-cta-container {
        padding: 35px 25px;
    }
    .mini-cta-title {
        font-size: 1.8rem;
    }
    .mini-cta-text {
        font-size: 1rem;
    }
}
/* --- Выпадающий языковой список (Dropdown) --- */
.lang-dropdown {
    position: relative;
    display: inline-block;
    margin-right: 25px; /* Отступ от телефона */
}

.lang-dropbtn {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.lang-dropbtn:hover {
    color: var(--accent-yellow);
}

.arrow-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

/* Вращение стрелочки при открытии */
.lang-dropdown.active .arrow-icon {
    transform: rotate(180deg);
}

.lang-dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #1a1a1a; /* Темный премиальный фон */
    min-width: 60px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.5);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Показываем меню */
.lang-dropdown.active .lang-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.lang-option {
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 15px;
    text-align: center;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.lang-option:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--accent-yellow);
}

.lang-option:first-child { border-radius: 6px 6px 0 0; }
.lang-option:last-child { border-radius: 0 0 6px 6px; }
/* --- Мобильные языковые кнопки --- */
.mobile-lang-switcher {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
}

.mobile-lang-switcher .lang-btn {
    flex: 1; /* Кнопки будут одинаковой ширины */
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-lang-switcher .lang-btn.active,
.mobile-lang-switcher .lang-btn:hover {
    background: var(--accent-yellow);
    color: #000;
    border-color: var(--accent-yellow);
}
@media (max-width: 480px) {
    /* Скрываем десктопный дропдоун выбора языка */
    .lang-dropdown {
        display: none;
    }

    /* Сужаем шапку и логотип */
    header {
        padding: 12px 4%;
    }
    
    .logo-img {
        height: 35px;
    }

    .logo-container {
        gap: 10px;
    }

    .logo-text .title {
        font-size: 1.1rem;
    }

    .logo-text .subtitle {
        font-size: 0.6rem;
        letter-spacing: 2px;
    }

    /* Мобильное меню на весь экран для удобства на 320px */
    .mobile-menu {
        width: 100%;
        padding: 60px 20px;
    }

    /* Адаптация текста и кнопок в Hero */
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    /* Выравниваем иконки преимуществ */
    .hero-features {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        display: flex;
    }

    .feature-item span {
        font-size: 0.8rem;
    }
    
    .feature-item br { 
        display: none; 
    }

    /* Кнопки на всю ширину экрана */
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn {
        width: 100%;
        box-sizing: border-box;
    }

    /* Исправление нижнего бара со статистикой */
    .hero-stats-bar {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
        justify-content: center;
        align-items: center;
    }


}
/* ─── PREMIUM FOOTER ─── */
.site-footer {
  background-color: #0a0d14; /* Чуть темнее хедера для глубины */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 4%;
  margin-top: auto;
}

.footer-bottom {
  max-width: 1100px; /* Выравнивание по ширине контента */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright {
  color: var(--text-muted, #a0a5b0);
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.02em;
}

.creator {
  color: var(--text-muted, #a0a5b0);
  font-size: 14px;
  font-weight: 400;
  margin: 0;
}

/* Стилизация ссылки в стиле макета, но с фирменным цветом */
.creator a {
  color: var(--accent-yellow, #f5b907);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 2px;
  transition: opacity 0.3s ease;
}

/* Красивое подчеркивание с эффектом при наведении */
.creator a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--accent-yellow, #f5b907);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: right;
}

.creator a:hover::after {
  transform-origin: left;
  transform: scaleX(0);
}

/* --- Адаптация футера (вплоть до 320px) --- */
@media (max-width: 650px) {
  .site-footer {
    padding: 24px 20px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 12px;
  }

  .copyright, .creator {
    font-size: 13px; /* Чуть уменьшаем шрифт для мобилок */
  }
}

/* ── СЕКЦИЯ СТА (ОСТАЛАСЬ ТЕМНОЙ) ── */
.service-cta {
    background-image: linear-gradient(to right, rgba(11, 13, 17, 0.95) 30%, rgba(11, 13, 17, 0.6)), url('../img/sercta1.jpg');
    background-size: cover;
    background-position: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 100px 6%;
    position: relative;
}

.cta-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cta-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-light);
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 15px;
}

.cta-text p {
    color: var(--text-muted-light);
    font-size: 1.1rem;
    max-width: 600px;
}

.cta-btn {
    background-color: var(--accent-yellow);
    color: #000000;
    padding: 18px 40px;
    border-radius: 0px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(245, 185, 7, 0.2);
    white-space: nowrap;
}

.cta-btn:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

/* АДАПТИВ */
@media (max-width: 768px) {
    .service-hero h1 { font-size: 2.2rem; }
    .cta-inner { flex-direction: column; text-align: center; }
    .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .process-grid { grid-template-columns: 1fr; }
}
/* --- КНОПКА "НАВЕРХ" --- */
.scroll-top-btn {
    position: fixed;
    bottom: 40px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: #13171e; /* Темный фон в стиле сайта */
    color: var(--accent-yellow); /* Желтый акцент */
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 999;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    border-radius: 0px; /* Строгие углы без скруглений */
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Класс, который будет добавляться через JS при прокрутке */
.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background-color: var(--accent-yellow);
    color: #000000;
    border-color: var(--accent-yellow);
    transform: translateY(-3px); /* Легкий эффект приподнимания */
}

.scroll-top-btn svg {
    width: 24px;
    height: 24px;
}