/* ===== ОСНОВНЫЕ СТИЛИ ===== */
.text-style p {
    color: var(--accent);
}

.servises-block h1 {
    margin-left: 30px;
    margin-bottom: 0;
}

/* ===== КНОПКИ ВЫБОРА СЕРВИСА ===== */
.button-selection {
    width: 270px;
    height: 50px;
    margin-left: 15px;
    margin-top: 15px;
    padding-left: 15px;
    border-radius: var(--br-md);
    border: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: 0.3s all;
    background: none;
}

.button-selection svg {
    margin-right: 10px;
}

.button-selection:active svg > path {
    fill: white;
}

.button-selection:hover {
    background-color: #EBF5FE;
}

.button-selection:active {
    background: #479FF8;
}

.button-selection p {
    transition: 0.3s all;
    font-size: var(--font-md);
}

.button-selection:active p {
    color: white;
    fill: white;
}

/* ===== БЛОКИ СЕРВИСОВ ===== */
.service-wrapper {
    width: 100%;
    justify-content: space-between;
}

/* ===== БЛОКИ СЕРВИСОВ ===== */
.servises-block {
    width: 308px;
    height: 301px;
    border-radius: var(--br-xl);
    top: 120px;
    position: sticky;
    background: var(--main);
    overflow-y: auto;           /* ← ДОБАВИТЬ */
    overflow-x: hidden;         /* ← ДОБАВИТЬ */
    display: flex;              /* ← ДОБАВИТЬ */
    flex-direction: column;     /* ← ДОБАВИТЬ */
}

/* Стили скроллбара для ПК */
.servises-block::-webkit-scrollbar {
    width: 6px;
}

.servises-block::-webkit-scrollbar-track {
    background: transparent;
}

.servises-block::-webkit-scrollbar-thumb {
    background: #479FF8;
    border-radius: 3px;
}

.servises-block::-webkit-scrollbar-thumb:hover {
    background: #0081FF;
}


.aboutCompany {
    width: 982px;
    margin-left: var(--m-5xl);
}

.aboutCompany p {
    color: var(--main-text);
}

.icon-border {
    border-radius: var(--br-md);
}

/* ===== ЗАГОЛОВОК СТРАНИЦЫ ===== */
.under-header {
    width: 100%;
    height: 300px;
    position: relative;
    align-items: center;
}

figure.sixteen-nine-img {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding-top: 56.25%;
    position: relative;
    margin-top: 50px;
    margin-bottom: 50px;
    background: linear-gradient(288.75deg, #595959 2.2%, #3C3C3C 78.38%);
    border-radius: var(--br-xl);
}

figure.sixteen-nine-img img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
}

