.services-intro {
    background-color: #f0f4f8;
    padding:100px 40px 40px 20px;
    text-align: center;
}

.services-intro h2 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 15px;
}

.services-intro p {
    font-size: 1.2em;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}
.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 40px 20px;
}

.service {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    width: 300px;
    height: 350px; /* одинаковая высота для всех */
    padding: 20px;

    background-color: #f9f9f9;
    border-radius: 10px;
    border-left: 5px solid #00aaff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service:hover {
    transform: translateY(-5px);
}

.service h3 {
    font-size: 1.2em;
    color: #0077b6;
    margin-bottom: 10px;
}

.service p {
    font-size: 1em;
    color: #444;
    flex-grow: 1; /* растягивает текст до доступной высоты */
}

.service-price {
    font-size: 1.1em;
    font-weight: bold;
    color: #00aaff;
    margin-top: 20px;
    text-align: right;
}
.appointment-button-container {
    display: flex;
    justify-content: center;
    padding: 15px 30px 20px 30px;
}

/* Кнопка "Записаться" */
.appointment-button {
    padding: 15px 30px;
    background-color: #ff6600;
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.appointment-button:hover {
    background-color: #e65c00;
    transform: scale(1.05);
}

.appointment-button:active {
    transform: scale(0.95);
}