/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1200px) {
    .calculator-wrapper {
        gap: 40px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .projects-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 992px) {
    body {
        padding-top: 114px;
    }

    .hero-section {
        padding: 140px 0 100px;
        padding-top: 180px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .navbar {
        padding: 15px 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, #dcc2aa 0%, #201f1e 100%);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
        z-index: 999;
        box-shadow: 0 0 40px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 10px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .top-bar-info {
        gap: 15px;
    }

    .top-bar-item .top-bar-text {
        display: none;
    }

    .top-bar-item:hover::after {
        content: attr(data-tooltip);
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: #333;
        color: white;
        padding: 5px 10px;
        border-radius: 4px;
        font-size: 0.8rem;
        white-space: nowrap;
        z-index: 1002;
        margin-top: 5px;
    }

    .messages-container {
        top: 114px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 104px;
    }

    .hero-section {
        padding: 120px 0 100px;
        padding-top: 160px;
    }

    .hero-title {
        font-size: 2rem;
        padding: 0 20px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .hero-buttons, .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid, .projects-grid {
        grid-template-columns: 1fr !important;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .cta-text {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .calculator-form-card {
        padding: 30px;
    }

    .review-card {
        padding: 25px;
    }

    .top-bar {
        padding: 6px 0;
        font-size: 0.85rem;
    }

    .top-bar-info {
        gap: 12px;
    }

    .top-bar-social {
        gap: 10px;
    }

    .top-bar-social-link {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }

    .header {
        top: 40px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .container {
        padding: 0 15px;
    }

    .messages-container {
        top: 104px;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 98px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 25px 15px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .calculator-form-card {
        padding: 25px 20px;
    }

    .step {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .top-bar-info {
        gap: 10px;
    }

    .top-bar-social-link {
        width: 26px;
        height: 26px;
        font-size: 0.85rem;
    }

    .header {
        top: 38px;
        padding: 0;
    }

    .navbar {
        padding: 12px 0;
    }

    .logo img {
        width: 140px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }

    .messages-container {
        top: 98px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

@media (max-width: 400px) {
    body {
        padding-top: 96px;
    }

    .hero-buttons .btn,
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .calculator-form-card {
        padding: 20px 15px;
        border-radius: 15px;
    }

    .top-bar-info {
        gap: 8px;
    }

    .top-bar-item:nth-child(3) {
        display: none;
    }

    .logo img {
        width: 120px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .messages-container {
        top: 96px;
    }
}

/* Trust Section */
.trust-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #dcc2aa 0%, #201f1e 100%);
    position: relative;
    z-index: 1;
    margin-top: -50px;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -20px 40px rgba(0,0,0,0.05);
    overflow: hidden;
}

.trust-header {
    text-align: center;
    margin-bottom: 50px;
}

.trust-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.trust-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.trust-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.trust-slider-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    padding: 20px 0;
}

.trust-slider {
    overflow: hidden;
}

.trust-track {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    width: fit-content;
    will-change: transform;
}

.trust-slide {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-logo-card {
    background: white;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.trust-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.trust-logo-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s;
}

.trust-logo-card:hover img {
    transform: scale(1.05);
}

.trust-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    opacity: 0.9;
}

.trust-nav:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.trust-nav-prev {
    left: 0;
}

.trust-nav-next {
    right: 0;
}

@media (max-width: 1300px) {
    .trust-slider-container {
        max-width: 1100px;
    }

    .trust-slide {
        width: 160px;
        min-width: 160px;
        max-width: 160px;
        height: 160px;
    }
}

@media (max-width: 1200px) {
    .trust-slider-container {
        max-width: 1000px;
        padding: 0 50px;
    }

    .trust-slide {
        width: 150px;
        min-width: 150px;
        max-width: 150px;
        height: 150px;
    }

    .trust-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .trust-section {
        padding: 60px 0;
        margin-top: -30px;
    }

    .trust-title {
        font-size: 2rem;
    }

    .trust-slider-container {
        max-width: 800px;
    }

    .trust-slide {
        width: 140px;
        min-width: 140px;
        max-width: 140px;
        height: 140px;
    }
}

@media (max-width: 768px) {
    .trust-section {
        padding: 50px 0;
    }

    .trust-title {
        font-size: 1.8rem;
    }

    .trust-slider-container {
        max-width: 600px;
        padding: 0 40px;
    }

    .trust-slide {
        width: 120px;
        min-width: 120px;
        max-width: 120px;
        height: 120px;
    }

    .trust-nav {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .trust-slider-container {
        max-width: 100%;
        padding: 0 35px;
    }

    .trust-slide {
        width: 100px;
        min-width: 100px;
        max-width: 100px;
        height: 100px;
    }

    .trust-nav {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .trust-slide {
        width: 85px;
        min-width: 85px;
        max-width: 85px;
        height: 85px;
    }

    .trust-nav {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .trust-slider-container {
        padding: 0 30px;
    }

    .trust-slide {
        width: 75px;
        min-width: 75px;
        max-width: 75px;
        height: 75px;
    }
}