/* ===== СОТРУДНИКИ ===== */
.employee_avatar {
    width: 256px;
    height: 256px;
    background: linear-gradient(288.75deg, #595959 2.2%, #3C3C3C 78.38%);
    border-radius: var(--br-xl);
    overflow: hidden;
}

.employees {
    gap: 42px;
}

.w-100 {
    width: 100%;
}

.substrate {
    width: 900px;
    height: 150px;
    border-radius: 15px;
    background-color: var(--main);
}

.substrate-text {
    margin-left: 25px;
}

.adaptive-img-none {
    position: absolute;
    right: 0;
    bottom: 0;
}

/* ===== МЕДИА-ЗАПРОСЫ: 1340px ===== */
@media screen and (max-width: 1340px) {
    .aboutCompany {
        width: 738px;
    }
    
    .substrate {
        width: 550px;
    }
    
    .employee_avatar {
        width: 218px;
        height: 218px;
        display: flex;
        justify-content: center;
    }
    
    /* ← ДОБАВИТЬ */
    .servises-block {
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    
    .servises-block::-webkit-scrollbar {
        width: 6px;
    }
    
    .servises-block::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .servises-block::-webkit-scrollbar-thumb {
        background: #479FF8;
        border-radius: 3px;
    }
}


/* ===== МЕДИА-ЗАПРОСЫ: 1100px ===== */
@media screen and (max-width: 1100px) {
    .aboutCompany {
        width: 550px;
    }
    
    .substrate {
        width: 550px;
        position: absolute;
        z-index: 1;
    }
    
    .adaptive-img-none {
        width: 500px;
    }
    
    .employees {
        overflow-x: auto;
    }
    
    /* ← ДОБАВИТЬ */
    .servises-block {
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    
    .servises-block::-webkit-scrollbar {
        width: 6px;
    }
    
    .servises-block::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .servises-block::-webkit-scrollbar-thumb {
        background: #479FF8;
        border-radius: 3px;
    }
}


/* ===== МЕДИА-ЗАПРОСЫ: 992px (ПЛАНШЕТ) ===== */
@media screen and (max-width: 992px) {
    .aboutCompany {
        width: 400px;
        margin-left: 0;
    }
    
    .servises-block {
        width: 100%;
        height: 94px;
        margin-bottom: 25px;
        display: flex;
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        position: static;
        overflow-x: auto;           /* ← ИЗМЕНИТЬ на auto */
        overflow-y: hidden;         /* ← ДОБАВИТЬ */
        padding: 10px 0;            /* ← ДОБАВИТЬ */
    }
    
    /* Стили скроллбара для планшета */
    .servises-block::-webkit-scrollbar {
        height: 4px;
    }
    
    .servises-block::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .servises-block::-webkit-scrollbar-thumb {
        background: #479FF8;
        border-radius: 2px;
    }
    
    .substrate {
        width: 400px;
        height: 200px;
    }
    
    .adaptive-img-none {
        position: absolute;
        right: 0;
        width: 420px;
    }
    
    .service-wrapper {
        flex-direction: column;
    }
    
    .aboutCompany {
        width: 100%;
        margin-left: 0;
    }
    
    .servises-block button {
        flex-shrink: 0;
    }
    
    .servises-block h1 {
        margin-bottom: 0;
        white-space: nowrap;
    }
}


/* ===== МЕДИА-ЗАПРОСЫ: 768px (МОБИЛЬНЫЙ) ===== */
@media screen and (max-width: 768px) {
    .servises-block {
        width: 100%;
        height: auto;
        max-height: 120px;
        margin-bottom: 25px;
        display: flex;
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        position: static;
        overflow-x: auto !important;
        overflow-y: hidden;
        padding: 10px 0;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Стили скроллбара */
    .servises-block::-webkit-scrollbar {
        height: 4px;
    }
    
    .servises-block::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .servises-block::-webkit-scrollbar-thumb {
        background: #479FF8;
        border-radius: 2px;
    }
    
    /* ← ОДИН блок .button-selection */
    .button-selection {
        width: auto;
        height: auto;
        padding: 10px 15px;
        margin: 8px 5px;
        margin-left: 15px;
        flex-shrink: 0;
        white-space: nowrap;
        border-radius: var(--br-md);
    }
    
    .button-selection p {
        margin: 0;
    }
    
    .servises-block h1 {
        margin-bottom: 0;
        white-space: nowrap;
    }
    
    .new-font-size {
        font-size: var(--font-rt);
    }
    
    .adaptive-img-none {
        display: none;
    }
    
    .service-wrapper {
        flex-direction: column;
    }
    
    .aboutCompany {
        width: 100%;
        margin-left: 0;
        padding: 0 15px;
    }
    
    .employees {
        overflow-x: scroll;
        gap: 20px;
    }
    
    .employee_avatar {
        width: 150px;
        height: 150px;
        flex-shrink: 0;
    }
    
    .substrate {
        background: none;
        width: 100%;
        height: auto;
        padding: 20px 15px;
    }
    
    .under-header {
        height: auto;
        margin-top: 15px;
        margin-bottom: 30px;
        color: #EBF5FE;
        background: linear-gradient(to left, #479FF8, #0081FF);
        border-radius: 15px;
        padding: 30px 15px;
    }
    
    figure.sixteen-nine-img {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}


/* ===== ФОРМА И КОНТАКТЫ ===== */
.data {
    margin-right: 10px;
}

.map {
    width: 100%;
    height: 300px;  
    max-width: 600px;
    border-radius: var(--br-xl);
}

.main-input {
    width: 100%;
    height: 40px;
    border-radius: var(--br-sm);
    padding-left: 10px;
    background: var(--main);
    border: none;
}

.email-margin {
    margin-right: 25px;
}

.second-input {
    width: 99%;
    height: 130px;
    background: var(--main);
    border: solid 1px var(--input-border);
    padding-top: 10px;
    padding-left: 10px;
}

.contacts-data {
    width: 585px;
    margin-left: 20px;  /* ← изменено с 60px */
    padding-top: 0;     /* ← убрал отступ */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}


.send {
    margin-top: 12px;
}

.footer {
    margin-top: 100px;
}

.comment-input {
    max-width: 100%;
}

.deranged-data {
    width: 700px;
}

/* ===== МЕДИА-ЗАПРОСЫ: КОНТАКТЫ 992px ===== */
@media screen and (max-width: 992px) {
    .contacts-data {
        margin: 0;
        width: 100%;
        align-items: flex-start;
    }
    
    .contacts-text {
        width: 100%;
    }
    
    .deranged-data {
        width: 100%;
    }
    
    .map {
        width: 100%;
        height: 250px;
    }
}

/* ===== МЕДИА-ЗАПРОСЫ: КОНТАКТЫ 768px ===== */
@media screen and (max-width: 768px) {
    .contacts-data {
        width: 100%;
        margin-left: 0;
        padding: 0 15px;
    }
    
    .deranged-data {
        width: 100%;
        padding: 0 15px;
    }
    
    .email-margin {
        margin-right: 0;
    }
    
    .main-input {
        height: 45px;
        font-size: 16px;
    }
    
    .second-input {
        width: 100%;
        height: 120px;
        padding: 10px;
    }
    
    .send {
        margin-top: 8px;  
    }
    
    .input-group {
        margin-bottom: 10px;  
    }
}


/* ===== POPUP И МОДАЛЫ ===== */
.background-popup {
    width: 100%;
    height: 100vh;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.205);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 100;
}

.table-popup {
    width: 400px;
    min-height: 400px;
    padding: 25px;
    position: relative;
    background-color: var(--main);
    border-radius: 10px;
}

@media screen and (max-width: 768px) {
    .table-popup {
        width: 90%;
        min-height: auto;
        max-height: 80vh;
        overflow-y: auto;
    }
}

.redCross {
    position: absolute;
    right: 30px;
    top: 30px;
    cursor: pointer;
}

/* ===== ТАБЛИЦЫ ===== */
.Service {
    margin-right: 400px;
    padding-left: 60px;
    white-space: nowrap;
    vertical-align: top;
}

.active-table {
    border-radius: 10px;
}

.active-table1 {
    border: 1px solid var(--accent);
    border-radius: 10px;
}

.clarification {
    color: var(--second-text);
}

.numbers {
    vertical-align: top;
}

.information-table {
    margin-top: 50px;
    margin-bottom: 50px;
    cursor: pointer;
}

.information-table p {
    font-weight: 400;
    font-size: 16px;
}

.tabular-line {
    width: 100%;
    border-radius: var(--br-md);
    border: 1px solid var(--bg);
    transition: 0.3s all;
}

.modal-table {
    min-width: 400px;
    border-radius: 10px;
    padding: 25px;
    position: fixed;
    margin: auto;
    z-index: 1;
    background-color: var(--main);
}

.tabular-line:hover {
    border: 1px solid var(--accent);
}

.information-table :nth-child(1):hover {
    border: 1px solid var(--bg);
}

.tabular-line > *:nth-child(1) {
    width: 88px;
    display: flex;
    justify-content: center;
}

.tabular-line > *:nth-child(2) {
    width: 168px;
}

.tabular-line > *:nth-child(3) {
    width: 932px;
}

.tabular-line > *:nth-child(4) {
    width: 146px;
    display: flex;
    align-items: center;
}

.tabular-line > *:nth-child(5) {
    width: 146px;
    display: flex;
    align-items: center;
}

@media screen and (max-width: 1200px) {
    .tabular-line > *:nth-child(3) {
        width: 697px;
    }
}

@media screen and (max-width: 992px) {
    .tabular-line > *:nth-child(3) {
        width: 488px;
    }
}

@media screen and (max-width: 768px) {
    .tabular-line > *:nth-child(3) {
        width: 265px;
    }
    
    .information-table {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 576px) {
    .tabular-line > *:nth-child(3) {
        width: 144px;
        margin: 0;
    }
    
    .tabular-line > *:nth-child(1),
    .tabular-line > *:nth-child(2),
    .tabular-line > *:nth-child(4),
    .tabular-line > *:nth-child(5) {
        font-size: 12px;
        width: auto;
    }
}
/* СЕТКА УСЛУГ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.service-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.service-card h3 {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.service-card p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* ТЁМНАЯ ТЕМА ДЛЯ УСЛУГ */
body.dark-theme .service-card {
    background: #2d2d2d;
    border-color: #444;
}

body.dark-theme .service-card h3 {
    color: #e0e0e0;
}

body.dark-theme .service-card p {
    color: #b0b0b0;
}

body.dark-theme [style*="color: #333"] {
    color: #e0e0e0 !important;
}

body.dark-theme [style*="color: #555"] {
    color: #b0b0b0 !important;
}

/* ОБНОВЛЕННЫЙ TEMPLATE.CSS - ТОЛЬКО НОВЫЕ СТИЛИ ДЛЯ УСЛУГ */

/* ===== СЕТКА УСЛУГ ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--main);
    border: 1px solid var(--input-border);
    border-radius: var(--br-xl);
    padding: var(--m-2xl);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    min-height: 400px;
}

.service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(71, 159, 248, 0.15);
    transform: translateY(-4px);
}

/* ЗАГОЛОВОК */
.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--m-md);
    gap: var(--m-md);
}

.service-header h3 {
    color: var(--accent);
    font-size: var(--font-rt);
    font-weight: var(--font-bold);
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.service-badge {
    background: #E8F0FF;
    color: var(--accent);
    padding: 4px 12px;
    border-radius: var(--br-sm);
    font-size: var(--font-xs);
    font-weight: var(--font-bold);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ОПИСАНИЕ */
.service-card .description {
    color: var(--second-text);
    font-size: var(--font-sm);
    line-height: 1.6;
    margin: 0 0 var(--m-xl) 0;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* ФИШКИ */
.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: var(--m-xl);
    padding: var(--m-md);
    background: var(--bg);
    border-radius: var(--br-md);
    border-left: 3px solid var(--accent);
}

.feature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-xs);
    gap: var(--m-md);
}

.feature-label {
    color: var(--second-text);
    font-weight: var(--font-bold);
    min-width: 100px;
}

.feature-value {
    color: var(--main-text);
    font-weight: 500;
    text-align: right;
}

.feature-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: var(--font-bold);
    background: #FFD4D4;
    color: #A01010;
    white-space: nowrap;
}

.feature-badge.active {
    background: #D4FFD4;
    color: #107A10;
}

/* КНОПКИ */
.service-actions {
    display: flex;
    gap: var(--m-md);
    margin-top: auto;
}

.btn-document,
.btn-detail {
    flex: 1;
    padding: 10px 12px;
    border-radius: var(--br-sm);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-sm);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: block;
}

.btn-document {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-document:hover {
    background: var(--accent);
    color: var(--main);
}

.btn-detail {
    background: linear-gradient(135deg, var(--accent) 0%, var(--blue-bg) 100%);
    color: var(--main);
}

.btn-detail:hover {
    background: linear-gradient(135deg, var(--blue-bg) 0%, var(--dark-blue-bg) 100%);
    transform: scale(1.02);
}

/* ===== ТАБЛИЦА ===== */
.services-table-title {
    font-size: var(--font-xl2);
    color: var(--main-text);
    margin-top: var(--m-5xl);
    margin-bottom: var(--m-2xl);
    border-bottom: 2px solid var(--accent);
    padding-bottom: var(--m-md);
}

.services-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--main);
    border-radius: var(--br-md);
    overflow: hidden;
    margin-bottom: var(--m-5xl);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.services-table thead {
    background: linear-gradient(135deg, var(--accent) 0%, var(--blue-bg) 100%);
}

.services-table th {
    color: var(--main);
    padding: var(--m-md) var(--m-xl);
    text-align: left;
    font-weight: var(--font-bold);
    font-size: var(--font-sm);
}

.services-table td {
    padding: var(--m-md) var(--m-xl);
    border-bottom: 1px solid var(--input-border);
    color: var(--main-text);
    font-size: var(--font-sm);
}

.services-table tbody tr:hover {
    background: var(--bg);
}

.table-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: var(--font-bold);
    transition: all 0.3s ease;
}

.table-link:hover {
    text-decoration: underline;
}

/* ===== CTA БЛОК ===== */
.services-cta {
    margin-top: var(--m-5xl);
    padding: var(--m-4xl);
    background: linear-gradient(135deg, var(--accent) 0%, var(--blue-bg) 100%);
    border-radius: var(--br-xl);
    text-align: center;
    color: var(--main);
    box-shadow: 0 4px 20px rgba(71, 159, 248, 0.25);
}

.services-cta h2 {
    color: var(--main);
    margin: 0 0 var(--m-md) 0;
    border: none;
    padding: 0;
    font-size: var(--font-xl2);
}

.services-cta p {
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 var(--m-2xl) 0;
    font-size: var(--font-md);
    line-height: 1.6;
}

.btn-cta {
    display: inline-block;
    background: var(--main);
    color: var(--accent);
    padding: var(--m-md) var(--m-3xl);
    border-radius: var(--br-sm);
    text-decoration: none;
    font-weight: var(--font-bold);
    font-size: var(--font-md);
    transition: all 0.3s ease;
    border: 2px solid var(--main);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    background: transparent;
    color: var(--main);
    border-color: var(--main);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* ===== МЕДИА: 768px ===== */
@media screen and (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--m-2xl);
    }

    .service-card {
        min-height: auto;
    }

    .service-header {
        flex-direction: column;
    }

    .service-badge {
        align-self: flex-start;
    }

    .service-actions {
        flex-direction: column;
    }

    .btn-document,
    .btn-detail {
        width: 100%;
    }

    .services-cta {
        padding: var(--m-2xl);
    }

    .btn-cta {
        display: block;
        width: 100%;
    }
}




