* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-display: swap;
}
        
body {
    background-color: #f9f5e9;
    color: #333;
    line-height: 1.6;
}
        
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
        
header {
    background: linear-gradient(to right, #2c1810, #5d4037);
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
        
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
        
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}
        
.logo i {
    font-size: 2.5rem;
    color: #ff9800;
}
        
.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}
        
.logo span {
    color: #ff9800;
}
        
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}
        
nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.1rem;
    cursor: pointer;
}
        
nav a:hover {
    color: #ff9800;
}
        
.cta-button {
    display: inline-block;
    background-color: #ff9800;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
    cursor: pointer;
    border: none;
}
        
.cta-button:hover {
    background-color: #ff5722;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

section {
    padding: 60px 0;
}
        
.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #5d4037;
    font-size: 2.2rem;
    position: relative;
}
        
.section-title:after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background-color: #ff9800;
    margin: 15px auto;
    border-radius: 2px;
}
        
.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}
        
footer {
    background-color: #2c1810;
    color: #fff;
    padding: 60px 0 30px;
}
        
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
        
.footer-column h3 {
    color: #ff9800;
    margin-bottom: 25px;
    font-size: 1.5rem;
}
        
.footer-column ul {
    list-style: none;
}
        
.footer-column ul li {
    margin-bottom: 15px;
}
        
.footer-column a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}
        
.footer-column a:hover {
    color: #ff9800;
}
        
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
        
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #5d4037;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
}
        
.social-icons a:hover {
    background-color: #ff9800;
}
        
.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #5d4037;
    color: #aaa;
    font-size: 0.9rem;
}
        
.post-content {
    max-width: 800px;
    margin: 0 auto;
}
        
.post-content h2 {
    color: #5d4037;
    margin: 30px 0 15px;
    font-size: 1.8rem;
}
        
.post-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}
        
.post-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}
        
.post-content li {
    margin-bottom: 10px;
}
        
.back-button {
    margin-top: 30px;
}

.tab {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f6f8fa;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 16px;
    font-size: 14px;
    line-height: 1.4;
    white-space: pre;
    width: 350px;
    height: 300px;
}

@media (max-width: 768px) {
    
    /* Уменьшаем отступы у шапки на телефоне */
    header {
        padding: 10px 0; 
    }

    .header-content {
        flex-direction: column;
        gap: 10px; /* Уменьшили расстояние между логотипом и меню */
    }
            
    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Чуть уменьшаем логотип, чтобы шапка была компактнее */
    .logo h1 {
        font-size: 1.5rem; 
    }
            
    .section-title {
        font-size: 1.8rem;
    }
}