/* ============================================================
   HAMAC — static page system (pg-)
   Shared by /about/, /service/ (Support) and /contact/.
   Loaded after nav-refresh.css and siderail.css.
   ============================================================ */
:root {
    --pg-navy-900: #061729;
    --pg-navy-800: #0b2545;
    --pg-navy-700: #123259;
    --pg-ink: #26374d;
    --pg-muted: #6b7d93;
    --pg-line: #e3eaf3;
    --pg-bg: #f5f7fa;
    --pg-gold: #f5b301;
    --pg-gold-deep: #a9770a;
}

body.service,
body.contact,
body.about,
body.pg-page {
    background: var(--pg-bg);
    color: var(--pg-ink);
    text-align: left !important;
    font-family: Roboto, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.pg-wrap {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    text-align: left;
}

/* ---------------- hero ---------------- */
.pg-hero {
    position: relative;
    width: 100%;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--pg-navy-900) center center / cover no-repeat;
}

.pg-hero--about {
    background-image: url("/img/banner/about.jpg");
}

.pg-hero--service {
    background-image: url("/img/service/banner-service.jpg");
}

.pg-hero--contact {
    background-image: url("/img/contact/banner-contact.jpg");
}

.pg-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(4, 18, 36, .94) 0%, rgba(7, 28, 54, .82) 55%, rgba(10, 39, 72, .38) 100%);
}

.pg-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pg-gold) 0%, #e8c464 42%, rgba(245, 179, 1, .1) 100%);
}

.pg-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 32px 24px 28px;
}

.pg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #f8c33a;
}

.pg-eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--pg-gold);
}

.pg-hero h1 {
    max-width: 880px;
    margin: 0 0 12px;
    font-size: 38px;
    line-height: 1.18;
    font-weight: 800;
    color: #fff;
}

.pg-hero p {
    max-width: 760px;
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, .8);
}

/* ---------------- breadcrumb ---------------- */
.pg-crumb {
    background: #fff;
    border-bottom: 1px solid var(--pg-line);
    font-size: 12.5px;
    color: var(--pg-muted);
}

.pg-crumb .pg-wrap {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pg-crumb a {
    color: var(--pg-muted);
}

.pg-crumb a:hover {
    color: var(--pg-gold-deep);
}

.pg-crumb strong {
    color: var(--pg-navy-800);
    font-weight: 600;
}

.pg-crumb .sep {
    color: #b8c4d3;
}

/* ---------------- sections & headings ---------------- */
.pg-section {
    padding: 56px 0;
}

.pg-section--tight {
    padding: 38px 0;
}

.pg-section--white {
    background: #fff;
}

.pg-sec-head {
    max-width: 780px;
    margin: 0 0 30px;
    text-align: left;
}

.pg-sec-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.pg-kicker {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--pg-gold-deep);
}

.pg-sec-head h2 {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 800;
    color: var(--pg-navy-800);
}

.pg-sec-head p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--pg-muted);
}

/* ---------------- buttons ---------------- */
.pg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 4px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}

.pg-btn:hover {
    transform: translateY(-2px);
}

.pg-btn--gold {
    background: linear-gradient(135deg, #ffc31a 0%, #e0a100 100%);
    color: #1b1400;
    box-shadow: 0 12px 26px -16px rgba(224, 161, 0, .95);
}

.pg-btn--navy {
    background: var(--pg-navy-800);
    color: #fff;
}

.pg-btn--outline {
    border: 1px solid rgba(245, 179, 1, .6);
    background: #fff;
    color: var(--pg-gold-deep);
}

.pg-btn--ghost {
    border: 1px solid rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

/* ---------------- stats ---------------- */
.pg-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.pg-stat {
    padding: 26px 22px;
    background: #fff;
    border: 1px solid var(--pg-line);
    border-radius: 10px;
    border-top: 3px solid var(--pg-gold);
}

.pg-stat strong {
    display: block;
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    color: var(--pg-navy-800);
}

.pg-stat strong em {
    font-style: normal;
    font-size: 18px;
    color: var(--pg-gold-deep);
}

.pg-stat span {
    display: block;
    margin-top: 8px;
    font-size: 12.5px;
    letter-spacing: .04em;
    color: var(--pg-muted);
}

/* ---------------- split block ---------------- */
.pg-split {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 36px;
    align-items: center;
}

.pg-split--reverse .pg-split__media {
    order: 2;
}

.pg-split__media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.pg-split__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 11;
    object-fit: cover;
}

.pg-split__body h2 {
    margin: 0 0 16px;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 800;
    color: var(--pg-navy-800);
}

.pg-split__body p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.85;
    color: #40536b;
}

