/* ======================================
   ОБЩИЕ СТИЛИ
   ====================================== */
/* Исправление проблемы с белой полоской под футером */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'AdobeCleanBold', Arial, sans-serif;
}

html {
    height: 100%;
    position: relative;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    background-color: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Фиксация контейнера на всю ширину */
body > * {
    width: 100%;
    max-width: 100%;
}

/* Убираем серый фон по краям */
body {
    background-color: #fff;
    line-height: 1.6;
    color: #2c3e50;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ======================================
   ШАПКА САЙТА
   ====================================== */
header {
    background: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 120px;
    height: auto;
    transition: all 0.3s ease;
}

.logo:hover {
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    color: #2e2570;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 4px;
    position: relative;
}

.nav-menu a:hover {
    background: #2e2570;
    color: white;
}

.nav-menu a.active {
    color: #2e2570;
    background-color: rgba(46, 37, 112, 0.05);
}

.language-switcher {
    display: flex;
    gap: 10px;
    margin-right: 20px;
}

.language-switcher a {
    display: flex;
    align-items: center;
    color: #2e2570;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 5px 8px;
    border-radius: 4px;
}

.language-switcher a:hover {
    color: #3a2f8a;
    background-color: rgba(46, 37, 112, 0.03);
}

.language-switcher a.active {
    color: #3a2f8a;
    position: relative;
    background-color: rgba(46, 37, 112, 0.07);
}

.language-switcher a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 8px;
    right: 8px;
    height: 2px;
    background: #3a2f8a;
    border-radius: 1px;
}

/* Мобильное меню */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    transition: all 0.3s ease;
    outline: none;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #2e2570;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn:focus {
    outline: none;
}

.mobile-menu-btn:hover span {
    background: #3a2f8a;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.overlay.active {
    display: block;
    opacity: 1;
}

/* ======================================
   СЕКЦИЯ HERO
   ====================================== */
