/* ==========================================================================
   1. СКИДАННЯ СТИЛІВ ТА БАЗОВІ НАЛАШТУВАННЯ (RESET)
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-size: 16px;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   2. ДИЗАЙН-ТОКЕНИ (СИСТЕМНІ ЗМІННІ)
   ========================================================================== */
:root {
    /* Колірна палітра */
    --bg-main: #0b0c0e;
    --bg-surface: rgba(255, 255, 255, 0.03);
    --bg-surface-hover: rgba(255, 255, 255, 0.06);
    --border-color: rgba(255, 255, 255, 0.08);
    
    --accent: #8ae922;          /* Фірмовий неоновий зелений */
    --accent-hover: #a3f73c;
    
    --text-main: #ffffff;
    --text-muted: #a0a5b0;
    --text-dark: #787f8d;
    
    /* Анімації та переходи */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Максимальна ширина контенту */
    --container-width: 1200px;
}

/* ==========================================================================
   3. ГЛОБАЛЬНІ УТИЛІТИ ТА СІТКА
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

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

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

/* ==========================================================================
   4. КОМПОНЕНТИ: КНОПКИ (BUTTONS)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: #000000;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 0 24px rgba(138, 233, 34, 0.4);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--bg-surface-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   5. ШАПКА САЙТУ (HEADER)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    transition: padding var(--transition-normal), 
                background-color var(--transition-normal), 
                border-color var(--transition-normal), 
                box-shadow var(--transition-normal);
    background-color: rgba(11, 12, 14, 0); 
    border-bottom: 1px solid transparent;
    
    /* Оптимізація анімацій на GPU */
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: padding, background-color, border-color;
}

.site-header.header-scrolled {
    padding: 14px 0;
    background-color: rgba(11, 12, 14, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.burger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-normal);
    transform-origin: left center;
}

/* ==========================================================================
   6. АДАПТИВНІСТЬ ХЕДЕРА
   ========================================================================== */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #0b0c0e;
        border-left: 1px solid var(--border-color);
        padding: 120px 40px;
        transition: var(--transition-normal);
        z-index: 105;
    }

    .main-nav.nav-active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 28px;
    }

    .nav-link {
        font-size: 1.25rem;
    }

    .header-cta {
        display: none;
    }

    .menu-toggle.toggle-active .burger-bar:nth-child(1) {
        transform: rotate(45deg) translateY(-2px);
    }
    .menu-toggle.toggle-active .burger-bar:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    .menu-toggle.toggle-active .burger-bar:nth-child(3) {
        transform: rotate(-45deg) translateY(2px);
    }
}

/* ==========================================================================
   7. HERO-СЕКЦІЯ
   ========================================================================== */
#hero {
    background-color: #08080a; /* Нічний глибокий фон */
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        rgba(11, 12, 14, 0.95) 0%, 
        rgba(11, 12, 14, 0.85) 50%, 
        rgba(11, 12, 14, 0.3) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-badge {
    align-self: flex-start;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 28px;
    color: var(--text-muted);
}

.hero-title {
    font-size: 3.6rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-lead {
    font-size: 1.15rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 44px;
    max-width: 560px;
}

.hero-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.metric-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 24px 20px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: var(--transition-normal);
}

