/* ========================================
   ОБЩИЕ СТИЛИ
   ======================================== */

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

:root {
    /* Основные цвета - под черно-оранжевый логотип */
    --primary-color: #1a1a1a;          /* Черный как в логотипе */
    --secondary-color: #2d2d2d;        /* Темно-серый */
    --accent-color: #FF6B35;           /* Оранжевый как кресло в логотипе */
    --accent-hover: #ff8555;           /* Светлее оранжевый при наведении */
    --success-color: #10b981;

    /* Текст */
    --text-color: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --text-white: #ffffff;

    /* Фоны */
    --bg-dark: #1a1a1a;               /* Темный фон */
    --bg-light: #f8f9fa;              /* Светлый фон */
    --bg-white: #ffffff;
    --bg-accent-light: #fff5f2;       /* Светло-оранжевый фон */

    /* Границы */
    --border-color: #e5e7eb;
    --border-dark: #2d2d2d;

    /* Тени */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-orange: 0 10px 30px rgba(255, 107, 53, 0.3);

    /* Градиенты */
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    --gradient-orange: linear-gradient(135deg, #FF6B35 0%, #ff8555 100%);
    --gradient-hero: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(45, 45, 45, 0.95) 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-white);
    overflow-x: hidden;
}

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

/* ========================================
   КНОПКИ
   ======================================== */

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.5;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
}

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

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

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

.btn-header {
    padding: 10px 24px;
    font-size: 15px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.btn-product {
    width: 100%;
    margin-top: 10px;
    padding: 10px 16px;
    font-size: 14px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.quantity-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    min-width: 30px;
    text-align: center;
}

.product-bottom {
    display: flex;
    flex-direction: column;
}

/* ========================================
   ЗАГОЛОВКИ И ТЕКСТ
   ======================================== */

.section-title {
    font-size: 44px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   ХЕДЕР
   ======================================== */

.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

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

.header-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
}

.logo {
    transition: opacity 0.3s;
}

.header-text-accent {
    color: var(--accent-color);
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.logo {
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    display: block;
    height: 60px;
    width: auto;
}

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

.nav {
    display: flex;
    gap: 35px;
    align-items: center;
    flex-wrap: nowrap;
}

.nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
    white-space: nowrap;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

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

.nav a:hover::after {
    width: 100%;
}

/* ========================================
   ГЛАВНЫЙ ЭКРАН (HERO)
   ======================================== */

.hero {
    background: var(--gradient-dark);
    color: white;
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(90deg, transparent 0%, rgba(255, 107, 53, 0.05) 50%, transparent 100%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="2" fill="rgba(255,107,53,0.15)"/></svg>');
    opacity: 0.4;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 62px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.highlight {
    color: var(--accent-color);
    text-shadow: 0 2px 20px rgba(255, 107, 53, 0.5);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 45px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-benefits {
    display: flex;
    justify-content: center;
    gap: 45px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.hero-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-benefit-icon {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.hero-note {
    font-size: 15px;
    opacity: 0.9;
}

/* ========================================
   СТАТИСТИКА
   ======================================== */

.stats {
    background: var(--bg-white);
    padding: 50px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 52px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.5;
}

/* ========================================
   ПРЕИМУЩЕСТВА
   ======================================== */

.advantages {
    padding: 60px 0;
    background: var(--bg-light);
}

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

.advantage-card {
    background: white;
    padding: 45px 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

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

.advantage-icon {
    font-size: 56px;
    margin-bottom: 25px;
    display: block;
}

.advantage-card h3 {
    font-size: 24px;
    margin-bottom: 18px;
    color: var(--text-color);
    font-weight: 700;
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 15px;
}

/* ========================================
   КАТАЛОГ
   ======================================== */

.catalog {
    padding: 60px 0;
    background: var(--bg-white);
}

.catalog-filters {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    margin-bottom: 50px;
    padding: 20px 30px;
    background: var(--bg-light);
    border-radius: 16px;
}

.filters {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 30px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 150px;
}

.filter-group label {
    font-weight: 600;
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select {
    padding: 10px 14px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-color);
}

.filter-group select:hover {
    border-color: var(--accent-color);
    background: var(--bg-accent-light);
}

.filter-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    background: white;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid transparent;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-hit {
    background: var(--accent-color);
    color: white;
}

.badge-premium {
    background: #8b5cf6;
    color: white;
}

.badge-profit {
    background: var(--success-color);
    color: white;
}

.badge-new {
    background: #ef4444;
    color: white;
}

.product-image {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-placeholder {
    text-align: center;
    padding: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.product-content {
    padding: 18px;
}

.product-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
    line-height: 1.3;
}

.product-code {
    font-size: 12px;
    color: var(--text-lighter);
    margin-bottom: 12px;
}

.product-features {
    list-style: none;
    margin-bottom: 20px;
}

.product-features li {
    color: var(--text-light);
    font-size: 14px;
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
    font-size: 16px;
}

.product-profit {
    background: linear-gradient(135deg, #d4fc79 0%, #96e6a1 100%);
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profit-label {
    font-size: 11px;
    color: #065f46;
    font-weight: 600;
}

.profit-value {
    font-size: 14px;
    color: #065f46;
    font-weight: 700;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 15px 0;
    border-top: 2px solid var(--bg-light);
}

.price-block {
    flex: 1;
}

.price-label {
    font-size: 10px;
    color: var(--text-lighter);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-old {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 13px;
}

.price-new {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.catalog-footer {
    text-align: center;
}

.catalog-footer-text {
    font-size: 19px;
    color: var(--text-light);
    margin-bottom: 35px;
}

/* ========================================
   КАЛЬКУЛЯТОР
   ======================================== */

.calculator {
    padding: 60px 0 40px;
    background: var(--bg-light);
}

.calculator-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.calculator-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calculator-item label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.calculator-item input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    transition: border-color 0.3s;
}

.calculator-item input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.calculator-result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.result-item {
    background: var(--gradient-1);
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    color: white;
}

.result-label {
    font-size: 13px;
    margin-bottom: 6px;
    opacity: 0.9;
    color: var(--text-color);
}

.result-value {
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-color);
}

/* ========================================
   УСЛОВИЯ РАБОТЫ
   ======================================== */

.conditions {
    padding: 60px 0;
    background: var(--bg-white);
}

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

.condition-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--bg-light);
    border-radius: 16px;
    transition: all 0.3s ease;
}

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

.condition-number {
    width: 70px;
    height: 70px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin: 0 auto 25px;
    box-shadow: var(--shadow-orange);
}

.condition-card h3 {
    font-size: 22px;
    margin-bottom: 18px;
    color: var(--text-color);
    font-weight: 700;
}

.condition-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 15px;
}

/* ========================================
   ДЛЯ КОГО
   ======================================== */

.for-whom {
    padding: 60px 0;
    background: var(--bg-light);
}

.for-whom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.for-whom-card {
    background: white;
    padding: 45px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.for-whom-icon {
    font-size: 56px;
    margin-bottom: 25px;
}

.for-whom-card h3 {
    font-size: 22px;
    margin-bottom: 18px;
    color: var(--text-color);
    font-weight: 700;
}

.for-whom-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 15px;
}

/* ========================================
   СПЕЦПРЕДЛОЖЕНИЕ
   ======================================== */

.special-offer {
    background: var(--gradient-1);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.special-offer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.special-offer-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.special-offer-content h2 {
    font-size: 46px;
    margin-bottom: 15px;
    color: white;
}

.special-offer-subtitle {
    font-size: 20px;
    margin-bottom: 60px;
    opacity: 0.95;
}

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

.special-offer-item {
    background: rgba(255,255,255,0.1);
    padding: 50px 35px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    position: relative;
}

.special-offer-item:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
}

.highlight-offer {
    background: rgba(255,255,255,0.2);
    border: 3px solid var(--accent-color);
    transform: scale(1.05);
}

.special-offer-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.special-offer-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.special-offer-value {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.special-offer-label {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.special-offer-bonus {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
}

/* ========================================
   ГЕОГРАФИЯ
   ======================================== */

.geography {
    padding: 60px 0;
    background: var(--bg-white);
}

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

.geography-item {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.geography-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.geography-icon {
    font-size: 42px;
    margin-bottom: 20px;
}

.geography-item h3 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.geography-time {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 15px;
}

.geography-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.geography-note {
    font-size: 13px;
    color: var(--text-lighter);
    font-style: italic;
}

.geography-footer {
    text-align: center;
}

.geography-highlight {
    font-size: 22px;
    color: var(--success-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.geography-text {
    color: var(--text-light);
    font-size: 15px;
}

/* ========================================
   CTA (ПРИЗЫВ К ДЕЙСТВИЮ)
   ======================================== */

.cta {
    background: var(--bg-light);
    padding: 60px 0;
}

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

.cta-content h2 {
    font-size: 48px;
    margin-bottom: 25px;
    color: var(--text-color);
    line-height: 1.2;
}

.cta-content p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.cta-feature {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cta-note {
    color: var(--text-light);
    font-size: 15px;
}

/* ========================================
   КОНТАКТЫ
   ======================================== */

.contact {
    padding: 60px 0;
    background: var(--bg-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 70px;
    margin-top: 60px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
    font-size: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.form-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-lighter);
    margin-top: 20px;
}

.form-note a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info {
    padding: 30px 0;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 35px;
    color: var(--text-color);
    font-weight: 700;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 26px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-label {
    font-size: 13px;
    color: var(--text-lighter);
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.contact-value {
    color: var(--text-color);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.6;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-social {
    margin-top: 50px;
}

.contact-social h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 700;
}

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

.social-link {
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ========================================
   ФУТЕР
   ======================================== */

.footer {
    background: var(--text-color);
    color: white;
    padding: 80px 0 40px;
}

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

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    font-size: 15px;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 15px;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-contacts li {
    color: rgba(255,255,255,0.7);
}

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

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

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

/* ========================================
   КНОПКА WHATSAPP
   ======================================== */

.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }
}

/* ========================================
   МОДАЛЬНОЕ ОКНО И КОРЗИНА
   ======================================== */

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

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

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1001;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.modal-body {
    padding: 40px;
}

.modal-images {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.modal-main-image {
    flex: 2;
}

.modal-main-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 12px;
    background: var(--bg-light);
}

.modal-thumbnails {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-thumbnail {
    width: 100%;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    background: var(--bg-light);
}

.modal-thumbnail:hover,
.modal-thumbnail.active {
    border-color: var(--primary-color);
}

.modal-info h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.modal-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 25px;
}

.modal-spec-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: white;
    border-radius: 8px;
}

.modal-spec-label {
    font-weight: 600;
    color: var(--text-light);
}

.modal-spec-value {
    color: var(--text-color);
}

/* Плавающая корзина */
.cart-float {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    z-index: 999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-float.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 22px;
    color: var(--text-color);
}

.cart-close {
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s;
}

.cart-close:hover {
    color: var(--primary-color);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-empty {
    text-align: center;
    color: var(--text-lighter);
    padding: 40px 20px;
}

.cart-item {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.cart-item-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-info h4 {
    font-size: 14px;
    margin-bottom: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-item-code {
    font-size: 11px;
    color: var(--text-lighter);
}

.cart-item-price {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 13px;
    margin-top: 3px;
}

.cart-item-quantity {
    color: var(--text-light);
    font-size: 12px;
    margin-top: 2px;
}

.cart-item-remove {
    background: none;
    color: var(--text-lighter);
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
    transition: color 0.3s;
    flex-shrink: 0;
}

.cart-item-remove:hover {
    color: var(--accent-color);
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

/* Кнопка корзины */
.cart-button {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.cart-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.6);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* ========================================
   АДАПТИВНОСТЬ
   ======================================== */

@media (max-width: 1400px) {
    .catalog-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

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

    .special-offer-grid {
        grid-template-columns: 1fr;
    }

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

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

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

@media (max-width: 768px) {
    .header-content {
        padding: 12px 0;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 12px;
    }

    .header-brand {
        display: contents;
    }

    .logo {
        order: 1;
        grid-column: 1;
    }

    .logo img {
        height: 45px !important;
    }

    .header-text {
        order: 2;
        grid-column: 2;
        font-size: 14px;
        text-align: left;
    }

    .header-text-accent {
        font-size: 12px;
    }

    .mobile-menu-btn {
        display: flex;
        order: 3;
        grid-column: 3;
    }

    .nav {
        display: none;
        order: 4;
        grid-column: 1 / -1;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        padding: 15px 0 10px;
        background: white;
        border-top: 1px solid var(--border-color);
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        font-size: 14px;
        padding: 10px 15px;
        background: var(--bg-light);
        border-radius: 8px;
        text-align: center;
        width: 100%;
    }

    .nav a:hover {
        background: var(--bg-accent-light);
    }

    .nav a::after {
        display: none;
    }

    .hero {
        padding: 70px 0 90px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-benefits {
        flex-direction: column;
        gap: 20px;
    }

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

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

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .stats-grid {
        padding: 30px 20px;
        gap: 30px;
    }

    .filters {
        padding: 15px;
        gap: 15px;
    }

    .filter-group {
        flex: 1 1 45%;
        min-width: 140px;
    }

    .filter-group label {
        font-size: 11px;
    }

    .filter-group select {
        font-size: 13px;
        padding: 8px 12px;
    }

    .catalog-access-box {
        padding: 30px 20px;
    }

    .catalog-access-box .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Кнопка корзины - НАД кнопкой WhatsApp */
    .cart-button {
        bottom: 90px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .cart-float {
        width: 100%;
        max-width: 100%;
        right: -100%;
        left: auto;
        border-radius: 20px 20px 0 0;
    }

    .cart-float.active {
        right: 0;
    }

    /* Модальное окно - уменьшаем размеры */
    .modal-content {
        max-width: 95%;
        margin: 10px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-body {
        padding: 15px;
    }

    .modal-body h2 {
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }

    .modal-images {
        flex-direction: column;
        gap: 10px;
    }

    .modal-main-image {
        height: 200px;
    }

    .modal-thumbnails {
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
    }

    .modal-thumbnail {
        min-width: 70px;
        height: 70px;
    }

    .modal-info {
        padding: 15px 0;
    }

    .modal-specs {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 15px;
    }

    .modal-spec-item {
        padding: 8px 12px;
    }

    .modal-spec-label {
        font-size: 11px;
    }

    .modal-spec-value {
        font-size: 13px;
    }

    .modal-price {
        padding: 12px 0;
    }

    .modal-price-block {
        margin-bottom: 8px;
    }

    .modal-price-label {
        font-size: 11px;
    }

    .modal-price-old {
        font-size: 13px;
    }

    .modal-price-new {
        font-size: 20px;
    }

    .stats-grid,
    .advantages-grid,
    .conditions-grid,
    .for-whom-grid,
    .geography-grid {
        grid-template-columns: 1fr;
    }

    /* Карточки товаров - 2 колонки на мобильных */
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-card {
        max-width: none;
    }

    /* Уменьшаем текст в карточках товара */
    .product-title {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .product-code {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .product-content {
        padding: 12px;
    }

    .product-profit {
        padding: 8px 10px;
        margin-bottom: 10px;
    }

    .profit-label {
        font-size: 10px;
    }

    .profit-value {
        font-size: 12px;
    }

    .price-label {
        font-size: 9px;
    }

    .price-old {
        font-size: 11px;
    }

    .price-new {
        font-size: 16px;
    }

    .product-price {
        padding: 10px 0;
    }

    .btn-product {
        font-size: 13px;
        padding: 10px 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

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

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    /* WhatsApp кнопка - СНИЗУ */
    .whatsapp-button {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        z-index: 999;
    }

    /* Кнопка "Вверх" */
    .scroll-to-top {
        bottom: 160px !important;
    }
}

/* Кнопка прокрутки вверх */
.scroll-to-top {
    position: fixed;
    bottom: 170px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-orange);
    transition: all 0.3s ease;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    stroke-width: 3;
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .section-title {
        font-size: 20px;
    }

    .stat-number {
        font-size: 32px;
    }

    .contact-form {
        padding: 20px 15px;
    }

    .product-title {
        font-size: 14px;
    }

    .price-new {
        font-size: 15px;
    }

    .modal-body h2 {
        font-size: 16px !important;
    }

    .nav a {
        font-size: 10px;
        padding: 4px 6px;
    }
}

/* Кнопка "Показать еще" */
.load-more-container {
    text-align: center;
    padding: 40px 0;
    grid-column: 1/-1;
}

.btn-load-more {
    background: var(--primary-color);
    color: white;
    padding: 14px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-load-more:disabled {
    background: var(--text-lighter);
    cursor: not-allowed;
    box-shadow: none;
}

.btn-load-more.loading {
    opacity: 0.7;
    cursor: wait;
}

@media (max-width: 768px) {
    .load-more-container {
        padding: 30px 0;
    }

    .btn-load-more {
        width: 100%;
        max-width: 300px;
        font-size: 14px;
        padding: 12px 30px;
    }
}
