/* ==============================
БАЗОВЫЕ НАСТРОЙКИ
============================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f4f7f6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ==============================
КОНТЕЙНЕР
============================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==============================
ШАПКА
============================== */
.ferry-header {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.ferry-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
}

.company-name {
    font-size: 16px;
    font-weight: 800;
    color: #003c78;
    line-height: 1.2;
    text-transform: uppercase;
    max-width: 240px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Кнопка слабовидящих */
.vision-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    border: 2px solid #0056b3;
    border-radius: 6px;
    color: #0056b3;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.vision-toggle-btn:hover,
.vision-toggle-btn.active {
    background: #0056b3;
    color: #fff;
}

.vision-notice {
    position: fixed;
    top: 80px;
    right: 20px;
    background: #28a745;
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    display: none;
    font-size: 14px;
    animation: slideIn 0.3s ease;
}

.vision-notice.show {
    display: block;
}

@keyframes slideIn {
    from { transform: translateX(40px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Навигация */
.ferry-nav-container {
    background: #f8f9fa;
    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
}

.ferry-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.ferry-nav a {
    display: block;
    padding: 14px 22px;
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
}

.ferry-nav a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #0056b3;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.ferry-nav a:hover {
    color: #0056b3;
}

.ferry-nav a:hover::after {
    width: 60%;
}

/* Мобильное меню (гамбургер) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #003c78;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); }

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ==============================
HERO СЕКЦИЯ
============================== */
.ferry-hero {
    background: linear-gradient(rgba(0, 60, 120, 0.6), rgba(0, 60, 120, 0.6)), url('../images/hero-bg.png') center/cover no-repeat;
    color: #fff;
    padding: 100px 0;
    text-align: center;
    background-attachment: fixed;
}

.ferry-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.ferry-status {
    display: inline-block;
    background: #28a745;
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.ferry-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff !important;
}

.ferry-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
    color: #fff !important;
}

.ferry-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-ferry {
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.25s;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #fff;
    color: #0056b3;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

.btn-secondary {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-secondary:hover { background: rgba(255,255,255,0.15); }

.btn-buy {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-buy:hover {
    background: linear-gradient(135deg, #218838, #1ea87a);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* ==============================
ОБЩИЕ СЕКЦИИ
============================== */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #003c78;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #0056b3;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin: -20px 0 40px;
    font-size: 16px;
}

/* ==============================
РАСПИСАНИЕ
============================== */
.schedule-section { background: #fff; }

.schedule-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background: #fff;
}

.schedule-table th {
    background: #0056b3;
    color: #fff;
    padding: 16px 20px;
    text-align: left;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
}

.schedule-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:hover { background: #f8f9fa; }

.time-cell { font-weight: 700; color: #0056b3; white-space: nowrap; }

.schedule-alert {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 16px 20px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 25px;
}

/* ==============================
ТАРИФЫ
============================== */
.tariffs-section { background: #f4f7f6; }

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.tariff-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tariff-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); border-color: #0056b3; }
.tariff-card.highlight-card { border: 2px solid #28a745; background: #f0fff4; }

.tariff-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }

.tariff-icon {
    font-size: 28px;
    background: #e7f3ff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.tariff-icon-svg { width: 32px; height: 32px; object-fit: contain; display: block; }
.tariff-title { font-weight: 700; font-size: 16px; color: #333; line-height: 1.3; }
.tariff-desc { font-size: 13px; color: #777; margin-top: 5px; }

.tariff-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eef2f7;
}

.tariff-price { font-size: 26px; font-weight: 800; color: #0056b3; margin: 0; }

.btn-card-buy {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-card-buy:hover {
    background: linear-gradient(135deg, #218838, #1ea87a);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.tariffs-footnote {
    background: #fff;
    border: 2px solid #0056b3;
    border-radius: 12px;
    padding: 20px 25px;
    margin-top: 30px;
    box-shadow: 0 4px 12px rgba(0,86,179,0.1);
}

.footnote-content { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #555; line-height: 1.5; }
.footnote-mark { color: #ffc107; font-weight: bold; font-size: 16px; flex-shrink: 0; }
.tariff-footnote-mark { color: #ffc107; font-weight: bold; font-size: 14px; margin-left: 4px; }

/* ==============================
ИНФОРМАЦИЯ
============================== */
.info-section { background: #fff; }

.info-general {
    background: linear-gradient(135deg, #0056b3, #003c78);
    color: #fff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.info-general h3 { margin: 0 0 10px; font-size: 18px; }
.info-general p { margin: 0; opacity: 0.95; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.info-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 4px solid #0056b3;
    transition: transform 0.2s;
}

.info-card:hover { transform: translateY(-3px); }
.info-card.warning { border-left-color: #dc3545; background: #fff5f5; }

.info-card-icon { font-size: 30px; margin-bottom: 12px; }
.info-card-title { font-size: 16px; font-weight: 700; color: #333; margin-bottom: 8px; }
.info-card-value { font-size: 22px; font-weight: 800; color: #0056b3; margin-bottom: 6px; }
.info-card.warning .info-card-value { color: #dc3545; }
.info-card-desc { font-size: 13px; color: #777; }

/* ==============================
ПРАВИЛА
============================== */
.rules-container { max-width: 900px; margin: 0 auto; padding: 0 20px; }

.rules-accordion details { border: 1px solid #e0e0e0; border-radius: 8px; margin-bottom: 12px; background: #fff; overflow: hidden; }

.rules-accordion summary {
    padding: 18px 20px;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.rules-accordion summary::-webkit-details-marker { display: none; }
.rules-accordion summary::after { content: '+'; font-size: 20px; color: #0056b3; font-weight: 300; }
.rules-accordion details[open] summary { background: #edf2f7; border-bottom: 1px solid #e0e0e0; }
.rules-accordion details[open] summary::after { content: '−'; }

.rules-accordion .content { padding: 20px; font-size: 14px; line-height: 1.7; color: #444; }
.rules-accordion .content p, .rules-accordion .content ul { margin-bottom: 12px; }
.rules-accordion .content ul { padding-left: 20px; }

.rules-download { text-align: center; margin-top: 30px; }

.rules-download a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #0056b3;
    color: #fff;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.2s;
}

.rules-download a:hover { background: #003c78; }

/* ==============================
КАМЕРЫ
============================== */
.cameras-section { background: #f4f7f6; padding: 70px 0; }

.cameras-notice {
    background: linear-gradient(135deg, #e7f3ff, #f0f7ff);
    border-left: 4px solid #0056b3;
    padding: 20px 25px;
    border-radius: 10px;
    margin-bottom: 35px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.notice-icon { font-size: 28px; flex-shrink: 0; }
.notice-text { font-size: 15px; color: #333; line-height: 1.6; }
.notice-text strong { color: #003c78; display: block; margin-bottom: 5px; }

.cameras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.camera-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.camera-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }

.camera-header { display: flex; align-items: center; gap: 15px; padding: 20px 25px; background: linear-gradient(135deg, #0056b3, #003c78); color: #fff; }
.camera-icon { font-size: 32px; }
.camera-info { flex: 1; display: flex; justify-content: space-between; align-items: center; }
.camera-title { margin: 0; font-size: 20px; font-weight: 700; }

.camera-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.camera-status.live { background: rgba(40, 167, 69, 0.3); }

.status-dot { width: 8px; height: 8px; background: #28a745; border-radius: 50%; animation: pulse 2s infinite; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.camera-view { position: relative; background: #000; flex: 1; min-height: 300px; }
.camera-placeholder { position: relative; width: 100%; height: 100%; }

.camera-placeholder iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
    min-height: 350px;
}

.camera-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    padding: 40px 20px 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.overlay-time { font-size: 14px; font-weight: 600; font-family: 'Courier New', monospace; background: rgba(0,0,0,0.6); padding: 4px 10px; border-radius: 4px; }
.overlay-label { font-size: 13px; opacity: 0.9; }

.camera-footer { display: flex; justify-content: space-between; align-items: center; padding: 15px 25px; background: #f8f9fa; border-top: 1px solid #eef2f7; }
.camera-location { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #555; }
.location-icon { font-size: 16px; }

.btn-camera-expand {
    padding: 8px 16px;
    background: #0056b3;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-camera-expand:hover { background: #003c78; transform: translateY(-1px); }

.cameras-info { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.06); }
.cameras-info h3 { margin: 0 0 25px; color: #003c78; font-size: 20px; }
.cameras-info .info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.cameras-info .info-item { display: flex; gap: 15px; padding: 16px; background: #f8f9fa; border-radius: 10px; border-left: 3px solid #0056b3; }

.camera-fullscreen-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10000; display: flex; align-items: center; justify-content: center; }
.camera-fullscreen-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.95); cursor: pointer; }

.camera-fullscreen-content {
    position: relative;
    width: 98%;
    height: 95vh;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.camera-fullscreen-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 25px; background: #003c78; color: #fff; flex-shrink: 0; }
.camera-fullscreen-title { font-size: 18px; font-weight: 600; }

.camera-fullscreen-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.camera-fullscreen-close:hover { background: rgba(255,255,255,0.3); }
.camera-fullscreen-body { flex: 1; overflow: hidden; }
.camera-fullscreen-body iframe { width: 100%; height: 100%; border: none; }

/* ==============================
ПОГОДА
============================== */
.weather-section { padding: 70px 0; background: #fff; }

.weather-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.weather-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 35px;
    font-size: 16px;
}

.weather-widget {
    max-width: 1000px;
    margin: 0 auto 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.weather-widget iframe {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    border: none;
}

.weather-info-block {
    max-width: 1000px;
    margin: 0 auto 35px;
    background: linear-gradient(135deg, #e7f3ff, #f0f7ff);
    border-left: 4px solid #0056b3;
    padding: 20px 25px;
    border-radius: 10px;
}

.weather-info-block h3 { margin: 0 0 10px; color: #003c78; font-size: 17px; }
.weather-info-block p { margin: 0; color: #555; line-height: 1.6; font-size: 14px; }

.weather-conditions {
    max-width: 1000px;
    margin: 0 auto 35px;
    background: linear-gradient(135deg, #fff5f5, #fff8f8);
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.weather-conditions h3 {
    margin: 0 0 25px;
    color: #856404;
    font-size: 20px;
    text-align: center;
    font-weight: 700;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.condition-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border-left: 4px solid #dc3545;
}

.condition-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.1); }
.condition-card.warning { border-left-color: #dc3545; }
.condition-card.info { border-left: 4px solid #0056b3; }

.condition-icon {
    font-size: 32px;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
}

.condition-info { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.condition-info strong { font-size: 15px; color: #333; font-weight: 700; }
.condition-limit { font-size: 18px; color: #dc3545; font-weight: 800; line-height: 1; }
.condition-desc { font-size: 13px; color: #777; font-style: italic; }
.condition-status { font-size: 14px; color: #0056b3; font-weight: 700; }

.weather-tips {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, #e7f3ff, #f0f7ff);
    padding: 25px 30px;
    border-radius: 12px;
    border-left: 4px solid #0056b3;
}

.weather-tips h3 { margin: 0 0 15px; color: #003c78; font-size: 18px; }
.weather-tips ul { margin: 0; padding-left: 20px; }
.weather-tips li { margin-bottom: 10px; font-size: 14px; color: #555; line-height: 1.6; }

/* ==============================
ВАКАНСИИ
============================== */
.vacancies-section { background: #f8f9fa; padding: 70px 0; }

.vacancies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.vacancy-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid #eef2f7;
    transition: all 0.25s;
}

.vacancy-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); border-color: #0056b3; }

.vacancy-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
}

.vacancy-title {
    font-size: 18px;
    font-weight: 700;
    color: #003c78;
    margin: 0;
    line-height: 1.3;
}

.vacancy-badge {
    background: #e7f3ff;
    color: #0056b3;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    align-self: flex-start;
}

.vacancy-desc { font-size: 14px; color: #555; line-height: 1.6; margin-bottom: 20px; }

.vacancy-requirements { background: #f8f9fa; padding: 16px; border-radius: 8px; border-left: 3px solid #0056b3; }
.vacancy-requirements strong { display: block; margin-bottom: 10px; color: #003c78; font-size: 14px; }
.vacancy-requirements ul { margin: 0; padding-left: 20px; font-size: 13px; color: #666; }

.vacancy-benefits { background: #fff; padding: 35px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.06); margin-bottom: 30px; }
.benefits-title { font-size: 22px; color: #003c78; margin: 0 0 25px; text-align: center; }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.2s;
}

.benefit-item:hover { background: #e7f3ff; }
.benefit-icon { font-size: 22px; flex-shrink: 0; }
.benefit-text { font-size: 14px; color: #555; line-height: 1.5; }

.vacancy-contact {
    background: linear-gradient(135deg, #0056b3, #003c78);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.vacancy-contact h3 { margin: 0 0 10px; font-size: 20px; }
.vacancy-contact p { margin: 0 0 20px; opacity: 0.95; font-size: 15px; }

.contact-methods { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    transition: background 0.2s;
}

.contact-link:hover { background: rgba(255,255,255,0.25); }

/* ==============================
ДОКУМЕНТЫ
============================== */
.documents-section { background: #fff; padding: 70px 0; }

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.document-card {
    background: #fff;
    border: 2px solid #eef2f7;
    border-radius: 12px;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    transition: all 0.3s ease;
}

.document-card:hover { border-color: #0056b3; box-shadow: 0 6px 20px rgba(0,86,179,0.1); transform: translateX(5px); }

.document-header { display: flex; align-items: flex-start; gap: 20px; flex: 1; }
.document-icon { font-size: 36px; flex-shrink: 0; line-height: 1; }
.document-info { flex: 1; }
.document-title { font-size: 18px; font-weight: 700; color: #003c78; margin: 0 0 6px 0; }
.document-meta { font-size: 13px; color: #888; margin: 0 0 10px 0; font-weight: 500; }
.document-desc { font-size: 14px; color: #555; line-height: 1.5; margin: 0; }
.document-actions { flex-shrink: 0; }

.btn-doc {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #0056b3;
    color: #fff;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-doc:hover { background: #003c78; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,86,179,0.3); }

.pdf-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10000; display: flex; align-items: center; justify-content: center; }
.pdf-modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); cursor: pointer; }

.pdf-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 85vh;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    z-index: 1;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.pdf-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; background: #003c78; color: #fff; flex-shrink: 0; }
.pdf-modal-title { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 80%; }

.pdf-modal-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.pdf-modal-close:hover { background: rgba(255,255,255,0.3); }
.pdf-modal-body { flex: 1; overflow: hidden; background: #555; }
.pdf-modal-body iframe { width: 100%; height: 100%; border: none; }
.pdf-modal-footer { padding: 12px 24px; background: #f8f9fa; border-top: 1px solid #eef2f7; display: flex; justify-content: flex-end; flex-shrink: 0; }

.btn-pdf-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #0056b3;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}

.btn-pdf-download:hover { background: #003c78; }

/* ==============================
КОНТАКТЫ
============================== */
.contacts-section { background: #f4f7f6; padding: 70px 0; }

.contacts-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.contact-card-modern {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border: 1px solid #eef2f7;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-card-modern:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }

.card-icon { font-size: 42px; margin-bottom: 15px; line-height: 1; }

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: #003c78;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e7f3ff;
    text-align: left;
}

.card-text { font-size: 15px; color: #555; line-height: 1.8; margin: 0; text-align: left; }

.phone-block { display: flex; flex-direction: column; gap: 20px; }
.phone-row { display: flex; flex-direction: column; gap: 6px; }

.phone-number a {
    font-size: 20px;
    font-weight: 700;
    color: #0056b3;
    text-decoration: none;
    transition: color 0.2s;
}

.phone-number a:hover { color: #003c78; text-decoration: underline; }
.phone-desc { font-size: 13px; color: #888; font-weight: 500; }

.online-links { display: flex; flex-direction: column; gap: 12px; }

.online-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.online-link:hover { background: #fff; transform: translateX(5px); }
.online-link.email:hover { border-color: #ea4335; background: #fff5f5; }
.online-link.telegram:hover { border-color: #229ED9; background: #e7f6fb; }
.online-link.max:hover { border-color: #0077FF; background: #f0f7ff; }

.link-icon { font-size: 22px; flex-shrink: 0; }
.link-text { font-size: 15px; font-weight: 600; color: #333; flex-grow: 1; }
.link-label { font-size: 11px; color: #888; text-transform: uppercase; font-weight: 600; background: #eef2f7; padding: 4px 8px; border-radius: 6px; }

.requisites-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border: 2px dashed #0056b3;
    margin-top: 25px;
}

.requisites-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e7f3ff;
}

.req-icon { font-size: 28px; }
.requisites-header h3 { margin: 0; font-size: 18px; color: #003c78; font-weight: 700; }

.requisites-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.req-row { display: flex; flex-direction: column; gap: 4px; }
.req-label { font-size: 12px; color: #888; text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; }
.req-value { font-size: 16px; font-weight: 700; color: #003c78; font-family: 'Courier New', monospace; }

.map-box {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    width: 100%;
}

.map-box iframe { display: block; width: 100%; border: none; }

/* ==============================
ПОДВАЛ
============================== */
.ferry-footer {
    background: linear-gradient(135deg, #003c78, #0056b3);
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 { margin: 0 0 20px; font-size: 18px; font-weight: 700; color: #fff; }

.footer-contacts { list-style: none; padding: 0; margin: 0; }
.footer-contacts li { display: flex; gap: 12px; margin-bottom: 15px; align-items: flex-start; }
.footer-icon { font-size: 20px; flex-shrink: 0; line-height: 1.4; }
.footer-contacts strong { display: block; margin-bottom: 3px; color: #fff; }

.footer-contacts a {
    color: #a8d5ff;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contacts a:hover { color: #fff; text-decoration: underline; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: #a8d5ff;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}

.footer-links a:hover { color: #fff; transform: translateX(5px); }

.footer-about { font-size: 14px; line-height: 1.6; color: #c8e0ff; margin: 0 0 15px; }
.footer-about strong { color: #fff; display: block; margin-top: 5px; }
.footer-about-small { font-size: 13px; color: #a8d5ff; margin: 0; line-height: 1.5; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 20px; text-align: center; }

.footer-legal a {
    color: #a8d5ff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-legal a:hover { color: #fff; text-decoration: underline; }

/* ==============================
МОДАЛКИ (БИЛЕТЫ, COOKIE, ПОЛИТИКА)
============================== */
.ticket-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 15px; }
.ticket-modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); cursor: pointer; }

.ticket-modal-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    z-index: 1;
    animation: ticketModalSlide 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes ticketModalSlide {
    from { transform: translateY(-50px) scale(0.9); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.ticket-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
    color: #fff;
}

.ticket-modal-close:hover { background: rgba(255,255,255,0.3); transform: rotate(90deg); }

.ticket-modal-header {
    background: linear-gradient(135deg, #0056b3, #003c78);
    color: #fff;
    padding: 25px 20px 20px;
    text-align: center;
    flex-shrink: 0;
}

.ticket-icon { font-size: 42px; margin-bottom: 10px; animation: boatRock 2s ease-in-out infinite; }

@keyframes boatRock {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

.ticket-title { margin: 0; font-size: 22px; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.ticket-modal-body { padding: 20px; background: #f8f9fa; overflow-y: auto; flex: 1; }
.ticket-instructions { list-style: none; padding: 0; margin: 0 0 15px 0; }

.ticket-instructions li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 15px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: all 0.2s;
}

.ticket-instructions li:hover { transform: translateX(3px); box-shadow: 0 3px 10px rgba(0,0,0,0.08); }
.instruction-icon { font-size: 20px; flex-shrink: 0; line-height: 1; }
.instruction-text { font-size: 14px; color: #333; line-height: 1.4; }
.instruction-text strong { color: #003c78; display: block; margin-bottom: 3px; font-size: 14px; }
.instruction-text a { color: #0056b3; font-weight: 600; text-decoration: underline; }

.ticket-warning {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 13px;
    color: #856404;
    line-height: 1.4;
    margin-top: 10px;
}

.ticket-warning strong { color: #664d03; }

.ticket-modal-footer {
    padding: 15px 20px;
    background: #fff;
    border-top: 1px solid #eef2f7;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
}

.btn-ticket-cancel {
    padding: 12px 24px;
    background: #eef2f7;
    color: #555;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
}

.btn-ticket-cancel:hover { background: #dfe5ed; }

.btn-ticket-continue {
    padding: 12px 24px;
    background: linear-gradient(135deg, #0056b3, #003c78);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0,86,179,0.3);
    flex: 2;
}

.btn-ticket-continue:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,86,179,0.4); }

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 9998;
    padding: 20px;
    border-top: 4px solid #0056b3;
    animation: slideUp 0.3s ease;
    display: none;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-text { flex: 1; min-width: 300px; }
.cookie-banner-text strong { display: block; font-size: 16px; color: #003c78; margin-bottom: 8px; }
.cookie-banner-text p { margin: 0; font-size: 14px; color: #555; line-height: 1.5; }
.cookie-banner-text a { color: #0056b3; text-decoration: underline; font-weight: 600; }
.cookie-banner-buttons { display: flex; gap: 12px; flex-shrink: 0; }

.btn-cookie-accept {
    padding: 12px 24px;
    background: #0056b3;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cookie-accept:hover { background: #003c78; }

.btn-cookie-more {
    padding: 12px 24px;
    background: transparent;
    color: #0056b3;
    border: 2px solid #0056b3;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cookie-more:hover { background: #e7f3ff; }

.privacy-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.privacy-modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); cursor: pointer; }

.privacy-modal-content {
    position: relative;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.3s ease;
}

.privacy-modal-header {
    background: linear-gradient(135deg, #0056b3, #003c78);
    color: #fff;
    padding: 30px;
    text-align: center;
}

.privacy-modal-header h2 { margin: 0 0 8px; font-size: 24px; }
.privacy-modal-header p { margin: 0; opacity: 0.9; font-size: 15px; }

.privacy-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.privacy-modal-close:hover { background: rgba(255,255,255,0.3); }
.privacy-modal-body { flex: 1; overflow-y: auto; padding: 30px; }
.privacy-section { margin-bottom: 25px; }
.privacy-section h3 { color: #003c78; font-size: 18px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid #e7f3ff; }
.privacy-section p { font-size: 14px; line-height: 1.7; color: #555; margin: 0 0 10px; }
.privacy-section ul { margin: 0; padding-left: 20px; }
.privacy-section li { font-size: 14px; line-height: 1.7; color: #555; margin-bottom: 8px; }
.privacy-section a { color: #0056b3; text-decoration: underline; }
.privacy-modal-footer { padding: 20px 30px; background: #f8f9fa; border-top: 1px solid #eef2f7; text-align: right; }

.btn-privacy-close {
    padding: 12px 28px;
    background: #0056b3;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-privacy-close:hover { background: #003c78; }

/* ==============================
ВЕРСИЯ ДЛЯ СЛАБОВИДЯЩИХ
============================== */
body.vision-mode { background: #fff !important; }

body.vision-mode * {
    background: transparent !important;
    color: #000 !important;
    border-color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transition: none !important;
    transform: none !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

body.vision-mode .ferry-header,
body.vision-mode .schedule-section,
body.vision-mode .info-section,
body.vision-mode .rules-section { background: #fff !important; }

body.vision-mode .ferry-hero {
    background: #fff !important;
    padding: 40px 0 !important;
    border-bottom: 3px solid #000 !important;
}

body.vision-mode .ferry-title,
body.vision-mode .ferry-subtitle,
body.vision-mode .section-title {
    color: #000 !important;
    font-size: 32px !important;
}

body.vision-mode .ferry-status {
    background: #000 !important;
    color: #fff !important;
    border: 3px solid #000 !important;
}

body.vision-mode .btn-ferry {
    border: 3px solid #000 !important;
    font-size: 18px !important;
    padding: 20px 40px !important;
}

body.vision-mode .btn-primary { background: #000 !important; color: #fff !important; }
body.vision-mode .btn-secondary { background: #fff !important; color: #000 !important; }
body.vision-mode .ferry-nav a {
    color: #000 !important;
    font-size: 16px !important;
    text-decoration: underline !important;
}

body.vision-mode .schedule-table { border: 3px solid #000 !important; }

body.vision-mode .schedule-table th {
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
    font-size: 16px !important;
}

body.vision-mode .schedule-table td {
    border: 2px solid #000 !important;
    font-size: 16px !important;
}

body.vision-mode .tariff-card { border: 3px solid #000 !important; }
body.vision-mode .tariff-price {
    font-size: 28px !important;
    border-top: 2px solid #000 !important;
}

body.vision-mode p,
body.vision-mode li,
body.vision-mode td,
body.vision-mode div {
    font-size: 18px !important;
    line-height: 1.8 !important;
}

body.vision-mode img,
body.vision-mode .tariff-icon { display: none !important; }
body.vision-mode .document-card { border: 2px solid #000 !important; }
body.vision-mode .document-title,
body.vision-mode .document-desc { color: #000 !important; }

body.vision-mode .btn-doc {
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
    font-size: 16px !important;
    padding: 15px 30px !important;
}

body.vision-mode .pdf-modal-content {
    background: #fff !important;
    border: 3px solid #000 !important;
}

body.vision-mode .pdf-modal-header { background: #000 !important; }

body.vision-mode .btn-pdf-download {
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
    font-size: 16px !important;
    padding: 12px 24px !important;
}

body.vision-mode .ticket-modal-content { border: 3px solid #000 !important; }
body.vision-mode .ticket-modal-header {
    background: #000 !important;
    border-bottom: 3px solid #000 !important;
}

body.vision-mode .ticket-instructions li { border: 2px solid #000 !important; }

body.vision-mode .btn-ticket-continue {
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
}

body.vision-mode .camera-card { border: 3px solid #000 !important; }
body.vision-mode .camera-header {
    background: #000 !important;
    border-bottom: 3px solid #000 !important;
}

body.vision-mode .camera-status {
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #fff !important;
}

body.vision-mode .btn-camera-expand {
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
    font-size: 16px !important;
    padding: 12px 24px !important;
}

body.vision-mode .privacy-policy-content { border: 3px solid #000 !important; }
body.vision-mode .privacy-policy-header {
    background: #000 !important;
    border-bottom: 3px solid #000 !important;
}

body.vision-mode .policy-section { border-left-color: #000 !important; }
body.vision-mode .weather-tab-btn {
    border: 2px solid #000 !important;
    background: #fff !important;
    color: #000 !important;
}

body.vision-mode .weather-tab-btn.active {
    background: #000 !important;
    color: #fff !important;
}

body.vision-mode .weather-conditions {
    border-color: #000 !important;
    background: #fff !important;
}

body.vision-mode .condition-card { border: 2px solid #000 !important; }

/* ==============================
АДАПТИВНОСТЬ
============================== */
@media (max-width: 900px) {
    .vision-toggle-btn { display: none !important; }
    .menu-toggle { display: flex; -webkit-tap-highlight-color: transparent; }
    
    .ferry-nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 85%;
        height: 100vh;
        height: -webkit-fill-available;
        background: #fff;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        z-index: 1000;
        transition: right 0.3s ease;
        border: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .ferry-nav-container.nav-open { right: 0; }
    
    .ferry-nav {
        flex-direction: column;
        align-items: stretch;
        padding: 80px 20px 20px;
        padding-top: calc(80px + env(safe-area-inset-top));
    }
    
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        width: 100vw;
        height: 100vh;
        height: -webkit-fill-available;
    }
    
    .vision-toggle-btn {
        display: inline-flex;
        padding: 8px 12px;
        min-width: 44px;
        -webkit-tap-highlight-color: transparent;
    }
    
    .vision-toggle-btn span { display: none; }
    .vision-toggle-btn::before { content: '👁'; font-size: 18px; }
    
    .header-top {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 10px 15px;
    }
    
    .company-name { font-size: 15px; }
    
    .ferry-nav {
        justify-content: center;
        gap: 5px;
        padding: 5px 0;
    }
    
    .ferry-nav a { padding: 10px 14px; font-size: 14px; }
    
    .info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .weather-info-block,
    .weather-conditions,
    .weather-tips {
        max-width: 100%;
        margin: 20px 15px;
    }
    
    .ferry-title { font-size: 28px; }
    .ferry-subtitle { font-size: 16px; }
    .ferry-buttons { flex-direction: column; width: 100%; }
    .btn-ferry { width: 100%; justify-content: center; }
    .section-title { font-size: 24px; text-align: left; }
    .schedule-table th, .schedule-table td { padding: 12px 15px; font-size: 14px; }
    
    .tariffs-grid,
    .info-grid,
    .conditions-grid,
    .cameras-grid,
    .contacts-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .vacancies-grid { grid-template-columns: 1fr; }
    
    .document-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    
    .document-header { width: 100%; }
    .document-actions { width: 100%; margin-top: 15px; }
    .btn-doc { width: 100%; justify-content: center; }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-banner-text { min-width: auto; }
    .cookie-banner-buttons { flex-direction: column; width: 100%; }
    .btn-cookie-accept, .btn-cookie-more { width: 100%; }
    
    .privacy-modal-content { max-height: 95vh; }
    .privacy-modal-header { padding: 25px 20px; }
    .privacy-modal-body { padding: 20px; }
    
    .camera-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .camera-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .camera-footer {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .btn-camera-expand { width: 100%; }
    
    .camera-overlay {
        flex-direction: column;
        gap: 8px;
        align-items: center;
        text-align: center;
    }
    
    .contact-card-modern { padding: 25px; }
    .requisites-body { grid-template-columns: 1fr; }
    .map-box iframe { height: 200px !important; }
    
    .ticket-modal {
        padding: 10px;
        align-items: flex-end;
    }
    
    .ticket-modal-content {
        max-height: 85vh;
        border-radius: 16px 16px 0 0;
        margin-bottom: 0;
    }
    
    .ticket-modal-header { padding: 20px 15px 15px; }
    .ticket-icon { font-size: 36px; }
    .ticket-title { font-size: 20px; }
    .ticket-modal-body { padding: 15px; }
    
    .ticket-instructions li {
        padding: 10px 12px;
        gap: 10px;
        margin-bottom: 8px;
    }
    
    .instruction-icon { font-size: 18px; }
    .instruction-text { font-size: 13px; }
    .instruction-text strong { font-size: 13px; }
    
    .ticket-warning {
        font-size: 12px;
        padding: 10px 12px;
    }
    
    .ticket-modal-footer {
        padding: 12px 15px;
        flex-direction: column-reverse;
    }
    
    .btn-ticket-cancel,
    .btn-ticket-continue {
        width: 100%;
        padding: 14px 20px;
    }
    
    .vacancy-header { flex-direction: column; }
    .benefits-grid { grid-template-columns: 1fr; }
    .contact-methods {
        flex-direction: column;
        gap: 15px;
    }
    
    .conditions-grid { grid-template-columns: 1fr; }
    
    .weather-widget {
        padding: 15px;
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section h3 { font-size: 16px; }
    
    .weather-widget iframe { height: 400px; }
    .weather-conditions { padding: 20px; }
    .card-title { font-size: 18px; }
    .phone-number a { font-size: 18px; }
    .online-link { flex-wrap: wrap; }
    .link-text { font-size: 14px; }
    .vacancy-card { padding: 20px; }
    .vacancy-title { font-size: 16px; }
    .camera-placeholder iframe { height: 250px !important; }
    .camera-title { font-size: 18px; }
}

@media (max-width: 480px) {
    .ferry-logo { font-size: 18px; }
    .ferry-nav { gap: 10px; }
    .ferry-nav a { font-size: 14px; }
    .ferry-title { font-size: 24px; }
    .section-title { font-size: 22px; }
    .tariff-header { flex-direction: column; align-items: flex-start; }
    .tariff-price { text-align: left; font-size: 22px; }
    .vision-toggle-btn { display: inline-flex !important; }
    
    .ferry-logo {
        max-width: 100px;
        height: auto;
    }
    
    .ferry-title {
        font-size: 14px;
        line-height: 1.3;
        margin: 10px 0;
    }
    
    .ferry-nav { display: none; }
    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
        padding: 8px;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .schedule-table { font-size: 13px; }
    .schedule-table th { padding: 10px 8px; font-size: 12px; }
    .schedule-table td { padding: 12px 8px; font-size: 13px; }
    .schedule-time { font-size: 14px; font-weight: 700; }
    .schedule-route { font-size: 12px; line-height: 1.4; word-wrap: break-word; }
    .container { padding: 0 10px; }
    .schedule-card { padding: 15px; margin-bottom: 10px; }
    .alert-banner { padding: 12px; font-size: 12px; }
    
    .ferry-logo { max-width: 100px; }
    .ferry-title { font-size: 14px; }
    .section-title { font-size: 20px; }
    .schedule-table th { padding: 8px 6px; font-size: 11px; }
    .schedule-table td { padding: 10px 6px; font-size: 12px; }
    .schedule-time { font-size: 13px; }
    .schedule-route { font-size: 11px; }
    
    .ticket-title { font-size: 18px; }
    .ticket-icon { font-size: 32px; }
    .ticket-instructions li { padding: 10px; }
    .instruction-text { font-size: 12px; }
    
    .weather-widget iframe { height: 300px; }
    .condition-limit { font-size: 16px; }
    .btn-card-buy { font-size: 13px; padding: 10px; }
    .tariffs-footnote { padding: 16px 20px; }
    .footnote-content { font-size: 13px; }
    
    .cookie-banner { padding: 15px; }
    .cookie-banner-text strong { font-size: 15px; }
    .cookie-banner-text p { font-size: 13px; }
    
    .privacy-policy-header h2 { font-size: 20px; }
    .policy-section { padding: 15px; }
    
    .ferry-header { padding: 15px 0; }
    .ferry-logo {
        max-width: 120px;
        height: auto;
    }
    .ferry-title {
        font-size: 16px;
        line-height: 1.3;
        margin: 10px 0;
    }
    .ferry-nav { display: none; }
    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
        padding: 8px;
    }
    .section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    .schedule-table { font-size: 13px; }
    .schedule-table th { padding: 10px 8px; font-size: 12px; }
    .schedule-table td { padding: 12px 8px; font-size: 13px; }
    .schedule-time { font-size: 14px; font-weight: 700; }
    .schedule-route { font-size: 12px; line-height: 1.4; word-wrap: break-word; }
    .container { padding: 0 10px; }
    .schedule-card { padding: 15px; margin-bottom: 10px; }
    .alert-banner { padding: 12px; font-size: 12px; }
    
    .ferry-header {
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        padding: 10px 0;
    }
    
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .ferry-logo { max-width: 80px; }
    .ferry-title { display: none; }
    .mobile-menu-toggle { order: 1; }
    
    .company-name { font-size: 12px; }
    .logo-img { height: 35px; }
    .ferry-nav a { padding: 8px 10px; font-size: 12px; }
    
    .ferry-footer { padding: 40px 0 20px; }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-section h3 { font-size: 16px; }
    .footer-section ul li { text-align: left; }
    .footer-section ul li div { text-align: left; }
}

@media (max-width: 400px) {
    .company-name { font-size: 12px; }
    .logo-img { height: 35px; }
    .ferry-nav a { padding: 8px 10px; font-size: 12px; }
}

/* ==============================
ОПТИМИЗАЦИЯ ШАПКИ ДЛЯ МОБИЛЬНЫХ
============================== */
@media (max-width: 768px) {
    /* Делаем шапку одной строкой */
    .header-top {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 8px 15px;
        min-height: 50px;
    }
    
    /* Полностью скрываем кнопку слабовидящих на телефоне */
    .vision-toggle-btn {
        display: none !important;
    }
    
    /* Логотип и название */
    .ferry-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
    }
    
    .logo-img {
        height: 32px;
        width: auto;
    }
    
    .company-name {
        font-size: 13px;
        line-height: 1.2;
        max-width: 160px;
    }
    
    /* Контейнер правой части (кнопка меню) */
    .header-right {
        display: flex;
        align-items: center;
    }
    
    /* Кнопка-бургер */
    .menu-toggle {
        width: 36px;
        height: 36px;
        padding: 6px;
        margin-left: 10px;
    }
}

/* ==============================
ОПТИМИЗАЦИЯ РАСПИСАНИЯ ДЛЯ МОБИЛЬНЫХ
============================== */
@media (max-width: 768px) {
    /* Разрешаем перенос текста в маршруте */
    .route-cell {
        white-space: normal !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        line-height: 1.3 !important;
        font-size: 11px !important;
        padding: 8px 6px !important;
    }
    
    /* Фиксируем узкие колонки */
    .time-cell {
        width: 60px !important;
        min-width: 60px !important;
        font-size: 12px !important;
        padding: 8px 4px !important;
    }
    
    /* Колонка "В пути" */
    .schedule-table td:last-child {
        width: 50px !important;
        min-width: 50px !important;
        font-size: 10px !important;
        padding: 8px 4px !important;
        text-align: center !important;
        white-space: nowrap !important;
    }
    
    /* Уменьшаем заголовки таблицы */
    .schedule-table th {
        padding: 8px 6px !important;
        font-size: 10px !important;
    }
    
    /* Общая ширина таблицы */
    .schedule-table {
        font-size: 11px !important;
    }
    
    .schedule-table td {
        padding: 8px 6px !important;
        vertical-align: top !important;
    }
    
    /* Убираем минимальную ширину чтобы таблица сжималась */
    .schedule-wrapper {
        overflow-x: hidden !important;
    }
    
    .schedule-table {
        min-width: auto !important;
        width: 100% !important;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .route-cell {
        font-size: 10px !important;
        line-height: 1.25 !important;
    }
    
    .time-cell {
        width: 55px !important;
        font-size: 11px !important;
    }
    
    .schedule-table td:last-child {
        width: 45px !important;
        font-size: 9px !important;
    }
    
    .schedule-table th {
        font-size: 9px !important;
        padding: 6px 4px !important;
    }
}

/* ==============================
СТИЛИ ДЛЯ КОНТЕНТА ИЗ QUILL РЕДАКТОРА
============================== */
.rules-accordion .content {
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    padding: 20px;
}

.rules-accordion .content p {
    margin-bottom: 15px;
    text-align: justify;
}

.rules-accordion .content h1,
.rules-accordion .content h2,
.rules-accordion .content h3,
.rules-accordion .content h4,
.rules-accordion .content h5,
.rules-accordion .content h6 {
    margin: 20px 0 15px;
    font-weight: 700;
    color: #003c78;
    line-height: 1.3;
}

.rules-accordion .content h1 { font-size: 22px; }
.rules-accordion .content h2 { font-size: 20px; }
.rules-accordion .content h3 { font-size: 18px; }
.rules-accordion .content h4 { font-size: 16px; }

.rules-accordion .content strong,
.rules-accordion .content b {
    font-weight: 700;
    color: #000;
}

.rules-accordion .content em,
.rules-accordion .content i {
    font-style: italic;
}

.rules-accordion .content u {
    text-decoration: underline;
}

.rules-accordion .content s,
.rules-accordion .content strike {
    text-decoration: line-through;
}

.rules-accordion .content ul {
    margin: 15px 0;
    padding-left: 30px;
    list-style-type: disc;
}

.rules-accordion .content ul ul {
    margin: 10px 0;
    padding-left: 25px;
    list-style-type: circle;
}

.rules-accordion .content ul ul ul {
    list-style-type: square;
}

.rules-accordion .content ul li {
    margin-bottom: 10px;
    line-height: 1.6;
    position: relative;
}

.rules-accordion .content ul li::marker {
    color: #0056b3;
}

.rules-accordion .content ol {
    margin: 15px 0;
    padding-left: 30px;
    list-style-type: decimal;
    counter-reset: item;
}

.rules-accordion .content ol ol {
    margin: 10px 0;
    padding-left: 25px;
    list-style-type: lower-alpha;
}

.rules-accordion .content ol ol ol {
    list-style-type: lower-roman;
}

.rules-accordion .content ol li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.rules-accordion .content ol li::marker {
    color: #0056b3;
    font-weight: 600;
}

.rules-accordion .content input[type="checkbox"] {
    margin-right: 8px;
    vertical-align: middle;
}

.rules-accordion .content blockquote {
    border-left: 4px solid #0056b3;
    padding-left: 20px;
    margin: 20px 0;
    color: #555;
    font-style: italic;
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
}

.rules-accordion .content a {
    color: #0056b3;
    text-decoration: underline;
    font-weight: 600;
}

.rules-accordion .content a:hover {
    color: #003c78;
    text-decoration: none;
}

.rules-accordion .content code {
    background: #f4f7f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #d63384;
}

.rules-accordion .content pre {
    background: #f4f7f6;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 15px 0;
    border: 1px solid #e0e0e0;
}

.rules-accordion .content pre code {
    background: none;
    padding: 0;
    color: #333;
}

.rules-accordion .content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.rules-accordion .content th,
.rules-accordion .content td {
    border: 1px solid #ddd;
    padding: 10px 15px;
    text-align: left;
}

.rules-accordion .content th {
    background: #0056b3;
    color: #fff;
    font-weight: 600;
}

.rules-accordion .content tr:nth-child(even) {
    background: #f8f9fa;
}

.rules-accordion .content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.rules-accordion .content .ql-align-center {
    text-align: center;
}

.rules-accordion .content .ql-align-right {
    text-align: right;
}

.rules-accordion .content .ql-align-justify {
    text-align: justify;
}

.rules-accordion .content .ql-indent-1 {
    padding-left: 30px;
}

.rules-accordion .content .ql-indent-2 {
    padding-left: 60px;
}

.rules-accordion .content .ql-indent-3 {
    padding-left: 90px;
}

.rules-accordion .content .ql-direction-rtl {
    direction: rtl;
    text-align: right;
}

.rules-accordion .content .ql-color-primary {
    color: #0056b3;
}

.rules-accordion .content .ql-color-secondary {
    color: #6c757d;
}

.rules-accordion .content .ql-color-success {
    color: #28a745;
}

.rules-accordion .content .ql-color-danger {
    color: #dc3545;
}

.rules-accordion .content .ql-bg-light {
    background-color: #f8f9fa;
}

.rules-accordion .content .ql-bg-primary {
    background-color: #0056b3;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .rules-accordion .content {
        font-size: 13px;
        padding: 15px;
    }
    
    .rules-accordion .content ul,
    .rules-accordion .content ol {
        padding-left: 20px;
    }
    
    .rules-accordion .content h1 { font-size: 20px; }
    .rules-accordion .content h2 { font-size: 18px; }
    .rules-accordion .content h3 { font-size: 16px; }
}

@media (max-width: 480px) {
    .rules-accordion .content {
        font-size: 12px;
        padding: 12px;
    }
    
    .rules-accordion .content table {
        font-size: 11px;
    }
    
    .rules-accordion .content th,
    .rules-accordion .content td {
        padding: 8px 10px;
    }
}

/* Выравнивание контактов в подвале */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    text-align: left;
}

.footer-section ul li:last-child {
    margin-bottom: 0;
}

.footer-section ul li .footer-icon {
    font-size: 20px;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
    line-height: 1.4;
}

.footer-section ul li div {
    flex: 1;
    text-align: left;
    line-height: 1.6;
}

.footer-section ul li strong {
    display: block;
    margin-bottom: 3px;
    color: #fff;
    font-weight: 600;
}

.footer-section ul li a {
    color: #a8d5ff;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Заголовок секции */
.footer-section h3 {
    margin: 0 0 25px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .footer-section ul li {
        text-align: left;
    }
    
    .footer-section ul li div {
        text-align: left;
    }
}
/* ==============================
ИСПРАВЛЕНИЕ ОКОШКА ИНФОРМАЦИИ В HERO
============================== */
.ferry-hero #alert-container {
    max-width: 600px !important;
    margin: 0 auto 25px !important;
    padding: 0 !important;
}

.ferry-hero .alert-banner {
    background: rgba(255, 255, 255, 0.97) !important;
    color: #333 !important;
    padding: 16px 24px !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2) !important;
    backdrop-filter: blur(10px) !important;
    border-left: 4px solid #28a745 !important;
    position: relative !important;
    margin-bottom: 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.ferry-hero .alert-normal {
    border-left-color: #28a745 !important;
    background: rgba(232, 245, 233, 0.97) !important;
}

.ferry-hero .alert-warning {
    border-left-color: #ffc107 !important;
    background: rgba(255, 243, 205, 0.97) !important;
}

.ferry-hero .alert-danger {
    border-left-color: #dc3545 !important;
    background: rgba(248, 215, 218, 0.97) !important;
}

.ferry-hero .alert-content {
    flex: 1 !important;
    padding-right: 30px !important;
}

.ferry-hero .alert-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    margin: 0 0 4px !important;
    color: #003c78 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.ferry-hero .alert-text {
    font-size: 13px !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    color: #444 !important;
}

.ferry-hero .alert-close {
    background: rgba(0,0,0,0.05) !important;
    border: none !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    font-size: 16px !important;
    cursor: pointer !important;
    opacity: 0.6 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    padding: 0 !important;
}

.ferry-hero .alert-close:hover {
    opacity: 1 !important;
    background: rgba(0,0,0,0.1) !important;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .ferry-hero #alert-container {
        padding: 0 15px !important;
    }
    .ferry-hero .alert-banner {
        padding: 14px 18px !important;
        border-radius: 10px !important;
    }
    .ferry-hero .alert-title {
        font-size: 12px !important;
    }
    .ferry-hero .alert-text {
        font-size: 12px !important;
    }
}

/* ==============================
ИСПРАВЛЕНИЕ СПИСКОВ В ПРАВИЛАХ (ПРИНУДИТЕЛЬНЫЕ МАРКЕРЫ)
============================== */
.rules-accordion .content ul,
.rules-accordion .content ul[data-list="bullet"],
.rules-accordion .content .ql-list,
.rules-accordion .content ol[data-list="bullet"],
.rules-accordion .content .ql-bullet {
    list-style-type: disc !important;
    padding-left: 30px !important;
    margin: 15px 0 !important;
}

.rules-accordion .content ul ul,
.rules-accordion .content ul[data-list="bullet"] ul,
.rules-accordion .content .ql-list .ql-list {
    list-style-type: circle !important;
    padding-left: 25px !important;
}

.rules-accordion .content ul ul ul,
.rules-accordion .content ul[data-list="bullet"] ul ul {
    list-style-type: square !important;
    padding-left: 20px !important;
}

.rules-accordion .content ul li,
.rules-accordion .content ul[data-list="bullet"] li,
.rules-accordion .content .ql-list li {
    list-style-type: disc !important;
    margin-bottom: 10px !important;
    line-height: 1.6 !important;
}

.rules-accordion .content ul li::marker,
.rules-accordion .content ul[data-list="bullet"] li::marker,
.rules-accordion .content .ql-list li::marker {
    color: #0056b3 !important;
    font-size: 1.2em !important;
}

/* Сбрасываем нумерацию для ol, если они должны быть маркерами */
.rules-accordion .content ol[data-list="bullet"],
.rules-accordion .content ol.ql-list.ql-bullet {
    list-style-type: disc !important;
    counter-reset: none !important;
}

/* Обычные нумерованные списки (если нужны) */
.rules-accordion .content ol[data-list="ordered"],
.rules-accordion .content ol.ql-list.ql-ordered {
    list-style-type: decimal !important;
    padding-left: 30px !important;
}

.rules-accordion .content ol[data-list="ordered"] ol,
.rules-accordion .content ol.ql-list.ql-ordered ol {
    list-style-type: lower-alpha !important;
    padding-left: 25px !important;
}

/* Чекбоксы из Quill */
.rules-accordion .content input[type="checkbox"] {
    margin-right: 8px !important;
    vertical-align: middle !important;
    cursor: default !important;
    width: 16px !important;
    height: 16px !important;
    accent-color: #0056b3 !important;
}

/* Отступы для вложенности */
.rules-accordion .content .ql-indent-1 {
    padding-left: 30px !important;
}

.rules-accordion .content .ql-indent-2 {
    padding-left: 60px !important;
}

.rules-accordion .content .ql-indent-3 {
    padding-left: 90px !important;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .rules-accordion .content ul,
    .rules-accordion .content ol {
        padding-left: 20px !important;
    }
    
    .rules-accordion .content .ql-indent-1 {
        padding-left: 20px !important;
    }
    
    .rules-accordion .content .ql-indent-2 {
        padding-left: 40px !important;
    }
}
/* ==============================
ИСПРАВЛЕНИЕ МОБИЛЬНОГО МЕНЮ
============================== */
@media (max-width: 900px) {
    /* Когда меню открыто - делаем ссылки видимыми */
    .ferry-nav-container.nav-open .ferry-nav {
        display: flex !important;
        flex-direction: column !important;
        padding: 80px 20px 20px !important;
        gap: 0 !important;
    }
    
    .ferry-nav-container.nav-open .ferry-nav li {
        display: block !important;
        width: 100% !important;
    }
    
    .ferry-nav-container.nav-open .ferry-nav a {
        display: block !important;
        color: #003c78 !important; /* Синий цвет текста */
        font-size: 18px !important;
        font-weight: 600 !important;
        padding: 16px 20px !important;
        text-decoration: none !important;
        border-bottom: 1px solid #eef2f7 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .ferry-nav-container.nav-open .ferry-nav a:hover {
        background: #f0f7ff !important;
        color: #0056b3 !important;
    }
    
    .ferry-nav-container.nav-open .ferry-nav a::after {
        display: none !important; /* Убираем подчеркивание в мобильном меню */
    }
    
    /* Скрываем кнопку слабовидящих в мобильном меню */
    .ferry-nav-container.nav-open .vision-toggle-btn,
    .ferry-nav-container.nav-open #visionBtnInMenu {
        display: none !important;
    }
}
/* Принудительная видимость пунктов меню */
.ferry-nav li {
    display: list-item !important;
}

.ferry-nav a {
    visibility: visible !important;
    opacity: 1 !important;
    color: inherit;
}