.pg-split__body ul {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pg-split__body li {
    position: relative;
    padding-left: 24px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #40536b;
}

.pg-split__body li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 9px;
    height: 9px;
    border-radius: 2px;
    background: var(--pg-gold);
}

/* ---------------- card grids ---------------- */
.pg-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.pg-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pg-card {
    display: flex;
    flex-direction: column;
    padding: 26px 24px;
    background: #fff;
    border: 1px solid var(--pg-line);
    border-radius: 12px;
    transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}

.pg-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 179, 1, .5);
    box-shadow: 0 24px 46px -34px rgba(6, 23, 41, .5);
}

.pg-card__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    border-radius: 10px;
    background: #fff5d6;
    font-size: 15px;
    font-weight: 800;
    color: #8a5f00;
}

.pg-card h3 {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 700;
    color: var(--pg-navy-800);
}

.pg-card p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--pg-muted);
}

.pg-card--step {
    position: relative;
    padding-top: 30px;
}

.pg-card--step::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 0;
    width: 40px;
    height: 3px;
    background: var(--pg-gold);
}

/* ---------------- promise strip ---------------- */
.pg-promise {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.pg-promise__item {
    display: flex;
    gap: 18px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--pg-line);
    border-radius: 12px;
    align-items: flex-start;
}

.pg-promise__num {
    flex: 0 0 auto;
    font-size: 40px;
    line-height: 1;
    font-weight: 800;
    color: var(--pg-gold);
    letter-spacing: -.02em;
}

.pg-promise__num small {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--pg-muted);
}

.pg-promise__txt h3 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--pg-navy-800);
}

.pg-promise__txt p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--pg-muted);
}

/* ---------------- contact cards ---------------- */
.pg-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pg-contact-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--pg-line);
    border-radius: 12px;
    align-items: flex-start;
}

.pg-contact-card__icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--pg-navy-800);
    color: var(--pg-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
}

.pg-contact-card h3 {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--pg-muted);
}

.pg-contact-card a,
.pg-contact-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 600;
    color: var(--pg-navy-800);
    word-break: break-word;
}

.pg-contact-card a:hover {
    color: var(--pg-gold-deep);
}

/* offices grid: two columns on desktop, stacked on small screens */
.pg-grid--offices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media screen and (max-width: 760px) {
    .pg-grid--offices { grid-template-columns: 1fr !important; }
}

/* ---------------- offices ---------------- */
.pg-office {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--pg-line);
    border-radius: 12px;
}

.pg-office__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.pg-office__body {
    padding: 26px 28px;
}

.pg-office__body h3 {
    margin: 0 0 14px;
    font-size: 21px;
    font-weight: 800;
    color: var(--pg-navy-800);
}

.pg-office__body dl {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.pg-office__body dt {
    display: inline-block;
    min-width: 62px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--pg-muted);
}

.pg-office__body dd {
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.65;
    color: #40536b;
}

.pg-office__body a {
    color: var(--pg-gold-deep);
}

/* ---------------- form ---------------- */
.pg-form-block {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--pg-line);
    border-radius: 14px;
}

.pg-form-aside {
    padding: 34px 32px;
    background: linear-gradient(150deg, var(--pg-navy-900) 0%, var(--pg-navy-800) 62%, var(--pg-navy-700) 100%);
    color: #fff;
}

.pg-form-aside h2 {
    margin: 0 0 14px;
    font-size: 26px;
    line-height: 1.35;
    font-weight: 800;
    color: #fff;
}

.pg-form-aside p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .76);
}

.pg-form-aside ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.pg-form-aside li {
    position: relative;
    padding-left: 24px;
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .88);
}

.pg-form-aside li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--pg-gold);
}

.pg-form {
    padding: 32px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
    align-content: start;
}

.pg-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--pg-muted);
}

