/* Общие стили и сброс */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

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

h1, h2, h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #3498db;
    border-radius: 2px;
}

.button {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.button:hover {
    background-color: #2980b9;
}

.primary-button {
    font-size: 1.1em;
    padding: 15px 30px;
}

.secondary-button {
    background-color: #2ecc71;
}

.secondary-button:hover {
    background-color: #27ae60;
}

/* Секция Hero */
.hero {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #fff;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Секция Тарифов */
.tariffs-section {
    padding: 80px 0;
    background-color: #fff;
}

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

.tariff-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tariff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tariff-card.featured {
    background-color: #e8f4f8;
    border-color: #3498db;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.2);
    transform: scale(1.03);
}

.tariff-card.featured:hover {
    transform: translateY(-10px) scale(1.03);
}

.tariff-card h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #3498db;
}

.tariff-card .price {
    font-size: 2.5em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.tariff-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    text-align: left;
}

.tariff-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    display: flex;
    align-items: center;
}

.tariff-card ul li:last-child {
    border-bottom: none;
}

.tariff-card ul li::before {
    content: '✓';
    color: #2ecc71;
    margin-right: 10px;
    font-weight: 700;
}

/* Секция Контактов */
.contact-section {
    padding: 80px 0;
    background-color: #f4f4f4;
    text-align: center;
}

.contact-info {
    margin-top: 30px;
    margin-bottom: 40px;
    font-size: 1.1em;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    display: inline-block; /* Для центрирования списка */
    text-align: left;
}

.contact-info ul li {
    margin-bottom: 5px;
}

/* Футер */
footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

footer p {
    margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1em;
    }

    h2 {
        font-size: 2em;
    }

    .tariff-grid {
        grid-template-columns: 1fr;
    }

    .tariff-card.featured {
        transform: scale(1.02);
    }

    .tariff-card.featured:hover {
        transform: translateY(-10px) scale(1.02);
    }

    .button {
        padding: 10px 20px;
        font-size: 1em;
    }

    .primary-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 0.9em;
    }

    h2 {
        font-size: 1.8em;
    }

    .tariff-card {
        padding: 20px;
    }

    .tariff-card h3 {
        font-size: 1.5em;
    }

    .tariff-card .price {
        font-size: 2em;
    }

    .contact-info {
        font-size: 1em;
    }
}
