/* 
 * Оптимизированные стили для сайта теплиц
 * Цель: уменьшить размер HTML файла путем выноса inline стилей
 */

/* ========== Базовые стили ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
	scroll-behavior: smooth;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--white);
    overflow-x: hidden;
	padding-top: 87px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
    box-sizing: border-box;
}

/* ========== CSS переменные ========== */
:root {
    --black: #000000;
    --dark-gray: #1a1a1a;
    --gray: #666666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --accent: #22C55E;
    --accent-dark: #16A34A;
    --error: #dc2626;
    --success: #34D399;
    --purple: #7c3aed;
    --purple-dark: #6d28d9;
    --orange: #f59e0b;
    --orange-dark: #d97706;
    
    /* Отступы */
    --spacing-xs: 10px;
    --spacing-sm: 15px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 40px;
    --spacing-2xl: 60px;
    --spacing-3xl: 80px;
    --spacing-4xl: 120px;
    
    /* Радиусы */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 100px;
    
    /* Тени */
    --shadow-sm: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.1);
    --shadow-xl: 0 30px 80px rgba(0,0,0,0.15);
    --shadow-accent: 0 20px 40px rgba(34,197,94,0.3);
}

/* ========== Типографика ========== */
h1 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 16px;
}

p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray);
}

/* ========== Утилитарные классы ========== */

/* Секции */
.section {
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.section-lg {
    padding: var(--spacing-4xl) 0;
}

.section-gray {
    background: var(--light-gray);
}

.section-gradient {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Заголовки секций */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-subtitle {
/*     color: var(--accent); */
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    margin-bottom: 20px;
}

.section-title span {
    color: var(--accent);
}

.section-description {
    font-size: 20px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Сетки */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

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

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

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

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

/* Карточки */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
}

.card-shadow {
    box-shadow: var(--shadow-lg);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-white {
    background: var(--white);
}

.card-gray {
    background: var(--light-gray);
}

.card-gradient {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

/* Кнопки */
.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 100px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:active::before {
    width: 300px;
    height: 300px;
}

.btn-secondary {
    background: var(--light-gray);
    color: var(--black);
}

.btn-secondary:hover {
    background: #e5e5e5;
}

.btn-lg {
    padding: 24px 48px;
    font-size: 20px;
}

.btn-xl {
    padding: 26px 60px;
    font-size: 22px;
}

.btn-green {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow-accent);
}

.btn-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(34,197,94,0.5);
}

.btn-white {
    background: var(--white);
    color: var(--accent);
    box-shadow: 0 20px 40px rgba(255,255,255,0.2);
}

.btn-white:hover {
    transform: translateY(-2px);
}

.btn-transparent {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    padding: 12px 24px;
    font-size: 14px;
}

.btn-transparent:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

/* Типографика */
.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.text-green {
    color: var(--accent);
}

.text-gray {
    color: var(--gray);
}

.text-sm {
    font-size: 14px;
}

.text-md {
    font-size: 16px;
}

.text-lg {
    font-size: 18px;
}

.text-xl {
    font-size: 20px;
}

.text-2xl {
    font-size: 24px;
}

.text-3xl {
    font-size: 32px;
}

.text-4xl {
    font-size: 36px;
}

.text-5xl {
    font-size: 48px;
}

.text-6xl {
    font-size: 56px;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-extrabold {
    font-weight: 800;
}

.font-black {
    font-weight: 900;
}

/* Отступы */
.m-0 { margin: 0; }
.mt-10 { margin-top: 10px; }
.mt-15 { margin-top: 15px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mt-80 { margin-top: 80px; }

/* Mobile margin overrides */
@media (max-width: 768px) {
    .mt-80 { margin-top: 40px; }
    .mt-60 { margin-top: 30px; }
}

.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }

.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }
.mb-80 { margin-bottom: 80px; }

.p-20 { padding: 20px; }
.p-30 { padding: 30px; }
.p-40 { padding: 40px; }
.p-60 { padding: 60px; }

.pt-20 { padding-top: 20px; }
.pt-30 { padding-top: 30px; }
.pt-40 { padding-top: 40px; }

.pb-20 { padding-bottom: 20px; }
.pb-30 { padding-bottom: 30px; }
.pb-40 { padding-bottom: 40px; }

/* Фоны */
.bg-white {
    background: var(--white);
}

.bg-gray {
    background: var(--light-gray);
}

.bg-green {
    background: var(--accent);
}

.bg-gradient-green {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}

/* Позиционирование */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.z-1 { z-index: 1; }
.z-2 { z-index: 2; }
.z-3 { z-index: 3; }

/* Flex утилиты */
.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }
.gap-40 { gap: 40px; }
.gap-60 { gap: 60px; }
.gap-80 { gap: 80px; }

.text-divider {
	display: flex;
	gap: 8px;
	align-items: center;
	mask-image: linear-gradient(to right, transparent, black, transparent);
	color: #00000050;
}

.text-divider hr {
	display: flex;
	width: 100%;
	height: 1px;
	border: 1px solid #00000010;
}

/* Mobile gap overrides */
@media (max-width: 768px) {
    .gap-80 { gap: 30px; }
    .gap-60 { gap: 20px; }
}

/* Подзаголовки */
.h3-white-sm {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.2;
    min-height: 24px;
}

.h3-lg {
    font-size: 32px;
    margin-bottom: 20px;
}

.h3-white-lg {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 15px;
}

/* Инфо-блоки */
.info-box {
    border-radius: 15px;
    padding: 20px;
    text-align: center;
}

.info-box-gray {
    background: #f8f9fa;
}

.info-box-blue {
    background: #f0f9ff;
}

.info-box-green {
    background: #f0fdf4;
}

.info-box-red {
    background: #fef2f2;
}

.info-box-purple {
    background: #f3f0ff;
}

/* Размеры */
.w-full { width: 100%; }
.h-full { height: 100%; }
.max-w-600 { max-width: 600px; }
.max-w-900 { max-width: 900px; }
.max-w-1000 { max-width: 1000px; }
.max-w-1200 { max-width: 1200px; }
.w-min { width: min-content; }

.cursor-pointer {
	cursor: pointer;
}

/* Mobile max-width overrides */
@media (max-width: 768px) {
    .max-w-1200,
    .max-w-1000,
    .max-w-900,
    .max-w-600 {
        max-width: 100%;
        padding: 0 20px;
    }
}

/* Радиусы */
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-15 { border-radius: 15px; }
.rounded-20 { border-radius: 20px; }
.rounded-full { border-radius: 50%; }

/* Эффекты и анимации */
.transition {
    transition: all 0.3s ease;
}

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

.hover-shadow:hover {
    box-shadow: var(--shadow-xl);
}

/* Иконки в кругах */
.icon-circle {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    margin: 0 auto 20px;
}

.icon-circle-sm {
    width: 56px;
    height: 56px;
}

.icon-circle i {
    font-size: 36px;
    color: var(--white);
}

.icon-circle-sm i {
    font-size: 28px;
}

#consultation-form .type-option {
	display: flex;
	cursor: pointer;
	width: 100%;
	min-width: 0;
}

