/* ===== CSS Variables ===== */
:root {
    /* Primary Colors - Blue & Green */
    --primary-blue: #046BD2;
    --primary-blue-dark: #0356A8;
    --primary-blue-light: #3D8FE0;
    --primary-green: #10B981;
    --primary-green-dark: #059669;
    --primary-green-light: #34D399;

    /* Background Colors */
    --bg-blue: #D2F0FE;
    --bg-green: #BEF5D5;
    --bg-light-blue: #E8F4FD;
    --bg-mint: #D1FAE5;
    --bg-green-light: #ECFDF5;
    --bg-page: #F0F5FA;
    --bg-white: #FFFFFF;

    /* Text Colors */
    --text-dark: #1E293B;
    --text-gray: #64748B;
    --text-light: #94A3B8;

    /* Other */
    --white: #FFFFFF;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-page);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ===== Container ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(4, 107, 210, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 107, 210, 0.5);
}

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

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

.btn-lg {
    padding: 16px 32px;
    font-size: 17px;
}

.btn-full {
    width: 100%;
}

/* ===== Section Styles ===== */
.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(4, 107, 210, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-title {
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
}

.section-header.center .section-description {
    margin: 0 auto;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.logo-text {
    color: var(--text-dark);
}

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

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

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-gray);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switcher {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: var(--bg-page);
    border-radius: var(--radius-full);
}

.lang-btn {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-gray);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: var(--shadow);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    padding: 140px 0 100px;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-page) 100%);
    overflow: hidden;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-green);
    color: var(--primary-green-dark);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

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

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.hero-main-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.hero-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    animation: float 3s ease-in-out infinite;
}

.floating-card .card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.floating-card .card-icon.blue {
    background: var(--bg-light-blue);
    color: var(--primary-blue);
}

.floating-card .card-icon.green {
    background: var(--bg-green);
    color: var(--primary-green);
}

.card-1 {
    top: 20px;
    left: -20px;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    animation-delay: 1s;
}