.hero {
    margin-top: 80px;
    padding: 60px 0;
    background: linear-gradient(135deg, #2e2570 0%, #3a2f8a 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.1);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/callcantrphoto1.png') center/cover no-repeat;
    opacity: 0.2;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.5s ease;
}

.hero:hover::before {
    opacity: 0.25;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.hero h1 {
    font-size: 3em;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    animation: fadeInDown 1s ease-out;
}

.hero p {
    font-size: 1.2em;
    color: rgba(255,255,255,0.95);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
    text-shadow: 0 1px 5px rgba(0,0,0,0.15);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================================
   ЗАГОЛОВКИ СЕКЦИЙ
   ====================================== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5em;
    color: #2e2570;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(46, 37, 112, 0.1);
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background: #2e2570;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.section-title:hover h2::after {
    width: 100px;
}

.section-title p {
    color: #555;
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto;
    margin-top: 30px;
    line-height: 1.6;
}

/* ======================================
   СЕКЦИЯ КАРТОЧЕК УСЛУГ (ГЛАВНАЯ)
   ====================================== */
.services {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2e2570, #3a2f8a);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 320px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 18px rgba(44,62,80,0.04);
    padding: 28px 26px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.service-card:hover {
    box-shadow: 0 6px 20px rgba(46, 37, 112, 0.08);
    transform: translateY(-5px);
}

.service-card-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 22px;
}

.service-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #f0eef9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    margin-top: 3px;
    box-shadow: 0 2px 8px rgba(46, 37, 112, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(5deg) scale(1.05);
    background-color: #e8e5f7;
}

.service-icon i {
    color: #2e2570;
    font-size: 18px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

.service-title {
    flex: 1;
}

.service-card h2 {
    font-size: 1.35em;
    color: #2e2570;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(46, 37, 112, 0.08);
    transition: color 0.3s ease;
}

.service-card:hover h2 {
    color: #3a2f8a;
}

.service-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-card ul li {
    margin-bottom: 13px;
    color: #444;
    font-size: 0.98em;
    font-weight: 500;
    line-height: 1.5;
    position: relative;
    padding-left: 26px;
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover ul li {
    color: #333;
}

.service-card ul li:hover {
    transform: translateX(3px);
    color: #2e2570;
}

.service-card ul li:before {
    content: '';
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    background-color: #f0eef9;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 3px;
    box-shadow: 0 1px 4px rgba(46, 37, 112, 0.1);
    transition: all 0.2s ease;
}

.service-card ul li:hover:before {
    background-color: #e8e5f7;
    transform: scale(1.1);
}

.service-card ul li:after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #2e2570;
    font-size: 8px;
    position: absolute;
    left: 4px;
    top: 6px;
    transition: all 0.2s ease;
}

.service-card ul li:hover:after {
    color: #3a2f8a;
    transform: scale(1.1);
}

/* ======================================
   СЕКЦИЯ КОНТАКТОВ
   ====================================== */
.contact-section {
    background: #2e2570;
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/callcantrphoto1.png') center/cover no-repeat;
    opacity: 0.07;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.contact-section:hover::before {
    opacity: 0.1;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-section h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.contact-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 500;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 5px rgba(0,0,0,0.15);
}

.cta-button {
    display: inline-block;
    background: white;
    color: #2e2570;
    padding: 16px 38px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.cta-button:hover {
    background: #f8f9fa;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.cta-button:hover::before {
    left: 100%;
}

/* ======================================
   СЕКЦИЯ МАРШРУТОВ
   ====================================== */
.routes-section {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
}

.routes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2e2570, #3a2f8a);
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.routes-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 320px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 18px rgba(44,62,80,0.04);
    padding: 28px 26px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.routes-card:hover {
    box-shadow: 0 6px 20px rgba(46, 37, 112, 0.08);
}

.routes-card-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 22px;
}

.routes-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #f0eef9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    margin-top: 3px;
    box-shadow: 0 2px 8px rgba(46, 37, 112, 0.08);
}

.routes-icon i {
    color: #2e2570;
    font-size: 18px;
}

.routes-title {
    flex: 1;
}

.routes-card h2 {
    font-size: 1.35em;
    color: #2e2570;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(46, 37, 112, 0.08);
}

.routes-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.routes-card ul li {
    margin-bottom: 13px;
    color: #444;
    font-size: 0.98em;
    font-weight: 500;
    line-height: 1.5;
    position: relative;
    padding-left: 26px;
    display: flex;
    align-items: flex-start;
}

.routes-card ul li:before {
    content: '';
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    background-color: #f0eef9;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 3px;
    box-shadow: 0 1px 4px rgba(46, 37, 112, 0.1);
}

.routes-card ul li:after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #2e2570;
    font-size: 8px;
    position: absolute;
    left: 4px;
    top: 6px;
}

/* Стили для блока дополнительных услуг */
.routes-card.additional-services {
    border-left: 4px solid #2e2570;
    background: #fff;
    box-shadow: 0 2px 15px rgba(46, 37, 112, 0.08);
    transition: all 0.3s ease;
}

.routes-card.additional-services:hover {
    border-left-width: 5px;
}

.routes-card.additional-services .routes-card-header {
    margin-bottom: 25px;
}

.routes-card.additional-services .routes-icon {
    background-color: #2e2570;
    box-shadow: 0 2px 10px rgba(46, 37, 112, 0.2);
}

.routes-card.additional-services .routes-icon i {
    color: white;
    font-size: 20px;
}

.routes-card.additional-services h2 {
    color: #2e2570;
    font-weight: 700;
    position: relative;
    font-size: 1.35em;
}

.routes-card.additional-services ul {
    padding-left: 4px;
}

.routes-card.additional-services ul li {
    transition: all 0.2s ease;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-size: 0.96em;
    color: #444;
    line-height: 1.5;
}

.routes-card.additional-services ul li:last-child {
    margin-bottom: 0;
}

.routes-card.additional-services ul li:hover {
    color: #2e2570;
}

.routes-card.additional-services ul li:before {
    background-color: #eaeaf9;
    width: 19px;
    height: 19px;
    left: 0;
    top: 2px;
    box-shadow: 0 1px 5px rgba(46, 37, 112, 0.15);
}

.routes-card.additional-services ul li:after {
    content: '\f00c';
    color: #2e2570;
    font-size: 10px;
    left: 5px;
    top: 5px;
}

/* ======================================
   СЕКЦИЯ DID НОМЕРОВ
   ====================================== */
.dids-section {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
}

.dids-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2e2570, #3a2f8a);
}

.dids-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.dids-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 320px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 18px rgba(44,62,80,0.04);
    padding: 28px 26px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dids-card:hover {
    box-shadow: 0 6px 20px rgba(46, 37, 112, 0.08);
}

.dids-card-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 22px;
}