#consultation-form .type-options {
	display: flex;
	gap: 20px;
}

#consultation-form .new-width-option {
	width: 100%;
}

@media (max-width: 768px) {
    #consultation-form .type-options {
        flex-direction: column;
    }
}

/* ========== Специализированные карточки ========== */

/* Карточка модели теплицы */
.model-card {
    position: relative;
    transform: translateY(0);
    transition: all 0.5s;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.model-card:hover {
    transform: translateY(-20px);
}

.model-card-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    z-index: 2;
}

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

.model-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.model-card:hover .model-card-image img {
    transform: scale(1.1);
}

.model-card-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.model-card-title {
    position: absolute;
    bottom: 20px;
    left: 30px;
    color: white;
    font-size: 32px;
    font-weight: 800;
    margin: 0;
}

.model-card-content {
    padding: 40px;
}

/* Карточка преимущества */
.feature-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: visible;
}

.feature-card-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-card p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

/* Карточка процесса */
.process-card {
    background: white;
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    transform: translateY(0);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.process-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

.process-card-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0.1;
}

.process-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
}

.process-card-icon i {
    font-size: 36px;
    color: white;
}

.process-card-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-size: 20px;
    font-weight: 700;
}

.process-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.process-card p {
    color: #666;
    font-size: 14px;
    text-align: center;
    line-height: 1.6;
}

.process-card-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.process-card-footer span {
    font-weight: 600;
    font-size: 16px;
}

/* Карточка гарантии */
.guarantee-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    text-align: center;
}

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

.guarantee-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.guarantee-card-icon i {
    font-size: 30px;
    color: white;
}

/* Градиенты для иконок */
.bg-gradient-red {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.bg-gradient-purple {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

.bg-gradient-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* Специальные карточки с градиентом */
.card-glass {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-green-gradient {
    background: linear-gradient(135deg, rgba(34,197,94,0.1) 0%, rgba(34,197,94,0.05) 100%);
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.3s;
}

.card-orange-gradient {
    background: linear-gradient(135deg, rgba(245,158,11,0.1) 0%, rgba(245,158,11,0.05) 100%);
    border: 1px solid rgba(245,158,11,0.3);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.3s;
}

.card-white-shadow {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transform: translateY(0);
    transition: all 0.3s;
}

/* Hero стили */
.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-bg-grid {
        grid-template-columns: 1fr;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    color: white;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 30px;
    text-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.hero-gradient-text {
    background: linear-gradient(90deg, #22C55E 0%, #34D399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 24px;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Утилиты для позиционирования */
.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* ========== Hover эффекты ========== */

/* Hover для моделей теплиц */
.hover-model-card {
    transform: translateY(0);
    transition: all 0.5s;
}

.hover-model-card:hover {
    transform: translateY(-20px);
}

/* Еще более выраженный hover для центральной модели */
.hover-model-card-featured {
    transform: translateY(-20px) scale(1.05);
    transition: all 0.5s;
}

.hover-model-card-featured:hover {
    transform: translateY(-40px) scale(1.05);
}

/* Hover для изображений в модельных карточках */
.hover-model-image {
    transition: transform 0.5s;
}

.hover-model-image:hover {
    transform: scale(1.1);
}

/* Hover для галереи */
.hover-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    transform: translateY(0);
    transition: all 0.3s;
}

.hover-gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Hover для зеленых градиентных карточек */
.hover-card-green {
    transform: translateY(0);
    transition: all 0.3s;
}

.hover-card-green:hover {
    transform: translateY(-10px);
    border-color: rgba(34,197,94,0.6) !important;
}

/* Hover для оранжевых градиентных карточек */
.hover-card-orange {
    transform: translateY(0);
    transition: all 0.3s;
}

.hover-card-orange:hover {
    transform: translateY(-10px);
    border-color: rgba(245,158,11,0.6) !important;
}

/* Hover для белых карточек с тенью */
.hover-card-white {
    transform: translateY(0);
    transition: all 0.3s;
}

.hover-card-white:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* Hover для стеклянных карточек (технологии) */
.hover-card-glass {
    transform: translateY(0);
    transition: all 0.3s;
}

.hover-card-glass:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
}

/* Hover для процессных карточек */
.hover-process-card {
    transform: translateY(0);
    transition: all 0.3s;
}

.hover-process-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

/* Hover для контактных карточек с вращением */
.hover-contact-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transform: translateY(0) rotate(0);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.hover-contact-card:hover {
    transform: translateY(-10px) rotate(2deg);
    border-color: #22C55E;
    background: rgba(34,197,94,0.05);
}

/* Hover для больших кнопок с тенью */
.hover-btn-lift {
    transition: all 0.3s;
}

.hover-btn-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(34,197,94,0.5);
}

/* Hover для плавной кнопки с малым подъемом */
.hover-btn-smooth {
    transition: all 0.3s;
}

.hover-btn-smooth:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(34,197,94,0.4);
}

/* Hover для масштабирования элементов */
.hover-scale {
    transition: all 0.3s;
}

.hover-scale:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

/* Hover для малого масштабирования */
.hover-scale-sm {
    transition: all 0.3s;
}

.hover-scale-sm:hover {
    transform: scale(1.02);
}

/* Hover для масштабирования кнопок */
.hover-scale-btn {
    transition: all 0.3s;
}

.hover-scale-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(34,197,94,0.4);
}

/* Hover для радио кнопок культур */
.hover-culture-option {
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    transition: all 0.3s;
}

.hover-culture-option:hover {
    border-color: #22C55E;
    background: rgba(34,197,94,0.1);
}

/* Hover для контактных карточек с вращением влево */
.hover-contact-card-left {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transform: translateY(0) rotate(0);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.hover-contact-card-left:hover {
    transform: translateY(-10px) rotate(-2deg);
    border-color: #22C55E;
    background: rgba(34,197,94,0.05);
}

/* Hover для оранжевых контактных карточек */
.hover-contact-card-orange {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transform: translateY(0) rotate(0);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.hover-contact-card-orange:hover {
    transform: translateY(-10px) rotate(2deg);
    border-color: #f59e0b;
    background: rgba(245,158,11,0.05);
}

/* Hover для слайдера калькулятора */
#area-slider:active {
    transform: scale(1.05);
}

.slider-icon {
    transition: all 0.3s ease;
}

.slider-icon:hover {
    transform: scale(1.3) rotate(15deg);
}

.slider-icon:hover + .slider-value {
    background: rgba(34,197,94,0.1);
}

/* Стили для кнопок спецификаций */
.spec-btn {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: none;
    transition: all 0.3s;
}

.spec-btn-active {
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%) !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(34,197,94,0.3) !important;
}

/* ========== Hero секция ========== */
.hero-container {
    position: relative;
    z-index: 3;
    height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0 20px;
    }
}

.hero-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
}

.hero-icon-green {
    color: #22C55E;
}

.hero-icon-red {
    color: #dc2626;
}

.hero-icon-orange {
    color: #f59e0b;
}

.hero-subheading {
    font-size: 36px;
    color: rgba(255,255,255,0.95);
    line-height: 1.3;
}

.hero-text-sm {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.4;
    flex-grow: 1;
}

.hero-text-md {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.hero-cta-white {
    background: white;
    color: #22C55E;
    font-size: 20px;
    padding: 26px 50px;
    border: none;
    font-weight: 600;
    box-shadow: 0 20px 40px rgba(255,255,255,0.2);
}

.hero-trust-number {
    font-size: 56px;
    font-weight: 800;
    color: white;
    margin: 0;
    text-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.hero-trust-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin: 0;
    text-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.hero-bg-layer {
    filter: brightness(0.4);
}

@media (max-width: 768px) {
    .hero-bg-layer {
        filter: brightness(0.3);
    }
}

.hero-sun-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, transparent 20%, rgba(255,235,59,0.4) 30%, transparent 60%);
    pointer-events: none;
}

.hero-icon-container {
    position: relative;
    z-index: 2;
}

/* ========== Секция моделей теплиц ========== */
.models-bg-circle {
    position: absolute;
    border-radius: 50%;
}

.models-bg-circle-1 {
    top: -200px;
    left: -200px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34,197,94,0.1) 0%, transparent 70%);
}

.models-bg-circle-2 {
    bottom: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(34,197,94,0.1) 0%, transparent 70%);
}

.models-container {
    position: relative;
}

.models-description {
    color: #333;
    margin: 0 auto;
}

.model-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    position: relative;
}

.model-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #22C55E;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    z-index: 2;
}

.model-label-orange {
    background: #f59e0b;
}

.model-label-red {
    background: #dc2626;
}

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

.model-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.model-stat-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.model-stat-number {
    color: #22C55E;
    font-size: 36px;
    font-weight: 800;
    margin: 0;
}

.model-stat-number-sm {
    color: #22C55E;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.model-stat-text {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.model-info-title {
    font-weight: 600;
    margin-bottom: 10px;
}

/* ========== Анимации ========== */

/* Floating animation */
.anim-float-6s {
    animation: float 6s ease-in-out infinite;
}

.anim-float-8s {
    animation: float 8s ease-in-out infinite;
}

.anim-float-10s {
    animation: float 10s ease-in-out infinite;
}

/* Rotating animation */
.anim-rotate-20s {
    animation: rotate 20s linear infinite;
}

.anim-rotate-30s-reverse {
    animation: rotate -30s linear infinite;
}

.anim-rotate-45s-reverse {
    animation: rotate -45s linear infinite;
}

.anim-rotate-60s {
    animation: rotate 60s linear infinite;
}

/* Pulse animation */
.anim-pulse-2s {
    animation: pulse 2s ease-in-out infinite;
}

.anim-pulse-3s {
    animation: pulse 3s ease-in-out infinite;
}

/* Floating leaf animation */
.anim-leaf-12s {
    animation: floatLeaf 12s infinite;
}

.anim-leaf-15s {
    animation: floatLeaf 15s infinite;
    animation-delay: 3s;
}

.anim-leaf-10s {
    animation: floatLeaf 10s infinite;
    animation-delay: 5s;
}

.anim-leaf-18s {
    animation: floatLeaf 18s infinite;
    animation-delay: 7s;
}

/* Plant animations */
.anim-plant {
    animation: growPlant 2s ease-out forwards, swayPlant 4s 2s infinite ease-in-out;
}

.anim-plant-delay-03 {
    animation-delay: 0.3s;
}

.anim-plant-delay-05 {
    animation-delay: 0.5s;
}

.anim-plant-delay-06 {
    animation-delay: 0.6s;
}

/* Water drop animation */
.anim-water-drop {
    animation: dropWater 3s infinite;
}

.anim-water-drop-delay {
    animation-delay: 1s;
}

/* Sun animations */
.anim-sun-pulse {
    animation: pulseSun 4s infinite ease-in-out;
}

.anim-sun-rotate {
    animation: rotateSun 20s infinite linear;
}

/* Count up animation */
.anim-count-up {
    animation: countUp 1s ease-out;
}

/* Slide animation */
.anim-slide-20s {
    animation: slide 20s linear infinite;
}

.anim-slide-30s {
    animation: slide 30s linear infinite;
}

/* ========== Process Section ========== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

@media (max-width: 1200px) {
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

.hover-process-card {
    background: white;
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.hover-process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

.process-glow {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #22C55E 0%, transparent 70%);
    opacity: 0.1;
}

.process-glow-red {
    background: radial-gradient(circle, #dc2626 0%, transparent 70%);
}

.process-glow-purple {
    background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
}

.process-glow-orange {
    background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
}

.process-icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
}

.process-icon-box-red {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.process-icon-box-purple {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

.process-icon-box-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.process-icon {
    font-size: 36px;
    color: white;
}

.process-step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.process-step-number span {
    font-size: 20px;
    font-weight: 700;
    color: #22C55E;
}

.process-step-number-red span {
    color: #dc2626;
}

.process-step-number-purple span {
    color: #7c3aed;
}

.process-step-number-orange span {
    color: #f59e0b;
}

.process-title {
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.process-text {
    color: #666;
    font-size: 14px;
    text-align: center;
    line-height: 1.6;
}

.process-timeline {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.process-timeline-green {
    color: #22C55E;
    font-weight: 600;
    font-size: 16px;
}

.process-timeline-red {
    color: #dc2626;
    font-weight: 600;
    font-size: 16px;
}

.process-timeline-purple {
    color: #7c3aed;
    font-weight: 600;
    font-size: 16px;
}

.process-timeline-orange {
    color: #f59e0b;
    font-weight: 600;
    font-size: 16px;
}

.process-total-block {
    margin-top: 80px;
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    border-radius: 30px;
    padding: 40px;
    color: white;
    box-shadow: 0 20px 40px rgba(34,197,94,0.3);
    text-align: center;
}

.process-total-title {
    font-size: 32px;
    margin-bottom: 15px;
    color: white;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.process-total-days {
    font-weight: 900;
    color: #ffd700;
}

.process-total-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.95);
    font-weight: 500;
}

/* ========== Финальная оптимизация ========== */

/* Классы для списков */
.list-item-flex {
    padding: 10px 0;
    color: #333;
    display: flex;
    align-items: center;
}

.list-item-flex-white {
    padding: 10px 0;
    color: white;
    display: flex;
    align-items: center;
}

.list-icon-green {
    color: #22C55E;
    margin-right: 10px;
}

.list-icon-orange {
    color: #f59e0b;
    margin-right: 10px;
}

/* Центрирование блоков */
.mx-auto {
	margin-left: auto;
	margin-right: auto;
}

.mx-auto-60 {
    margin: 0 auto 60px;
}

/* Flex контейнеры */
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-between-mb-30 {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.flex-center-gap-30 {
    display: flex;
    justify-content: center;
    gap: 30px;
}

/* Блоки с градиентами */
.block-gradient-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 30px;
    padding: 60px;
    text-align: center;
}

