/* ============================================================
   Личный слой ipd.by — туризм, гостеприимство, Брест.
   Не пересекается с бизнес-оболочкой: своя шапка, подвал,
   контактный блок без формы заявки и без продающих CTA.
   ============================================================ */

.personal-body {
    background: #fbfaf7;
    color: rgba(0, 0, 0, .82);
}

.personal-body main {
    min-height: 40vh;
}

.personal-body h1,
.personal-body h2,
.personal-body h3,
.personal-body h4 {
    letter-spacing: -.01em;
}

/* ---------- Шапка ---------- */

.psh {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(251, 250, 247, .94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.psh-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.psh-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.psh-brand img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.psh-brand strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.psh-brand small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: rgba(0, 0, 0, .55);
    line-height: 1.3;
}

.psh-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.psh-nav a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    color: rgba(0, 0, 0, .66);
    transition: background .2s ease, color .2s ease;
}

.psh-nav a:hover {
    background: rgba(46, 90, 172, .09);
    color: #2e5aac;
}

.psh-nav a.is-active {
    background: #2e5aac;
    color: #fff;
}

/* ---------- Короткий ответ (AEO) ---------- */

.pa {
    padding: 36px 0 0;
}

.pa-box {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-left: 4px solid #2e7d32;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .04);
}

.pa-label {
    display: inline-block;
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #2e7d32;
}

.pa-box h2 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: none;
    color: #1f3b2c;
}

.pa-answer {
    margin: 0;
    font-size: 17px;
    line-height: 1.65;
    color: rgba(0, 0, 0, .72);
}

.pa-points {
    margin: 14px 0 0;
    padding-left: 20px;
}

.pa-points li {
    margin-bottom: 6px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(0, 0, 0, .66);
}

/* ---------- FAQ ---------- */

.pfaq {
    padding: 56px 0 0;
}

.pfaq h2 {
    margin: 0 0 20px;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: none;
    color: #1f3b2c;
}

.pfaq-list {
    display: grid;
    gap: 10px;
    max-width: 920px;
}

.pfaq details {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 14px;
    padding: 0 20px;
}

.pfaq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
}

.pfaq summary::-webkit-details-marker {
    display: none;
}

.pfaq summary::after {
    content: '+';
    flex-shrink: 0;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    color: #2e5aac;
}

.pfaq details[open] summary::after {
    content: '−';
}

.pfaq-body {
    padding: 0 0 18px;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(0, 0, 0, .68);
}

.pfaq-body p {
    margin: 0 0 8px;
}

.pfaq-body p:last-child {
    margin-bottom: 0;
}

/* ---------- Подпись автора (E-E-A-T) ---------- */

.pby {
    padding: 40px 0 0;
}

.pby-inner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, .09);
}

.pby-inner img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.pby-copy {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(0, 0, 0, .62);
}

.pby-copy strong {
    color: rgba(0, 0, 0, .82);
}

.pby-copy span {
    display: block;
    margin-top: 4px;
    color: rgba(0, 0, 0, .45);
}

/* ---------- Личные разделы внутри страниц ---------- */

.personal-section {
    padding: 8px 0 0;
}

.personal-list {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
    max-width: 860px;
}

.personal-list li {
    position: relative;
    padding: 16px 20px 16px 44px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 14px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(0, 0, 0, .68);
}

.personal-list li::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 24px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2e7d32;
}

.personal-list a {
    color: #1f3b2c;
    text-decoration: underline;
    text-decoration-color: rgba(46, 125, 50, .35);
    text-underline-offset: 3px;
}

.personal-list a:hover {
    text-decoration-color: #2e7d32;
}

/* ---------- Контакты без формы заявки ---------- */

.pc {
    padding: 64px 0;
}

.pc-card {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 32px;
    align-items: center;
    padding: 48px;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(145deg, #123f3b 0%, #14532d 100%);
    box-shadow: 0 18px 48px rgba(18, 63, 59, .22);
}

.pc-card h2 {
    margin: 0 0 12px;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: none;
    color: #fff;
}

.pc-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .78);
}

.pc-note {
    margin-top: 18px !important;
    font-size: 14px !important;
    color: rgba(255, 255, 255, .6) !important;
}

.pc-note a {
    color: #c8e6c9;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pc-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    transition: background .2s ease, transform .2s ease;
}

.pc-link:hover {
    background: rgba(255, 255, 255, .18);
    transform: translateY(-1px);
}

.pc-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.pc-link small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, .62);
}

.pc-link--wide {
    grid-column: 1 / -1;
}

/* ---------- Подвал ---------- */

.pf {
    background: #14251f;
    color: rgba(255, 255, 255, .7);
    padding: 48px 0 24px;
}

.pf-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
}

.pf h4 {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .92);
}

.pf p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
}

.pf-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.pf-brand img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.pf-brand strong {
    display: block;
    font-size: 16px;
    color: #fff;
}

.pf-brand small {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
}

.pf ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pf li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.pf a {
    color: rgba(255, 255, 255, .74);
    text-decoration: none;
}

.pf a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pf-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
}

/* ---------- Адаптив ---------- */

@media (max-width: 900px) {
    .pc-card {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .pf-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .psh-inner {
        align-items: flex-start;
        gap: 10px;
        padding: 10px 16px;
    }

    .psh-brand small {
        display: none;
    }

    .psh-nav {
        gap: 2px;
    }

    .psh-nav a {
        padding: 7px 10px;
        font-size: 13px;
    }

    .pa-box {
        padding: 22px;
    }

    .pc {
        padding: 44px 0;
    }

    .pc-card {
        padding: 26px 22px;
        border-radius: 18px;
    }

    .pc-card h2 {
        font-size: 24px;
    }

    .pc-links {
        grid-template-columns: 1fr;
    }

    .pf-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .pby-inner img {
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 420px) {
    .psh-brand strong {
        font-size: 14px;
    }

    .psh-nav a {
        padding: 6px 8px;
        font-size: 12px;
    }
}