.dids-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #f0eef9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    margin-top: 3px;
    box-shadow: 0 2px 8px rgba(46, 37, 112, 0.08);
}

.dids-icon i {
    color: #2e2570;
    font-size: 18px;
}

.dids-title {
    flex: 1;
}

.dids-card h2 {
    font-size: 1.35em;
    color: #2e2570;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(46, 37, 112, 0.08);
}

.dids-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dids-card ul li {
    margin-bottom: 13px;
    color: #444;
    font-size: 0.98em;
    font-weight: 500;
    line-height: 1.5;
    position: relative;
    padding-left: 26px;
    display: flex;
    align-items: flex-start;
}

.dids-card ul li:before {
    content: '';
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    background-color: #f0eef9;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 3px;
    box-shadow: 0 1px 4px rgba(46, 37, 112, 0.1);
}

.dids-card ul li:after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #2e2570;
    font-size: 8px;
    position: absolute;
    left: 4px;
    top: 6px;
}

/* ======================================
   ФИЛЬТРЫ И ПОИСК
   ====================================== */
.filters {
    margin: 30px 0;
    padding: 24px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(44,62,80,0.04);
}

.filter-group {
    margin-bottom: 15px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group label {
    display: block;
    margin-bottom: 14px;
    color: #2e2570;
    font-weight: 700;
    font-size: 16px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid #2e2570;
    border-radius: 50px;
    background: #fff;
    color: #2e2570;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    min-width: 70px;
    text-align: center;
}

.filter-btn:hover {
    background: rgba(46, 37, 112, 0.05);
}

.filter-btn.active {
    background: #2e2570;
    color: white;
    box-shadow: 0 2px 4px rgba(46, 37, 112, 0.25);
}

#countrySearch {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-size: 15px;
    transition: all 0.2s ease;
    background-color: #fff;
}

#countrySearch:focus {
    border-color: #2e2570;
    outline: none;
    box-shadow: 0 0 0 2px rgba(46, 37, 112, 0.1);
}

/* ======================================
   ТАБЛИЦЫ
   ====================================== */
.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 30px;
    border-radius: 12px;
    position: relative;
}

.pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 40px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(44,62,80,0.04);
}

.pricing-table thead {
    background: linear-gradient(90deg, #2e2570, #3a2f8a);
    position: sticky;
    top: 0;
    z-index: 10;
}

.pricing-table th {
    color: white;
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9em;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
    color: #444;
    font-size: 0.95em;
    transition: all 0.2s ease;
}

.pricing-table tbody tr:first-child td {
    padding-top: 25px;
}

.pricing-table tbody tr {
    cursor: pointer;
}

.pricing-table tbody tr:hover {
    background: #f8f9fa;
}

.pricing-table td:first-child {
    font-weight: 600;
    color: #2e2570;
}

.pricing-table td:nth-child(2) {
    font-family: monospace;
    font-size: 0.95em;
    color: #666;
}

.pricing-table td:nth-child(3) {
    font-weight: 600;
    color: #2d9cdb;
}

.pricing-table td:last-child {
    color: #666;
    font-style: italic;
}

.pricing-table tr:hover td {
    color: #2e2570;
}

/* ======================================
   АДАПТИВНЫЕ СТИЛИ
   ====================================== */
/* Стили для планшетов */
@media (max-width: 1080px) {
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 2.3em;
    }
    
    .section-title p {
        font-size: 1.05em;
        margin-top: 25px;
    }
    
    .services {
        padding: 70px 0;
    }
    
    .services-grid, .dids-grid, .routes-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 25px;
        margin-top: 35px;
    }
    
    .service-card, .dids-card, .routes-card {
        min-height: 300px;
        padding: 25px 24px;
    }
    
    .service-card-header, .dids-card-header, .routes-card-header {
        margin-bottom: 20px;
    }
    
    .hero h1 {
        font-size: 2.5em;
    }
    
    .hero p {
        font-size: 1.1em;
        max-width: 550px;
    }
    
    .nav-menu {
        gap: 10px;
    }
    
    .nav-menu a {
        padding: 8px 12px;
        font-size: 15px;
    }
    
    /* Стили таблиц */
    .table-container {
        margin-bottom: 25px;
    }
    
    .pricing-table {
        margin-top: 30px;
    }
    
    .pricing-table th {
        padding: 14px 16px;
        font-size: 0.85em;
    }
    
    .pricing-table td {
        padding: 14px 16px;
    }
    
    .contact-section h2 {
        font-size: 2em;
    }
    
    .contact-section p {
        font-size: 1.1em;
        max-width: 600px;
    }
    
    .cta-button {
        padding: 14px 34px;
    }
}

/* Стили для средних планшетов */
@media (max-width: 900px) {
    .section-title {
        margin-bottom: 35px;
    }
    
    .section-title h2 {
        font-size: 2.1em;
    }
    
    .section-title h2::after {
        width: 60px;
        height: 3px;
        bottom: -12px;
    }
    
    .section-title:hover h2::after {
        width: 80px;
    }
    
    .section-title p {
        font-size: 1em;
        margin-top: 22px;
        max-width: 650px;
    }
    
    .services {
        padding: 60px 0;
    }
    
    .services-grid, .dids-grid, .routes-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 22px;
        margin-top: 30px;
    }
    
    .service-card, .dids-card, .routes-card {
        min-height: 280px;
        padding: 22px 20px;
    }
    
    .service-card-header, .dids-card-header, .routes-card-header {
        margin-bottom: 18px;
    }
    
    .service-card h2, .dids-card h2, .routes-card h2 {
        font-size: 1.25em;
        margin-bottom: 12px;
        padding-bottom: 12px;
    }
    
    .service-card ul li, .dids-card ul li, .routes-card ul li {
        font-size: 0.95em;
        margin-bottom: 12px;
    }
    
    .hero {
        margin-top: 90px;
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2.3em;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 1.05em;
        max-width: 500px;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-section h2 {
        font-size: 1.9em;
    }
    
    .contact-section p {
        font-size: 1.05em;
        margin-bottom: 25px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 15px;
    }
    
    /* Стили таблиц */
    .pricing-table {
        min-width: 700px; /* Минимальная ширина для скролла на маленьких экранах */
    }
    
    .pricing-table th {
        padding: 14px 15px;
        font-size: 0.8em;
    }
    
    .pricing-table td {
        padding: 12px 15px;
        font-size: 0.9em;
    }
    
    .pricing-table tbody tr:first-child td {
        padding-top: 20px;
    }
}

/* Стили для планшетов в портретной ориентации */
@media (max-width: 820px) {
    header {
        padding: 15px 0;
    }
    
    .logo {
        width: 110px;
    }
    
    /* Мобильное меню */
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu-btn.active span {
        margin: 0;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translate(-50%, -50%) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translate(-50%, -50%) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: all 0.3s ease;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        padding: 12px 20px;
        font-size: 16px;
        border-radius: 8px;
        margin-bottom: 10px;
        background: #f8f9fa;
        transition: all 0.3s ease;
        width: 100%;
        text-align: left;
    }
    
    .nav-menu a:hover {
        background: #2e2570;
        color: white;
        transform: translateX(5px);
    }
    
    .language-switcher {
        margin-right: 15px;
    }
    
    .language-switcher a {
        padding: 6px 10px;
    }
    
    .hero {
        margin-top: 90px;
        padding: 60px 0;
    }
    
    /* Сетка с двумя колонками на планшете */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .service-card, .dids-card, .routes-card {
        min-height: 0;
    }
    
    .service-icon, .dids-icon, .routes-icon {
        width: 40px;
        height: 40px;
    }
}

/* Стили для мобильных телефонов */
@media (max-width: 768px) {
    header {
        padding: 15px 0;
    }
    
    .header-content {
        padding: 0 15px;
    }
    
    .logo {
        width: 100px;
    }
    
    .language-switcher {
        margin-right: 0;
        position: absolute;
        top: 22px;
        right: 70px;
    }
    
    .language-switcher a {
        font-size: 13px;
        padding: 4px 8px;
    }
    
    .mobile-menu-btn {
        margin-top: 3px;
        padding: 8px;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        margin-top: 80px;
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 2em;
        padding: 0 20px;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 1em;
        padding: 0 20px;
        max-width: 100%;
    }
    
    .services, .dids-section, .routes-section {
        padding: 40px 0;
    }
    
    /* Сетка в одну колонку на мобильных */
    .services-grid, .dids-grid, .routes-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 0 5px;
    }
    
    .service-card, .dids-card, .routes-card {
        padding: 22px 20px;
        min-height: auto;
        margin-bottom: 5px;
    }

    .service-icon, .dids-icon, .routes-icon {
        width: 38px;
        height: 38px;
        margin-right: 12px;
    }

    .service-icon i, .dids-icon i, .routes-icon i {
        font-size: 16px;
    }

    .service-card h2, .dids-card h2, .routes-card h2 {
        font-size: 1.2em;
        margin-bottom: 12px;
        padding-bottom: 12px;
    }

    .service-card ul li, .dids-card ul li, .routes-card ul li {
        font-size: 0.94em;
        margin-bottom: 10px;
        padding-left: 24px;
    }

    .service-card ul li:before, .dids-card ul li:before, .routes-card ul li:before {
        width: 14px;
        height: 14px;
        top: 3px;
    }

    .service-card ul li:after, .dids-card ul li:after, .routes-card ul li:after {
        font-size: 7px;
        left: 4px;
        top: 5px;
    }
    
    /* Фильтры */
    .filters {
        padding: 18px 15px;
    }

    .filter-group label {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 7px 12px;
        font-size: 13px;
        min-width: 60px;
    }
    
    /* Улучшенные стили таблиц для мобильных устройств */
    .table-container {
        margin-top: 15px;
        margin-bottom: 20px;
        border-radius: 10px;
    }
    
    .pricing-table {
        display: block;
        margin-top: 0;
        min-width: 600px; /* Адаптированная минимальная ширина */
        white-space: nowrap;
        font-size: 0.9em;
    }

    .pricing-table thead {
        top: 0; /* Исправление позиционирования шапки */
    }

    .pricing-table th {
        padding: 14px 12px;
        font-size: 0.8em;
    }

    .pricing-table td {
        padding: 12px;
        font-size: 0.9em;
    }
    
    .pricing-table tbody tr:first-child td {
        padding-top: 18px; /* Дополнительный отступ для первой строки */
    }

    .pricing-table tbody tr:hover {
        transform: none;
    }
    
    /* Заголовки и текст */
    .section-title h2 {
        font-size: 2em;
        padding: 0 20px;
    }

    .section-title p {
        font-size: 1em;
        padding: 0 20px;
    }

    .contact-section {
        padding: 40px 0;
    }

    .contact-section h2 {
        font-size: 1.8em;
        padding: 0 20px;
    }

    .contact-section p {
        font-size: 1.1em;
        padding: 0 20px;
    }

    .cta-button {
        padding: 12px 28px;
        font-size: 14px;
    }

    .cta-button:hover {
        transform: translateY(-3px);
    }

    /* Стили для блока дополнительных услуг */
    .routes-card.additional-services {
        border-left-width: 3px;
    }

    .routes-card.additional-services:hover {
        border-left-width: 5px;
    }

    .routes-card.additional-services ul li {
        margin-bottom: 12px;
        padding-left: 28px;
    }

    .routes-card.additional-services ul li:before {
        width: 17px;
        height: 17px;
    }

    .routes-card.additional-services ul li:after {
        font-size: 9px;
        left: 4px;
        top: 4px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 12px 0;
    }
    
    .logo {
        width: 90px;
    }
    
    .language-switcher {
        top: 17px;
        right: 65px;
    }
    
    .language-switcher a {
        font-size: 12px;
        padding: 3px 6px;
    }
    
    .mobile-menu-btn {
        padding: 7px;
    }
    
    .mobile-menu-btn span {
        width: 22px;
        height: 2px;
    }
    
    .hero {
        margin-top: 70px;
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 1.7em;
        margin-bottom: 12px;
    }

    .hero p {
        font-size: 0.95em;
    }
    
    .section-title h2 {
        font-size: 1.7em;
    }
    
    .section-title h2::after {
        width: 50px;
        height: 3px;
    }
    
    .section-title p {
        font-size: 0.95em;
        margin-top: 25px;
    }

    .service-card, .dids-card, .routes-card {
        padding: 18px 16px;
        border-radius: 12px;
    }

    .service-card-header, .dids-card-header, .routes-card-header {
        margin-bottom: 16px;
    }

    .service-icon, .dids-icon, .routes-icon {
        width: 34px;
        height: 34px;
        margin-right: 10px;
    }

    .service-icon i, .dids-icon i, .routes-icon i {
        font-size: 14px;
    }

    .service-card h2, .dids-card h2, .routes-card h2 {
        font-size: 1.1em;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    .service-card ul li, .dids-card ul li, .routes-card ul li {
        font-size: 0.9em;
        margin-bottom: 8px;
        padding-left: 22px;
    }

    .service-card ul li:before, .dids-card ul li:before, .routes-card ul li:before {
        width: 12px;
        height: 12px;
        top: 3px;
    }

    .service-card ul li:after, .dids-card ul li:after, .routes-card ul li:after {
        font-size: 6px;
        left: 3px;
        top: 5px;
    }

    .filter-buttons {
        gap: 6px;
    }

    .filter-btn {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 50px;
    }

    #countrySearch {
        padding: 10px 14px;
        font-size: 14px;
        border-radius: 30px;
    }

    .pricing-table th {
        padding: 12px 10px;
        font-size: 0.75em;
    }

    .pricing-table td {
        padding: 10px;
        font-size: 0.85em;
    }

    .pricing-table td:nth-child(2) {
        font-size: 0.85em;
    }

    .routes-card.additional-services ul li {
        margin-bottom: 10px;
        padding-left: 26px;
    }
    
    .routes-card.additional-services ul li:before {
        width: 15px;
        height: 15px;
    }

    .routes-card.additional-services ul li:after {
        font-size: 8px;
        left: 4px;
        top: 4px;
    }
    
    .contact-section {
        padding: 30px 0;
    }
    
    .contact-section h2 {
        font-size: 1.6em;
    }
    
    .contact-section p {
        font-size: 1em;
        margin-bottom: 25px;
    }
    
    .cta-button {
        padding: 10px 25px;
        font-size: 13px;
    }

    .services-grid, .dids-grid, .routes-grid {
        gap: 15px;
        margin-top: 30px;
    }
    
    .service-card, .dids-card, .routes-card {
        padding: 18px 16px;
        border-radius: 12px;
        margin-bottom: 0;
    }
    
    .service-card:hover, .dids-card:hover, .routes-card:hover {
        transform: translateY(-3px);
    }

    /* Максимально компактные стили таблиц */
    .table-container {
        margin-top: 10px;
        margin-bottom: 15px;
        border-radius: 8px;
    }
    
    .pricing-table {
        min-width: 500px; /* Меньшая ширина для маленьких экранов */
    }
    
    .pricing-table th {
        padding: 12px 10px;
        font-size: 0.75em;
        letter-spacing: 0.3px;
    }

    .pricing-table td {
        padding: 10px 8px;
        font-size: 0.85em;
    }
    
    .pricing-table tbody tr:first-child td {
        padding-top: 15px;
    }
}

/* Мобильное навигационное меню в футере */
.mobile-footer-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 990;
    padding: 8px 0;
}

.mobile-footer-links {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.mobile-footer-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #666;
    text-decoration: none;
    font-size: 10px;
    padding: 5px;
    transition: all 0.3s ease;
}

.mobile-footer-links a i {
    font-size: 18px;
    margin-bottom: 4px;
    color: #2e2570;
}

.mobile-footer-links a.active {
    color: #2e2570;
    font-weight: 600;
}

@media (max-width: 820px) {
    .mobile-footer-nav {
        display: block;
    }
    
    body {
        padding-bottom: 60px; /* отступ для фиксированного футера */
        position: relative;
        min-height: 100vh;
        overflow-x: hidden;
    }
    
    footer {
        display: block;
        position: relative;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
        clear: both;
        z-index: 10;
        margin-bottom: 0;
    }
}

/* Стили для футера */
footer {
    background-color: #2e2570;
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
    width: 100%;
    display: block;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
    overflow-x: hidden;
    clear: both;
    margin-bottom: 0;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-social a {
    color: white;
    font-size: 24px;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    opacity: 0.8;
}

.footer-social a i {
    color: white;
} 