/* Основные стили */
:root {
    --primary: #2A6EBB;
    --secondary: #FF6B35;
    --light: #F8F9FA;
    --dark: #343A40;
    --gray: #6C757D;
    --light-gray: #E9ECEF;
}

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

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

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

/* Хедер */
.header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark);
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    margin-right: 15px;
    object-fit: cover;
}

.logo-text h1 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.logo-text p {
    font-size: 0.9rem;
    color: var(--gray);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s;
}

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

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #1a5ca3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 110, 187, 0.3);
}

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

.btn-secondary:hover {
    background-color: #dae0e5;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Герой секция */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1a5ca3 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Секции */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Плитки */
.tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.tile {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.tile-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.tile-icon i {
    font-size: 30px;
}

.tile h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

/* Продукты */
.product-tile {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    transition: all 0.3s;
}

.product-tile.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
    margin: 20px 0;
}

.product-tile ul {
    list-style: none;
    text-align: left;
    margin: 25px 0;
}

.product-tile li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.product-tile li:before {
    content: "✓";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Как это работает */
.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin: 60px 0;
}

.step {
    flex: 1;
    min-width: 300px;
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 50px;
    margin-bottom: 20px;
}

.step-img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 20px;
}

/* Экономия */
.economy-section {
    background-color: var(--light);
    padding: 80px 0;
}

.economy-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.economy-text {
    flex: 1;
}

.economy-image {
    flex: 1;
}

.economy-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Форма */
.contact-form {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.order-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s;
}

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

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

/* Футер */
.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 h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* Адаптивность */
@media (max-width: 992px) {
    .economy-content {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .header-grid {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .product-tile.featured {
        transform: none;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

.news-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.news-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.news-header h3 {
    margin: 0;
}

.news-body {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

.placeholder-actions {
    margin-top: 2rem;
    display: flex;
    gap: 15px;
}

.faq-container {
    padding: 20px;
}

.faq-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}

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

.faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.faq-question i {
    color: #3498db;
    font-size: 1.2em;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1em;
    color: #2c3e50;
}

.faq-answer {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.faq-actions {
    margin-top: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: center;
}

