/* Enthalpio — стили сайта */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 
                 Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #212121;
    background: #f5f5f5;
}

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

/* Шапка */
header {
    background: #0D47A1;
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.logo {
    height: 60px;
    width: auto;
}

header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 2px;
}

.tagline {
    font-size: 14px;
    font-style: italic;
    opacity: 0.9;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #0D47A1, #1976D2);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-text {
    font-size: 18px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 32px;
}

/* Кнопки */
.buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-primary {
    background: white;
    color: #0D47A1;
}

.btn-primary:hover {
    background: #f0f4f8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #0D47A1;
}

/* Возможности */
.features {
    padding: 60px 0;
    background: white;
}

.features h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: #0D47A1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature {
    padding: 24px;
    background: #f8faff;
    border-radius: 12px;
    border-left: 4px solid #0D47A1;
}

.feature h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #0D47A1;
}

.feature p {
    font-size: 15px;
    color: #555;
}

/* CTA */
.cta {
    padding: 60px 0;
    background: #0D47A1;
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta .btn-primary {
    background: white;
    color: #0D47A1;
}

/* Подвал */
footer {
    background: #1A1A1A;
    color: #BBB;
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
}

footer p {
    margin-bottom: 6px;
}

footer a {
    color: #7BA7E8;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer .copyright {
    margin-top: 20px;
    font-style: italic;
    color: #888;
}

/* Мобильные */
@media (max-width: 600px) {
    .hero h2 {
        font-size: 28px;
    }
    
    .hero-text {
        font-size: 16px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .features h2, .cta h2 {
        font-size: 24px;
    }
    
    .btn {
        
/* Кнопка "На главную" в шапке */
.back-home {
    color: white;
    text-decoration: none;
    font-size: 14px;
    margin-right: 20px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.2s;
    display: inline-block;
}

.back-home:hover {
    background: rgba(255, 255, 255, 0.15);
}
        width: 100%;
        text-align: center;
    }
}