.pg-form input[type="text"],
.pg-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--pg-line);
    border-radius: 6px;
    background: #fbfcfe;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--pg-ink);
    font-family: inherit;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.pg-form input[type="text"]:focus,
.pg-form textarea:focus {
    border-color: var(--pg-gold);
    box-shadow: 0 0 0 3px rgba(245, 179, 1, .16);
}

.pg-form textarea {
    min-height: 118px;
    resize: vertical;
}

.pg-form .pg-form__full {
    grid-column: 1 / -1;
}

.pg-form__submit {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pg-form__submit input[type="submit"] {
    min-height: 46px;
    padding: 0 34px;
    border: 0;
    border-radius: 4px;
    background: linear-gradient(135deg, #ffc31a 0%, #e0a100 100%);
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: .06em;
    color: #1b1400;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.pg-form__submit input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -18px rgba(224, 161, 0, .95);
}

.pg-form__note {
    font-size: 12px;
    color: var(--pg-muted);
    line-height: 1.6;
}

/* ---------------- map ---------------- */
.pg-map {
    position: relative;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--pg-line);
    border-radius: 14px;
}

.pg-map > img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.pg-map .pg-map--mobile {
    display: none;
}

/* ---------------- FAQ ---------------- */
.pg-faq {
    max-width: 940px;
    margin: 0 auto;
    padding: 10px 28px 24px;
    background: #fff;
    border: 1px solid var(--pg-line);
    border-radius: 12px;
}

.pg-faq details {
    padding: 18px 0;
    border-bottom: 1px solid #eef2f7;
}

.pg-faq details:last-child {
    border-bottom: 0;
}

.pg-faq summary {
    position: relative;
    padding-right: 34px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--pg-navy-800);
    list-style: none;
}

.pg-faq summary::-webkit-details-marker {
    display: none;
}

.pg-faq summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: -2px;
    font-size: 22px;
    font-weight: 400;
    color: var(--pg-gold-deep);
}

.pg-faq details[open] summary::after {
    content: "–";
}

.pg-faq details p {
    margin: 12px 0 0;
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--pg-muted);
}

/* ---------------- CTA ---------------- */
.pg-cta {
    background: linear-gradient(105deg, var(--pg-navy-900) 0%, var(--pg-navy-800) 60%, var(--pg-navy-700) 100%);
}

.pg-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 46px 0;
}

.pg-cta h2 {
    margin: 0 0 10px;
    font-size: 27px;
    line-height: 1.35;
    font-weight: 800;
    color: #fff;
}

.pg-cta p {
    margin: 0;
    max-width: 640px;
    font-size: 14.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, .75);
}

.pg-cta__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex: 0 0 auto;
}

/* ---------------- timeline ---------------- */
.pg-timeline {
    position: relative;
    margin: 0;
    padding: 0 0 0 26px;
    list-style: none;
    border-left: 2px solid var(--pg-line);
}

.pg-timeline li {
    position: relative;
    padding: 0 0 26px 0;
}

.pg-timeline li::before {
    content: "";
    position: absolute;
    left: -34px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--pg-gold);
}

.pg-timeline strong {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 800;
    color: var(--pg-navy-800);
}

.pg-timeline p {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    color: var(--pg-muted);
}

/* ---------------- internal link cards ---------------- */
.pg-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.pg-link-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 120px;
    padding: 20px 20px 18px;
    background: #fff;
    border: 1px solid var(--pg-line);
    border-radius: 10px;
    transition: border-color .2s ease, transform .2s ease;
}

.pg-link-card:hover {
    border-color: rgba(245, 179, 1, .6);
    transform: translateY(-3px);
}

.pg-link-card span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--pg-gold-deep);
}

.pg-link-card strong {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
    color: var(--pg-navy-800);
}

/* ---------------- responsive ---------------- */
@media screen and (max-width: 1180px) {
    .pg-grid--four,
    .pg-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 1024px) {
    .pg-hero {
        min-height: 230px;
    }

    .pg-hero h1 {
        font-size: 29px;
    }

    .pg-stats,
    .pg-grid,
    .pg-promise,
    .pg-contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pg-split,
    .pg-office,
    .pg-form-block {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .pg-split--reverse .pg-split__media {
        order: 0;
    }

    .pg-office__media img {
        min-height: 200px;
    }

    .pg-form {
        padding: 24px;
    }

    .pg-cta__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 34px 0;
    }
}

