/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    border-bottom: 1px solid #f2f2f2;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
}

.header-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.62rem 0 0.62rem 0;
    min-height: 76px;
}

.logo {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.logo img {
    height: 160px !important;
    max-width: 500px !important;
    display: block;
    position: absolute;
    top: 51%;
    left: 0;
    transform: translateY(-49%);
    pointer-events: auto;
}

.header-content .logo {
    min-width: 160px;
    min-height: 1px;
}

.logo:hover {
    transform: scale(1.03);
}

.nav {
    display: flex;
    gap: 1.15rem;
    align-items: center;
    background: none;
    box-shadow: none;
    z-index: 1;
}

.nav-link {
    color: #232323;
    font-weight: 500;
    font-size: 1.09rem;
    background: none;
    border-radius: 0;
    padding: 0.22rem 0.9rem;
    text-decoration: none;
    position: relative;
    transition: color 0.15s;
    box-shadow: none;
    display: inline-block;
    line-height: 1.2;
}

.nav-link.active {
    color: #ff6b35 !important;
    font-weight: 700;
    background: none !important;
    box-shadow: none !important;
}

.nav-link.active::after {
    content: '';
    display: block;
    height: 1px;
    width: 60%;
    margin: 0.18em auto 0 auto;
    background: #ff6b35;
    border-radius: 1px;
    position: relative;
}

.nav-link::after {
    content: '';
    display: block;
    height: 1px;
    width: 0;
    margin: 0.18em auto 0 auto;
    background: #ff6b35;
    border-radius: 1px;
    transition: width 0.18s;
    position: relative;
}

.nav-link:hover {
    color: #ff6b35;
}

.nav-link:hover::after {
    width: 60%;
}

.nav-link i {
    display: none !important;
}

/* Языковой переключатель */
.language-switcher {
    margin-left: 1.1rem;
    display: flex;
    justify-content: flex-end;
}

.lang-btn {
    background: #fff;
    border: 1.2px solid #ffecb3;
    box-shadow: none;
    border-radius: 18px;
    padding: 0.13rem 0.5rem;
    font-size: 0.91rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: box-shadow 0.15s, border 0.15s;
}

.lang-btn:hover {
    border: 1.2px solid #ff6b35;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.07);
}

.lang-btn i.fa-globe {
    color: #ff6b35;
    font-size: 1.1rem;
    margin-right: 0.15rem;
}

.lang-btn i.fa-chevron-down {
    color: #888;
    font-size: 1.05rem;
    margin-left: 0.15rem;
}

.lang-dropdown {
    border-radius: 12px;
    min-width: 120px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    border: 1.2px solid #ffecb3;
}

.lang-option {
    font-size: 0.98rem;
}

@media (max-width: 900px) {
    .nav {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 auto !important;
        z-index: 1200 !important;
        pointer-events: auto !important;
        width: 90vw;
        max-width: 340px;
        background: #fff;
        box-shadow: 0 8px 32px rgba(0,0,0,0.18);
        border-radius: 16px;
        padding: 0.4rem 0.2rem 0.4rem 0.2rem;
        height: auto;
        max-height: 80vh;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        animation: navSlideDown 0.38s cubic-bezier(.4,2,.6,1);
    }
    .menu-backdrop,
    .backdrop,
    [class*='backdrop'],
    .overlay,
    [class*='overlay'] {
        pointer-events: none !important;
        z-index: 1 !important;
    }
    @keyframes navSlideDown {
        from { opacity: 0; transform: translateY(-32px) scale(0.98); }
        to { opacity: 1; transform: translateY(0) scale(1); }
    }
    .nav-link, .dropdown-item {
        color: #232323 !important;
        font-size: 1.01rem;
        font-weight: 500;
        padding: 0.55rem 0.7rem;
        border-radius: 8px;
        margin-bottom: 1px;
        display: flex;
        align-items: center;
        gap: 0.6rem;
        background: none;
        transition: background 0.18s, color 0.18s;
        border-bottom: 1px solid #ffe0b2;
        position: relative;
        cursor: pointer;
        min-height: 32px;
    }
    .nav-link:last-child, .dropdown-item:last-child {
        border-bottom: none;
    }
    .nav-link i, .dropdown-item i {
        color: #ff9800 !important;
        font-size: 1.05em;
        min-width: 1.2em;
        text-align: center;
    }
    .nav-link.active, .dropdown-item.active, .nav-link:hover, .dropdown-item:hover {
        background: linear-gradient(90deg, #fff3e0 60%, #ffe0b2 100%);
        color: #ff6b35 !important;
    }
    .mobile-menu-back-btn {
        background: none;
        border: none;
        outline: none;
        font-size: 1.05rem;
        color: #ff6b35;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.5em;
        margin-bottom: 1.2rem;
        cursor: pointer;
        transition: color 0.2s;
        z-index: 1201;
        padding: 0.3rem 0.2rem;
    }
    .mobile-menu-back-btn:hover {
        color: #ff9800;
    }
}

@media (max-width: 600px) {
    .header-content {
        flex-direction: row;
        padding: 0.22rem 0;
        min-height: 38px;
    }
    .logo img {
        height: 100px !important;
        max-width: 160px !important;
    }
    .header-content .logo {
        min-width: 100px;
    }
    .nav {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        justify-content: center;
        width: 100%;
    }
    .language-switcher {
        justify-content: flex-end;
    }
    .nav-link {
        font-size: 1.01rem;
        padding: 0.15rem 0.5rem;
    }
    .lang-btn {
        font-size: 0.91rem;
        padding: 0.11rem 0.32rem;
    }
}

/* Dropdown Menu Styles */
.nav-item {
    position: relative;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-menu {
    position: absolute;
    top: 120%;
    left: 0;
    background: #fff;
    border: 1.2px solid #ffe0a3;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.18s cubic-bezier(.4,0,.2,1);
    padding: 0;
    z-index: 1001;
    min-width: unset;
    max-width: unset;
    min-height: unset;
    max-height: unset;
}

.dropdown-menu::before {
    display: none;
}

.dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.38rem 0.95rem;
    margin-bottom: 0.01rem;
    font-size: 1.01rem;
    border-radius: 6px;
    transition: background 0.18s, color 0.18s, transform 0.18s;
}

.dropdown-menu .dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-menu .dropdown-item i {
    color: #ffb300;
    font-size: 1.13em;
    min-width: 22px;
    text-align: center;
    margin-right: 0.1rem;
}

.dropdown-menu .dropdown-item:hover {
    background: rgba(255, 193, 7, 0.10);
    color: #ff6b35;
    transform: translateX(4px) scale(1.03);
}

.dropdown-header {
    padding: 0.18rem 0.95rem 0.18rem 1.2rem;
    margin-bottom: 0.07rem;
    font-size: 0.93rem;
    color: #ff6b35;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-bottom: 1px solid #ffe0a3;
}

.dropdown-divider {
    margin: 0.07rem 0;
    height: 1px;
    background: #ffe0a3;
    border: none;
}

.nav-item:hover .dropdown-menu,
.nav-item .dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #222;
    font-size: 1rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    background: none;
    transition: all 0.2s cubic-bezier(.4,0,.2,1);
    border-radius: 8px;
    margin: 0 0.5rem;
}

.dropdown-item:hover {
    background: rgba(255, 193, 7, 0.10);
    color: #ff6b35;
    border-left-color: #ff6b35;
    transform: translateX(7px);
    box-shadow: 0 2px 8px rgba(255,193,7,0.07);
}

.dropdown-item i {
    margin-right: 0.8rem;
    width: 22px;
    text-align: center;
    color: #ffb300;
    font-size: 1.1em;
}

/* Main nav active color fix */
.nav-link.active {
    color: #ff6b35 !important;
    background: rgba(255, 107, 53, 0.12);
    font-weight: 600;
}

/* Fix for blue visited links in dropdown */
.dropdown-item:visited {
    color: #222;
}

/* Enhanced Language Switcher */
.language-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 193, 7, 0.1));
    border: 2px solid rgba(255, 193, 7, 0.3);
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.lang-btn:hover {
    border-color: #ff6b35;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 193, 7, 0.2));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 2px solid rgba(255, 193, 7, 0.2);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 180px;
    z-index: 1001;
    padding: 0.5rem 0;
    backdrop-filter: blur(10px);
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 0.5rem;
}