/* header.html */

    /* ОБЩИЕ НАСТРОЙКИ */
    body {
        margin: 0;
        padding: 0;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        transition: background-color 0.3s ease, color 0.3s ease;
    }
    
    /* КАРТИНКА С ТЕКСТОМ ПЕРВОЙ */
    .hero-section {
    position: relative;
    width: 100%;
    min-height: 220px;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 15px;
}'); */
        background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.3)), url('../img/two-persons.png');
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 30px 15px;
    }
    
    .hero-text {
        color: white;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .hero-text h1 {
        font-size: 1.6rem;
        font-weight: 600;
        margin-bottom: 10px;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
        line-height: 1.3;
    }
    
    .hero-text p {
        font-size: 1rem;
        opacity: 0.9;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        line-height: 1.4;
        margin: 0;
    }
    
    /* ШАПКА */
    header.menu {
        background: white;
        padding: 10px 0 !important;
        border-bottom: 1px solid #eee;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        position: sticky;
        top: 0;
        z-index: 100;
        transition: background-color 0.3s ease;
    }
    
    /* ТЁМНАЯ ТЕМА */
    body.dark-theme header.menu {
        background: #2d2d2d;
        border-bottom-color: #444;
    }
    
    .menu-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
        position: relative;
    }
    
    .logo-section {
        display: flex;
        align-items: center;
        white-space: nowrap;
        z-index: 1001;
    }
    
    .ShariX-icon {
        height: 28px;
        margin-right: 8px;
    }
    
    .sharix-menu-text {
        font-size: 0.95rem;
        font-weight: 500;
        color: #333;
        margin: 0;
        transition: color 0.3s ease;
    }
    
    body.dark-theme .sharix-menu-text {
        color: #e0e0e0;
    }
    
    /* ПРАВАЯ ЧАСТЬ HEADER - МЕНЮ И ПЕРЕКЛЮЧАТЕЛЬ */
    .header-right {
        display: flex;
        align-items: center;
        gap: 25px; /* УВЕЛИЧИЛ ДЛЯ ОТОДВИГАНИЯ КНОПКИ ТЕМЫ */
        flex: 1;
        justify-content: flex-end;
    }
    
    /* ПЕРЕКЛЮЧАТЕЛЬ ТЕМЫ */
    .theme-toggle {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 2px solid #d8d8d8;
        background-color: white;
        color: #333;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        position: relative;
        padding: 0;
    }
    
    .theme-toggle:hover {
        border-color: #479FF8;
        background-color: #EBF5FE;
    }
    
    body.dark-theme .theme-toggle {
        background-color: #333333;
        border-color: #444444;
        color: #e0e0e0;
    }
    
    body.dark-theme .theme-toggle:hover {
        background-color: #404040;
        border-color: #479FF8;
    }
    
    .theme-toggle svg {
        width: 20px;
        height: 20px;
        position: absolute;
        transition: all 0.3s ease;
        stroke-width: 2;
    }
    
    .theme-toggle .sun-icon {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
    
    .theme-toggle .moon-icon {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    
    body.dark-theme .theme-toggle .sun-icon {
        opacity: 0;
        transform: rotate(180deg) scale(0.5);
    }
    
    body.dark-theme .theme-toggle .moon-icon {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
    
    /* НАВБАР */
    .navbar {
        background: transparent !important;
        padding: 0 !important;
        margin: 0 15px 0 0 !important; /* ДОБАВИЛ ОТСТУП СПРАВА ДЛЯ ОТОДВИГАНИЯ ОТ КНОПКИ ТЕМЫ */
    }
    
    .navbar-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin: 0;
        padding: 0;
    }
    
    .navbar-nav .nav-link {
        color: #333 !important;
        padding: 8px 15px !important;
        font-size: 0.9rem;
        white-space: nowrap;
        border-radius: 4px;
        transition: all 0.2s;
        text-decoration: none;
        position: relative;
    }
    
    body.dark-theme .navbar-nav .nav-link {
        color: #e0e0e0 !important;
    }
    
    .navbar-nav .nav-link:hover {
        color: #479FF8 !important;
        background: #f5f9ff;
    }
    
    body.dark-theme .navbar-nav .nav-link:hover {
        background: #333333;
    }
    
    .navbar-nav .nav-link.active {
        color: #479FF8 !important;
    }
    
    /* СТИЛИ ДЛЯ ВЫПАДАЮЩЕГО МЕНЮ УСЛУГ */
    .services-dropdown {
        position: relative;
        display: flex;
        align-items: center;
    }
    
    .services-dropdown-toggle {
        display: flex;
        align-items: center;
        gap: 5px;
        cursor: pointer;
        padding: 8px 15px !important;
        border-radius: 4px;
        transition: all 0.2s;
        color: #333; /* Цвет для светлой темы */
        text-decoration: none;
        font-size: 0.9rem;
        white-space: nowrap;
        background: transparent;
        border: none;
    }
    
    /* ИСПРАВЛЕНИЕ БАГА: ДОБАВЛЕНО ДЛЯ ТЕМНОЙ ТЕМЫ */
    body.dark-theme .services-dropdown-toggle {
        color: #e0e0e0 !important;
    }
    
    .services-dropdown-toggle:hover {
        color: #479FF8 !important;
        background: #f5f9ff;
    }
    
    body.dark-theme .services-dropdown-toggle:hover {
        color: #479FF8 !important;
        background: #333333;
    }
    
    .dropdown-arrow {
        font-size: 10px;
        margin-left: 3px;
        transition: transform 0.3s ease;
        display: inline-block;
    }
    
    .services-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    /* ДЛЯ АКТИВНОГО СОСТОЯНИЯ В ТЕМНОЙ ТЕМЕ */
    body.dark-theme .services-dropdown.active .services-dropdown-toggle {
        color: #479FF8 !important;
    }
    
    /* ВЫПАДАЮЩЕЕ МЕНЮ - ДЕСКТОПНАЯ ВЕРСИЯ */
    .services-dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        min-width: 280px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        padding: 8px 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1002;
        max-height: 400px;
        overflow-y: auto;
        border: 1px solid #eee;
    }
    
    body.dark-theme .services-dropdown-menu {
        background: #2d2d2d;
        border-color: #444;
    }
    
    .services-dropdown.active .services-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(5px);
    }
    
    .dropdown-service-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 15px;
        color: #333;
        text-decoration: none;
        transition: all 0.2s;
        border-bottom: 1px solid #f5f5f5;
    }
    
    body.dark-theme .dropdown-service-item {
        color: #e0e0e0;
        border-bottom-color: #444;
    }
    
    .dropdown-service-item:last-child {
        border-bottom: none;
    }
    
    .dropdown-service-item:hover {
        background: #f5f9ff;
        color: #479FF8;
    }
    
    body.dark-theme .dropdown-service-item:hover {
        background: #333333;
    }
    
    .dropdown-service-item svg {
        flex-shrink: 0;
        width: 16px;
        height: 20px;
    }
    
    .dropdown-service-text {
        font-size: 0.9rem;
        line-height: 1.3;
        flex: 1;
    }
    
    /* БУРГЕР-МЕНЮ */
    .navbar-toggler {
        display: none !important;
        border: none;
        background: transparent;
        padding: 8px;
        cursor: pointer;
        margin-left: 10px;
    }
    
    .custom-burger {
        display: flex;
        flex-direction: column;
        width: 24px;
        height: 18px;
        justify-content: space-between;
    }
    
    .burger-line {
        height: 2px;
        width: 100%;
        background-color: #333;
        transition: all 0.3s ease;
        border-radius: 2px;
    }
    
    body.dark-theme .burger-line {
        background-color: #e0e0e0;
    }
    
    /* УСЛУГИ И О КОМПАНИИ РЯДОМ */
    .services-container {
        max-width: 1200px;
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .services-row {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .service-column {
        flex: 1;
        min-width: 300px;
    }
    
    .service-block {
        background: white;
        padding: 15px;
        border-radius: 8px;
        border: 1px solid #eee;
        box-shadow: 0 2px 6px rgba(0,0,0,0.04);
        height: 100%;
        transition: all 0.3s ease;
    }
    
    body.dark-theme .service-block {
        background: #2d2d2d;
        border-color: #444;
        color: #e0e0e0;
    }
    
    .service-block h3 {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 10px;
        color: #333;
        padding-bottom: 8px;
        border-bottom: 2px solid #479FF8;
    }
    
    body.dark-theme .service-block h3 {
        color: #e0e0e0;
    }
    
    .service-block p {
        color: #555;
        line-height: 1.5;
        font-size: 0.9rem;
        margin-bottom: 0;
    }
    
    body.dark-theme .service-block p {
        color: #b0b0b0;
    }
    
    /* ТЕЛЕФОННАЯ ВЕРСИЯ */
    @media (max-width: 768px) {
        /* ГЕРОЙ СЕКЦИЯ */
        .hero-section {
            min-height: 200px;
            padding: 20px 10px;
        }
        
        .hero-text h1 {
            font-size: 1.4rem;
            margin-bottom: 8px;
        }
        
        .hero-text p {
            font-size: 0.9rem;
        }
        
        /* ШАПКА */
        .menu-container {
            padding: 0 10px;
        }
        
        .ShariX-icon {
            height: 24px;
        }
        
        .sharix-menu-text {
            font-size: 0.85rem;
        }
        
        .header-right {
            gap: 15px;
        }
        
        .theme-toggle {
            width: 36px;
            height: 36px;
        }
        
        .theme-toggle svg {
            width: 18px;
            height: 18px;
        }
        
        /* БУРГЕР МЕНЮ - ПОКАЗЫВАЕМ БУРГЕР, СКРЫВАЕМ ОБЫЧНОЕ МЕНЮ */
        .navbar-toggler {
            display: block !important;
        }
        
        .navbar-nav {
            display: none !important;
            position: absolute;
            top: 100%;
            left: 10px;
            right: 10px;
            background: white;
            flex-direction: column !important;
            padding: 0;
            border-radius: 8px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            z-index: 1000;
            margin-top: 5px;
            gap: 0;
            max-height: 80vh;
            overflow-y: auto;
        }
        
        body.dark-theme .navbar-nav {
            background: #2d2d2d;
        }
        
        .navbar-nav.show {
            display: flex !important;
        }
        
        .navbar-nav .nav-link,
        .services-dropdown-toggle {
            width: 100%;
            text-align: left;
            padding: 12px 15px !important;
            margin: 0;
            justify-content: flex-start;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .navbar-nav .nav-link:last-child,
        .services-dropdown:last-child .services-dropdown-toggle {
            border-bottom: none;
        }
        
        /* ИСПРАВЛЕННАЯ АДАПТАЦИЯ ВЫПАДАЮЩЕГО МЕНЮ ДЛЯ МОБИЛЬНЫХ */
        .services-dropdown {
            width: 100%;
            display: block;
        }
        
        .services-dropdown-menu {
            position: static !important;
            left: 0 !important;
            transform: none !important;
            box-shadow: none;
            border-radius: 0;
            border: none;
            border-top: 1px solid #f0f0f0;
            margin-top: 0;
            max-height: 300px;
            opacity: 1;
            visibility: visible;
            display: none;
            width: 100%;
            padding: 0;
            background: #f9f9f9;
        }
        
        body.dark-theme .services-dropdown-menu {
            background: #2d2d2d;
            border-top-color: #444;
        }
        
        .services-dropdown.active .services-dropdown-menu {
            display: block;
            transform: none !important;
        }
        
        .dropdown-service-item {
            padding: 12px 15px 12px 25px;
            font-size: 0.9rem;
            border-bottom: 1px solid #eee;
            background: white;
        }
        
        .dropdown-service-item:last-child {
            border-bottom: 1px solid #f0f0f0;
        }
        
        .dropdown-service-item:hover {
            background: #f5f9ff;
        }
        
        body.dark-theme .dropdown-service-item {
            background: #2d2d2d;
            border-bottom-color: #444;
        }
        
        /* Анимация стрелки на мобильных */
        .services-dropdown.active .services-dropdown-toggle {
            background: #f5f9ff;
            color: #479FF8;
        }
        
        body.dark-theme .services-dropdown.active .services-dropdown-toggle {
            background: #333333;
            color: #479FF8 !important;
        }
    }
    
    /* ПЛАНШЕТНАЯ ВЕРСИЯ */
    @media (min-width: 769px) and (max-width: 991px) {
        .menu-container {
            padding: 0 20px;
        }
        
        .navbar-nav {
            gap: 10px;
        }
        
        .navbar-nav .nav-link {
            padding: 8px 12px !important;
            font-size: 0.85rem;
        }
        
        .services-dropdown-menu {
            min-width: 250px;
        }
    }
    
    /* ОГРАНИЧЕНИЕ ШИРИНЫ МЕНЮ НА БОЛЬШИХ ЭКРАНАХ */
    @media (min-width: 1200px) {
        .services-dropdown-menu {
            min-width: 300px;
        }
    }

    /* faq.html */
    .accordion-button:not(.collapsed) {
    color: #000000;
    background-color: #ffffff;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
  }
  .accordion-button:focus {
    z-index: 3;
    border-color: #ffffff;
    outline: 0;
    box-shadow: 0 0 0 0.25rem transparent;
  }



  /* main.html */

    /* ОСНОВНЫЕ СТИЛИ УСЛУГ */
    .services-section {
        max-width: 1200px;
        margin: 30px auto 50px;
        padding: 0 15px;
    }
    
    .services-section h2 {
        color: #333;
        margin-bottom: 15px;
        font-size: 2rem;
        font-weight: 700;
        text-align: center;
    }
    
    .services-section > p {
        color: #666;
        margin-bottom: 40px;
        font-size: 1rem;
        text-align: center;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.6;
    }
    
    /* КОМПАКТНАЯ СЕТКА УСЛУГ */
    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
        margin-bottom: 40px;
    }
    
    /* КОМПАКТНАЯ КАРТОЧКА */
    .service-card {
        background: white;
        border-radius: 12px;
        padding: 22px;
        border: 1px solid #e8e8e8;
        box-shadow: 0 4px 16px rgba(0,0,0,0.06);
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        display: flex;
        flex-direction: column;
        height: 100%;
        position: relative;
        overflow: hidden;
    }
    
    /* ДЕКОРАТИВНАЯ ЛИНИЯ СВЕРХУ */
    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #479FF8, #2C64BF);
        border-radius: 12px 12px 0 0;
    }
    
    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.12);
        border-color: #479FF8;
    }
    
    /* ЗАГОЛОВОК КАРТОЧКИ */
    .service-card h3 {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 12px;
        color: #333;
        line-height: 1.3;
        padding-top: 5px;
    }
    
    /* ОПИСАНИЕ УСЛУГИ */
    .service-card p {
        color: #666;
        line-height: 1.5;
        font-size: 0.9rem;
        margin-bottom: 20px !important;
        flex-grow: 1;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    /* КНОПКА "ПОДРОБНЕЕ" */
    .btn-detail {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 18px;
        background: #479FF8;
        color: white;
        text-decoration: none;
        border-radius: 6px;
        font-size: 0.85rem;
        font-weight: 600;
        transition: all 0.2s;
        border: none;
        cursor: pointer;
        text-align: center;
        align-self: flex-start;
        gap: 6px;
    }
    
    .btn-detail:hover {
        background: #2C64BF;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(71, 159, 248, 0.3);
    }
    
    .btn-detail::after {
        content: '→';
        font-weight: bold;
        font-size: 0.9rem;
        transition: transform 0.2s;
    }
    
    .btn-detail:hover::after {
        transform: translateX(3px);
    }
    
    /* СТИЛИ ДЛЯ "О КОМПАНИИ" (ОСТАВИЛ ТВОИ) */
    .aboutCompany {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px 15px;
        display: flex;
        flex-direction: column;
    }
    
    .aboutCompany h1 {
        font-size: 1.8rem;
        font-weight: 600;
        margin-bottom: 10px !important;
        color: #333;
    }
    
    .aboutCompany p {
        color: #555;
        line-height: 1.5;
        font-size: 0.95rem;
        margin-bottom: 25px !important;
    }
    
    .video-container {
        width: 100%;
        max-width: 800px;
        margin: 15px auto 30px auto;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .video-container iframe {
        width: 100%;
        height: 450px;
        border: none;
        display: block;
    }
    
    .sixteen-nine-img {
        width: 100%;
        max-width: 800px !important;
        margin: 15px auto 30px auto !important;
        padding: 0;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        background: #f0f0f0;
        display: block !important;
        box-sizing: border-box;
    }
    
    .sixteen-nine-img img {
        width: 100%;
        height: 450px;
        object-fit: cover;
        display: block;
    }
    
    .employees {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 20px;
        margin: 20px 0 30px 0;
    }
    
    .employees > div {
        flex: 1;
        min-width: 200px;
        text-align: center;
        padding: 15px;
    }
    
    .employee_avatar {
        width: 120px;
        height: 120px;
        margin: 0 auto 12px auto;
        border-radius: 50%;
        overflow: hidden;
        border: 3px solid #479FF8;
    }
    
    .employee_avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .employees h2 {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 5px !important;
        color: #333;
    }
    
    .employees p {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 0 !important;
    }
    
    /* ТЕМНАЯ ТЕМА */
    body.dark-theme .services-section h2 {
        color: #ffffff;
    }
    
    body.dark-theme .services-section > p {
        color: #cccccc;
    }
    
    body.dark-theme .service-card {
        background: #2a2a2a;
        border-color: #444;
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    }
    
    body.dark-theme .service-card h3 {
        color: #ffffff;
    }
    
    body.dark-theme .service-card p {
        color: #bbbbbb;
    }
    
    body.dark-theme .service-card:hover {
        border-color: #479FF8;
        box-shadow: 0 12px 28px rgba(0,0,0,0.25);
    }
    
    body.dark-theme .aboutCompany h1 {
        color: #e0e0e0;
    }
    
    body.dark-theme .aboutCompany p {
        color: #b0b0b0;
    }
    
    body.dark-theme .sixteen-nine-img {
        background: #333333;
    }
    
    body.dark-theme .employees h2 {
        color: #e0e0e0;
    }
    
    body.dark-theme .employees p {
        color: #a0a0a0;
    }
    
    /* АДАПТИВНОСТЬ */
    @media (max-width: 1200px) {
        .services-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }
    }
    
    @media (max-width: 768px) {
        .services-section {
            margin: 20px auto 30px;
            padding: 0 10px;
        }
        
        .services-section h2 {
            font-size: 1.6rem;
        }
        
        .services-section > p {
            font-size: 0.95rem;
            margin-bottom: 30px;
        }
        
        .services-grid {
            grid-template-columns: 1fr;
            gap: 15px;
        }
        
        .service-card {
            padding: 18px;
        }
        
        .service-card h3 {
            font-size: 1rem;
        }
        
        /* Остальные медиа-запросы из твоего кода */
        .video-container iframe {
            height: 250px;
        }
        
        .sixteen-nine-img img {
            height: 250px;
        }
        
        .employees {
            flex-direction: column;
            gap: 15px;
        }
        
        .employees > div {
            min-width: 100%;
        }
    }
    
    @media (max-width: 480px) {
        .service-card {
            padding: 16px;
        }
        
        .btn-detail {
            width: 100%;
            justify-content: space-between;
        }
    }
    
    @media (min-width: 1201px) {
        .services-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }