/* ==========================================================================
   1. СБРОС СТИЛЕЙ И БАЗОВЫЕ НАСТРОЙКИ
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    color: #333333;
    background-color: #ffffff;
}

body {
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==========================================================================
   2. ШАПКА САЙТА (HEADER)
   ========================================================================== */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding-top: 15px;
}

/* Верхняя часть: Логотип и Описание */
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
}

.logo-box {
    flex-shrink: 0;
}

.logo-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

/* Блок справа на светло-голубом фоне */
.header-info {
    background-color: #e0f2fe; /* Светло-голубой фон */
    padding: 25px 30px;
    border-radius: 8px;
    flex-grow: 1;
    border-left: 5px solid #0284c7;
}

.company-title {
    font-size: 28px;
    font-weight: 700;
    color: #0369a1;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.company-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 5px;
}

.company-tagline {
    font-size: 15px;
    font-style: italic;
    color: #475569;
}

/* Панель контактов и переключателя языков */
.header-contacts-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8fafc;
    padding: 12px 20px;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid #f1f5f9;
}

.contacts-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 15px;
}

.contact-link {
    color: #0f172a;
    font-weight: 500;
}

.contact-link:hover {
    color: #0284c7;
}

.phone-link {
    font-weight: 600;
}

.tg-link {
    color: #0088cc;
    font-weight: 600;
}

.tg-link:hover {
    color: #006699;
}

.contact-address {
    color: #64748b;
}

/* Переключатель языков */
.lang-switch {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lang-link {
    display: inline-block;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background-color: #ffffff;
}

.lang-link:hover {
    border-color: #0284c7;
    color: #0284c7;
}

.lang-link.active {
    background-color: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

/* Главная навигация (Меню) */
.main-nav {
    position: relative;
    background-color: #1e293b;
    border-radius: 6px 6px 0 0;
}

.nav-toggle,
.nav-toggle-label {
    display: none; /* Скрыто на ПК */
}

.nav-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav-list li a {
    display: block;
    padding: 15px 20px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.nav-list li a:hover {
    background-color: #0284c7;
}

/* ==========================================================================
   3. ГЛАВНЫЙ ЭКРАН (HERO-СЕКЦИЯ)
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid #bae6fd;
}

.hero-container {
    max-width: 800px;
}

.hero-title {
    font-size: 36px;
    color: #0f172a;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-description {
    font-size: 20px;
    color: #334155;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Кнопка */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-order {
    background-color: #0284c7;
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(2, 132, 199, 0.3);
}

.btn-order:hover {
    background-color: #0369a1;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px -2px rgba(2, 132, 199, 0.4);
}

/* ==========================================================================
   4. БЛОК «О НАС»
   ========================================================================== */
.about-section {
    padding: 70px 0;
    background-color: #ffffff;
}

/* Заголовки секций (универсальные стили для всего сайта) */
.section-title-box {
    text-align: center;
    margin-bottom: 45px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #0284c7;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 16px;
    color: #64748b;
    margin-top: 10px;
}

/* Контент блока */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 17px;
    color: #334155;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Список преимуществ/особенностей */
.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    border-color: #bae6fd;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #e0f2fe;
    color: #0284c7;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-info h4 {
    font-size: 16px;
    color: #0f172a;
    margin-bottom: 5px;
    font-weight: 600;
}

.feature-info p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.5;
}


/* ==========================================================================
   5. БЛОК «СЕРВИСЫ»
   ========================================================================== */
.services-section {
    padding: 70px 0;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border-color: #bae6fd;
}

.service-icon {
    font-size: 36px;
    margin-bottom: 15px;
    line-height: 1;
}

.service-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.service-card-text {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
}

/* ==========================================================================
   6. БЛОК «НАШИ СПЕЦИАЛИСТЫ»
   ========================================================================== */
.specialists-section {
    padding: 70px 0;
    background-color: #ffffff;
}

.specialists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.specialist-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.specialist-card:hover {
    transform: translateY(-4px);
    border-color: #bae6fd;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.specialist-photo-wrapper {
    margin-bottom: 15px;
}

.specialist-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #e0f2fe;
}

.specialist-info {
    width: 100%;
}

.specialist-name {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.specialist-role {
    font-size: 14px;
    font-weight: 600;
    color: #0284c7;
    margin-bottom: 8px;
}

.specialist-lang {
    display: inline-block;
    font-size: 13px;
    color: #64748b;
    background-color: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

/* ==========================================================================
   7. БЛОК «ПОЧЕМУ ИМЕННО МЫ?»
   ========================================================================== */
.why-us-section {
    padding: 70px 0;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.why-us-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.why-us-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border-color: #bae6fd;
}

.why-us-number {
    font-size: 32px;
    font-weight: 800;
    color: #0284c7;
    background-color: #e0f2fe;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.why-us-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.why-us-card-text {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
}

/* ==========================================================================
   8. БЛОК «ПАРТНЕРЫ»
   ========================================================================== */
.partners-section {
    padding: 70px 0;
    background-color: #ffffff;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.partner-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    border-color: #bae6fd;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.partner-logo-wrapper {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 10px; /* Сохраняет отступ, если картинка скроется */
}

.partner-logo {
    max-width: 160px;
    max-height: 70px;
    object-fit: contain;
}

.partner-info {
    width: 100%;
}

.partner-name {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.partner-review {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    font-style: italic;
    position: relative;
}

/* ==========================================================================
   9. БЛОК «КОНТАКТЫ»
   ========================================================================== */
.contacts-section {
    padding: 70px 0;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* Карточка контактов */
.contacts-info-card,
.contacts-form-card {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.contacts-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0f2fe;
}

.contacts-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.detail-icon {
    font-size: 20px;
    background-color: #e0f2fe;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-item strong {
    display: block;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 3px;
}

.contact-detail-item p {
    font-size: 15px;
    color: #0f172a;
    margin: 0;
}

.contact-detail-item a {
    color: #0284c7;
    text-decoration: none;
    font-weight: 600;
}

.contact-detail-item a:hover {
    text-decoration: underline;
}

/* Форма заказа */
.order-form .form-group {
    margin-bottom: 18px;
}

.order-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.order-form input,
.order-form select,
.order-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    color: #0f172a;
    background-color: #ffffff;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.btn-submit {
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
}

/* Контейнер карты */
.map-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
    display: block;
}

.analytics-counters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; /* Расстояние между значками */
    margin-top: 15px;
}

