﻿/* ===== BASE ===== */
:root {
    --primary: #0066CC; /* Синий, вызывающий доверие */
    --primary-dark: #0052A3;
    --secondary: #FF9900; /* Оранжевый, энергичный */
    --light: #F5F9FF;
    --dark: #1A2938;
    --gray: #6C757D;
    --success: #28A745;
    --border-radius: 8px;
    --shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
    --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #fff;
    overflow-x: hidden;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { line-height: 1.2; margin-bottom: 1rem; color: var(--dark); }
h1 { font-size: 2.5rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
p { margin-bottom: 1rem; }
.subtitle { font-size: 1.25rem; color: var(--gray); margin-bottom: 2rem; }

.highlight { color: var(--primary); font-weight: 700; }

/* ===== BUTTONS ===== */
.button {
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--primary);
    color: white;
    border: 2px solid var(--primary);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}
.button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.button-secondary {
    background-color: transparent;
    color: var(--primary);
}
.button-secondary:hover {
    background-color: var(--primary);
    color: white;
}
.button-large { padding: 18px 36px; font-size: 1.1rem; }
.button-small { padding: 10px 20px; font-size: 0.9rem; }

/* ===== HEADER & NAV ===== */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}
.logo-link {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
}
.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav-list a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}
.nav-list a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 4px 0;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--light) 0%, #e3eeff 100%);
    padding: 80px 0;
    text-align: center;
}
.hero-title { margin-bottom: 1.5rem; }
.hero-subtitle { font-size: 1.3rem; max-width: 700px; margin: 0 auto 2.5rem; }
.hero-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* ===== SECTIONS ===== */
section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 3rem; }

/* Карточки преимуществ */
.advantages-grid, .categories-grid, .type-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}
.advantage-card, .category-card, .type-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary);
}
.advantage-card:hover, .category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

/* Формы */
.axo-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}
.axo-form label {
    display: flex;
    flex-direction: column;
    font-weight: 500;
}
.axo-form input, .axo-form select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    margin-top: 5px;
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col a {
    color: #ccc;
    text-decoration: none;
    line-height: 2;
    transition: var(--transition);
}
.footer-col a:hover { color: white; }
.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
}

/* ===== PRODUCT PAGE SPECIFIC ===== */
.product-hero { background: var(--light); padding: 60px 0; }
.order-form-preview {
    background: #f8faff;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 25px;
    border: 1px dashed var(--primary);
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 992px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
}
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-list {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.3s ease;
        z-index: 999;
    }
    .nav-list.is-open {
        transform: translateY(0);
        opacity: 1;
    }
    .hero-actions, .footer-grid { flex-direction: column; }
    .container { padding: 0 15px; }
    section { padding: 40px 0; }
}
@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    .button { width: 100%; text-align: center; }
}