.lang-option:hover {
    background: rgba(255, 107, 53, 0.1);
    color: #ff6b35;
    transform: translateX(5px);
}

.flag {
    font-size: 1.2rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255, 107, 53, 0.1);
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Page Header */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    color: white;
    text-align: center;
}

.page-header-content {
    /* overflow-x: auto; */
}

.page-header-content h1 {
    white-space: nowrap !important;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: #f8f9fa !important;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info > p {
    font-size: 1.1rem;
    color: #333 !important;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #fff !important;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(60,60,120,0.04);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e5e7eb;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: none;
}

.contact-icon i {
    color: #e5e7eb !important;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-details p {
    color: #333 !important;
    margin-bottom: 0.25rem;
}

.social-links-large h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #fff !important;
    border: 2px solid transparent;
    border-radius: 25px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(60,60,120,0.04);
}

.social-btn:hover {
    border-color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
    transform: translateY(-3px);
}

.social-btn i {
    color: #ff6b35;
    font-size: 1.1rem;
}

/* Contact Form */
.contact-form-container {
    background: #fff !important;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Map Section */
.map-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.map-container {
    max-width: 800px;
    margin: 0 auto;
}

.map-embed {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-button-container {
    text-align: center;
    padding: 1.5rem;
    background: white;
}

.map-placeholder {
    background: white;
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-placeholder i {
    font-size: 4rem;
    color: #ff6b35;
    margin-bottom: 1.5rem;
}

.map-placeholder h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.map-placeholder p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 107, 53, 0.1);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.faq-question i {
    color: #ff6b35;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 2rem 2rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Company */
.about-company {
    padding: 6rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-text p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder.large {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 193, 7, 0.1));
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #ff6b35;
    font-weight: 600;
}

.image-placeholder.large i {
    font-size: 4rem;
}

/* Values Section */
.values {
    padding: 6rem 0;
    background: #f8f9fa;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: #ff6b35;
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2rem;
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.value-card p {
    color: #666;
    line-height: 1.7;
}

/* Team Section */
.team {
    padding: 6rem 0;
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.team-member {
    background: #f8f9fa;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.member-photo {
    height: 200px;
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-placeholder {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.member-info {
    padding: 2rem;
}

.member-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.member-position {
    color: #ff6b35;
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-description {
    color: #666;
    line-height: 1.6;
}

/* Certificates Section */
.certificates {
    padding: 6rem 0;
    background: #f8f9fa;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.certificate-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.2);
}

.certificate-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.certificate-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.certificate-item p {
    color: #666;
    font-size: 0.9rem;
}

/* Timeline Section */
.timeline {
    padding: 4rem 0; /* Reduced from 6rem 0 to reduce space above CTA */
    background: white;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    min-width: 100px;
    text-align: center;
}

.timeline-content {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin: 0 2rem;
    flex: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* Services Detail */
.services-detail {
    padding: 4rem 0;
    background: #f8f9fa;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item.reverse {
    direction: rtl;
}

.service-item.reverse .service-content {
    direction: ltr;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: white;
    font-size: 2rem;
}

.service-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1rem;
    color: #333;
}

.feature i {
    color: #ff6b35;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-content span {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.feature-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Специальные стили для секции преимуществ */
.service-advantages .feature {
    margin-bottom: 1.5rem;
}

.service-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 200px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 193, 7, 0.1));
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #ff6b35;
    font-weight: 600;
}

.image-placeholder i {
    font-size: 3rem;
}

/* Additional Services */
.additional-services {
    padding: 6rem 0;
    background: white;
}

.additional-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.additional-service-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.additional-service-card:hover {
    transform: translateY(-5px);
    border-color: #ff6b35;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.additional-service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.additional-service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.additional-service-card p {
    color: #666;
    line-height: 1.6;
}

/* Process Section */
.process {
    padding: 6rem 0;
    background: #f8f9fa;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -1.5rem;
    width: 3rem;
    height: 2px;
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    transform: translateY(-50%);
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 1rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.process-step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.process-step p {
    color: #666;
    line-height: 1.6;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ff6b35, #ffc107, #ff8c42);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.9), rgba(255, 193, 7, 0.8), rgba(255, 140, 66, 0.9));
}

.hero-flex {
    width: 100vw;
    max-width: 100vw;
    min-height: 100vh;
    padding: 0 0 0 7vw;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-content {
    max-width: 700px;
    min-width: 350px;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    align-items: flex-start;
    z-index: 2;
}

.hero-globe {
    position: absolute;
    right: -10vw;
    top: 60%;
    transform: translateY(-50%);
    width: 120vh;
    height: 120vh;
    min-width: 900px;
    min-height: 900px;
    z-index: 1;
    margin: 0;
    display: block;
}

#globe-canvas {
    width: 100%;
    height: 100%;
    min-width: 900px;
    min-height: 900px;
    display: block;
    background: transparent;
    z-index: 2;
    pointer-events: auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: slideInLeft 1s ease;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0,0,0,0.18), 0 1px 2px rgba(0,0,0,0.12);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: slideInLeft 1s ease 0.2s both;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0,0,0,0.18), 0 1px 2px rgba(0,0,0,0.12);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: slideInLeft 1s ease 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.hero-buttons .btn {
    color: #fff;
    text-shadow: 0 1px 8px rgba(0,0,0,0.12);
}

.hero-buttons .btn-secondary {
    color: #fff !important;
    background: rgba(255,255,255,0.18);
    border: 2px solid #fff;
    font-weight: 600;
}

/* Hero Image with Floating Cards */
.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 2;
}

.floating-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
    color: #333;
    font-weight: 500;
}

.floating-card:nth-child(1) {
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    animation-delay: 1s;
}

.floating-card:nth-child(3) {
    animation-delay: 2s;
}

.floating-card i {
    color: #ff6b35;
    font-size: 1.2rem;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 1rem;
}

/* Advantages Section */
.advantages {
    padding: 6rem 0;
    background: white;
    position: relative;
    z-index: 1;
}

.advantages-grid {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
    flex: 1;
    min-width: 200px;
}

/* Новые стили для красивых карточек преимуществ */
.advantage-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #ffc107, #ff6b35);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

.advantage-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
    border-color: #ff6b35;
}

.advantage-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.advantage-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon-wrapper {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 12px 25px rgba(255, 107, 53, 0.4);
}

.advantage-check {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
    animation: pulse 2s infinite;
}

.advantage-check i {
    animation: checkBounce 0.6s ease-in-out;
}

.advantage-card-content {
    text-align: left;
}

.advantage-card-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.advantage-card-content p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes checkBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.advantage-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: countUp 2s ease;
}

.advantage-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 2rem 0; /* Reduced from 4rem 0 to raise the CTA */
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    color: white;
    text-align: center;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    min-height: 200px !important;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 4rem 0 2rem;
    overflow: hidden; /* Предотвращаем вылезание контента */
    width: 100%;
    max-width: 100vw;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 100%;
    overflow: hidden;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    flex-wrap: wrap; /* Позволяет логотипу переноситься */
    word-break: break-word; /* Разбивает длинные слова */
}

.footer-logo i {
    color: #ff6b35;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ff6b35;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff6b35;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 53, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b35;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ff6b35;
    color: white;
    transform: translateY(-3px);
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #bdc3c7;
    word-break: break-word;
    line-height: 1.4;
}

.contact-info i {
    color: #ff6b35;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
    text-align: center;
    color: #bdc3c7;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        max-width: 100vw;
        padding: 0;
        margin: 0;
    }
    .hero-flex {
        width: 100vw;
        max-width: 100vw;
        margin: 0;
    }
    .hero-content {
        width: 100vw;
        max-width: 100vw;
        margin: 0;
        padding-left: 24px;
        padding-right: 24px;
        text-align: center;
        align-items: center;
    }
    .hero-title {
        text-align: center;
        font-size: 2.1rem;
    }
    .hero-subtitle {
        text-align: center;
        font-size: 1.25rem;
    }
    .hero-buttons {
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .btn, .btn-large {
        max-width: 90%;
        width: auto;
        min-width: 180px;
        margin-bottom: 0.7rem;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    
    /* CTA Section Mobile Styles */
    .cta {
        padding: 1.5rem 1rem !important; /* Reduced from 2.5rem 1rem to maintain proportion */
        margin: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow: hidden !important;
    }
    
    .cta-content {
        padding: 0 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .cta-content h2 {
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
    }
    
    .cta-content p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
        max-width: 100% !important;
    }
    
    .cta-buttons {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
    }
    
    .cta-buttons .btn {
        width: 100% !important;
        max-width: 280px !important;
    }
}

@media (max-width: 480px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .page-header-content h1 {
        font-size: 2rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .form-header h2 {
        font-size: 1.8rem;
    }
    
    /* CTA Section Extra Small Mobile Styles */
    .cta {
        padding: 1rem 0.5rem !important; /* Reduced from 1.5rem 0.5rem to maintain proportion */
    }
    
    .cta-content h2 {
        font-size: 1.5rem !important;
    }
    
    .cta-content p {
        font-size: 0.9rem !important;
    }
    
    .cta-buttons .btn {
        max-width: 250px !important;
        font-size: 0.9rem !important;
    }
}

/* --- Основные стили для подменю --- */
.dropdown-menu,
.dropdown-menu-right {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
}

/* Открытие подменю по hover на десктопе */
@media (min-width: 769px) {
    .dropdown-menu, .dropdown-menu-right {
        padding-bottom: 2.5rem;
    }
    /* Удаляем временный фон для диагностики */
    .nav-subitem:hover {
        background: none !important;
    }
    /* Жёстко открываем подменю второго уровня по ховеру */
    .dropdown-menu-right {
        position: absolute;
        top: 0;
        left: 100%;
        margin-left: 0.5rem;
        min-width: 270px;
        background: #fff;
        border: 1px solid rgba(255, 193, 7, 0.15);
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.12);
        z-index: 1002;
        padding: 0.5rem 0;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: all 0.25s cubic-bezier(.4,0,.2,1);
    }
    .nav-subitem:hover > .dropdown-menu-right {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        display: block !important;
    }
    .nav-item {
        position: relative;
    }
    .dropdown-menu {
        margin-top: -8px;
        padding-top: 12px;
    }
    /* Стрелка для подменю второго уровня (вправо) */
    .dropdown-menu-right::before {
        content: '';
        position: absolute;
        top: 24px;
        left: -8px;
        width: 0;
        height: 0;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-right: 8px solid #fff;
        border-left: none;
        z-index: 10;
    }
}

.photo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.photo-wrapper img {
    max-width: 340px;
    width: 100%;
    height: auto;
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    margin-bottom: 0;
    display: block;
}

@media (max-width: 600px) {
  .photo-wrapper img {
    max-width: 90vw;
  }
}

@media (min-width: 1024px) {
  .photo-wrapper img {
    max-width: 480px;
  }
  .service-image {
    min-height: 380px;
  }
  .service-item {
    gap: 6rem;
  }
}

.more-toggle-arrow .arrow-icon i.fa-arrow-up {
    transition: transform 0.32s cubic-bezier(.4,0,.2,1), opacity 0.22s cubic-bezier(.4,0,.2,1);
    opacity: 1;
    font-size: 1.1em;
}
.more-toggle-arrow:hover .arrow-icon i.fa-arrow-up {
    opacity: 0;
    transform: translateY(-10px) scale(0.85);
}
.more-toggle-arrow .arrow-icon::after {
    content: '\f063'; /* fa-arrow-down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    display: inline-block;
    margin-left: -1.1em;
    opacity: 0;
    font-size: 1.1em;
    transform: translateY(10px) scale(0.85);
    transition: transform 0.32s cubic-bezier(.4,0,.2,1), opacity 0.22s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
    z-index: 1;
}
.more-toggle-arrow:hover .arrow-icon::after {
    opacity: 1;
    transform: none;
}

.arrow-rotate {
    transition: transform 0.45s cubic-bezier(.4,0,.2,1), color 0.2s, font-weight 0.2s;
    display: inline-block;
    font-size: 1.15em;
}
.more-toggle-arrow:hover .arrow-rotate {
    transform: rotate(180deg);
    color: #ff6b35;
    font-weight: 900;
}

@media (max-width: 1400px) {
    .hero-globe {
        width: 100vh;
        height: 100vh;
        min-width: 700px;
        min-height: 700px;
        right: -12vw;
    }
    #globe-canvas {
        min-width: 700px;
        min-height: 700px;
    }
}

@media (max-width: 1100px) {
    .hero-globe {
        width: 80vw;
        height: 80vw;
        min-width: 500px;
        min-height: 500px;
        right: -8vw;
    }
    #globe-canvas {
        min-width: 500px;
        min-height: 500px;
    }
}

@media (max-width: 900px) {
    .hero-flex {
        flex-direction: column;
        align-items: center;
        min-height: unset;
        gap: 0;
        padding: 0 8px;
    }
    .hero-content {
        max-width: 95vw;
        width: 100%;
        text-align: center;
        align-items: center;
    }
    .hero-globe {
        width: 320px;
        height: 320px;
        min-width: 220px;
        min-height: 220px;
        right: auto;
        left: 50%;
        transform: translate(-50%, 0);
        position: static;
        margin: 2rem auto 0 auto;
        display: block;
    }
    #globe-canvas {
        min-width: 220px;
        min-height: 220px;
        max-width: 320px;
        max-height: 320px;
    }
}

@media (max-width: 768px) {
    .hero-globe {
        display: none;
    }
    .hero-content {
        text-align: center;
        align-items: center;
        width: 100vw;
        max-width: 100vw;
        margin: 0;
        padding-left: 16px;
        padding-right: 20px;
    }
}

.hero-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* --- Мобильная адаптация и улучшения --- */
@media (max-width: 600px) {
  .container {
    padding: 0 8px;
  }
  .hero-flex {
    flex-direction: column;
    align-items: flex-start;
    min-height: unset;
    gap: 0;
  }
  .hero-content {
    margin-left: 0;
    margin-top: 1.5rem;
    padding-left: 16px;
    padding-right: 20px;
    max-width: 100vw;
    width: 100vw;
    text-align: center;
    align-items: center;
  }
  .hero-content-inner {
    padding-left: 0;
    text-align: center;
    align-items: center;
  }
  .hero-title {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    text-align: center;
  }
  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 0.7rem;
  }
  .btn, .btn-large {
    font-size: 1rem;
    padding: 1rem 2rem;
    width: 280px;
    max-width: 90%;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
  }
  .about-content, .contact-content, .service-item {
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
    gap: 1.2rem !important;
    text-align: left !important;
    padding: 1.2rem 0 !important;
  }
  .about-text h2, .section-header h2, .page-header-content h1 {
    font-size: 1.3rem;
  }
  .company-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 0 1rem;
    margin: 0;
  }
  
  /* Дополнительные стили для футера на средних мобильных экранах */
  .footer {
    padding: 3rem 0 1.5rem;
  }
  
  .footer-logo {
    font-size: 1.3rem;
  }
  .footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .footer-section ul li a {
    font-size: 0.95rem;
    word-break: break-word;
  }
  .contact-form {
    grid-template-columns: 1fr !important;
    gap: 1rem;
    margin-top: 1.2rem;
  }
  .form-header h2 {
    font-size: 1.2rem;
  }
  .stat-number {
    font-size: 1.5rem;
  }
  .stat-label {
    font-size: 0.95rem;
  }
  .timeline-container {
    padding: 0.5rem 0;
  }
  .timeline-content {
    padding: 1rem;
    margin: 0;
  }
  .service-card, .value-card, .certificate-item {
    padding: 1.2rem;
  }
  .dropdown-menu, .dropdown-menu-right {
    min-width: 100%;
    box-shadow: none;
    border: none;
    background: #fff;
    margin: 0.5rem 0 0 0;
    border-radius: 10px;
    padding: 0.5rem 0 1.5rem 0;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
  }
  .dropdown-menu::before, .dropdown-menu-right::before {
    display: none;
  }
  .dropdown-item {
    padding: 0.7rem 1.2rem;
    margin: 0.1rem 0;
    font-size: 1rem;
  }
  .mobile-menu-btn {
    display: flex;
    z-index: 1002;
  }
  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    padding: 2.5rem 1rem 1rem 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: none;
    z-index: 1001;
    overflow-y: auto;
    height: 100vh;
  }
  .nav.active {
    display: flex;
  }
  body.menu-open {
    overflow: hidden;
  }
  .menu-backdrop {
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.25);
    z-index: 1000;
    transition: opacity 0.3s;
  }
}
@media (max-width: 375px) {
  .hero-title, .about-text h2, .section-header h2, .page-header-content h1 {
    font-size: 1.05rem;
  }
  .btn, .btn-large {
    font-size: 0.85rem;
    padding: 0.7rem 0.7rem;
  }
  
  /* Дополнительные стили для футера на очень маленьких экранах */
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-content {
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .footer-logo {
    font-size: 1.2rem;
    gap: 0.3rem;
  }
  
  .footer-section h4 {
    font-size: 0.9rem;
  }
  
  .footer-section ul li a {
    font-size: 0.85rem;
  }
  
  .social-links a {
    width: 35px;
    height: 35px;
  }
  
  .contact-info p {
    font-size: 0.85rem;
  }
}

/* Убираем горизонтальный скролл */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* --- Конец мобильных улучшений --- */

.hero-brand {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: bold;
  font-style: italic;
  color: #111;
  font-size: 1.18em;
  letter-spacing: 0.01em;
  margin-right: 0.2em;
  text-shadow: 
    0 0 10px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(0, 0, 0, 0.2),
    0 0 30px rgba(0, 0, 0, 0.1);
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 
      0 0 10px rgba(0, 0, 0, 0.3),
      0 0 20px rgba(0, 0, 0, 0.2),
      0 0 30px rgba(0, 0, 0, 0.1);
  }
  to {
    text-shadow: 
      0 0 15px rgba(0, 0, 0, 0.4),
      0 0 25px rgba(0, 0, 0, 0.3),
      0 0 35px rgba(0, 0, 0, 0.2);
  }
}

/* --- Новый дизайн для services-tiles --- */
.services-tiles {
  padding: 3.5rem 0 4rem 0;
  background: #f8fafc;
}
.services-tiles-grid {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.service-tile {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 6px 32px rgba(60, 60, 120, 0.10), 0 1.5px 6px rgba(60,60,120,0.06);
  padding: 2.5rem 2rem 2rem 2rem;
  min-width: 290px;
  max-width: 350px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
}
.service-tile:hover {
  box-shadow: 0 12px 36px rgba(60, 60, 120, 0.16), 0 2px 8px rgba(60,60,120,0.10);
  transform: translateY(-6px) scale(1.03);
}
.service-tile .service-icon {
  font-size: 2.8rem;
  color: #ff6b35;
  margin-bottom: 1.2rem;
  background: #fff6f0;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.08);
}
.service-tile h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  color: #232323;
  text-align: center;
}
.service-tile-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.service-tile-list li {
  text-align: center;
}
.service-tile-list a {
  color: #ff6b35;
  font-weight: 600;
  font-size: 1.08rem;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: color 0.15s, border 0.15s;
  padding: 0.1rem 0.2rem;
}
.service-tile-list a:hover {
  color: #d94d0c;
  border-bottom: 1.5px solid #ff6b35;
}
@media (max-width: 900px) {
  .services-tiles-grid {
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
  }
  .service-tile {
    max-width: 100%;
    min-width: 0;
  }
}

