/* Стили для секции с ценами */
.price-section {
    padding: 60px 0;
}
/* Плавная адаптация отступов до 768; ниже — свои значения под зазор с отзывами */
@media (max-width: 1440px) {
    .price-section { padding: 58px 0; }
}
@media (max-width: 1280px) {
    .price-section { padding: 56px 0; }
}
@media (max-width: 1024px) {
    .price-section { padding: 54px 0; }
}

/* Типографика по шкале: 1440→1280→1024→768→480 */
.price-subtitle {
    color: #A64200;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    margin-bottom: 1.25rem;
}

.price-title {
    color: white;
    font-size: 40px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 3.125rem;
    font-family: 'Manrope', sans-serif;
}

.price-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1840px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 1440px) {
    .price-cards {
        padding: 0 40px;
    }
}

.price-card {
    background-color: #0A1B2B;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateY(0);
    width: 100%;
}

.price-card:hover {
    transform: translateY(-0.625rem);
    box-shadow: 0 0.625rem 1.25rem rgba(0, 0, 0, 0.2);
}

.price-card:active {
    transform: translateY(-0.3125rem);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;

    position: relative; /* Убедитесь, что родительский элемент имеет относительное позиционирование */
    overflow: hidden; /* Скрыть все, что выходит за пределы элемента */
    width: 100%; /* Убедитесь, что контейнер занимает всю ширину карточки */
    height: 200px; /* Установите фиксированную высоту для контейнера */
   
}
.card-image img {
    width: 100%; /* Убедитесь, что изображение занимает всю ширину контейнера */
    height: 100%; /* Установите высоту изображения равной высоте контейнера */
    object-fit: cover; /* Сохраняйте пропорции изображения, обрезая его при необходимости */
}
.card-image::after {
    content: ""; /* Создаем пустой контент для псевдоэлемента */
    position: absolute; /* Абсолютное позиционирование для наложения */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(10, 15, 22, 0.45); /* Цвет #0A0F16 с прозрачностью 45% */
    z-index: 1; /* Убедитесь, что наложение выше изображения */
    pointer-events: none; /* Позволяет взаимодействовать с элементами под наложением */
}
.card-title {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 400;
    margin: 0;
    padding: 1.25rem;
    background-color: transparent;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    color: white;
    margin-bottom: 0.625rem;
}

.price-amount {
    font-size: 32px;
    margin: 1.25rem 0;
    text-align: center;
    color: white;
}

.price-value {
    color: #A64200;
}

.card-description {
    font-size: 20px;
    line-height: 1.5;
    margin: 0 1.5rem 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.signup-button {
    background-color: #A64200;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 1.25rem 2.5rem;
    margin: 0 1.5rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 1.125rem;
    transition: background-color 0.3s ease;
    width: calc(100% - 3rem);
    text-decoration: none;
    text-align: center;
}

.signup-button:hover {
    background-color: #8B3700;
    text-decoration: none;
}
@media (max-width: 1440px) {
    .price-title {
        font-size: 32px;
    }

    .price-cards {
        padding: 0 40px;
        margin: 0 auto;
    }
}

@media (max-width: 1280px) {
    .price-title {
        font-size: 28px;
    }

    .price-amount {
        font-size: 28px;
    }

    .card-title {
        font-size: 20px;
    }

    .card-description {
        font-size: 18px;
    }
}

@media (max-width: 1600px) {
    .price-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .price-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .price-title {
        font-size: 24px;
    }

    .price-subtitle {
        font-size: 18px;
    }

    .card-title {
        font-size: 20px;
    }

    .price-amount {
        font-size: 24px;
    }

    .card-description {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .price-section {
        padding: 60px 0 2rem;
    }

    .price-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .price-cards {
        padding: 0 20px;
    }

    .card-title {
        font-size: 18px;
    }

    .price-amount {
        font-size: 24px;
    }

    .card-description {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .price-cards {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .price-section {
        padding: 2.5rem 0 40px;
        margin-bottom: 0;
    }

    .price-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .price-subtitle {
        font-size: 16px;
    }

    .card-title {
        height: 3.5rem;
        font-size: 16px;
        padding: 0.75rem;
    }

    .price-amount {
        font-size: 20px;
        margin: 1rem 0;
    }

    .card-description {
        font-size: 16px;
        margin: 0 1rem 1rem;
        line-height: 1.4;
        min-height: 2.8rem;
    }

    .signup-button {
        margin: 0 1rem 1rem;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 425px) {
    .price-section {
        padding: 3rem 0 40px;
    }

    .price-cards {
        padding: 0 16px;
    }
}

@media (max-width: 375px) {
    .price-cards {
        gap: 1.5rem;
    }
} 
