/*
Theme Name: RCG
Author: Alex Viu
Author URI: alex_viu@mail.ru
Description: Еще один блог
Version: 2.0
*/

.comfortaa-<uniquifier> {
  font-family: "Comfortaa", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.site-header-inner { background-color: var(--header-color);}
.footer-navigation,.main-navigation { background-color: var(--nav-color);}
.site-footer { background-color: var(--footer-color);}
.site-content, body .widget-area { background-color: var(--text-background-color);}
body { background-color: var(--body-color);}

        :root {
            --primary-color: #db3d42;
            --secondary-color: #ffcc49;
            --black: #212121;
            --white: #ffffff;
            --gray: #f5f5f5;
            --dark-gray: #757575;
            --gradient: linear-gradient(90deg, #db3d42 0%, #ffcc49 100%);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Comfortaa', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            color: var(--black);
            line-height: 1.6;
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        ul {
            list-style: none;
        }

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

        .btn {
            display: inline-block;
            padding: 12px 28px;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-primary {
            background: var(--gradient);
            color: var(--white);
            border: none;
        }

        .btn-primary:hover {
            opacity: 0.9;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        .btn-outline {
            background: transparent;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
        }

        .btn-outline:hover {
            background: var(--primary-color);
            color: var(--white);
        }

        /* Header Styles */
        header {
            background: var(--white);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }

        .header-inner {
            display: flex;
            justify-content: space-around;
            align-items: center;
            padding: 15px 0;
        }

        .logo {
            display: flex;
            align-items: center;
            font-weight: 700;
            font-size: 24px;
            color: var(--primary-color);
        }

        .logo img {
            height: 40px;
            margin-right: 10px;
        }

        .nav-menu {
            display: flex;
            align-items: center;
        }

        .nav-menu ul {
            display: flex;
            margin-right: 20px;
        }

        .nav-menu li {
            margin: 0 10px;
        }

        .nav-menu a {
            font-weight: 500;
            transition: color 0.3s ease;
			font-size: 14px;
        }

        .nav-menu .btn a:hover {
            color: var(--white);
        }

        .services-toggle {
            display: flex;
            background: var(--gray);
            border-radius: 30px;
            padding: 5px;
            margin-right: 20px;
        }

        .service-btn {
            padding: 8px 15px;
            border-radius: 30px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .service-btn.active {
            background: var(--white);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .language-switcher {
            display: flex;
            align-items: center;
            margin-right: 20px;
            cursor: pointer;
            position: relative;
        }

        .current-language {
            display: flex;
            align-items: center;
        }

        .language-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            background: var(--white);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            padding: 10px;
            display: none;
            width: 100px;
        }

        .language-dropdown.active {
            display: block;
        }

        .language-option {
            padding: 8px 0;
            text-align: center;
            transition: color 0.3s ease;
        }

        .language-option:hover {
            color: var(--primary-color);
        }

        .header-buttons {
            display: flex;
            align-items: center;
        }

        .header-buttons .btn {
            margin-left: 15px;
        }

        .mobile-toggle {
            display: none;
            font-size: 24px;
            cursor: pointer;
        }

        /* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: url('/wp-content/themes/rcg/assets/img/banner.jpg') no-repeat center center;
    background-size: cover;
    text-align: center;
}

        .hero h1 {
            font-size: 48px;
            margin-bottom: 20px;
            background: var(--gradient);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .hero p {
            font-size: 20px;
            color: var(--white);
            margin-bottom: 40px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Analytics Section */
        .analytics {
            padding: 80px 0;
            background: var(--white);
        }

        .analytics-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .analytics-item {
            text-align: center;
            padding: 30px;
            border-radius: 15px;
            background: var(--gray);
            transition: transform 0.3s ease;
        }

        .analytics-item:hover {
            transform: translateY(-10px);
        }

        .analytics-number {
            font-size: 60px;
            font-weight: 700;
            margin-bottom: 10px;
            background: var(--gradient);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .analytics-label {
            font-size: 18px;
            color: var(--dark-gray);
        }

        /* About Section */
        .about {
            padding: 80px 0;
            background: var(--gray);
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-title h2 {
            font-size: 36px;
            margin-bottom: 20px;
            color: var(--black);
        }

        .section-title p {
            font-size: 18px;
            color: var(--dark-gray);
            max-width: 700px;
            margin: 0 auto;
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }

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

        .about-text p {
            margin-bottom: 20px;
            font-size: 16px;
            line-height: 1.8;
        }

        .about-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 30px;
        }

        .stat-item {
            text-align: center;
            padding: 20px;
            background: var(--white);
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .stat-number {
            font-size: 32px;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 10px;
        }

        .stat-label {
            font-size: 14px;
            color: var(--dark-gray);
        }

        /* Products Section */
        .products {
            padding: 0;
            background: var(--white);
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .product-card {
            background: var(--gray);
            border-radius: 15px;
            overflow: hidden;
            transition: transform 0.3s ease;
        }

        .product-card:hover {
            transform: translateY(-10px);
        }

.product-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

        .product-content {
            padding: 25px;
        }

        .product-title {
            font-size: 22px;
            margin-bottom: 15px;
            color: var(--black);
        }

        .product-description {
            margin-bottom: 20px;
            color: var(--dark-gray);
        }



















.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 500px;
    min-height: 400px;
}

.product-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px;
}

.product-title, .product-description {
    margin-bottom: 15px;
}

.product-card .btn.btn-outline {
    margin-top: 30px;
    align-self: center;
    width: fit-content;
    min-width: 20px;
    text-align: center;
}














        /* Partners Section */
        .partners {
            padding: 80px 0;
            background: var(--gray);
        }

        .partners-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 30px;
        }

        .partner-item {
            height: 100px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .partner-item i {
            font-size: 36px;
            color: var(--primary-color);
        }

        /* Benefits Section */
        .benefits {
            padding: 80px 0;
            background: var(--white);
        }

        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
        }

        .benefit-card {
            padding: 30px;
            background: var(--gray);
            border-radius: 15px;
            transition: transform 0.3s ease;
        }

        .benefit-card:hover {
            transform: translateY(-10px);
        }

        .benefit-icon {
            font-size: 40px;
            margin-bottom: 20px;
            color: var(--primary-color);
			display: flex;
    align-items: center;
			    gap: 10px;
        }

        .benefit-title {
            font-size: 22px;
            margin-bottom: 15px;
            color: var(--black);
        }

        .benefit-description {
            color: var(--dark-gray);
        }

        /* News Section */
        .news {
            padding: 80px 0;
            background: var(--gray);
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-bottom: 40px;
        }

        .news-card {
            background: var(--white);
            border-radius: 15px;
            overflow: hidden;
            transition: transform 0.3s ease;
        }

        .news-card:hover {
            transform: translateY(-10px);
        }

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

        .news-content {
            padding: 25px;
        }

        .news-date {
            font-size: 14px;
            color: var(--primary-color);
            margin-bottom: 10px;
        }

        .news-title {
            font-size: 20px;
            margin-bottom: 15px;
            color: var(--black);
        }

        .news-excerpt {
            color: var(--dark-gray);
            margin-bottom: 20px;
        }

        .news-link {
            color: var(--primary-color);
            font-weight: 600;
            display: inline-flex;
            align-items: center;
        }

        .news-link i {
            margin-left: 5px;
            transition: transform 0.3s ease;
        }

        .news-link:hover i {
            transform: translateX(5px);
        }

        .news-all {
            text-align: center;
        }

        /* Cooperation Form */
        .cooperation {
            padding: 80px 0;
            background: var(--white);
        }

        .form-container {
            max-width: 600px;
            margin: 0 auto;
            background: var(--gray);
            padding: 40px;
            border-radius: 15px;
        }

        .form-title {
            text-align: center;
            margin-bottom: 30px;
        }

        .form-title h2 {
            font-size: 28px;
            margin-bottom: 10px;
            color: var(--black);
        }

        .form-title p {
            color: var(--dark-gray);
        }

        .form-group {
          /*   margin-bottom: 20px; */
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }

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

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

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

        .required::after {
            content: '*';
            color: var(--primary-color);
            margin-left: 3px;
        }

        .form-notice {
            text-align: center;
            margin-top: 20px;
            font-size: 14px;
            color: var(--dark-gray);
			display: flex;
        }

        /* Footer */
        footer {
            background: var(--black);
            color: var(--white);
            padding: 60px 0 30px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-column h3 {
            font-size: 18px;
            margin-bottom: 20px;
            color: var(--white);
        }

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

        .footer-links a {
            color: #bbb;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: var(--white);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid #444;
            color: #bbb;
            font-size: 14px;
        }

        /* Responsive Styles */
        @media (max-width: 1024px) {
            .hero h1 {
                font-size: 40px;
            }
            
            .analytics-grid,
            .products-grid,
            .benefits-grid,
            .news-grid,
            .partners-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .header-inner {
                padding: 15px 0;
            }
            
            .nav-menu {
                position: fixed;
                top: 80px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 80px);
                background: var(--white);
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;
                padding: 40px 20px;
                transition: left 0.3s ease;
            }
            
            .nav-menu.active {
                left: 0;
            }
            
            .nav-menu ul {
                flex-direction: column;
                margin-right: 0;
                margin-bottom: 30px;
            }
            
            .nav-menu li {
                margin: 10px 0;
            }
            
            .services-toggle {
                margin-right: 0;
                margin-bottom: 30px;
            }
            
            .language-switcher {
                margin-right: 0;
                margin-bottom: 30px;
            }
            
            .header-buttons {
                flex-direction: column;
            }
            
            .header-buttons .btn {
                margin: 10px 0;
            }
            
            .mobile-toggle {
                display: block;
            }
            
            .hero {
                padding: 140px 0 80px;
            }
            
            .hero h1 {
                font-size: 32px;
            }
            
            .hero p {
                font-size: 18px;
            }
            
            .about-content {
                grid-template-columns: 1fr;
            }
            
            .analytics-grid,
            .products-grid,
            .benefits-grid,
            .news-grid,
            .partners-grid {
                grid-template-columns: 1fr;
				        gap: 66px;
            }
            
            .footer-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            .hero h1 {
                font-size: 28px;
            }
            
            .section-title h2 {
                font-size: 28px;
            }
            
            .analytics-number {
                font-size: 36px;
            }
            
            .form-container {
                padding: 30px 20px;
            }
        }
    @media (max-width: 767px) {		
		
.about-stats {
    display: grid;
    grid-template-columns: none;
    gap: 20px;
    margin-top: 30px;
}
}



.wpcf7-form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.wpcf7-form-control:focus {
    border-color: #007cba;
    outline: none;
}

.wpcf7-acceptance .wpcf7-list-item {
    display: inline;
    margin: 0;
}

.wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.wpcf7-acceptance input[type="checkbox"] {
    margin-top: 3px;
	    height: 20px;
    width: 20px;
}

.wpcf7-submit {
    width: 100%;
    padding: 12px;
    background-color: #007cba;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.wpcf7-submit:hover {
    background-color: #005a87;
}


.coobtn {width: 335px;}
@media (min-width: 767px){
.coobtn {width: 366px;}
}