@media screen and (max-width: 640px) {
    .pg-wrap {
        padding: 0 18px;
    }

    .pg-hero {
        min-height: 200px;
    }

    .pg-hero__inner {
        padding: 24px 18px 22px;
    }

    .pg-hero h1 {
        font-size: 23px;
    }

    .pg-hero p {
        font-size: 13.5px;
    }

    .pg-stats,
    .pg-grid,
    .pg-grid--four,
    .pg-promise,
    .pg-contact-grid,
    .pg-links {
        grid-template-columns: 1fr;
    }

    .pg-section {
        padding: 38px 0;
    }

    .pg-sec-head h2,
    .pg-split__body h2 {
        font-size: 23px;
    }

    .pg-stat strong {
        font-size: 28px;
    }

    .pg-form {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .pg-faq {
        padding: 6px 18px 18px;
    }

    .pg-faq summary {
        font-size: 15px;
    }

    .pg-office__body {
        padding: 20px;
    }

    .pg-map {
        padding: 14px;
    }

    .pg-map > .pg-map--pc {
        display: none;
    }

    .pg-map .pg-map--mobile {
        display: block;
    }

    .pg-cta h2 {
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pg-btn,
    .pg-card,
    .pg-link-card {
        transition: none !important;
    }
}

/* ================= legal / policy document (privacy-policy.html) ================= */
.pg-hero--legal {
    background-image: url("/img/contact/banner-contact.jpg");
    background-position: center 42%;
    min-height: 300px;
}

.pg-legal {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 44px;
    align-items: start;
}

.pg-legal,
.pg-legal *,
.pg-doc,
.pg-doc * {
    box-sizing: border-box;
}

.pg-legal > * {
    min-width: 0;
}

.pg-legal__aside {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 16px;
}

.pg-toc {
    background: #fff;
    border: 1px solid var(--pg-line);
    border-radius: 12px;
    padding: 20px 20px 12px;
}

.pg-toc h2 {
    text-align: left;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef2f7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--pg-navy-800);
}

.pg-toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: toc;
}

.pg-toc li {
    counter-increment: toc;
}

.pg-toc a {
    display: flex;
    gap: 9px;
    padding: 6px 0;
    font-size: 13.5px;
    line-height: 1.45;
    color: #5a6c82;
    border-left: 2px solid transparent;
    padding-left: 10px;
    margin-left: -10px;
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.pg-toc a::before {
    content: counter(toc, decimal-leading-zero);
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 700;
    color: #b3c0d0;
    padding-top: 2px;
}

.pg-toc a:hover,
.pg-toc a.is-active {
    color: var(--pg-navy-800);
    border-left-color: var(--pg-gold);
    background: #fcf8ec;
}

.pg-toc a.is-active::before {
    color: var(--pg-gold-deep);
}

.pg-legal__card {
    background: #fff;
    border: 1px solid var(--pg-line);
    border-radius: 12px;
    padding: 18px 20px;
}

.pg-legal__card h3 {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--pg-navy-800);
}

.pg-legal__card dl {
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 14px;
    font-size: 13px;
    line-height: 1.5;
}

.pg-legal__card dt {
    color: var(--pg-muted);
}

.pg-legal__card dd {
    margin: 0;
    color: var(--pg-navy-800);
    font-weight: 600;
}

.pg-legal__card--cta {
    background: linear-gradient(160deg, var(--pg-navy-900) 0%, var(--pg-navy-700) 100%);
    border-color: transparent;
}

.pg-legal__card--cta h3 {
    color: #fff;
}

.pg-legal__card--cta p {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .72);
}

.pg-legal__card--cta .pg-btn {
    display: inline-flex;
    width: 100%;
    justify-content: center;
}

/* ---------- document ---------- */
.pg-doc {
    min-width: 0;
    background: #fff;
    border: 1px solid var(--pg-line);
    border-radius: 14px;
    padding: 42px 46px 46px;
    box-shadow: 0 10px 30px rgba(9, 30, 55, .05);
}

