/* Основные стили */
.container-pk {
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0;
  box-sizing: border-box;
  background-color:#fff; 
  background-image:linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('/readers/pk/fon.png');
    padding: 40px 0;
}

.pk-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.pk-title {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 7px;
    font-size: 50px;
    color: #384B69;
    text-align: center;
    margin: 5px 0 5px;
    font-weight: 700;
}

/* Контейнер карточек */
.card-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0px 15px;
    margin: 0px 0;
}

/* Карточка */
.card {
    width: 280px;
    margin: 0 5px;
    position: relative;
}

.card .face {
    width: 280px;
    height: 180px;
    transition: 1s;
    background: #FFF;
    overflow: hidden;
}

.card .face-1 {
    position: relative;
    z-index: 2;
    transform: translateY(50px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 16px 20px rgba(0,0,0,0.2);
    border-radius: 10px 10px 3px 3px;
}

.card:hover .face-1 {
    transform: translateY(0);
}

.card .face-1 img {
    filter: brightness(0.7);
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: 1s;
}

.card:hover .face-1 img {
    filter: brightness(1);
}

.card .face-1 h3 {
    padding: 10px 0;
    margin: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(255,255,255, 0.85);
    color: #384b69;
    width: 100%;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.card .face-5 p {
    margin: 0;
    color: #384b69;
    padding: 0 0 10px;
    font-size: 10px;
    line-height: 1.3;
    font-family: Verdana, sans-serif;
}

.card .face-5 {
    position: relative;
    z-index: 1;
    opacity: 0;
    background: #fff;
    padding: 20px 20px 10px;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 16px 20px rgba(0,0,0,0.2);
    transform: translateY(-100px);
    height: 100px;
    transition: 1s;
    border-radius: 0 0 10px 10px;
}

.card:hover .face-5 {
    transform: translateY(0);
    opacity: 1;
}

/* Разделитель */
.pk-divider {
  width: 100vw;
    height: 20px;
    background: linear-gradient(90deg, rgba(56, 75, 105, 1), rgba(96, 129, 181, 1), rgba(56, 75, 105, 1));
    margin: 10px 0;
}

/* Контактная информация */
.pk-contact {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 40px;
    color: #e0383e;
    text-align: center;
    margin: 5px 0 5px;
}

/* Адаптация для мобильных */
@media (max-width: 1200px) {
    .card-container {
        justify-content: space-around;
    }
}

@media (max-width: 768px) {
    .pk-title {
        font-size: 32px;
        letter-spacing: 3px;
    }
    
    .pk-contact {
        font-size: 24px;
    }
    
    .card {
        width: 45%;
        margin: 0;
    }
    
    .card .face,
    .card .face-1,
    .card .face-5 {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .card {
        width: 100%;
    }
}