/* =====================================================================
   VOYE HOMES - Privacy Policy page (privacy-policy-m.css)
   Design system : "about-us-ui" (navy/gold, Poppins) - same system as
                   cancellations-refund-policy-uc.css / terms-conditions-u.css,
                   reused rather than reinvented since this is a sibling legal page.
   Scope         : everything under  .privacy-policy-page  (cannot leak to other
                   pages) -- every selector below is prefixed with that class,
                   same convention as the other two redesigned legal pages.
   Self-contained: does NOT depend on any other page's CSS being loaded.
   Loaded by     : Views/Page/Details.cshtml, conditionally for
                   pageSlug == "privacy-policy-m"
   Previewed as  : claude.ai artifact (design review build), ported here with the
                   preview-only bits removed/adapted:
                   - no dark-mode (confirmed zero prefers-color-scheme usage
                     anywhere in this codebase)
                   - no safe-area padding (artifact-only requirement)
                   - no Google Fonts @import (Poppins already loads site-wide
                     via _Layout.cshtml)
                   - the artifact wrapped everything in a max-width "pp-page" div
                     and bled the hero out of it with a negative margin, because
                     the artifact's own <body> has side padding. The real custom-
                     page wrapper (Details.cshtml's voye-custom-page-wrapper) has
                     none, so here the hero is simply full-width and a shared
                     .pp-container (max-width + side padding) centers content
                     only where it's actually needed -- same structure as
                     .tc-container / .rp-container on the other two pages.
   Header clearance: the shared <header> is `position:absolute` site-wide
                   (style.css: header{position:absolute}, header.noneBanner{
                   background:#09087E}), so it overlaps whatever is below it
                   instead of pushing it down. Every /page/ custom page has to
                   compensate with its own top padding -- 90px tall on desktop,
                   60px at <=680px (style.css), matched here exactly like
                   cancellations-refund-policy-uc.css / terms-conditions-u.css do.
                   Unlike those two, this page does NOT add the transparent-header
                   treatment (no new page-specific JS file, since this page needs
                   no JS at all -- no accordion/filter UI, just static cards) --
                   so the header keeps its normal opaque navy fill. Its color
                   (#09087E) sits in the same navy family as this page's own
                   --navy (#020035), so the join still reads as one dark band,
                   just without the exact gradient-blend seen on the other two
                   pages. Easy to add later if full parity is wanted.
   See claude/privacy-policy-jobs-redesign.md for the full implementation record.
   ===================================================================== */

.privacy-policy-page {
    --navy: #020035;
    --navy-mid: #0a0a4a;
    --navy-light: #1a1a6a;
    --gold: #d99a28;
    --gold-light: #f4b942;
    --bg: #ffffff;
    --bg-soft: #f8f9ff;
    --ink: #2d3748;
    --body-text: #4a4f5e;
    --muted: #6b7280;
    --card-border: rgba(2, 0, 53, .14);
    --card-border-strong: rgba(2, 0, 53, .3);
    --shadow: 0 10px 30px rgba(2, 0, 53, .08);
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
}

.privacy-policy-page img { max-width: 100%; }
.privacy-policy-page a { color: var(--navy); }
.privacy-policy-page h1, .privacy-policy-page h2, .privacy-policy-page h3, .privacy-policy-page h4 { color: var(--ink); font-weight: 700; margin: 0; }
.privacy-policy-page p { margin: 0; line-height: 1.75; }
.privacy-policy-page :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.privacy-policy-page .pp-container { max-width: 1600px; margin: 0; padding: 0 40px; box-sizing: border-box; }
.privacy-policy-page section { padding-block: 34px; }

/* ---- hero (full-bleed; .pp-container inside it centers the text) ---- */
.privacy-policy-page .pp-hero {
    position: relative; overflow: hidden;
    background-image: url('../img/privacy-illustration.svg'), linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-light) 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: right -10px bottom -30px, center;
    background-size: 380px 380px, cover;
    color: #fff;
    padding: 134px 20px 40px; /* 44px own spacing + 90px header clearance, same pattern as the other two legal pages */
    border-radius: 0 0 28px 28px;
}
@media (max-width: 1150px) {
    .privacy-policy-page .pp-hero {
        background-image: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-light) 100%);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

.privacy-policy-page .pp-hero::before {
    content: ""; position: absolute; inset: -40% -10% auto auto; width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(217, 154, 40, .25), transparent 70%); pointer-events: none;
}
.privacy-policy-page .pp-hero .pp-container { position: relative; max-width: 900px; margin: 0; }
.privacy-policy-page .pp-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--gold-light); background: rgba(217, 154, 40, .15); border: 1px solid rgba(217, 154, 40, .4);
    padding: 6px 14px; border-radius: 30px; margin-bottom: 16px;
}
.privacy-policy-page .pp-hero h1 { font-size: clamp(1.9rem, 5vw, 2.7rem); line-height: 1.15; color: #fff; }
.privacy-policy-page .pp-sub { margin-top: 12px; font-size: clamp(1.02rem, 2.2vw, 1.2rem); color: rgba(255, 255, 255, .88); max-width: 680px; line-height: 1.6; }
.privacy-policy-page .pp-meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: rgba(255, 255, 255, .75); }
.privacy-policy-page .pp-meta span { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); padding: 5px 12px; border-radius: 30px; }

/* ---- stacked section cards ---- */
.privacy-policy-page .pp-stack { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.privacy-policy-page .pp-card {
    background: var(--bg); border: 1px solid var(--card-border); border-radius: 16px;
    padding: 22px 24px; box-shadow: var(--shadow); border-left: 3px solid var(--gold);
}
.privacy-policy-page .pp-card h2 { font-size: 1.15rem; line-height: 1.4; margin-bottom: 12px; }
.privacy-policy-page .pp-card .pp-u { text-decoration: underline; text-decoration-color: var(--card-border-strong); text-underline-offset: 3px; }
.privacy-policy-page .pp-card p { font-size: .96rem; margin-bottom: 12px; }
.privacy-policy-page .pp-card p:last-child { margin-bottom: 0; }
.privacy-policy-page .pp-card strong { color: var(--ink); }

.privacy-policy-page .pp-pii { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.privacy-policy-page .pp-pii span { background: var(--bg-soft); border: 1px solid var(--card-border); border-radius: 20px; padding: 4px 12px; font-size: .84rem; font-weight: 600; color: var(--navy); }

/* ---- closing contact CTA ---- */
.privacy-policy-page .pp-contact-cta {
    margin-top: 18px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-light) 100%);
    border-radius: 18px; padding: 22px 24px; color: #fff;
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    box-shadow: 0 14px 34px rgba(2, 0, 53, .22);
}
.privacy-policy-page .pp-contact-cta h2 { color: #fff; margin-bottom: 6px; }
.privacy-policy-page .pp-contact-cta p { color: rgba(255, 255, 255, .85); font-size: .92rem; max-width: 420px; }
.privacy-policy-page .pp-contact-cta a.pp-btn {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy);
    font-weight: 700; font-size: .88rem; padding: 11px 20px; border-radius: 50px; text-decoration: none;
}

.privacy-policy-page .pp-footer-note { margin-top: 28px; text-align: center; font-size: .8rem; color: var(--muted); }

/* Scoped "transparent header" treatment for this page only -- same technique
   as terms-conditions-u.css / cancellations-refund-policy-uc.css (own class,
   own JS file -- this page previously needed none, see note above). */
header.noneBanner.pp-transparent-header {
    background: transparent !important;
}

@media (max-width: 768px) {
    .privacy-policy-page section { padding-block: 24px; }
    .privacy-policy-page .pp-contact-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
    /* header.noneBanner itself drops from 90px to 60px at this exact breakpoint (style.css) */
    .privacy-policy-page .pp-hero { padding-top: 94px; } /* 34px + 60px */
}