.pg-doc__updated {
    display: inline-block;
    margin-bottom: 18px;
    padding: 6px 13px;
    border-radius: 999px;
    background: #f2f6fb;
    color: var(--pg-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
}

.pg-doc__lead {
    margin: 0 0 10px;
    padding-left: 18px;
    border-left: 3px solid var(--pg-gold);
    font-size: 16.5px;
    line-height: 1.85;
    color: #2f435c;
}

.pg-doc section {
    padding-top: 32px;
    margin-top: 32px;
    border-top: 1px solid #eef2f7;
    scroll-margin-top: 112px;
}

.pg-doc section:first-of-type {
    border-top: 0;
    margin-top: 30px;
    padding-top: 0;
}

.pg-doc h2 {
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 800;
    color: var(--pg-navy-800);
}

.pg-doc h2 span {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    color: var(--pg-gold-deep);
}

.pg-doc h3 {
    text-align: left;
    margin: 22px 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--pg-navy-800);
}

.pg-doc p {
    margin: 0 0 14px;
    font-size: 15.5px;
    line-height: 1.86;
    color: #3b4d64;
}

.pg-doc ul {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.pg-doc ul li {
    position: relative;
    padding: 5px 0 5px 20px;
    font-size: 15.5px;
    line-height: 1.8;
    color: #3b4d64;
}

.pg-doc ul li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 17px;
    width: 6px;
    height: 6px;
    border-radius: 1px;
    background: var(--pg-gold);
}

.pg-doc a {
    color: var(--pg-navy-800);
    text-decoration: underline;
    text-decoration-color: rgba(245, 179, 1, .55);
    text-underline-offset: 3px;
}

.pg-doc a:hover {
    color: var(--pg-gold-deep);
    text-decoration-color: var(--pg-gold);
}

.pg-doc__table {
    max-width: 100%;
    margin: 4px 0 20px;
    overflow-x: auto;
    border: 1px solid #e7edf5;
    border-radius: 10px;
}

.pg-doc table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.65;
    background: #fff;
}

.pg-doc thead th {
    padding: 11px 14px;
    background: #f4f7fb;
    border-bottom: 1px solid #e2e9f2;
    text-align: left;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--pg-navy-800);
    white-space: nowrap;
}

.pg-doc tbody tr > th,
.pg-doc tbody tr > td {
    background: #fff;
}

.pg-doc tbody tr:nth-child(even) > th,
.pg-doc tbody tr:nth-child(even) > td {
    background: #fbfdff;
}

.pg-doc tbody th,
.pg-doc tbody td {
    padding: 11px 14px;
    border-bottom: 1px solid #eff3f8;
    vertical-align: top;
    color: #3b4d64;
}

.pg-doc tbody th {
    width: 132px;
    background: #fafcfe;
    text-align: left;
    font-weight: 700;
    color: var(--pg-navy-800);
    white-space: nowrap;
}

.pg-doc tbody tr:last-child th,
.pg-doc tbody tr:last-child td {
    border-bottom: 0;
}



.pg-note {
    margin: 6px 0 4px;
    padding: 14px 16px;
    border: 1px solid #e3ebf6;
    border-left: 3px solid var(--pg-navy-700);
    border-radius: 8px;
    background: #f7fafe;
    font-size: 14px;
    line-height: 1.75;
    color: #3b4d64;
}

@media screen and (max-width: 1100px) {
    .pg-legal {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pg-legal__aside {
        position: static;
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .pg-toc {
        grid-column: 1 / -1;
    }

    .pg-toc ol {
        columns: 2;
        column-gap: 28px;
    }
}

@media screen and (max-width: 760px) {
    .pg-hero--legal {
        min-height: 260px;
    }

    .pg-legal__aside {
        grid-template-columns: 1fr;
    }

    .pg-toc ol {
        columns: 1;
    }

    .pg-doc {
        padding: 26px 20px 30px;
        border-radius: 12px;
    }

    .pg-doc__lead {
        font-size: 15.5px;
        padding-left: 14px;
    }

    .pg-doc h2 {
        font-size: 19px;
        gap: 9px;
    }

    .pg-doc p,
    .pg-doc ul li {
        font-size: 15px;
    }

    .pg-doc table {
        min-width: 520px;
    }

    .pg-doc tbody th {
        width: 104px;
        white-space: normal;
    }
}