.block-gradient-glass {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border-radius: 30px;
    padding: 60px;
    margin-top: 80px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Иконки-боксы */
.icon-box-gradient {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-box-red {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.icon-box-purple {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

/* Максимальная ширина для текста */
.max-w-800 {
    max-width: 800px;
}

.max-w-1200 {
    max-width: 1200px;
}

/* Дополнительный цвет текста */
.text-white-90 {
    color: rgba(255,255,255,0.9);
}

/* ========== Header ========== */
.header {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0);
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
    z-index: 100;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    color: var(--black);
    flex-shrink: 0;
    text-decoration: none;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
}

.nav {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin: 0 15px;
}

.nav a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav a:hover {
    color: var(--accent);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.phone {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-gray);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

nav:has(.social-link) {
	display: flex;
	align-items: center;
	gap: 8px;
}

.social-link {
	display: flex;
	color: currentColor;
	text-decoration: none;
	transition: 100ms color;
}

.social-link:hover {
    color: var(--accent);
}

.phone::before {
    content: '📞';
    font-size: 18px;
}

.phone:hover {
    color: var(--accent);
}

/* ========== Hero Section ========== */
.hero {
    padding: 80px 0;
    background: var(--white);
}

/* ========== Problems Section ========== */
.problems-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.problem-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
}

.problem-icon {
    width: 48px;
    height: 48px;
    background: #fee2e2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.problem-icon i {
    font-size: 24px;
    color: var(--error);
}

/* ========== Solutions Section ========== */
.solutions-section {
    padding: 80px 0;
    background: var(--white);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin-top: 48px;
}

.solution-card {
    display: flex;
    gap: 24px;
}

.solution-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--light-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-icon i {
    font-size: 28px;
    color: var(--accent);
}

.solution-content h3 {
    margin-bottom: 8px;
}

/* ========== Specifications Section ========== */
.specs-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.specs-table {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 48px;
}

.specs-table table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th,
.specs-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.specs-table th {
    background: var(--light-gray);
    font-weight: 600;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

/* ========== Investment Section ========== */
.investment-section {
    padding: 80px 0;
    background: var(--white);
}

.investment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 48px;
}

.investment-card {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 16px;
}

.investment-item {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #e5e5e5;
}

.investment-item:last-child {
    border-bottom: none;
}

.investment-label {
    color: var(--gray);
}

.investment-value {
    font-weight: 600;
    color: var(--black);
}

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

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    margin-top: 48px;
}

.about-item h3 {
    font-size: 32px;
    margin-bottom: 8px;
}

.about-item p {
    color: #999;
}

/* ========== CTA Section ========== */
.cta-section {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 32px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.footer-info p {
    color: #999;
    margin-bottom: 24px;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contacts a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid #333;
    text-align: center;
    color: #666;
}

/* ========== Form ========== */
.form-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px;
    border-radius: 16px;
    margin-top: 48px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--black);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

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

/* ========== Mobile Menu ========== */
.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* ========== FAQ Styles ========== */
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: #22C55E;
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
}

.faq-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 8px;
    transition: all 0.3s;
}

.faq-item.active .faq-icon {
    background: #22C55E;
    color: white;
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 500px;
}

/* ========== Анимации (Animations) ========== */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 102, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(200%);
    }
}

@keyframes scroll {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    40% {
        opacity: 1;
    }
    80% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Agricultural Animations */
@keyframes floatLeaf {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-10vh) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

.floating-leaf {
    position: fixed;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    border-radius: 0 100% 0 100%;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.floating-leaf:nth-child(1) {
    left: 10%;
}

.floating-leaf:nth-child(2) {
    left: 30%;
    width: 25px;
    height: 25px;
}

.floating-leaf:nth-child(3) {
    left: 60%;
}

.floating-leaf:nth-child(4) {
    left: 85%;
    width: 35px;
    height: 35px;
}

/* Growing plant animation */
@keyframes growPlant {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}

@keyframes swayPlant {
    0%, 100% {
        transform: rotate(-2deg);
    }
    50% {
        transform: rotate(2deg);
    }
}

.plant-icon {
    display: inline-block;
    position: relative;
    transform-origin: bottom center;
    animation: growPlant 2s ease-out forwards, swayPlant 4s 2s infinite ease-in-out;
}

/* Water drop animation */
@keyframes dropWater {
    0% {
        transform: translateY(-20px) scale(0.8);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(20px) scale(1);
        opacity: 0;
    }
}

.water-drop {
    position: absolute;
    width: 10px;
    height: 15px;
    background: linear-gradient(180deg, #4fc3f7 0%, #0288d1 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    opacity: 0;
    animation: dropWater 3s infinite;
}

/* Sun rays animation */
@keyframes rotateSun {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseSun {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.sun-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 15px;
    animation: pulseSun 4s infinite ease-in-out;
}

.sun-icon .hero-icon {
    margin-bottom: 0;
}

.sun-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    animation: rotateSun 20s infinite linear;
}

/* Crop yield counter */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.yield-counter {
    display: inline-block;
    animation: countUp 1s ease-out;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========== Additional Responsive Styles ========== */
@media (max-width: 1300px) {
    .container {
        padding: 0 30px;
    }
    
    .nav {
        gap: 20px;
        margin: 0 15px;
    }
}

@media (max-width: 1200px) {
    .nav {
        gap: 15px;
        margin: 0 10px;
    }
    
    .header-cta .btn-primary {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .phone {
        font-size: 15px;
    }
    .phone::before {
        display: none;
    }
}

@media (max-width: 1150px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-cta .btn-primary {
        display: none;
    }
}

/* Additional mobile styles for smaller screens */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Hero adjustments for very small screens */
    .hero-title {
        font-size: 28px !important;
    }
    
    .hero .grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .hero .btn-xl,
    .hero .hero-cta-white {
        font-size: 14px !important;
        padding: 14px 24px !important;
    }
    
    .hero-trust-title {
        font-size: 20px !important;
    }
    
    .hero-trust-number {
        font-size: 24px !important;
    }
    
    /* Hide animated elements on very small screens */
    .water-drop,
    .sun-rays {
        display: none !important;
    }
    
    /* Fix model cards on very small screens */
    #models div[style*="padding: 40px"] {
        padding: 20px !important;
    }
    
    #models p[style*="font-size: 36px"],
    #models p[style*="font-size: 28px"] {
        font-size: 24px !important;
    }
    
    #models ul {
        font-size: 14px !important;
    }
    
    #models li {
        padding: 8px 0 !important;
    }
    
    /* Fix white line issue */
    * {
        max-width: 100vw !important;
    }
    
    div[style*="width: 200%"] {
        display: none !important;
    }
    
    /* Reset any large widths */
    div[style*="width: 600px"],
    div[style*="width: 800px"],
    div[style*="width: 1200px"] {
        width: 100% !important;
        max-width: 100% !important;
    }
}

a:has(button) {
	all: unset;
}

.btn-social {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: white;
	max-width: 250px;
	width: 100%;
}

.btn-social svg {
	width: 1.3em;
	height: 1.3em;
	flex-shrink: 0;
}

.btn-social:hover {
	transform: scale(1.06);
	filter: brightness(1.1);
}

.btn-telegram {
	background: rgb(42, 171, 238);
}

.btn-viber {
	background: rgb(101, 92, 172);
}

/* Медиа запросы */
@media (max-width: 1200px) {
    .grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Основные мобильные стили */
@media (max-width: 768px) {
/* --- FIX: выравниваем оба блока «ширина/площадь» по нижнему краю, чтобы тексты были на одном уровне --- */
    #models .model-stat-wrapper {
    }
    
    .section-lg {
        padding: var(--spacing-2xl) var(--spacing-md);
    }
    
    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5 {
        grid-template-columns: 1fr;
    }
    
    /* Hero section specific fixes */
    .hero .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .hero-container {
        min-height: 100vh;
        height: auto;
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 36px !important;
        margin-bottom: 20px !important;
    }
    
    .hero-subheading {
        font-size: 20px !important;
        margin-bottom: 30px !important;
    }
    
    .hero-icon {
        font-size: 32px !important;
        margin-bottom: 10px !important;
        height: 48px !important;
    }
    
    .h3-white-sm {
        font-size: 16px !important;
        min-height: 48px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        line-height: 1.2 !important;
    }
    
    .hero-text-sm {
        font-size: 12px !important;
    }
    
    /* Hero CTA buttons mobile */
    .hero .btn-xl {
        font-size: 16px !important;
        padding: 16px 30px !important;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .hero .hero-cta-white {
        font-size: 16px !important;
        padding: 16px 30px !important;
        width: 100%;
    }
    
    /* Hero Trust Indicators mobile */
    .hero .flex-center.gap-80 {
        flex-direction: column !important;
        gap: 30px !important;
        margin-top: 50px !important;
    }
    
    .hero-trust-title {
        font-size: 24px !important;
    }
    
    .hero-trust-number {
        font-size: 32px !important;
    }
    
    .hero-text-md {
        font-size: 14px !important;
    }
    
    /* Fix card glass on mobile */
    .card-glass {
        padding: 20px !important;
        min-height: 200px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hide-mobile {
        display: none;
    }
    
    .header-content {
        padding: 15px 0;
        gap: 15px;
    }
    
    .logo span:first-child {
        font-size: 16px !important;
    }
    
    .logo img {
        width: 35px;
        height: 35px;
    }
    
    .nav {
        display: none;
    }
    
    .phone {
        font-size: 14px;
    }
    
    .header-cta .btn-primary {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .investment-content {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .header-cta .phone {
        display: none;
    }
    
    /* Additional mobile styles */
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    section {
        padding: 60px 0 !important;
    }
    
    /* Hero section is handled above with class-based selectors */
    
    /* Models section mobile */
    #models div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    #models h2[style*="font-size: clamp"] {
        font-size: 28px !important;
    }
    
    #models p[style*="font-size: 20px"] {
        font-size: 16px !important;
    }
    
    /* Remove transform effects on mobile */
    #models div[style*="transform: translateY"] {
        transform: none !important;
    }
    
    /* Background and container fixes are handled by class selectors above */
    
    /* Model cards mobile */
    #models div[style*="transform: translateY(-20px) scale(1.05)"] {
        transform: none !important;
    }
    
    #models div[style*="height: 300px"] {
        height: 200px !important;
    }
    
    #models div[style*="padding: 40px"] {
        padding: 25px !important;
    }
    
    #models p[style*="font-size: 36px"] {
        font-size: 28px !important;
    }
    
    #models p[style*="font-size: 28px"] {
        font-size: 24px !important;
    }
    
    /* Fix model cards alignment and height */
    #models > div > div {
        min-height: 700px !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    @media (max-width: 480px) {
        #models > div > div {
            min-height: 600px !important;
        }
    }
    
    #models > div > div > div {
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Fix content spacing in model cards */
    #models div[style*="display: flex; justify-content: space-between"] {
        flex-direction: column !important;
        gap: 20px !important;
        text-align: center !important;
    }
    
    #models div[style*="display: flex; justify-content: space-between"] > div {
        text-align: center !important;
    }
    
    /* Ensure consistent spacing for m² */
    #models p {
        white-space: nowrap !important;
    }
    
    /* Push price button to bottom */
    #models div[style*="padding: 40px"] > div:last-child {
        margin-top: auto !important;
    }
    
    /* Fix badge positioning on mobile */
    #models div[style*="position: absolute; top: 20px; right: 20px"] {
        position: static !important;
        margin: 10px auto 10px !important;
        display: inline-block !important;
    }
    
    /* Fix labels on mobile */
    #models div[style*="position: absolute; top: 20px; left: 20px"] {
        font-size: 12px !important;
        padding: 6px 16px !important;
    }
    
    /* Fix all sections padding */
    section[style*="padding: 120px 0"] {
        padding: 30px 0 !important;
    }
    
    section[style*="padding: 80px 0"] {
        padding: 30px 0 !important;
    }
    
    /* Specifically target models section to fix the white space issue */
    #models[style*="padding"] {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    
    /* Fix overflow issues */
    section {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    div[style*="position: absolute"] {
        max-width: 100% !important;
    }
    
    /* Fix container overflow */
    .container {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Fix all grid layouts on mobile */
    div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Fix flex layouts on mobile */
    div[style*="display: flex"] {
        flex-direction: column !important;
    }
    
    /* Exception for buttons container */
    .hero div[style*="display: flex"][style*="justify-content: center"][style*="flex-wrap: wrap"] {
        flex-direction: column !important;
    }
    
    /* Keep some flex items in row */
    .header-content {
        flex-direction: row !important;
    }
    
    /* Fix hero flex layouts */
    .hero .flex-wrap {
        flex-direction: column !important;
    }
    
    .hero .flex-center {
        flex-direction: column !important;
    }
    
    /* Fix large fonts globally */
    p[style*="font-size: 48px"] {
        font-size: 28px !important;
    }
    
    p[style*="font-size: 56px"] {
        font-size: 32px !important;
    }
    
    h2[style*="font-size: 48px"] {
        font-size: 28px !important;
    }
    
    h2[style*="font-size: 56px"] {
        font-size: 32px !important;
    }
    
    /* Fix padding globally */
    div[style*="padding: 80px"] {
        padding: 40px 20px !important;
    }
    
    div[style*="padding: 60px"] {
        padding: 30px 20px !important;
    }
    
    div[style*="padding: 40px"] {
        padding: 20px !important;
    }
    
    /* Fix margins */
    div[style*="margin-bottom: 80px"] {
        margin-bottom: 40px !important;
    }
    
    div[style*="margin-top: 80px"] {
        margin-top: 40px !important;
    }
    
    /* Fix models section spacing on mobile - ULTRA AGGRESSIVE */
    body section#models,
    body section#models[style*="padding"],
    body section#models[style*="padding: 120px 0"],
    section#models.models,
    #models {
        padding: 20px 0 !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    
    body #models div[style*="text-align: center; margin-bottom: 80px"],
    #models > div > div[style*="text-align: center"],
    #models .container > div:first-child {
        margin-bottom: 20px !important;
    }
    
    #models p[style*="margin-bottom: 10px"] {
        margin-bottom: 5px !important;
    }
    
    #models p[style*="margin-bottom: 20px"] {
        margin-bottom: 10px !important;
    }
    
    #models h2[style*="margin-bottom: 20px"] {
        margin-bottom: 10px !important;
    }
    
    #models p[style*="font-size: 20px"] {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }
    
    /* Remove model cards bottom margin on mobile */
    #models div[style*="grid-template-columns: repeat(3, 1fr)"][style*="margin-bottom: 80px"] {
        margin-bottom: 20px !important;
    }
    
    /* Fix gaps in flex and grid */
    div[style*="gap: 80px"] {
        gap: 30px !important;
    }
    
    div[style*="gap: 60px"] {
        gap: 20px !important;
    }
    
    div[style*="gap: 48px"] {
        gap: 20px !important;
    }
    
    /* Fix absolute positioned elements */
    div[style*="position: absolute"][style*="width: 400px"] {
        display: none !important;
    }
    
    div[style*="position: absolute"][style*="width: 300px"] {
        display: none !important;
    }
    
    /* Fix specifications section mobile */
    #specifications div[style*="display: flex"][style*="justify-content: center"] {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }
    
    #specifications button {
        width: 100% !important;
        max-width: 300px !important;
        padding: 15px 30px !important;
        font-size: 16px !important;
    }
    
    #specs-display {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    /* Hide 3D model on mobile */
    #greenhouse-3d {
        display: none !important;
    }
    
    /* Hide floating leaves on mobile to save performance */
    .floating-leaf {
        display: none !important;
    }
    
    /* Last resort - shift models content up */
    #models .container {
        transform: translateY(-20px);
    }
    
    #specifications div[style*="height: 400px"] {
        height: auto !important;
        min-height: 0 !important;
        margin-bottom: 30px !important;
    }
    
    #specifications div[style*="padding: 30px"] {
        padding: 20px !important;
    }
    
    #specifications p[style*="font-size: 36px"] {
        font-size: 28px !important;
    }
    
    /* Fix guarantees section mobile */
    div[style*="width: 400px; height: 450px"] {
        width: 100% !important;
        max-width: 300px !important;
        height: auto !important;
        margin-bottom: 60px !important;
    }
    
    div[style*="width: 400px; height: 450px"] svg {
        max-width: 200px !important;
        height: auto !important;
    }
    
    /* Fix guarantee cards layout on mobile */
    div[style*="position: relative; max-width: 900px"] {
        max-width: 100% !important;
        padding: 0 20px !important;
    }
    
    /* Reposition guarantee cards for mobile */
    div[style*="position: absolute; top: -50px; left: -150px"],
    div[style*="position: absolute; top: -50px; right: -150px"],
    div[style*="position: absolute; bottom: -80px"] {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100% !important;
        margin-bottom: 20px !important;
    }
    
    div[style*="width: 250px"] {
        width: 100% !important;
        max-width: 350px !important;
        margin: 0 auto 20px !important;
    }
    
    /* Hide shield SVG on very small screens */
    @media (max-width: 480px) {
        div[style*="width: 400px; height: 450px"] {
            display: none !important;
        }
        
        /* Compact view for features on very small screens */
        div[style*="grid-template-columns: repeat(4, 1fr)"][style*="margin-top: 120px"] {
            grid-template-columns: 1fr !important;
        }
    }
    
    /* Fix process timeline section mobile */
    section div[style*="grid-template-columns: repeat(5, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    /* Remove transform effects on mobile */
    section div[style*="transform: translateY(40px)"],
    section div[style*="transform: translateY(80px)"] {
        transform: none !important;
    }
    
    /* Hide road SVG on mobile */
    svg[viewBox*="0 0 1200 600"] {
        display: none !important;
    }
    
    /* Fix timeline cards */
    div[style*="background: white; border-radius: 30px; padding: 30px"] {
        padding: 25px !important;
    }
    
    /* Fix total timeline block */
    div[style*="margin-top: 80px"][style*="background: linear-gradient(135deg, #22C55E"] {
        margin-top: 40px !important;
        padding: 30px 20px !important;
        border-radius: 20px !important;
    }
    
    div[style*="margin-top: 80px"][style*="background: linear-gradient(135deg, #22C55E"] h3 {
        font-size: 24px !important;
    }
    
    div[style*="margin-top: 80px"][style*="background: linear-gradient(135deg, #22C55E"] p {
        font-size: 16px !important;
    }
    
    /* Fix additional features grid in guarantees section */
    div[style*="grid-template-columns: repeat(4, 1fr)"][style*="margin-top: 120px"] {
        grid-template-columns: repeat(2, 1fr) !important;
        margin-top: 60px !important;
        gap: 20px !important;
    }
    
    div[style*="grid-template-columns: repeat(4, 1fr)"][style*="margin-top: 120px"] > div {
        padding: 10px !important;
    }
    
    div[style*="grid-template-columns: repeat(4, 1fr)"][style*="margin-top: 120px"] i {
        font-size: 28px !important;
        margin-bottom: 10px !important;
    }
    
    div[style*="grid-template-columns: repeat(4, 1fr)"][style*="margin-top: 120px"] p {
        font-size: 14px !important;
    }
    
    /* Fix guarantees section header mobile */
    section > .container > div[style*="text-align: center; margin-bottom: 80px"] {
        margin-bottom: 40px !important;
    }
    
    section > .container > div[style*="text-align: center; margin-bottom: 80px"] h2 {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }
    
    section > .container > div[style*="text-align: center; margin-bottom: 80px"] p[style*="font-size: 20px"] {
        font-size: 16px !important;
    }
    
    /* Hero section mobile styles are handled by class selectors above */
    
    /* Belarus problems mobile */
    .belarus-problems div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Models mobile */
    section div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Technical advantages mobile */
    section div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    /* Success stories mobile */
    .container > div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Seasonal solutions mobile */
    section div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Photo gallery mobile */
    section div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    section div[style*="grid-column: span 2"] {
        grid-column: span 2 !important;
    }
    
    /* Process timeline mobile */
    .container div[style*="position: absolute; left: 50%"] {
        display: none !important;
    }
    
    /* Guarantees mobile */
    .container > div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Marketing automation mobile */
    section div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Emotional section mobile */
    section div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    section h2[style*="font-size: 48px"] {
        font-size: 32px !important;
    }
    
    /* Fix margin bottom classes for mobile */
    .mb-80 { margin-bottom: 40px; }
    .mb-60 { margin-bottom: 30px; }
    .mx-auto-60 { margin: 0 auto 30px; }
    
    /* Fix excessive space in models section */
    #models .mb-80 { margin-bottom: 10px !important; }
    #models .text-center.mb-80 { margin-bottom: 10px !important; }
    #models div.text-center { margin-bottom: 10px !important; }
    #models .grid { margin-top: 0 !important; padding-top: 0 !important; }
}

/* ========== Range Slider Styles ========== */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #22C55E;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(34,197,94,0.5);
    transition: all 0.3s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 20px rgba(34,197,94,0.7);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #22C55E;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(34,197,94,0.5);
    transition: all 0.3s;
    border: none;
}

input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 20px rgba(34,197,94,0.7);
}