.card-3 {
    bottom: 40px;
    left: 10px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.card-2 {
    animation: float2 3s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes float2 {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(calc(-50% - 10px)); }
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(4, 107, 210, 0.1) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(4, 107, 210, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 30%;
}

/* ===== Services Section ===== */
.services {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.service-card {
    position: relative;
    padding: 32px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card-large {
    grid-column: span 2;
}

.service-card.blue-bg {
    background: var(--bg-blue);
}

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

.service-card.light-blue-bg {
    background: var(--bg-light-blue);
}

.service-card.mint-bg {
    background: var(--bg-mint);
}

.service-card.green-light-bg {
    background: var(--bg-green-light);
}

/* Abstract backgrounds for service cards */
.service-card::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    opacity: 0.4;
    pointer-events: none;
    transition: var(--transition);
}

.service-card::after {
    content: '';
    position: absolute;
    background-image: radial-gradient(circle, currentColor 1px, transparent 1px);
    background-size: 12px 12px;
    opacity: 0.15;
    pointer-events: none;
}

/* Blob positions */
.service-card.blue-bg::before {
    background: linear-gradient(135deg, #046BD2 0%, #3D8FE0 100%);
    top: -50px;
    right: -50px;
}

.service-card.green-bg::before {
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    bottom: -60px;
    left: -40px;
}

.service-card.light-blue-bg::before {
    background: linear-gradient(135deg, #046BD2 0%, #10B981 100%);
    top: -40px;
    left: -50px;
}

.service-card.mint-bg::before {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    bottom: -50px;
    right: -40px;
}

.service-card.green-light-bg::before {
    background: linear-gradient(135deg, #10B981 0%, #046BD2 100%);
    top: -60px;
    right: -30px;
}

/* Dots pattern positions */
.service-card.blue-bg::after {
    width: 100px;
    height: 100px;
    bottom: 20px;
    left: 20px;
    color: #046BD2;
}

.service-card.green-bg::after {
    width: 80px;
    height: 80px;
    top: 20px;
    right: 20px;
    color: #059669;
}

.service-card.light-blue-bg::after {
    width: 90px;
    height: 90px;
    bottom: 15px;
    right: 15px;
    color: #046BD2;
}

.service-card.mint-bg::after {
    width: 70px;
    height: 70px;
    top: 25px;
    left: 20px;
    color: #10B981;
}

.service-card.green-light-bg::after {
    width: 120px;
    height: 80px;
    bottom: 25px;
    left: 30px;
    color: #10B981;
}

/* Hover effects */
.service-card:hover::before {
    transform: scale(1.1);
    opacity: 0.5;
}

.service-card:hover::after {
    opacity: 0.25;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    color: var(--primary-blue);
    box-shadow: var(--shadow);
}

.service-count {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.7);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.service-title {
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 15px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-blue);
}

.service-link:hover {
    gap: 12px;
}

.service-link svg {
    transition: var(--transition);
}

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

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

.product-card {
    position: relative;
    background: var(--bg-page);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.product-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
    border-color: var(--primary-blue);
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-full);
}

.product-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--bg-blue) 0%, var(--bg-light-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: var(--transition);
}

.product-icon.green {
    background: linear-gradient(135deg, var(--bg-green) 0%, var(--bg-mint) 100%);
    color: var(--primary-green);
}

.product-icon.blue {
    background: linear-gradient(135deg, var(--bg-light-blue) 0%, var(--bg-blue) 100%);
    color: var(--primary-blue);
}

.product-icon.purple {
    background: linear-gradient(135deg, #EDE9FE 0%, #DDD6FE 100%);
    color: #7C3AED;
}

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

.product-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.product-subtitle {
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 12px;
}

.product-description {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 66px;
}

.product-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

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

.product-stat .stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.product-stat .stat-label {
    font-size: 12px;
    color: var(--text-gray);
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.product-btn {
    font-size: 15px;
}

/* Reusable Kit Info */
.reusable-kit-info {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, var(--bg-blue) 0%, var(--bg-green) 100%);
    border-radius: var(--radius-xl);
    padding: 32px 40px;
}

.kit-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

.kit-content h4 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.kit-content p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}

/* ===== Product Modal ===== */
.product-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.product-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: var(--bg-page);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.modal-header {
    padding: 32px 40px 24px;
    border-bottom: 1px solid var(--bg-page);
}

.modal-title {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 16px;
    color: var(--primary-blue);
    font-weight: 600;
}

.modal-body {
    padding: 24px 40px;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    padding: 20px 40px 32px;
    border-top: 1px solid var(--bg-page);
    text-align: center;
}

/* Quarter sections in modal */
.quarter-section {
    margin-bottom: 32px;
}

.quarter-section:last-child {
    margin-bottom: 0;
}

.quarter-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-blue);
    display: inline-block;
}

.projects-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.project-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-page);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
}

.project-item:hover {
    background: var(--bg-light-blue);
}

.project-number {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.project-name {
    line-height: 1.4;
}

.project-name-kz {
    display: block;
    color: var(--text-gray);
    font-size: 13px;
    margin-top: 2px;
}

/* ===== Product Full (SEO-friendly) ===== */
.product-full {
    background: var(--bg-page);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-top: 32px;
}

.product-full-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.product-full-info h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin: 8px 0 12px;
}

.product-full-info p {
    color: var(--text-gray);
    font-size: 16px;
}

.product-badge-inline {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: var(--radius-full);
}

.product-full-meta {
    text-align: right;
    flex-shrink: 0;
}

.product-full-count {
    display: block;
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 4px;
}

.product-full-price {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-blue);
}

.product-quarters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.quarter-block h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-blue);
}

.projects-seo-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.projects-seo-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.5;
}

.projects-seo-list li:last-child {
    border-bottom: none;
}

.projects-seo-list li span {
    display: block;
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 2px;
}

.product-full .btn {
    display: inline-flex;
}

/* ===== About Section ===== */
.about {
    padding: var(--section-padding) 0;
    background: var(--bg-page);
}

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

.about-image-wrapper {
    position: relative;
}

