:root {
    --color-primary: #0066cc;
    --color-secondary: #ffcc00;
    --color-white: #ffffff;
    --color-dark: #1a1a1a;
    --color-light-gray: #f5f5f5;
    --color-text: #333333;
    --color-text-light: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.75;
    color: var(--color-text);
    background-color: var(--color-white);
    padding-top: 85px;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-padding {
    padding-top: 0;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0052a3 100%);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.header-logo-block {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-white);
    font-size: 23px;
    font-weight: 700;
    transition: all 0.3s ease;
    padding: 0;
    border-radius: 4px;
    line-height: 1;
}

.logo:hover {
    color: var(--color-secondary);
    transform: scale(1.05);
}

.logo:active {
    transform: scale(0.98);
}

.logo-text {
    white-space: nowrap;
}

.header-nav-block {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-secondary);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-secondary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 1001;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .logo {
        font-size: 28px;
    }
    
    .header-container {
        padding: 10px 20px 10px;
    }
    
    body {
        padding-top: 60px;
    }
    
    .page-header {
        padding: 60px 0 60px;
        margin-top: -60px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 24px;
    }
    
    .header-container {
        padding: 8px 15px 8px;
        min-height: 60px;
    }
    
    body {
        padding-top: 60px;
    }
    
    .page-header {
        padding: 60px 0 40px;
        margin-top: -60px;
    }
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
    transform-origin: center;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.diagonal-divider {
    display: none;
}

/* Hero Section */
.hero-section {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-light-gray) 100%);
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: -0.03em;
    line-height: 1.2;
    text-shadow: 0 2px 15px rgba(0, 102, 204, 0.1);
}

.hero-subtitle {
    font-size: 26px;
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: 45px;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.4;
}

.hero-image-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--color-white);
}

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

.feature-card {
    background: linear-gradient(135deg, #ffffff 0%, var(--color-light-gray) 100%);
    padding: 45px 35px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
    color: inherit;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 102, 204, 0.25);
    border-color: var(--color-primary);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.feature-card h2 {
    font-size: 26px;
    color: var(--color-primary);
    margin-bottom: 18px;
    font-weight: 700;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: #555555;
    margin-bottom: 24px;
    line-height: 1.85;
    letter-spacing: 0.01em;
    font-size: 17px;
    position: relative;
    z-index: 1;
}

.feature-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    z-index: 1;
    padding: 8px 20px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.feature-card:hover .feature-link {
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-primary) 0%, #0052a3 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Info Section */
.info-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-light-gray) 0%, var(--color-white) 100%);
}

.info-content {
    max-width: 900px;
    margin: 0 auto;
}

.info-content h2 {
    font-size: 38px;
    color: var(--color-primary);
    margin-bottom: 35px;
    text-align: center;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
    padding-bottom: 20px;
}

.info-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--color-secondary) 50%, transparent 100%);
    border-radius: 2px;
}

.info-content p {
    font-size: 19px;
    line-height: 1.9;
    color: #444444;
    margin-bottom: 24px;
    text-align: justify;
    letter-spacing: 0.01em;
}

.info-content p:first-of-type {
    font-size: 20px;
    line-height: 1.85;
    color: #333333;
    font-weight: 500;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, transparent 100%);
    padding: 20px 25px;
    border-radius: 12px;
    border-left: 4px solid var(--color-primary);
    margin-bottom: 30px;
}

.info-image-wrapper {
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-image {
    width: 100%;
    height: auto;
    display: block;
}

.diagonal-divider-bottom {
    width: 100%;
    height: 60px;
    background: var(--color-white);
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%);
}

/* Footer */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--color-secondary);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--color-secondary);
}

.footer-section p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-top: 3px solid var(--color-primary);
    padding: 25px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text h3 {
    color: var(--color-primary);
    margin-bottom: 10px;
    font-size: 20px;
}

.cookie-text p {
    color: var(--color-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.cookie-text a {
    color: var(--color-primary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background: var(--color-primary);
    color: var(--color-white);
}

.cookie-btn.accept:hover {
    background: #0052a3;
}

.cookie-btn.reject {
    background: var(--color-light-gray);
    color: var(--color-text);
}

.cookie-btn.reject:hover {
    background: #e0e0e0;
}

.cookie-btn.customize {
    background: var(--color-secondary);
    color: var(--color-dark);
}

.cookie-btn.customize:hover {
    background: #e6b800;
}

.cookie-btn.save {
    background: var(--color-primary);
    color: var(--color-white);
    width: 100%;
    margin-top: 15px;
}

.cookie-options {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--color-light-gray);
}

.cookie-option {
    margin-bottom: 15px;
}

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.cookie-option span {
    font-weight: 600;
    color: var(--color-text);
    display: block;
    margin-bottom: 3px;
}

.cookie-option small {
    color: var(--color-text-light);
    display: block;
    font-size: 14px;
}

/* Form Styles */
.contact-form {
    max-width: 700px;
    margin: 40px auto;
    background: var(--color-light-gray);
    padding: 40px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    color: #d32f2f;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.form-error.show {
    display: block;
}

.form-success {
    background: #4caf50;
    color: white;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
}

.form-success.show {
    display: block;
}

.consent-checkbox {
    margin-bottom: 25px;
}

.consent-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
}

.consent-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
}