.metric-card:hover {
    background: var(--bg-surface-hover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.metric-value {
    font-size: 1.85rem;
    font-weight: 800;
}

.metric-label {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--text-dark);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.machine-backlight {
    position: absolute;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(138, 233, 34, 0.18) 0%, rgba(138, 233, 34, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-picture {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-img {
    width: 100%;
    max-width: 390px;
    height: auto;
    max-height: 65vh; 
    object-fit: contain;
}

.scroll-pointer {
    position: absolute;
    bottom: 35px;
    left: 24px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.5;
    transition: var(--transition-fast);
}

.scroll-pointer:hover {
    opacity: 0.9;
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.scroll-icon {
    color: var(--accent);
    font-weight: bold;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
    60% { transform: translateY(-3px); }
}

/* ==========================================================================
   8. АДАПТИВНІСТЬ HERO-СЕКЦІЇ
   ========================================================================== */
@media (max-width: 1200px) {
    .hero-title { font-size: 3rem; }
}

@media (max-width: 992px) {
    .hero-section { padding: 120px 0 60px 0; }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    .hero-content { align-items: center; }
    .hero-badge { align-self: center; }
    .hero-lead { max-width: 100%; }
    .hero-cards-grid { width: 100%; max-width: 500px; }
    .hero-img { max-height: 48vh; }
    .scroll-pointer { display: none; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 2.25rem; }
    .hero-cards-grid { grid-template-columns: 1fr; gap: 12px; }
    .metric-card { padding: 18px 16px; }
}

/* ==========================================================================
   9. СЕКЦІЯ ПЕРЕВАГ (BENEFITS) — СИСТЕМА ЛЕВІТАЦІЇ
   ========================================================================== */
#benefits {
    background-color: #0e0f12; /* М'якший базовий шар */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.benefits-section {
    position: relative;
    padding: 120px 0;
}

.section-header {
    max-width: 600px;
    margin-bottom: 80px;
}

.section-subtitle {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.75rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

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

/* Консолідована картка переваги: строгий B2B стиль */
.benefit-card {
    background-color: #17191e; /* Світліший шар для об'єму */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0px; 
    padding: 40px 32px; 
    display: flex;
    flex-direction: column;
    gap: 16px; 
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Синхронізовані класи нумерації */
.benefit-card .card-num,
.benefit-card .number {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.8;
    font-family: monospace;
    margin-bottom: 8px;
}

.benefit-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.benefit-card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ==========================================================================
   10. АДАПТИВНІСТЬ СЕКЦІЇ ПЕРЕВАГ
   ========================================================================== */
@media (max-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px 32px;
    }
}

@media (max-width: 768px) {
    .section-title { font-size: 2.25rem; }
    .section-header { margin-bottom: 50px; }
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .benefit-card { padding: 30px 24px; }
}

/* ==========================================================================
   11. ІНТЕРАКТИВНИЙ КАЛЬКУЛЯТОР (ROI) — КОРЕЛЬ СТОРІНКИ
   ========================================================================== */
#roi {
    background-color: #08080a; 
}

.roi-section {
    position: relative;
    padding: 120px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.roi-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: start;
}

.roi-inputs-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 48px;
    border-radius: 8px;
}

.calculator-group {
    margin-bottom: 40px;
}

.group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.group-header label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.range-value-display {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent);
    background: rgba(138, 233, 34, 0.05);
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px solid rgba(138, 233, 34, 0.15);
}

/* СТИЛІЗАЦІЯ INPUT RANGE */
.custom-range {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
    margin: 12px 0;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 0 10px rgba(138, 233, 34, 0.5);
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: var(--accent-hover);
}

.range-limits {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-dark);
}

.roi-note {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-dark);
    border-left: 2px solid var(--border-color);
    padding-left: 16px;
    margin-top: 24px;
}

/* ПРАВА КАРТКА РЕЗУЛЬТАТІВ (Грошовий контраст) */
.roi-results-card {
    background: #0d0e11;
    border: 2px solid var(--accent); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 48px;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(138, 233, 34, 0.15);
}

.result-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.result-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.result-value-wrapper {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.result-value {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
}

.result-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
}

.roi-divider {
    height: 1px;
    background: var(--border-color);
    margin-bottom: 32px;
}

.result-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.sub-result-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sub-result-label {
    font-size: 0.8rem;
    color: var(--text-dark);
    font-weight: 500;
}

.sub-result-value-wrapper {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.sub-result-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
}

.sub-result-unit {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================================================
   12. АДАПТИВНІСТЬ КАЛЬКУЛЯТОРА
   ========================================================================== */
@media (max-width: 992px) {
    .roi-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .roi-inputs-card, .roi-results-card {
        padding: 32px;
    }
    .result-value { font-size: 2.75rem; }
}

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

/* ==========================================================================
   13. ТЕХНІЧНІ ХАРАКТЕРИСТИКИ (SPECS)
   ========================================================================== */
#specs {
    background-color: #16171b; /* Антрацитовий фон */
}

.specs-section {
    position: relative;
    padding: 120px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.specs-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.specs-block-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

/* ==========================================================================
   ПОВНОЦІННА СІТКА ДЛЯ ТАБЛИЦІ (NATIVE GRID)
   ========================================================================== */
.specs-table {
    width: 100%;
    border-collapse: collapse; /* Магія: об'єднує суміжні бордери в один тонкий */
    margin-top: 28px;
    background-color: transparent;
}

/* Бордери з усіх боків для кожної ячейки */
.specs-table td {
    padding: 16px 20px;
    font-size: 0.95rem;
    border: 1px solid var(--border-color); /* Тонка лінія навколо кожної комірки */
    box-sizing: border-box;
    transition: background-color var(--transition-fast);
}

/* Ліва колонка (Назва параметра) */
.specs-table tr td:first-child {
    width: 50%; /* Жорсткі 50% ширини */
    color: var(--text-muted);
    text-align: left;
}

/* Права колонка (Значення) */
.specs-table tr td:last-child {
    width: 50%; /* Друга половина */
    font-weight: 600;
    color: var(--text-main);
    text-align: right;
}

/* Акуратний ховер на весь рядок при наведенні */
.specs-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.02);
}