.about-image-main {
    background: linear-gradient(135deg, var(--bg-blue) 0%, var(--bg-green) 100%);
    border-radius: var(--radius-xl);
    padding: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder.large {
    color: var(--primary-blue);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.badge-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: 14px;
    opacity: 0.9;
}

.about-text {
    font-size: 17px;
    color: var(--text-gray);
    margin-bottom: 32px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-feature {
    display: flex;
    gap: 16px;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.feature-icon.blue {
    background: var(--bg-light-blue);
    color: var(--primary-blue);
}

.feature-icon.green {
    background: var(--bg-green);
    color: var(--primary-green);
}

.feature-text h4 {
    margin-bottom: 4px;
    color: var(--text-dark);
}

.feature-text p {
    font-size: 14px;
    color: var(--text-gray);
}

/* ===== Gallery Section ===== */
.gallery {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item-large {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 4px;
}

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

.gallery-zoom {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: var(--transition);
    flex-shrink: 0;
}

.gallery-zoom:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.1);
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

/* ===== Advantages Section ===== */
.advantages {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.advantage-card {
    position: relative;
    padding: 32px;
    background: var(--bg-page);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.advantage-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.advantage-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--bg-blue);
    line-height: 1;
    margin-bottom: 16px;
}

.advantage-card:hover .advantage-number {
    color: var(--primary-blue);
    opacity: 0.3;
}

.advantage-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.advantage-title {
    margin-bottom: 12px;
}

.advantage-text {
    font-size: 15px;
    color: var(--text-gray);
}

/* ===== Reviews Section ===== */
.reviews {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-page) 0%, var(--white) 100%);
}

.reviews-slider {
    position: relative;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.review-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 18px;
}

.review-name {
    font-size: 16px;
    margin-bottom: 4px;
}

.review-position {
    font-size: 13px;
    color: var(--text-gray);
}

.review-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: #FBBF24;
}

.review-text {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

.reviews-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.review-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 2px solid var(--bg-blue);
    border-radius: 50%;
    color: var(--primary-blue);
    transition: var(--transition);
}

.review-btn:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

/* ===== FAQ Section ===== */
.faq {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--bg-page);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--primary-blue);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===== Contact Section ===== */
.contact {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-light-blue) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-text {
    font-size: 17px;
    color: var(--text-gray);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: var(--radius-sm);
    color: var(--primary-blue);
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-item a,
.contact-item p {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--primary-blue);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid var(--bg-page);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: var(--transition);
    outline: none;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

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

/* ===== Footer ===== */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 80px 0 24px;
}

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

.footer-brand .logo {
    margin-bottom: 20px;
}

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

.footer-description {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 24px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-blue);
}

.footer-links h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: var(--text-light);
    font-size: 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-light);
    font-size: 14px;
}

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

/* ===== Scroll to Top ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .projects-list {
        grid-template-columns: 1fr;
    }

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

    .product-full {
        padding: 32px;
    }

    .hero-image {
        order: -1;
    }

    .hero-image-wrapper {
        max-width: 400px;
    }

    .hero-main-image {
        min-height: 300px;
        padding: 40px;
    }

    .floating-card {
        display: none;
    }

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

    .service-card-large {
        grid-column: span 1;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .gallery-item-large {
        grid-column: span 1;
    }

    .gallery-item {
        height: 220px;
    }

    .review-card {
        flex: 0 0 calc(50% - 12px);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

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

    .reusable-kit-info {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .product-quarters {
        grid-template-columns: 1fr;
    }

    .product-full {
        padding: 24px;
    }

    .product-full-header {
        flex-direction: column;
    }

    .product-full-meta {
        text-align: left;
    }

    .product-full-info h3 {
        font-size: 20px;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 24px;
        padding-right: 24px;
    }

    .modal-title {
        font-size: 22px;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-actions .btn {
        display: none;
    }

    .lang-switcher {
        display: none;
    }

    .burger {
        display: flex;
    }

    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 120px 0 60px;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

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

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

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-item {
        height: 200px;
    }

    .lightbox-nav {
        width: 44px;
        height: 44px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .review-card {
        flex: 0 0 100%;
    }

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

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-description {
        max-width: 100%;
    }

    .social-links {
        justify-content: center;
    }

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

    .footer-legal {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .stat-item {
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}
