/*
Theme Name: Bulava
Description: Кастомная тема для сайта Bulava
Version: 1.0
*/

/* Inter Variable Font */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/Inter/Inter-VariableFont_opsz,wght.ttf') format('truetype-variations');
}

/* Inter Italic Variable Font */
@font-face {
    font-family: 'Inter';
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype-variations');
}

/* Prevent FOUC */
html {
    height: 100%;
}

html.js-loading {
    visibility: hidden;
    opacity: 0;
}

html.loaded {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Hide everything until fonts are loaded */
body:not(.fonts-loaded) {
    visibility: hidden;
    opacity: 0;
    height: 100vh;
    overflow: hidden;
}

body.fonts-loaded {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease;
}



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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Color Variables */
:root {
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --orange-500: #f97316;
    --purple-500: #a855f7;
    --red-500: #ef4444;
    --teal-500: #14b8a6;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    justify-content: center;
}

.btn-primary {
    background-color: var(--emerald-500);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--emerald-600);
    transform: translateY(-2px);
}



.hero .btn-secondary {
    background-color: transparent !important;
    color: var(--white) !important;
    border: 2px solid var(--white) !important;
}

.hero .btn-secondary:hover {
    background-color: var(--white) !important;
    color: var(--emerald-600) !important;
    border: 2px solid var(--white) !important;
}


.btn-secondary {
    background-color: transparent;
    color: var(--emerald-600);
    border: 2px solid var(--emerald-600);
}


.product-image-card .btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.product-image-card .btn-secondary:hover {
    background-color: var(--emerald-600);
    color: var(--white);
    border: 2px solid var(--emerald-600);
}



.btn-secondary:hover {
    background-color: var(--emerald-600);
    color: var(--white);
}




.btn-white {
    background-color: var(--white);
    color: var(--emerald-500);
}

.btn-white:hover {
    background-color: var(--gray-100);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    background-color: var(--emerald-500);
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--white);
}


.logo {
    font-size: 0.875rem;
    color: var(--gray-200);
    transition: color 0.3s ease;
    text-decoration: none;
}


.header.scrolled .logo{
    color: var(--gray-700);
    text-decoration: none;
}


.logo-text span {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--white);
	transition: color 0.3s ease;
}

.header.scrolled .logo-text span {
    font-size: 1.25rem;
	font-weight: 700;
	color: var(--gray-700);
	transition: color 0.3s ease;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-link:hover {
    color: var(--emerald-500);
}

.header.scrolled .nav-link {
    color: var(--gray-700);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: color 0.3s ease;
}

.header.scrolled .mobile-menu-btn {
    color: var(--gray-700);
}

.mobile-menu-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.close-icon {
    display: none;
}

.mobile-menu-btn.active .menu-icon {
    display: none;
}

.mobile-menu-btn.active .close-icon {
    display: block;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
}

.mobile-nav .nav-link {
    color: var(--gray-700);
    text-align: left;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-image: url('test.jpg');
    background-size: cover;
    background-position: center;
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-animations {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: float 6s ease-in-out infinite;
}

.floating-1 {
    top: 5rem;
    left: 2.5rem;
    width: 18rem;
    height: 18rem;
    background-color: rgba(16, 185, 129, 0.1);
}

.floating-2 {
    bottom: 5rem;
    right: 2.5rem;
    width: 24rem;
    height: 24rem;
    background-color: rgba(59, 130, 246, 0.1);
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 64rem;
    padding: 8rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    color: #a7f3d0;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-badge svg {
    width: 1rem;
    height: 1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.accent-text {
    color: #6ee7b7;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-200);
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid var(--white);
    border-radius: 9999px;
    display: flex;
    justify-content: center;
}

.scroll-wheel {
    width: 0.25rem;
    height: 0.75rem;
    background-color: var(--white);
    border-radius: 9999px;
    margin-top: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    53%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40%,
    43% {
        transform: translateX(-50%) translateY(-30px);
    }

    70% {
        transform: translateX(-50%) translateY(-15px);
    }

    90% {
        transform: translateX(-50%) translateY(-4px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 48rem;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    color: var(--emerald-600);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.about-badge svg {
    width: 1rem;
    height: 1rem;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon.emerald {
    background-color: var(--emerald-500);
}

.feature-icon.blue {
    background-color: var(--blue-500);
}

.feature-icon.orange {
    background-color: var(--orange-500);
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--white) !important;
}

.feature-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--gray-600);
    line-height: 1.5;
}

.about-cta {
    display: flex;
    gap: 1rem;
}

.about-cta .btn-secondary {
    background-color: transparent;
    color: var(--emerald-500);
    border: 2px solid var(--emerald-500);
}

.about-cta .btn-secondary:hover {
    background-color: var(--emerald-500);
    color: var(--white);
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.stat-card {
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--emerald-500);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--emerald-500);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

.about-image {
    position: relative;
    height: 300px;
    background-image: url('./images/placeholder-bg.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    overflow: hidden;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--emerald-600), var(--blue-600));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.overlay-content svg {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
}

.overlay-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    opacity: 0.9;
}

/* Products Section */
.products {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.product-card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.product-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.product-description {
    color: var(--gray-600);
    line-height: 1.6;
}

.product-card:hover .product-icon {
    transform: scale(1.1);
}

.product-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--white) !important;
}

.product-icon.emerald {
    background-color: var(--emerald-500);
}

.product-icon.blue {
    background-color: var(--blue-500);
}

.product-icon.orange {
    background-color: var(--orange-500);
}

.product-icon.purple {
    background-color: var(--purple-500);
}

.product-icon.red {
    background-color: var(--red-500);
}

.product-icon.teal {
    background-color: var(--teal-500);
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.product-description {
    color: var(--gray-600);
    line-height: 1.6;
}

.products-cta {
    background: linear-gradient(135deg, var(--emerald-600), var(--blue-600));
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    color: var(--white);
}

.products-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.products-cta p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* Advantages Section */
.advantages {
    padding: 5rem 0;
    background-color: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.advantage-card {
    background-color: var(--gray-50);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    gap: 1.5rem;
}

.advantage-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    background-color: var(--emerald-500);
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
}

.advantage-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--white) !important;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--white) !important;
}



.advantage-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.advantage-content p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.advantages-cta {
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--white);
}

.advantages-cta h3 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.advantages-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

/* Work Process Section */
.work-process {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.process-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 200px;
    flex: 1;
    min-width: 180px;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--gray-900);
    color: var(--white);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    z-index: 2;
}

.step-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.step-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--white) !important;
}

.step-icon.emerald,
.step-icon.blue,
.step-icon.orange,
.step-icon.purple,
.step-icon.teal {
    background-color: var(--emerald-500);
}

.process-step:hover .step-icon {
    transform: scale(1.1);
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--gray-600);
    line-height: 1.5;
    font-size: 0.875rem;
}


.process-simple-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}



.contact-icon.emerald {
    background-color: var(--emerald-500);
}

.contact-icon.blue {
    background-color: var(--blue-500);
}

.contact-icon.orange {
    background-color: var(--orange-500);
}

.contact-icon.purple {
    background-color: var(--purple-500);
}

.contact-label {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.contact-value {
    color: var(--gray-600);
}

.contact-value a {
    color: var(--gray-600);
    text-decoration: none;
}

.contact-value a:hover {
    color: var(--emerald-600);
}

.consultation-card {
    background: linear-gradient(135deg, var(--emerald-600), var(--blue-600));
    border-radius: 1rem;
    padding: 2rem;
    color: var(--white);
}

.consultation-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.consultation-card p {
    margin-bottom: 1.5rem;
}

.consultation-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.consultation-feature svg {
    width: 1.25rem;
    height: 1.25rem;
}

.contact-form-container {
    display: flex;
    flex-direction: column;
}

.contact-form-card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.contact-form-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

#contact-modal-content .form-group {
    margin-bottom: 0rem;
}
#consultation-modal-content .form-group {
    margin-bottom: 0rem;
}
#product-calculation-modal-content .form-group {
    margin-bottom: 0rem;
}



.form-group label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.success-message {
    text-align: center;
    padding: 2rem;
}

.success-message svg {
    width: 4rem;
    height: 4rem;
    color: var(--emerald-500);
    margin-bottom: 1rem;
}

.success-message h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.success-message p {
    color: var(--gray-600);
}

/* Footer */
.footer {
    background-color: var(--gray-900);
    color: var(--white);
    padding: 4rem 0;
}

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

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.footer-logo .logo-text p {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.footer-section p {
    color: var(--gray-400);
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section ul li a:hover {
    color: #6ee7b7;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact-item svg {
    width: 1rem;
    height: 1rem;
    color: #6ee7b7;
}

.footer-contact-item a {
    color: var(--white);
    text-decoration: none;
}

.footer-contact-item a:hover {
    color: #6ee7b7;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-400);
}

/* Experience Section */
.experience {
    padding: 5rem 0;
    background-color: var(--white);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.experience-card {
    background-color: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.experience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.experience-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--emerald-500), var(--blue-500));
    overflow: hidden;
    background-size: cover;
}

.experience-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.experience-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 0;
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
}

.experience-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--white) !important;
}

.experience-content {
    padding: 2rem;
}

.experience-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.experience-content p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.95rem;
}

.experience-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .hero-description {
        font-size: 1.125rem;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1.125rem;
    }

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

    .product-card {
        text-align: center;
    }

    .product-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .about-text {
        text-align: center;
    }

    .about-badge {
        justify-content: center;
    }

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

    .advantage-card {
        flex-direction: column;
        text-align: center;
    }

    .advantage-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-icon {
        flex-shrink: 0;
        min-width: 3rem;
        min-height: 3rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto;
        justify-content: center;
        flex-direction: column;
    }

    .footer-contact {
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .about-cta {
        flex-direction: column;
    }

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

    .experience-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .experience-card {
        max-width: 100%;
        width: 100%;
    }

    .about-feature {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin: 0 auto;
    }

    .process-steps {
        flex-direction: column;
        gap: 3rem;
    }

    .process-step:nth-child(1),
    .process-step:nth-child(2),
    .process-step:nth-child(3),
    .process-step:nth-child(4),
    .process-step:nth-child(5) {
        flex-basis: auto;
        margin-top: 0;
        max-width: 100%;
        min-width: auto;
    }

    .process-step .step-number {
        right: 45%;
        transform: translateX(2rem);
    }
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }

    .cta-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

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

    .section-header h2 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }

    .section-header h2 {
        font-size: 3rem;
    }
}

/* Partners Section */
.partners {
    padding: 5rem 0;
    background-color: var(--white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.partner-item {
    display: block;
    border-radius: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.partner-item:hover {
    transform: translateY(-4px);
}

.partner-item img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    border-radius: 0.5rem;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
}

/* Mobile responsiveness for partners */
@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

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

    .partner-item {
        padding: 1rem;
    }

    .partner-item img {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

/* 
Product Buttons */
.product-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    justify-content: start;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
}

.btn-sm i {
    width: 1rem;
    height: 1rem;
}

/* Mobile responsiveness for product buttons */
@media (max-width: 480px) {
    .product-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn-sm {
        width: 100%;
        justify-content: center;
    }
}

/* Produ
ct card secondary button override */
.product-card .btn-secondary {
    background-color: transparent;
    color: var(--emerald-600);
    border: 2px solid var(--emerald-600);
}

.product-card .btn-secondary:hover {
    background-color: var(--emerald-600);
    color: var(--white);
}

.product-card .btn-secondary i {
    color: inherit;
}

/*
 Hero badge link styles */
.hero-badge {
    text-decoration: none;
}

.hero-badge:hover {
    text-decoration: none;
}

/* Adva
ntages CTA button styles */
.advantages-cta .btn-secondary {
    background-color: var(--white);
    color: var(--emerald-600);
    border: 2px solid var(--white);
}

.advantages-cta .btn-secondary:hover {
    background-color: var(--white);
    color: var(--emerald-600);
    border: 2px solid var(--white);
}

/*
 Featured Products Section */
.featured-products {
    padding: 5rem 0;
    background-color: var(--white);
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.featured-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.featured-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-item:hover .featured-image img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.featured-content {
    color: var(--white);
    width: 100%;
}

.featured-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.featured-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.featured-buttons {
    display: flex;
    gap: 1rem;
}

.featured-buttons .btn {
    flex: 1;
}

/* Mobile responsiveness for featured products */
@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .featured-image {
        height: 300px;
    }

    .featured-overlay {
        padding: 1.5rem;
    }

    .featured-content h3 {
        font-size: 1.25rem;
    }

    .featured-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Product Image Cards - full background image */
.product-image-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.product-image-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.product-image-card>* {
    position: relative;
    z-index: 2;
}

.product-image-card h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.product-image-card .product-description {
    color: rgba(255, 255, 255, 0.9);
}

.product-image-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-image-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.product-image-content {
    color: var(--white);
    width: 100%;
}

.product-image-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-image-content p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Modal Styles */
body #contact-modal-content {
    display: none !important; /* Скрыто по умолчанию */
}

.modal-container #contact-modal-content {
    display: block !important; /* Показываем только внутри модального окна */
    position: relative;
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Анимация исчезновения */
.modal-overlay.fade-out,
.modal-container.fade-out {
    opacity: 0 !important;
    transform: translateY(20px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 600px;
    padding: 1rem;
}

.modal-container.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0.25rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close-button:hover {
    color: #1f2937;
}

/* Mobile responsiveness for product image cards */
@media (max-width: 768px) {
    .product-image {
        height: 250px;
    }

    .product-image-overlay {
        padding: 1rem;
    }

    .product-image-content h3 {
        font-size: 1.125rem;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 2rem;
}

.modal-container.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: all 0.2s ease;
    z-index: 10000;
}

.modal-close-button:hover {
    background-color: var(--gray-100);
    color: var(--gray-700);
}

.modal-close-button svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Modal content styling */
#contact-modal-content {
    display: block !important;
}

.modal-container h2 {
    color: var(--gray-900);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Contact Form 7 styling inside modal */
.modal-container .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-container .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.modal-container input[type="text"],
.modal-container input[type="email"],
.modal-container input[type="tel"],
.modal-container textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.modal-container input[type="text"]:focus,
.modal-container input[type="email"]:focus,
.modal-container input[type="tel"]:focus,
.modal-container textarea:focus {
    outline: none;
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.modal-container textarea {
    min-height: 100px;
    resize: vertical;
}




.modal-container .wpcf7-response-output {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
}

.modal-container .wpcf7-mail-sent-ok {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.modal-container .wpcf7-validation-errors {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        padding: 1.5rem;
        max-height: 95vh;
    }
    
    .modal-container h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .modal-close-button {
        top: 0.5rem;
        right: 0.5rem;
    }
}

.wpcf7-response-output {
	display: none;
}

.wpcf7-spinner {
	position: absolute !important;
}

.wpcf7-not-valid-tip {
	display: none;
}

.wpcf7-form-control.wpcf7-submit.has-spinner {
	background: transparent;
	border: 0;
	color: var(--white);
	cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
}

.footer-section a.btn {
	margin-top: 1rem;
}