/* --- Вертикальные плитки с dropdown для services-tiles --- */
.services-tiles-list {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  margin-top: 2.5rem;
}
.service-tile.has-dropdown {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 6px 32px rgba(60, 60, 120, 0.10), 0 1.5px 6px rgba(60,60,120,0.06);
  padding: 2.2rem 2.2rem 1.2rem 2.2rem;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.service-tile.has-dropdown:hover {
  box-shadow: 0 12px 36px rgba(60, 60, 120, 0.16), 0 2px 8px rgba(60,60,120,0.10);
  transform: translateY(-4px) scale(1.01);
}
.service-tile-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  justify-content: space-between;
}
.service-tile-header .service-icon {
  font-size: 2.5rem;
  color: #ff6b35;
  background: #fff6f0;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.08);
}
.service-tile-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #232323;
  flex: 1 1 auto;
  margin: 0;
}
.tile-dropdown-toggle {
  background: none;
  border: none;
  outline: none;
  font-size: 1.3rem;
  color: #ff6b35;
  cursor: pointer;
  padding: 0.3rem 0.6rem;
  border-radius: 50%;
  transition: background 0.15s;
}
.tile-dropdown-toggle:hover {
  background: #fff6f0;
}
.service-tile-dropdown {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0 0;
  display: none;
  flex-direction: column;
  gap: 0.7rem;
  animation: fadeInDropdown 0.25s;
}
.service-tile.open .service-tile-dropdown {
  display: flex;
}
.service-tile-dropdown li {
  text-align: left;
}
.service-tile-dropdown a {
  color: #ff6b35;
  font-weight: 600;
  font-size: 1.08rem;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: color 0.15s, border 0.15s;
  padding: 0.1rem 0.2rem;
}
.service-tile-dropdown a:hover {
  color: #d94d0c;
  border-bottom: 1.5px solid #ff6b35;
}
@keyframes fadeInDropdown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 900px) {
  .service-tile.has-dropdown {
    max-width: 100%;
    padding: 1.5rem 1rem 1rem 1rem;
  }
  .service-tile-header .service-icon {
    font-size: 2rem;
    width: 44px;
    height: 44px;
  }
}

/* --- Современный дизайн секции услуг (services-modern) --- */
.services-modern {
  padding: 4.5rem 0 5rem 0;
  background: linear-gradient(120deg, #f8fafc 60%, #fff6f0 100%);
  position: relative;
  overflow: hidden;
}
.services-modern-list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.service-modern-card {
  position: relative;
  background: #fff;
  border-radius: 2.2rem;
  box-shadow: 0 8px 36px rgba(60, 60, 120, 0.13), 0 2px 10px rgba(60,60,120,0.07);
  padding: 2.8rem 2.5rem 2.2rem 2.5rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s, transform 0.18s;
  overflow: visible;
}
.service-modern-card:hover {
  box-shadow: 0 16px 48px rgba(60, 60, 120, 0.18), 0 4px 16px rgba(60,60,120,0.13);
  transform: translateY(-6px) scale(1.015);
}
.service-modern-header {
  display: flex;
  align-items: flex-start;
  gap: 2.1rem;
  position: relative;
}
.service-modern-icon {
  font-size: 3.2rem;
  color: #ff6b35;
  background: #fff6f0;
  border-radius: 1.2rem;
  width: 80px;
  height: 80px;
  min-width: 80px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(255, 107, 53, 0.10);
  margin-top: 0.2rem;
}
.service-modern-info {
  flex: 1 1 auto;
  min-width: 0;
}
.service-modern-info h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #232323;
  margin-bottom: 0.5rem;
  margin-top: 0;
  letter-spacing: -0.5px;
}
.service-modern-info p {
  font-size: 1.08rem;
  color: #666;
  margin: 0 0 0.1rem 0;
  line-height: 1.6;
}
.modern-dropdown-toggle {
  background: none;
  border: none;
  outline: none;
  font-size: 1.5rem;
  color: #ff6b35;
  cursor: pointer;
  padding: 0.4rem 0.7rem;
  border-radius: 50%;
  transition: background 0.15s, transform 0.18s;
  margin-left: 0.5rem;
  margin-top: 0.2rem;
  align-self: flex-start;
}
.modern-dropdown-toggle:hover {
  background: #fff6f0;
  transform: scale(1.13) rotate(12deg);
}
.service-modern-dropdown {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  animation: fadeInDropdownModern 0.28s;
}
.service-modern-card.open .service-modern-dropdown,
.service-modern-dropdown.show {
  display: flex;
}
.service-modern-dropdown li {
  text-align: left;
}
.service-modern-dropdown a {
  color: #ff6b35;
  font-weight: 600;
  font-size: 1.13rem;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: color 0.15s, border 0.15s;
  padding: 0.13rem 0.2rem;
  border-radius: 0.3rem;
  display: inline-block;
}
.service-modern-dropdown a:hover {
  color: #d94d0c;
  border-bottom: 1.5px solid #ff6b35;
  background: #fff6f0;
}
@keyframes fadeInDropdownModern {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
.service-modern-bg {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
}
.service-modern-bg1 {
  right: -60px; top: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle at 60% 40%, #ff6b35 0%, #fff6f0 80%);
  border-radius: 50%;
}
.service-modern-bg2 {
  left: -70px; bottom: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle at 40% 60%, #ff6b35 0%, #fff6f0 80%);
  border-radius: 50%;
}
.service-modern-bg3 {
  right: -50px; bottom: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle at 60% 60%, #ff6b35 0%, #fff6f0 80%);
  border-radius: 50%;
}
@media (max-width: 900px) {
  .services-modern-list {
    gap: 2.2rem;
    max-width: 100%;
  }
  .service-modern-card {
    padding: 1.5rem 0.7rem 1.2rem 0.7rem;
  }
  .service-modern-header {
    gap: 1.1rem;
  }
  .service-modern-icon {
    font-size: 2.1rem;
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
  }
  .service-modern-info h3 {
    font-size: 1.18rem;
  }
  .service-modern-info p {
    font-size: 0.98rem;
  }
}

/* Стили для кликабельной карточки 'Услуги коммиссионера' */
.service-modern-link-card {
  text-decoration: none !important;
  color: inherit;
  cursor: pointer;
  display: block;
  transition: box-shadow 0.18s, transform 0.18s;
}
.service-modern-link-card:hover, .service-modern-link-card:focus {
  box-shadow: 0 16px 48px rgba(60, 60, 120, 0.18), 0 4px 16px rgba(60,60,120,0.13);
  transform: translateY(-6px) scale(1.015);
  text-decoration: none;
  color: inherit;
}

.contact-icon i {
    color: #e5e7eb !important;
}

.reviews {
    padding: 5rem 0 6rem 0;
    background: linear-gradient(120deg, #fff9f4 60%, #ffe0c3 100%);
    position: relative;
    overflow: hidden;
}
.reviews::before {
    content: '';
    position: absolute;
    left: -120px;
    top: 40px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, #ffc10733 0%, #fff9f400 80%);
    z-index: 0;
    pointer-events: none;
}
.reviews::after {
    content: '';
    position: absolute;
    right: -100px;
    bottom: 0;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, #ff6b3533 0%, #fff9f400 80%);
    z-index: 0;
    pointer-events: none;
}
.reviews-slider-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
    max-width: 100vw;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}
.reviews-grid {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    margin-top: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    z-index: 1;
    align-items: stretch;
    scroll-padding-left: 0;
    /* justify-content: center; */
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    min-width: 0;
    /* Улучшенная анимация для плавного перехода */
    scroll-behavior: smooth;
    transition: scroll-behavior 0.3s ease;
    /* Улучшенное позиционирование для клонированных элементов */
    position: relative;
}
.reviews-grid::-webkit-scrollbar {
    display: none;
}
.review-card {
    flex: 0 0 370px;
    max-width: 370px;
    min-width: 320px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.13), 0 2px 8px rgba(0,0,0,0.06);
    padding: 2.2rem 1.7rem 1.7rem 1.7rem;
    display: flex;
    flex-direction: column;
    min-height: 240px;
    position: relative;
    transition: box-shadow 0.25s, transform 0.22s;
    scroll-snap-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: reviewFadeIn 0.7s ease forwards;
}
.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.25s; }
.review-card:nth-child(3) { animation-delay: 0.4s; }
.review-card:nth-child(4) { animation-delay: 0.55s; }
.review-card.clone {
    /* Стили для клонированных карточек */
    pointer-events: none;
    opacity: 0.7;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
@keyframes reviewFadeIn {
    to { opacity: 1; transform: translateY(0); }
}
.review-card:hover {
    box-shadow: 0 16px 40px rgba(255, 107, 53, 0.18), 0 4px 16px rgba(0,0,0,0.10);
    transform: translateY(-7px) scale(1.025);
}
.review-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35 60%, #ffc107 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
    box-shadow: 0 2px 8px #ffc10722;
    letter-spacing: 0.02em;
    user-select: none;
}
.review-text {
    font-size: 1.11rem;
    color: #444;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex: 1;
}
.review-author {
    font-weight: 600;
    color: #ff6b35;
    font-size: 1.08rem;
    margin-top: 0.2rem;
}
.review-company {
    color: #888;
    font-weight: 400;
    font-size: 0.98em;
    margin-left: 0.5em;
}
.reviews-arrow {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    margin: 0 0.5rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 2px 8px rgba(255,107,53,0.13);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, opacity 0.2s, transform 0.2s;
    opacity: 0.92;
}
.reviews-arrow:hover {
    background: linear-gradient(135deg, #ffc107, #ff6b35);
    box-shadow: 0 4px 16px rgba(255,107,53,0.18);
    opacity: 1;
    transform: scale(1.05);
}
.reviews-arrow:active {
    opacity: 1;
}
.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.7rem;
    z-index: 2;
    position: relative;
}
.reviews-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #ffd7a3;
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
    box-shadow: 0 1px 4px #ff6b3533;
}
.reviews-dot.active {
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    transform: scale(1.18);
    box-shadow: 0 2px 8px #ff6b3533;
}
@media (max-width: 900px) {
    .review-card {
        flex: 0 0 85vw;
        max-width: 95vw;
        min-width: 260px;
    }
    .reviews-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    .reviews-slider-row {
        gap: 0.5rem;
    }
}

.map-button-container .btn.btn-secondary {
    background: linear-gradient(90deg, #ff6b35 60%, #ffc107 100%) !important;
    color: #fff !important;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    margin-top: 1.2rem;
    box-shadow: 0 4px 16px rgba(255,107,53,0.18);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.map-button-container .btn.btn-secondary:hover {
    background: linear-gradient(90deg, #ffc107 60%, #ff6b35 100%) !important;
    color: #fff !important;
    box-shadow: 0 8px 32px rgba(255,107,53,0.22);
    transform: scale(1.04);
}

@media (max-width: 600px) {
  .reviews-slider-row {
    gap: 0.2rem;
    padding-left: 0;
    padding-right: 0;
    max-width: 100vw;
  }
  .reviews-grid {
    gap: 0.5rem;
    padding-left: 0;
    padding-right: 0;
    max-width: 100vw;
  }
  .review-card {
    flex: 0 0 92vw;
    max-width: 96vw;
    min-width: 0;
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .reviews-arrow {
    width: 34px;
    height: 34px;
    font-size: 1rem;
    z-index: 2;
  }
}

@media (max-width: 600px) {
  .reviews .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }
  .reviews-slider-row {
    gap: 0;
    padding: 0;
    max-width: 100vw;
    width: 100vw;
    position: relative;
  }
  .reviews-grid {
    gap: 0;
    padding: 0;
    max-width: 100vw;
    width: 100vw;
    min-width: 0;
  }
  .review-card {
    flex: 0 0 94vw;
    max-width: 94vw;
    min-width: 0;
    box-sizing: border-box;
    padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    margin: 0 auto;
  }
  .reviews-arrow {
    width: 34px;
    height: 34px;
    font-size: 1rem;
    z-index: 2;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    opacity: 0.92;
  }
  .reviews-arrow.left {
    left: 6px;
  }
  .reviews-arrow.right {
    right: 6px;
  }
}

@media (max-width: 600px) {
  .reviews-arrow {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .services-detail .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }
  .service-item {
    display: flex;
    flex-direction: column !important;
    align-items: stretch;
    gap: 0.7rem !important;
    padding: 1.1rem 0.2rem !important;
    margin-bottom: 1.2rem !important;
    border-radius: 18px !important;
    box-shadow: 0 2px 12px rgba(60,60,120,0.07);
    background: #fff;
  }
  .service-content {
    padding: 1.1rem 1rem 0.5rem 1rem !important;
    text-align: left;
  }
  .service-icon-large {
    font-size: 2.1rem !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    margin-bottom: 0.7rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: #fff6f0;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.08);
  }
  .service-content h2 {
    font-size: 1.25rem !important;
    margin-bottom: 0.7rem !important;
    word-break: break-word;
    line-height: 1.2;
  }
  .service-description {
    font-size: 1rem !important;
    margin-bottom: 1.1rem !important;
    line-height: 1.5;
    word-break: break-word;
  }
  .btn-more, .btn-primary {
    font-size: 1rem !important;
    padding: 0.8rem 1.2rem !important;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0.7rem 0 0.2rem 0 !important;
    justify-content: center;
    text-align: center;
  }
  .service-image {
    padding: 0.5rem 0.5rem 1.2rem 0.5rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .photo-wrapper img, .service-image img {
    max-width: 92vw !important;
    width: 100%;
    height: auto;
    border-radius: 16px !important;
  }
}

@media (max-width: 600px) {
  .service-icon-large {
    background: linear-gradient(135deg, #ff6b35, #ffc107) !important;
  }
}

@media (max-width: 600px) {
  .about-company {
    padding: 2.2rem 0 1.2rem 0 !important;
  }
  .about-content {
    grid-template-columns: 1fr !important;
    gap: 0.7rem !important;
    padding: 0 !important;
  }
  .about-text h2 {
    font-size: 1.3rem !important;
    margin-bottom: 1rem !important;
    text-align: left;
  }
  .about-description, .about-text p {
    font-size: 1rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.5 !important;
  }
  .company-stats {
    grid-template-columns: 1fr !important;
    gap: 0.7rem !important;
    margin-top: 1.2rem !important;
  }
  .stat-item {
    padding: 1rem 0.7rem !important;
    font-size: 1rem !important;
    border-radius: 12px !important;
  }
  .stat-number {
    font-size: 1.5rem !important;
    margin-bottom: 0.2rem !important;
  }
  .stat-label {
    font-size: 0.98rem !important;
  }
}

@media (max-width: 600px) {
  .company-stats {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: -8px !important;
    margin-right: -8px !important;
    box-sizing: border-box;
  }
  .stat-item {
    width: 100% !important;
    max-width: 98vw !important;
    box-sizing: border-box !important;
    margin: 0 auto 0.7rem auto !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
}

@media (max-width: 600px) {
  .about-company {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    box-sizing: border-box;
    margin-left: -8px !important;
    margin-right: -8px !important;
  }
  .about-company > .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    box-sizing: border-box;
  }
  .about-content {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    width: 100vw !important;
    max-width: 100vw !important;
    box-sizing: border-box;
    margin: 0 auto !important;
  }
  .about-company .value-card, .about-company .stat-item:last-child {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
  }
}

@media (max-width: 600px) {
  .about-company .value-card,
  .about-company .stat-item,
  .about-company > .container > div,
  .about-company > .container > section,
  .about-company > .container > .some-block {
    width: 96vw !important;
    max-width: 96vw !important;
    margin-left: 2vw !important;
    margin-right: 2vw !important;
    box-sizing: border-box !important;
    border-radius: 18px !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
}

@media (max-width: 600px) {
  .about-text {
    width: 96vw !important;
    max-width: 96vw !important;
    margin-left: 2vw !important;
    margin-right: 2vw !important;
    box-sizing: border-box !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  .about-description,
  .about-text p {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    max-width: 100% !important;
  }
}

body.contacts-page .contact-item,
body.contacts-page .social-btn {
  background: #fff !important;
  box-shadow: 0 2px 12px rgba(60,60,120,0.04);
}

@media (max-width: 600px) {
  body.contacts-page .contact-item,
  body.contacts-page .social-btn {
    background: #fff !important;
    box-shadow: 0 2px 12px rgba(60,60,120,0.04);
  }
}

.contact-section .contact-item, .contact-section .social-btn {
  background: #fff !important;
  box-shadow: 0 2px 12px rgba(60,60,120,0.04);
}

@media (max-width: 600px) {
  .contact-section .contact-item, .contact-section .social-btn {
    background: #fff !important;
    box-shadow: 0 2px 12px rgba(60,60,120,0.04);
  }
}

.contact-section .contact-icon {
  background: linear-gradient(135deg, #ff6b35, #ffc107) !important;
  box-shadow: none;
}
.contact-section .contact-icon i {
  color: #fff !important;
}

@media (max-width: 600px) {
  .contact-section .container {
    padding: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }
  .contact-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.2rem !important;
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
  }
  .contact-item, .contact-form-container {
    width: 96vw !important;
    max-width: 96vw !important;
    margin: 0.7rem auto !important;
    box-sizing: border-box !important;
    padding-left: 0.7rem !important;
    padding-right: 0.7rem !important;
  }
  .contact-form-container {
    padding: 1.2rem 0.7rem 1.2rem 0.7rem !important;
  }
}

@media (max-width: 600px) {
  .contact-section .container {
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
  }
  .contact-info > p,
  .contact-info h2,
  .social-links-large h3 {
    padding-left: 0.1rem;
    padding-right: 0.1rem;
  }
}

@media (max-width: 600px) {
  .contact-section .container {
    padding: 0 !important;
  }
  .contact-info {
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
  }
  .contact-info > p,
  .contact-info h2,
  .social-links-large h3 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 600px) {
  .contact-info {
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
  }
  .contact-items {
    margin-left: -1.2rem !important;
    margin-right: -1.2rem !important;
  }
  .contact-item {
    width: calc(100vw - 2.4rem) !important;
    max-width: 100vw !important;
    margin: 0.7rem auto !important;
    box-sizing: border-box !important;
    padding-left: 0.7rem !important;
    padding-right: 0.7rem !important;
  }
}
.footer .contact-info p {
    color: #fff !important;
  }

/* --- Исправление: форма на странице контактов не должна вылезать за экран на мобильных --- */
@media (max-width: 600px) {
  .contacts-page .contact-section .container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .contacts-page .contact-form-container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    overflow-x: hidden;
  }
  .contacts-page .contact-form {
    grid-template-columns: 1fr !important;
  }
  .contacts-page .contact-form .form-group,
  .contacts-page .contact-form input,
  .contacts-page .contact-form select,
  .contacts-page .contact-form textarea,
  .contacts-page .contact-form button {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .contacts-page .contact-form button.btn {
    display: block;
    width: 100% !important;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  /* Обрезаем слишком длинные названия услуг в выпадающем списке */
  .contacts-page .contact-form select,
  .contacts-page .contact-form option {
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

/* Финальные выравнивания контейнеров на мобильной странице контактов */
@media (max-width: 600px) {
  .contacts-page .contact-section > .container,
  .contacts-page .contact-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .contacts-page .contact-form-container {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
  }
}

/* Дополнительное переопределение ширин для исключения переполнения */
@media (max-width: 600px) {
  .contacts-page .contact-form-container,
  .contacts-page .contact-item {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .contacts-page .contact-form select {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Стили для растягивания текста о компании на всю ширину */
.about-text {
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 auto !important;
  display: block !important;
  padding: 2rem 1.5rem !important;
}

.about-text p,
.about-description,
.about-mission {
  width: 100% !important;
  max-width: 100% !important;
  text-align: left !important;
  display: block !important;
  line-height: 1.8 !important;
  margin-bottom: 1.8rem !important;
  font-size: 1.1rem !important;
  color: #2c3e50 !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
}

.about-text p:last-child {
  margin-bottom: 0 !important;
}

.about-text .about-description {
  font-weight: 500 !important;
  color: #34495e !important;
  font-size: 1.15rem !important;
  line-height: 1.9 !important;
  margin-bottom: 2rem !important;
  position: relative !important;
  padding-left: 1.5rem !important;
}

.about-text .about-description::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.5rem !important;
  bottom: 0.5rem !important;
  width: 4px !important;
  background: linear-gradient(135deg, #ff6b35, #ffc107) !important;
  border-radius: 2px !important;
}

.about-text .about-mission {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  font-weight: 500 !important;
  color: #2c3e50 !important;
  font-size: 1.1rem !important;
  line-height: 1.8 !important;
  margin-bottom: 2.5rem !important;
}

/* Стили для плиток услуг в разделе About */
.about-text .services-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  background: transparent !important;
  padding: 0 !important;
}

.about-text .service-tile {
  background: #fff;
  border: 1px solid #eaecef;
  border-radius: 14px;
  padding: 1.2rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 130px;
}

.about-text .service-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: #ffd7a3;
}

.about-text .service-tile .service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff6b35, #ffc107);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.2);
  transition: transform 0.3s ease;
}

.about-text .service-tile:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.about-text .service-tile h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  line-height: 1.4;
}

/* Адаптивность для плиток */
@media (max-width: 768px) {
  .about-text .services-tiles { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  
  .about-text .service-tile {
    padding: 1.2rem 1rem;
  }
  
  .about-text .service-tile .service-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }
  
  .about-text .service-tile h3 { font-size: 1rem; }
}

@media (max-width: 480px) {
  .about-text .services-tiles { grid-template-columns: 1fr; gap: 0.8rem; }
  
  .about-text .service-tile {
    padding: 1rem 0.8rem;
  }
}

@media (min-width: 900px) {
  .about-text .services-tiles { 
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    grid-template-rows: auto auto !important;
    gap: 2rem !important; 
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    min-height: 400px !important;
    justify-content: center !important;
  }
  
  .about-text .service-tile:nth-child(1) {
    grid-column: 1 / 3 !important;
    width: 200px !important;
    height: 150px !important;
    justify-self: center !important;
  }
  
  .about-text .service-tile:nth-child(2) {
    grid-column: 3 / 5 !important;
    width: 200px !important;
    height: 150px !important;
    justify-self: center !important;
  }
  
  .about-text .service-tile:nth-child(3) {
    grid-column: 5 / 7 !important;
    width: 200px !important;
    height: 150px !important;
    justify-self: center !important;
  }
  
  .about-text .service-tile:nth-child(4) {
    grid-column: 2 / 4 !important;
    grid-row: 2 !important;
    width: 200px !important;
    height: 150px !important;
    justify-self: center !important;
  }
  
  .about-text .service-tile:nth-child(5) {
    grid-column: 4 / 6 !important;
    grid-row: 2 !important;
    width: 200px !important;
    height: 150px !important;
    justify-self: center !important;
  }
}

/* Контейнеры раздела About: центрируем и ограничиваем ширину */
.about-company .container {
  max-width: 1200px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.about-company .about-content {
  max-width: 1200px !important;
  width: 100% !important;
  margin: 0 auto !important;
  display: block !important;
  grid-template-columns: 1fr !important;
}

.service-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-image img:hover {
    transform: scale(1.02);
}

.image-placeholder {
    width: 300px;
    height: 200px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 193, 7, 0.1));
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #ff6b35;
    font-weight: 600;
}

/* Стили для изображений в секции международных перевозок */
#international .service-image img {
    width: 400px;
    height: 300px;
    object-fit: cover;
}

@media (max-width: 768px) {
    #international .service-image img {
        width: 100%;
        height: 250px;
    }
    
    #additional .service-image img {
        width: 100%;
        height: 250px;
    }
}

/* Стили для изображений в разделе дополнительных услуг */
#additional .service-image img {
    width: 400px;
    height: 300px;
    object-fit: cover;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #ffc107, #ff6b35);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

/* Left Side Menu Button */
.left-menu-btn {
    position: fixed;
    bottom: 50px;
    left: 50px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-menu-btn:hover {
    background: linear-gradient(135deg, #ffc107, #ff6b35);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

/* Left Side Menu */
.left-menu {
    position: fixed;
    bottom: 120px;
    left: 50px;
    width: 250px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s ease;
    z-index: 999;
    overflow: hidden;
}

.left-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.left-menu-header {
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-menu-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.left-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.left-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.left-menu-items {
    padding: 15px 0;
}

.left-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 14px;
}

.left-menu-item:hover {
    background: #f8f9fa;
}

.left-menu-item i {
    width: 16px;
    color: #ff6b35;
}

/* Review Modal */
.review-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-modal.show {
    opacity: 1;
    visibility: visible;
}

.review-modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.review-modal.show .review-modal-content {
    transform: scale(1);
}

.review-modal-header {
    background: linear-gradient(135deg, #ff6b35, #ffc107);
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.review-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.review-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.review-form {
    padding: 20px;
}

.review-form .form-group {
    margin-bottom: 20px;
}

.review-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.review-form input,
.review-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.review-form input:focus,
.review-form textarea:focus {
    outline: none;
    border-color: #ff6b35;
}

.review-form textarea {
    resize: vertical;
    min-height: 100px;
}

.review-form-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
}

.review-form-buttons .btn {
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Success Message */
.success-message {
    position: fixed;
    top: 30px;
    right: 30px;
    background: #28a745;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.3s ease;
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.success-message.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.success-message i {
    font-size: 18px;
}

/* Адаптивность для кнопки "Наверх" */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 40px;
        right: 40px;
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .left-menu-btn {
        bottom: 40px;
        left: 40px;
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .left-menu {
        bottom: 100px;
        left: 40px;
        width: 220px;
    }
    
    .review-modal-content {
        width: 95%;
        margin: 20px;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 30px;
        right: 30px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .left-menu-btn {
        bottom: 30px;
        left: 30px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .left-menu {
        bottom: 80px;
        left: 30px;
        width: 200px;
    }
    
    .review-form-buttons {
        flex-direction: column;
    }
    
    .success-message {
        top: 20px;
        right: 20px;
        left: 20px;
        transform: translateY(-100%);
    }
    
    .success-message.show {
        transform: translateY(0);
    }
}

.service-modern-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-modern-dropdown.show {
    max-height: 300px;
    padding: 15px 0;
}

.service-modern-card.open .service-modern-dropdown {
    max-height: 300px;
}

.service-modern-dropdown li {
    margin: 0;
}

.service-modern-dropdown a {
    display: block;
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.service-modern-dropdown a:hover {
    background-color: #f8f9fa;
    color: #ff6b35;
    border-left-color: #ff6b35;
    padding-left: 25px;
}
