/* ==========================================================================
   CSS ДЛЯ СТРАНИЦЫ ЦЕНЫ (ID 38) - APPLE STYLE
   ========================================================================== */

/* 1. Настройки страницы */
body.page-id-38 {
    overflow-x: hidden !important;
    background-color: #f5f5f7 !important; /* Фирменный светло-серый фон Apple */
}

.page-id-38 .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
    max-width: 100% !important;
}

.page-id-38 .prices-wrapper {
    max-width: 1000px; /* Оптимальная ширина для прайса */
    margin: 0 auto;
    padding: 60px 20px 100px;
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1d1d1f;
}

/* 2. Заголовки */
.page-id-38 h1 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #1d1d1f;
    letter-spacing: -0.02em;
}

.page-id-38 .prices-intro {
    text-align: center;
    font-size: 20px;
    color: #86868b;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.page-id-38 h2.category-title {
    font-size: 28px;
    font-weight: 600;
    margin-top: 50px;
    margin-bottom: 25px;
    color: #1d1d1f;
    padding-left: 10px; /* Визуальный акцент */
}

/* 3. СЕТКА ПРАЙСА (Карточки) */
.page-id-38 .price-grid {
    display: grid;
    grid-template-columns: 1fr; /* Одна колонка, как список настроек в iOS */
    gap: 15px;
}

.page-id-38 .price-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-id-38 .price-card:hover {
    transform: scale(1.01);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Левая часть (Название + Описание) */
.page-id-38 .price-info {
    flex: 1;
    padding-right: 30px;
}

.page-id-38 .service-name {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.page-id-38 .service-desc {
    font-size: 15px;
    line-height: 1.5;
    color: #86868b;
}

/* Правая часть (Цена) */
.page-id-38 .price-value {
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1f;
    white-space: nowrap; /* Чтобы цена не переносилась */
    background: #f5f5f7;
    padding: 10px 20px;
    border-radius: 12px;
}

/* 4. Блок "Почему такие цены" (Доверие) */
.page-id-38 .trust-section {
    margin-top: 80px;
    text-align: center;
}
.page-id-38 .trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.page-id-38 .trust-item {
    background: #fff;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.page-id-38 .trust-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}
.page-id-38 .trust-item p {
    font-size: 15px;
    color: #86868b;
}

/* 5. CTA Кнопка */
.page-id-38 .cta-wrapper {
    margin-top: 60px;
    text-align: center;
}
.page-id-38 .apple-button {
    background-color: #0071e3;
    color: #fff;
    padding: 16px 40px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    display: inline-block;
    transition: background 0.3s;
}
.page-id-38 .apple-button:hover {
    background-color: #0077ed;
}

/* 6. АДАПТИВНОСТЬ */
@media (max-width: 768px) {
    .page-id-38 .price-card {
        flex-direction: column; /* На телефоне столбиком */
        align-items: flex-start;
        padding: 25px;
    }
    
    .page-id-38 .price-info {
        padding-right: 0;
        margin-bottom: 15px;
    }
    
    .page-id-38 .price-value {
        width: 100%;
        text-align: center;
        background: #0071e3; /* Синяя кнопка цены на мобильном */
        color: #fff;
        padding: 12px;
    }
    
    .page-id-38 .trust-grid {
        grid-template-columns: 1fr; /* Одна колонка для преимуществ */
    }
    
    .page-id-38 h1 { font-size: 36px; }
}