/* МОДУЛЬНА СІТКА КОМПОНЕНТІВ */
.components-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

#specs .component-item {
    background-color: #0d0e11;
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    gap: 20px;
    padding: 24px;
    border-radius: 6px;
    transition: var(--transition-normal);
}

#specs .component-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.component-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.component-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.component-info p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-muted);
}

/* ==========================================================================
   14. АДАПТИВНІСТЬ СЕКЦІЇ SPECS
   ========================================================================== */
@media (max-width: 992px) {
    .specs-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .table-row:hover {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 576px) {
    .table-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .param-value {
        text-align: left;
    }
    #specs .component-item {
        flex-direction: column;
        gap: 12px;
    }
}

/* ==========================================================================
   15. СЕКЦІЯ ЕТАПІВ ЗАПУСКУ (STEPS)
   ========================================================================== */
#steps {
    background-color: #08080a; 
}

.steps-section {
    position: relative;
    padding: 120px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.step-card {
    display: flex;
    flex-direction: column;
}

.step-number-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 32px;
}

.step-num {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--text-dark);
    font-family: monospace;
    transition: var(--transition-normal);
}

.step-card:hover .step-num {
    color: var(--accent);
    transform: translateX(4px);
}

.step-line {
    position: absolute;
    left: 70px;
    right: -20px;
    height: 1px;
    background: var(--border-color);
    pointer-events: none;
}

.step-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.step-card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ==========================================================================
   16. АДАПТИВНІСТЬ СЕКЦІЇ STEPS
   ========================================================================== */
@media (max-width: 1200px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 40px;
    }
    .step-card:nth-child(2) .step-line,
    .step-card:nth-child(4) .step-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .step-number-wrapper {
        margin-bottom: 20px;
    }
    .step-line {
        display: none;
    }
    .step-card:hover .step-num {
        transform: translateY(-2px);
    }
}

/* ==========================================================================
   17. ЛІД-ФОРМА ТА КОНТАКТИ (CONTACTS)
   ========================================================================== */
#contacts {
    background-color: #16171b; 
}

.contacts-section {
    position: relative;
    padding: 140px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contacts-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.contacts-description {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 24px 0 40px 0;
}

.direct-communications {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.comm-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.comm-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dark);
    font-weight: 600;
}

.comm-link {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* ІНПУТИ З СУВОРОЮ ГЕОМЕТРІЄЮ */
.b2b-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

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

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#contacts .form-group input, 
#contacts .form-group textarea {
    background-color: #0d0e11;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    padding: 14px 16px;
    font-size: 0.95rem;
    color: var(--text-main);
    font-family: inherit;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.02);
}

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

.form-submit-btn {
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    align-self: flex-start;
}

.form-status {
    font-size: 0.95rem;
    margin-top: 12px;
    display: none;
}

.form-status.success {
    display: block;
    color: var(--accent);
}

.form-status.error {
    display: block;
    color: #ff4a4a;
}

/* ==========================================================================
   18. АДАПТИВНІСТЬ КОНТАКТІВ
   ========================================================================== */
@media (max-width: 992px) {
    .contacts-wrapper {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    .form-submit-btn {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .comm-link {
        font-size: 1.15rem;
    }
}

/* ==========================================================================
   19. ФУТЕР (FOOTER)
   ========================================================================== */
.site-footer {
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-dark);
}

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

.footer-link {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--text-muted);
}

.swiss-brand {
    font-weight: 700;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .footer-links {
        gap: 20px;
    }
}

/* ==========================================================================
   20. ОПТИМІЗОВАНА АНІМАЦІЯ ПРИ СКРОЛІ (SCROLL REVEAL)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Шаховий каскадний ефект (Stagger) для сіток з декількома картками */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }