/* =======================================
   1. ОБЩИЕ СТИЛИ ДЛЯ СТРАНИЦЫ
   ======================================= */
body {
    padding-top: 100px;
    background: var(--color-dark, #1b1411);
    min-height: 100vh;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: var(--color-text-light, #fcfcfc);
    overflow-x: hidden;
    position: relative;
}

.content-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
}

/* =======================================
   2. ЗАГОЛОВОК СТРАНИЦЫ
   ======================================= */
.page-title {
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 500;
    color: var(--color-text-light, #fcfcfc);
    position: relative;
    text-shadow: 0 2px 10px rgba(221, 159, 89, 0.2);
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--color-gold, #dd9f59);
    border-radius: 2px;
}

/* =======================================
   3. СЕТКА КАРТОЧЕК
   ======================================= */
.prices-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px auto;
}

/* =======================================
   4. КАРТОЧКИ СТОИМОСТИ
   ======================================= */
.price-card {
    background: var(--color-dark-light, #251c18);
    border-radius: var(--border-radius, 12px);
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    border: 1px solid var(--color-gold-light, rgba(221, 159, 89, 0.2));
    transition: var(--transition, all 0.3s ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(221, 159, 89, 0.3), transparent 60%, rgba(221, 159, 89, 0.3));
    border-radius: 14px;
    z-index: -1;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold-medium, rgba(221, 159, 89, 0.4));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.price-card:hover::before {
    opacity: 0.8;
}

/* =======================================
   5. ЗАГОЛОВОК КАРТОЧКИ
   ======================================= */
.price-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-gold-light, rgba(221, 159, 89, 0.2));
    width: 100%;
}

.price-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--color-gold, #dd9f59);
    margin: 0;
}

.price-header p {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: var(--color-text-light, #fcfcfc);
    margin-top: 10px;
    line-height: 1.5;
    opacity: 0.8;
}

/* =======================================
   6. СПИСОК УСЛУГ
   ======================================= */
.price-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    width: 100%;
    max-width: 320px;
}

.price-list li {
    margin-bottom: 20px;
    padding-left: 25px;
    position: relative;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-text-light, #fcfcfc);
    text-align: left;
    opacity: 0.9;
}

.price-list li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--color-gold, #dd9f59);
    font-size: 14px;
}

/* =======================================
   7. СТОИМОСТЬ
   ======================================= */
.price-amount {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: var(--color-gold, #dd9f59);
    margin-top: 8px;
    padding: 8px 0;
    border-radius: var(--border-radius, 12px);
    background: rgba(221, 159, 89, 0.1);
    text-align: center;
    width: 100%;
}

/* =======================================
   8. ПРИМЕЧАНИЕ
   ======================================= */
.price-note {
    margin-top: auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius, 12px);
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--color-gold, #dd9f59);
    border-left: 3px solid var(--color-gold, #dd9f59);
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.price-note p {
    margin: 0;
    color: var(--color-text-light, #fcfcfc);
}

/* =======================================
   9. ЭКОНОМИЯ НА ПАКЕТАХ
   ======================================= */
.package-savings {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    padding: 15px;
    border-radius: var(--border-radius, 12px);
    margin: 25px 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #4CAF50;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.package-savings strong {
    font-weight: 600;
    color: #4CAF50;
}

/* =======================================
   10. КНОПКИ ВНУТРИ КАРТОЧЕК
   ======================================= */
.price-card .button-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}

/* =======================================
   11. ИНФОРМАЦИОННЫЙ БЛОК
   ======================================= */
.info-schedule-block {
    max-width: 800px;
    margin: 50px auto 40px auto;
    background: var(--color-dark-light, #251c18);
    border-radius: var(--border-radius, 12px);
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    border: 1px solid var(--color-gold-light, rgba(221, 159, 89, 0.2));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.info-schedule-block::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(221, 159, 89, 0.3), transparent 60%, rgba(221, 159, 89, 0.3));
    border-radius: 14px;
    z-index: -1;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.info-schedule-block:hover {
    border-color: var(--color-gold-medium, rgba(221, 159, 89, 0.4));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.info-schedule-block:hover::before {
    opacity: 0.8;
}

.info-schedule-text {
    text-align: left;
    margin-bottom: 25px;
}

.info-schedule-text p {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-text-light, #fcfcfc);
    margin: 0;
    opacity: 0.9;
}

.info-schedule-text strong {
    color: var(--color-gold, #dd9f59);
    font-weight: 600;
}

.info-schedule-block .button-wrapper,
.schedule-button-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.schedule-button-wrapper .outline-btw {
    min-width: 220px;
}

/* =======================================
   12. ПОДЗАГОЛОВОК ЦЕН
   ======================================= */
.price-subtitle {
    text-align: center;
    margin: -20px auto 30px auto;
    max-width: 600px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius, 12px);
    border: 1px solid var(--color-gold-light, rgba(221, 159, 89, 0.1));
}

.price-subtitle p {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: var(--color-text-light, #fcfcfc);
    line-height: 1.5;
    margin: 0;
    opacity: 0.8;
}

/* =======================================
   13. КОНТЕЙНЕР КНОПОК
   ======================================= */
.buttons-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    gap: 30px;
}

.buttons-container .button-wrapper {
    display: flex;
    justify-content: center;
}

/* =======================================
   14. АДАПТИВНОСТЬ
   ======================================= */

/* Десктопы 1200px+ */
@media (min-width: 1200px) {
    .prices-wrapper {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

/* Планшеты 768px - 1199px */
@media (max-width: 1199px) and (min-width: 768px) {
    .prices-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Мобильные 767px- */
@media (max-width: 767px) {
    body {
        padding-top: 80px;
    }

    .content-wrapper {
        padding: 15px;
    }

    .page-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .prices-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .price-card {
        width: 100%;
        max-width: 400px;
        padding: 25px;
    }

    .price-header h2 {
        font-size: 24px;
    }

    .price-list li {
        font-size: 15px;
    }

    .price-amount {
        font-size: 20px;
    }

    .info-schedule-block {
        max-width: 95%;
        margin: 30px auto 20px auto;
        padding: 20px;
    }

    .info-schedule-text p {
        font-size: 15px;
        line-height: 1.5;
    }

    .price-subtitle {
        margin: -15px auto 25px auto;
        padding: 10px 15px;
        max-width: 90%;
    }

    .price-subtitle p {
        font-size: 14px;
    }

    .buttons-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

/* Маленькие телефоны 480px- */
@media (max-width: 480px) {
    .page-title {
        font-size: 24px;
    }

    .price-card {
        padding: 20px;
        max-width: 100%;
    }

    .price-header h2 {
        font-size: 22px;
    }

    .price-list {
        max-width: 280px;
    }

    .price-list li {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .price-amount {
        font-size: 18px;
        padding: 6px 0;
    }

    .price-note {
        padding: 15px;
        font-size: 13px;
    }

    .package-savings {
        padding: 12px;
        font-size: 14px;
        margin: 20px 0;
    }

    .info-schedule-block {
        padding: 15px;
        margin: 25px auto 15px auto;
    }

    .info-schedule-text p {
        font-size: 14px;
        line-height: 1.4;
    }

    .schedule-button-wrapper .outline-btw {
        min-width: 200px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .price-subtitle {
        margin: -10px auto 20px auto;
        padding: 8px 12px;
    }

    .price-subtitle p {
        font-size: 13px;
    }
}