.submit-btn {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #0052a3;
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Page Content Styles */
.page-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0052a3 100%);
    color: var(--color-white);
    padding: 85px 0 60px;
    text-align: center;
    margin-top: -85px;
}

.page-header h1 {
    font-size: 44px;
    margin-bottom: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-header p {
    font-size: 21px;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.page-content {
    padding: 60px 0;
}

.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    font-size: 36px;
    color: var(--color-primary);
    margin-bottom: 30px;
    padding-bottom: 18px;
    border-bottom: 4px solid var(--color-secondary);
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative;
    line-height: 1.3;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary) 0%, transparent 100%);
}

.content-section h3 {
    font-size: 26px;
    color: var(--color-primary);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.4;
    position: relative;
    padding-left: 20px;
}

.content-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 2px;
}

.content-section p {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 24px;
    text-align: justify;
    color: #444444;
    letter-spacing: 0.01em;
    position: relative;
}

.content-section p:first-of-type {
    font-size: 19px;
    line-height: 1.85;
    color: #333333;
    font-weight: 500;
}

.content-section p strong {
    color: var(--color-primary);
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0052a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-section ul,
.content-section ol {
    margin-left: 0;
    margin-bottom: 30px;
    padding-left: 0;
    list-style: none;
}

.content-section ul li {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 16px;
    color: #444444;
    letter-spacing: 0.01em;
    padding-left: 32px;
    position: relative;
}

.content-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.4;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0052a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-section ol {
    counter-reset: item;
    list-style: none;
}

.content-section ol li {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 16px;
    color: #444444;
    letter-spacing: 0.01em;
    padding-left: 40px;
    position: relative;
    counter-increment: item;
}

.content-section ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 2px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0052a3 100%);
    color: var(--color-white);
    font-weight: 700;
    font-size: 14px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.content-image {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.route-card,
.parking-card {
    background: linear-gradient(135deg, #ffffff 0%, var(--color-light-gray) 100%);
    padding: 35px;
    border-radius: 16px;
    margin-bottom: 35px;
    border-left: 5px solid var(--color-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.route-card::before,
.parking-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, transparent 100%);
    border-radius: 0 0 0 100%;
}

.route-card:hover,
.parking-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
    border-left-color: var(--color-secondary);
}

.route-card h3,
.parking-card h3 {
    color: var(--color-primary);
    margin-bottom: 18px;
    margin-top: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    position: relative;
    padding-left: 0;
}

.route-card h3::before,
.parking-card h3::before {
    display: none;
}

.route-card p,
.parking-card p {
    margin-bottom: 14px;
    line-height: 1.8;
    color: #444444;
    font-size: 17px;
}

.route-card strong,
.parking-card strong {
    color: var(--color-primary);
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0052a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 18px;
}

/* Responsive Design */
/* Desktop styles - larger sizes */
@media (min-width: 1025px) {
    .header-container {
        padding: 15px 40px 20px;
    }
    
    .logo {
        font-size: 23px;
    }
    
    body {
        padding-top: 105px;
    }
    
    .page-header {
        padding: 105px 0 60px;
        margin-top: -105px;
    }
}

@media (max-width: 1024px) {
    .header-container {
        padding: 20px 30px 15px;
    }
    
    .nav-menu {
        gap: 20px;
    }
}

@media (max-width: 882px) {
    body {
        padding-top: 75px;
    }
    
    .header {
        min-height: auto;
    }
    
    .header-container {
        padding: 10px 20px 10px;
        flex-wrap: wrap;
    }
    
    .header-logo-block {
        width: calc(100% - 60px);
        flex: 0 0 auto;
    }
    
    .header-nav-block {
        width: 100%;
        margin-top: 15px;
        order: 3;
        flex: 1 1 100%;
    }
    
    .mobile-menu-toggle {
        position: absolute;
        top: 10px;
        right: 20px;
    }
    
    .nav-menu {
        width: 100%;
    }
    
    .page-header {
        padding: 75px 0 50px;
        margin-top: -75px;
    }
    
    .logo {
        font-size: 28px;
    }
    
    .diagonal-divider {
        height: 40px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px 0;
    }

    .header-nav-block {
        width: 100%;
        margin-top: 20px;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transform: translateY(-20px);
        transition: opacity 0.4s ease, max-height 0.4s ease, transform 0.4s ease;
    }

    .nav-menu.active {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        top: 10px;
        right: 15px;
    }
    
    .header-logo-block {
        width: calc(100% - 60px);
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }

    .page-header {
        padding: 75px 0 50px;
        margin-top: -75px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }

    .content-section h2 {
        font-size: 28px;
    }
    
    body {
        padding-top: 75px;
    }
    
    .header-container {
        padding: 10px 20px 10px;
    }
    
    .logo {
        font-size: 28px;
    }
    
    .content-section h3 {
        font-size: 22px;
    }
    
    .content-section ul li,
    .content-section ol li {
        font-size: 16px;
        padding-left: 28px;
    }
    
    .content-section ol li::before {
        width: 24px;
        height: 24px;
        line-height: 24px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 8px 15px 8px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .page-header {
        padding: 140px 0 40px;
        margin-top: -140px;
    }
    
    body {
        padding-top: 60px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .content-section p,
    .content-section li {
        font-size: 16px;
    }
}

