* {
            box-sizing: border-box;
        }
        body {
            margin: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f9f4ef;
            color: #3b2f2f;
        }
        .hero {
            position: relative;
            height: 100vh;
            background: url('../banner/8.jpeg') no-repeat center center/cover;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 100%;
            background: rgba(0, 0, 0, 0.6);
            z-index: 1;
        }

        .content {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            gap: 40px;
            padding: 40px;
            max-width: 1000px;
            width: 100%;
        }

        .content .logo {
            flex-shrink: 0;
        }

        .content .logo img {
            max-height: 230px;
            width: auto;
        }

        .text-block {
            text-align: left;
        }

        .text-block h1 {
            font-size: 55px;
            margin-bottom: 20px;
        }

        .text-block p {
            font-size: 30px;
            margin-bottom: 30px;
            line-height: 1.5;
        }

        .btn {
            background-color: #0066ff;
            color: white;
            padding: 15px 30px;
            border: none;
            border-radius: 30px;
            font-size: 16px;
            cursor: pointer;
            transition: 0.3s;
        }

        .btn:hover {
            background-color: #0052cc;
        }

        @media (max-width: 768px) {
            .content {
                flex-direction: column;
                text-align: center;
                gap: 20px;
            }

            .text-block h1 {
                font-size: 30px;
            }

            .text-block p {
                font-size: 16px;
            }

            .content .logo img {
                max-height: 150px;
            }
            .content h1 {
                font-size: 30px;
            }

            .content p {
                font-size: 16px;
            }
        }


        .client-showcase {
            padding: 2rem 1rem;
            background: #fffdf9;
            overflow: hidden;
        }

        .client-showcase h2 {
            font-size: 32px;
            margin-bottom: 20px;
        }

        .logo-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        .logo-container {
            background: white;
            border-radius: 16px;
            padding: 1rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            transition: transform 0.2s ease;
            aspect-ratio: 1/1;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .logo-image {
            max-width: 100%;
            max-height: 70%;
            object-fit: contain;
            transition: transform 0.2s ease;
        }

        @media (max-width: 768px) {
            .logo-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }

            .client-showcase h2 {
                font-size: 1.75rem;
            }
            .logo-image {
                max-width: 100%;
                max-height: 80%;
            }
        }

        @media (min-width: 769px) and (max-width: 1024px) {
            .logo-grid {
                gap: 1.5rem;
                padding: 0 0.5rem;
            }
            .logo-image {
                max-width: 100%;
                max-height: 80%;
            }
        }

        @media (hover: hover) {
            .logo-container:hover {
                transform: scale(1.05);
            }
        }

        .about-section {
            background-color: #ffffff;
            padding: 50px 20px;
        }

        .about-container {
            max-width: 1200px;
            padding: 0 20px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 40px;
        }

        .about-text {
            flex: 1 1 400px;
            min-width: 300px;
        }

        .about-text h2 {
            margin-top: 0;
            color: #333;
            margin-bottom: 20px;
            font-size: 32px;
        }

        .about-text p {
            font-size: 1.1rem;
            color: #555;
            line-height: 1.6;
        }

        .about-text small {
            font-size: 1rem;
            color: #888;
            display: block;
            margin-top: 20px;
        }

        .about-image img {
            width: 35%;
            border-radius: 16px;
        }

        @media (max-width: 768px) {
            .about-container {
                flex-direction: column;
                text-align: center;
            }

            .about-text h2 {
                font-size: 2rem;
            }

            .about-text p {
                font-size: 1rem;
            }
            .about-text {
                flex: 1 1 200px;
            }
			.about-image {
                flex: 1 1 100px;
            }
			.about-image img {
				width: 60%;
			}
        }

        .cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            grid-auto-rows: minmax(250px, auto);
            gap: 20px;
            grid-auto-flow: dense;
        }

        .card {
            position: relative;
            background-size: cover;
            background-position: center;
            border-radius: 16px;
            overflow: hidden;
            color: white;
            display: flex;
            align-items: flex-end;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        }

        .card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
            z-index: 1;
            transition: opacity 0.3s ease;
            opacity: 0.9;
        }

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

        .card-content {
            position: relative;
            z-index: 2;
            padding: 20px;
            transform: translateY(10px);
            transition: transform 0.3s ease;
            opacity: 0.9;
        }

        .card:hover .card-content {
            transform: translateY(0);
            opacity: 1;
        }

        .card h3 {
            margin: 0 0 4px;
            font-size: 20px;
            font-weight: 600;
        }

        .card h3 span {
            font-weight: normal;
            font-size: 14px;
            opacity: 0.9;
        }

        .card p {
            font-size: 14px;
            margin: 0;
            opacity: 0.9;
        }

        .card.wide {
            grid-column: span 2;
        }

        .card.tall {
            grid-row: span 2;
        }

        .container2 {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }
        .container2 h2{
            font-size: 32px;
            margin-bottom: 20px;
        }

        @media (max-width: 1024px) {
            .cards {
                grid-template-columns: repeat(2, 1fr);
            }

            .card.wide {
                grid-column: span 2;
            }

            .card.tall {
                grid-row: span 1;
            }
        }

        @media (max-width: 640px) {

            .card.wide, .card.tall {
                grid-column: span 1;
                grid-row: span 1;
            }
            .card h3{
                font-size: 15px;
            }

            h1 {
                font-size: 25px;
            }

            p {
                font-size: 11px;
            }
        }

        .wrapper {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        .main-title {
            font-size: 32px;
            margin-bottom: 20px;
        }
        .description {
            font-size: 18px;
            margin-bottom: 10px;
        }
        .grid-services {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-top: 40px;
        }
        .service-box {
            background-color: #ffffff;
            padding: 24px;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        .service-box h3 {
            margin-top: 0;
            font-size: 20px;
            margin-bottom: 16px;
        }
        .service-box ul {
            padding-left: 20px;
            margin-bottom: 16px;
        }
        .service-box li {
            margin-bottom: 8px;
            font-size: 16px;
        }
        .tag-price {
            display: inline-block;
            background-color: #ffe9e4;
            color: #ff6347;
            font-weight: bold;
            padding: 6px 12px;
            border-radius: 12px;
            font-size: 14px;
        }
        .service-box.full-width {
            grid-column: span 2;
        }

        @media (max-width: 768px) {
            .main-title {
                font-size: 24px;
                text-align: center;
            }

            .description {
                font-size: 16px;
                text-align: center;
            }

            .grid-services {
                grid-template-columns: 1fr;
                gap: 16px;
                margin-top: 20px;
            }

            .service-box {
                padding: 16px;
            }

            .service-box h3 {
                font-size: 18px;
                text-align: center;
            }

            .service-box ul {
                padding-left: 16px;
            }

            .service-box li {
                font-size: 15px;
            }
            .service-box.full-width {
                grid-column: auto;
            }

            .tag-price {
                display: block;
                width: fit-content;
                margin: 10px auto 0;
                font-size: 13px;
                padding: 5px 10px;
            }
        }

        #contact {
            background-color: #fff8f1;
            padding: 10px 20px;
        }

        .contact-container {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }

        .contact-container h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
            color: #4b2e2e;
        }

        .contact-container p {
            font-size: 1.1rem;
            color: #4b2e2e;
            margin-bottom: 40px;
        }

        .form-wrapper {
            background: white;
            padding: 40px;
            border-radius: 18px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
            margin-bottom: 40px;
        }

        .form-wrapper h1 {
            font-size: 1.8rem;
            margin-bottom: 8px;
            color: #333;
        }

        .form-wrapper p {
            color: #666;
            margin-bottom: 28px;
            font-size: 1rem;
        }

        .form-wrapper form {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .form-wrapper input,
        .form-wrapper textarea {
            padding: 14px 16px;
            font-size: 1rem;
            border: 1px solid #ccc;
            border-radius: 10px;
            transition: border 0.3s;
            width: 100%;
        }

        .form-wrapper input:focus,
        .form-wrapper textarea:focus {
            border-color: #d86b46;
            outline: none;
        }

        .form-wrapper textarea {
            min-height: 100px;
            resize: vertical;
        }

        .form-wrapper button {
            background-color: #d86b46;
            color: #fff;
            padding: 14px;
            border: none;
            border-radius: 50px;
            font-size: 1rem;
            cursor: pointer;
            transition: background 0.3s;
        }

        .form-wrapper button:hover {
            background-color: #b45536;
        }

        .message-success {
            margin-top: 12px;
            color: green;
            font-weight: 500;
            display: none;
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 24px;
            flex-wrap: wrap;
        }

        .social-links a {
            text-decoration: none;
            color: #ffffff;
            transition: transform 0.3s ease;
        }

        .social-links a:hover {
            transform: translateY(-4px);
        }

        .social-box {
            background: #4b2e2e;
            padding: 18px 26px;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 500;
            font-size: 1rem;
        }

        @media (max-width: 600px) {
            .form-wrapper {
                padding: 30px 20px;
            }

            .card-panel{
                padding: 10px;
            }
        }


        .language-switcher {
            position: absolute;
            top: 20px;
            left: 20px;
            z-index: 3;
            display: flex;
            gap: 10px;
        }

        .language-switcher button {
            background-color: transparent;
            color: white;
            border: 2px solid white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 14px;
            cursor: pointer;
            transition: 0.3s;
        }

        .language-switcher button:hover {
            background-color: white;
            color: black;
        }




        .loading {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999; /* Убедитесь, что он поверх остальных элементов */
        }

        .spinner {
            border: 8px solid rgba(0, 0, 0, 0.1);
            border-left-color: #3498db;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }