/* ========================================= */
/* СТРАНИЦА "ОБРАБОТКА ПЕРСОНАЛЬНЫХ ДАННЫХ" */
/* ========================================= */

.personal-page {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Как на странице "Документы" */
    box-sizing: border-box;

    /* ВАЖНО: путь из папки css/ → в корень → в Images/ */
    background-image: url('../Images/Promo_background2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;

    padding: 180px 60px 80px 60px;
}

/* Затемнение фона */
.personal-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.personal-title,
.personal-container,
.personal-back {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

/* ЗАГОЛОВОК */
.personal-title {
    font-family: 'Mirra Auriolic', 'Playfair Display', serif;
    font-size: clamp(2rem, 4.5vw, 4.5rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-indent: 5px;
    text-align: center;
    margin: 0 auto 70px auto;
    line-height: 1.1;
    display: block;
    width: 100%;

    background: linear-gradient(180deg, #ffffff 0%, #a3c4d9 50%, #6b9bb5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;

    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #83D3FF;
    paint-order: stroke fill;

    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.8));
}

/* Контейнер строк */
.personal-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 50px;
}

.personal-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;

    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;

    transition: background 0.3s ease, border-color 0.3s ease;
}

.personal-row:hover {
    background: rgba(0, 96, 162, 0.15);
    border-color: rgba(131, 211, 255, 0.4);
}

.personal-row-text-only {
    grid-template-columns: 1fr;
}

.personal-text {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    line-height: 1.5;
    letter-spacing: 0.3px;
}

.personal-link {
    color: #83D3FF;
    text-decoration: underline;
    word-break: break-all;
    transition: color 0.3s ease;
}

.personal-link:hover {
    color: #fff;
}

/* Кнопка "Скачать PDF" */
.pdf-btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;

    color: #83D3FF;
    background: transparent;
    border: 1.5px solid #83D3FF;
    border-radius: 4px;

    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pdf-btn:hover {
    background: #83D3FF;
    color: #1a2a3a;
    box-shadow: 0 0 20px rgba(131, 211, 255, 0.5);
    transform: translateY(-2px);
}

/* Кнопка "Назад" */
.personal-back {
    margin-top: 40px;
    text-align: center;
}

.back-link {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    color: #83D3FF;
    text-decoration: none;
    letter-spacing: 1px;
    padding: 10px 22px;
    border: 1px solid #83D3FF;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: #83D3FF;
    color: #1a2a3a;
}

/* ========================================= */
/* АДАПТИВ */
/* ========================================= */

@media (max-width: 768px) {
    .personal-page {
        padding: 120px 20px 60px 20px;
    }

    .personal-title {
        font-size: 24px;
        letter-spacing: 3px;
        text-indent: 3px;
        margin-bottom: 40px;
    }

    .personal-container {
        gap: 10px;
    }

    .personal-row {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
    }

    .personal-text {
        font-size: 15px;
    }

    .pdf-btn {
        padding: 10px 20px;
        font-size: 13px;
        letter-spacing: 1.5px;
        width: 100%;
        text-align: center;
    }
}