/* Site-wide premium layer: page heroes, sections, cards, forms, motion. Loaded on every public page. */
:root {
    --hp-ink: #0b1a38;
    --hp-night: #071331;
    --hp-blue: #1a56e8;
    --hp-blue-dk: #0c3f8f;
    --hp-red: #e10600;
    --hp-muted: #5f6b80;
    --hp-line: #e4e9f1;
    --hp-bg: #f5f7fa;
    --hp-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
    --hp-radius: 14px;
    --pm-ease: cubic-bezier(.2, .7, .2, 1);
}
html { scroll-behavior: smooth; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pg-hero-media figcaption b svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pg-btn.light svg, .pg-btn.glass svg { stroke: currentColor; }
::selection { background: rgba(26, 86, 232, .18); }

/* Scroll progress + back to top */
.pm-progress { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: 3px; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--hp-blue), var(--hp-red)); pointer-events: none; }
.pm-top {
    position: fixed; z-index: 45; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center; background: var(--hp-ink); color: #fff; box-shadow: 0 14px 30px -12px rgba(7, 19, 49, .6);
    opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .35s, transform .35s var(--pm-ease), background .25s;
}
.pm-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.pm-top:hover { background: var(--hp-blue); color: #fff; }
.pm-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Motion */
.pm-anim .pm-reveal:not(.is-in) { opacity: 0; }
.pm-anim .pm-reveal.is-in { animation: pm-rise .85s var(--pm-ease) backwards; }
.pm-anim .pm-reveal:not(.is-in) .pm-item { opacity: 0; }
.pm-anim .pm-reveal.is-in .pm-item { animation: pm-rise .75s var(--pm-ease) backwards; animation-delay: calc(var(--pm-i, 0) * 85ms + .12s); }
@keyframes pm-rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes pm-drift { to { transform: translate(80px, -40px) scale(1.15); } }
@keyframes pm-fade { from { opacity: 0; transform: translateY(10px); } }
@keyframes pm-spin { to { transform: rotate(360deg); } }

/* Flash toast */
.flash {
    position: fixed; z-index: 70; left: 50%; top: 92px; transform: translateX(-50%); max-width: min(560px, calc(100% - 2rem));
    display: flex; align-items: center; gap: .7rem; margin: 0; padding: .85rem 1.2rem .85rem 1rem; border-radius: 14px;
    background: #0b1a38; color: #fff; font-weight: 600; font-size: .95rem; box-shadow: 0 24px 50px -20px rgba(7, 19, 49, .6);
    animation: pm-toast .5s var(--pm-ease) backwards, pm-toast-out .5s ease 6.5s forwards;
}
.flash::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: #18a06a; font-size: .8rem; }
@keyframes pm-toast { from { opacity: 0; transform: translate(-50%, -16px); } }
@keyframes pm-toast-out { to { opacity: 0; transform: translate(-50%, -16px); visibility: hidden; } }

/* Buttons */
.pg-btn, .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 1px solid transparent; border-radius: 12px;
    padding: .85rem 1.4rem; font: inherit; font-weight: 650; font-size: .95rem; line-height: 1.2; cursor: pointer; text-decoration: none;
    background: var(--hp-blue); color: #fff; transition: background .25s, color .25s, border-color .25s, transform .25s var(--pm-ease), box-shadow .25s;
}
.pg-btn:hover, .btn:hover { background: var(--hp-blue-dk); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(26, 86, 232, .7); filter: none; }
.pg-btn:active, .btn:active { transform: translateY(0); }
.pg-btn svg, .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.pg-btn:hover svg { transform: translateX(3px); }
.pg-btn.ghost, .btn.ghost { background: #fff; color: var(--hp-ink); border-color: var(--hp-line); }
.pg-btn.ghost:hover, .btn.ghost:hover { color: var(--hp-blue); border-color: var(--hp-blue); box-shadow: 0 12px 24px -16px rgba(12, 63, 143, .45); }
.pg-btn.light { background: #fff; color: var(--hp-blue-dk); }
.pg-btn.light:hover { background: #eef3ff; color: var(--hp-blue-dk); }
.pg-btn.glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.pg-btn.glass:hover { background: #fff; color: var(--hp-blue-dk); }
.pg-btn.red, .btn.red { background: var(--hp-red); }
.pg-btn.red:hover, .btn.red:hover { background: #b80500; box-shadow: 0 14px 28px -14px rgba(225, 6, 0, .7); }
.pg-btn.wide, .btn.wide { width: 100%; }
.pg-btn.sm { padding: .55rem .95rem; font-size: .85rem; border-radius: 10px; }
.cp-btn { transition: background .25s, color .25s, transform .25s var(--pm-ease), box-shadow .25s; }
.cp-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(11, 61, 158, .6); }

/* Page hero */
.pg-hero {
    position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: clamp(2.6rem, 5vw, 4.2rem) 0 clamp(3rem, 6vw, 4.8rem);
    background: radial-gradient(70% 90% at 90% 0%, #15418f 0%, rgba(21, 65, 143, 0) 60%), linear-gradient(160deg, #071331 0%, #0a1d4a 70%, #0c2560 100%);
}
.pg-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 90% at 70% 0%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 90% at 70% 0%, #000 20%, transparent 75%);
}
.pg-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; will-change: transform; animation: pm-drift 20s ease-in-out infinite alternate; }
.pg-orb.a { width: 380px; height: 380px; left: -140px; bottom: -160px; background: #1a56e8; opacity: .45; }
.pg-orb.b { width: 300px; height: 300px; right: 8%; top: -160px; background: #e10600; opacity: .18; animation-duration: 26s; }
.pg-hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.pg-hero.has-media .pg-hero-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.pg-hero-copy > * { animation: pm-fade .8s var(--pm-ease) backwards; }
.pg-hero-copy > :nth-child(2) { animation-delay: .06s; }
.pg-hero-copy > :nth-child(3) { animation-delay: .12s; }
.pg-hero-copy > :nth-child(4) { animation-delay: .18s; }
.pg-hero-copy > :nth-child(5) { animation-delay: .24s; }
.pg-hero-copy > :nth-child(6) { animation-delay: .3s; }
.pg-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin: 0 0 1.4rem; font-size: .85rem; color: rgba(255, 255, 255, .62); }
.pg-crumbs a { color: rgba(255, 255, 255, .82); transition: color .2s; }
.pg-crumbs a:hover { color: #fff; }
.pg-crumbs span[aria-hidden] { opacity: .5; }
.pg-crumbs [aria-current] { color: #fff; font-weight: 600; }
.pg-eyebrow {
    display: inline-flex; align-items: center; gap: .65rem; margin: 0 0 .9rem; font-size: .74rem; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase; color: var(--hp-blue);
}
.pg-eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--hp-red); }
.pg-hero .pg-eyebrow { color: #8fb6ff; }
.pg-hero h1 { font-family: var(--hp-serif); font-weight: 600; font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 1rem; color: #fff; max-width: 20ch; }
.pg-hero h1 em { font-style: italic; font-weight: 500; color: #8fb6ff; }
.pg-lead { font-size: clamp(1rem, 1.35vw, 1.14rem); line-height: 1.7; color: rgba(255, 255, 255, .8); max-width: 60ch; margin: 0; }
.pg-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.pg-stats { display: flex; flex-wrap: wrap; gap: 1rem 2.6rem; margin: 2rem 0 0; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .14); }
.pg-stats dt { font-family: var(--hp-serif); font-size: 1.7rem; font-weight: 600; line-height: 1.1; }
.pg-stats dd { margin: .3rem 0 0; font-size: .7rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.pg-hero-media { position: relative; margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); outline: 1px solid rgba(255, 255, 255, .14); outline-offset: -1px; animation: pm-fade 1s var(--pm-ease) .15s backwards; }
.pg-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.pg-hero-media figcaption { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; border-radius: 14px; background: rgba(7, 19, 49, .55); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .18); font-size: .88rem; }
.pg-hero-media figcaption b { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--hp-red); }
.pg-hero.is-compact { padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.2rem, 4vw, 3.2rem); }
.pg-hero.is-compact h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); }

/* Sections */
.pg-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.pg-section.alt { background: var(--hp-bg); }
.pg-section.tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.pg-section + .pg-section:not(.alt) { padding-top: 0; }
.pg-section.alt + .pg-section.alt { padding-top: 0; }
.pg-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.4rem; }
.pg-head h2 { font-family: var(--hp-serif); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .6rem; color: var(--hp-ink); }
.pg-head p:not(.pg-eyebrow) { margin: 0; color: var(--hp-muted); font-size: 1.03rem; max-width: 60ch; }
.pg-head.center { justify-content: center; text-align: center; }
.pg-head.center p:not(.pg-eyebrow) { margin-inline: auto; }
.pg-head.center .pg-eyebrow::after { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--hp-red); }
.pg-overlap { position: relative; z-index: 2; margin-top: clamp(-3.4rem, -4vw, -2rem); }

/* Cards */
.pg-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.pg-cards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg-cards.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-card {
    position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .5rem; padding: 1.7rem 1.6rem 1.6rem;
    background: #fff; border: 1px solid var(--hp-line); border-radius: 18px; color: var(--hp-ink);
    transition: transform .4s var(--pm-ease), box-shadow .4s, border-color .4s;
}
.pg-card::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
    background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(26, 86, 232, .12), transparent 65%);
}
.pg-card:hover { transform: translateY(-5px); border-color: rgba(26, 86, 232, .28); box-shadow: 0 28px 56px -32px rgba(12, 63, 143, .5); color: var(--hp-ink); }
.pg-card:hover::before { opacity: 1; }
.pg-card > * { position: relative; }
.pg-card h3 { font-size: 1.1rem; font-weight: 650; margin: .3rem 0 0; letter-spacing: 0; color: var(--hp-ink); }
.pg-card p { margin: 0; color: var(--hp-muted); line-height: 1.6; font-size: .94rem; }
.pg-card .pg-more { margin-top: auto; padding-top: .8rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; font-size: .9rem; color: var(--hp-blue); }
.pg-card .pg-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform .3s; }
.pg-card:hover .pg-more svg { transform: translateX(4px); }
.pg-ico {
    display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 15px; color: var(--hp-blue);
    background: linear-gradient(135deg, #eef3ff, #e3ebff); transition: transform .45s var(--pm-ease), background .4s, color .4s;
}
.pg-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pg-card:hover .pg-ico { transform: rotate(-8deg) scale(1.06); background: linear-gradient(135deg, var(--hp-blue), var(--hp-blue-dk)); color: #fff; }
.pg-ico.red { color: var(--hp-red); background: linear-gradient(135deg, #fff0ef, #ffe3e1); }
.pg-card:hover .pg-ico.red { background: linear-gradient(135deg, #ff3b30, var(--hp-red)); color: #fff; }
.pg-num { position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--hp-serif); font-size: 2.6rem; font-weight: 600; line-height: 1; color: #eef2f8; transition: color .4s; }
.pg-card:hover .pg-num { color: #dfe8fb; }

/* Guide timeline */
.pg-steps { position: relative; list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: grid; gap: 1.1rem; }
.pg-steps::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--hp-line); }
.pg-steps::after { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(180deg, var(--hp-blue), var(--hp-red)); transform-origin: top; transition: transform 1.8s cubic-bezier(.6, 0, .2, 1) .3s; }
.pm-anim .pm-reveal:not(.is-in) .pg-steps::after { transform: scaleY(0); }
.pg-step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 1.3rem; align-items: start; }
.pg-step-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 1px solid var(--hp-line); box-shadow: 0 12px 26px -14px rgba(12, 63, 143, .5); font-family: var(--hp-serif); font-weight: 600; font-size: 1.15rem; color: var(--hp-blue-dk); }
.pg-step-body { padding: 1.3rem 1.5rem; border-radius: 16px; background: #fff; border: 1px solid var(--hp-line); transition: transform .4s var(--pm-ease), box-shadow .4s, border-color .4s; }
.pg-step:hover .pg-step-body { transform: translateX(6px); border-color: rgba(26, 86, 232, .25); box-shadow: 0 22px 44px -30px rgba(12, 63, 143, .5); }
.pg-step:hover .pg-step-dot { background: linear-gradient(135deg, var(--hp-blue), var(--hp-blue-dk)); color: #fff; border-color: transparent; }
.pg-step h3 { margin: 0 0 .3rem; font-size: 1.12rem; font-weight: 650; letter-spacing: 0; }
.pg-step p { margin: 0; color: var(--hp-muted); line-height: 1.6; }

/* FAQ */
.pg-faq { display: grid; gap: .8rem; max-width: 860px; margin: 0 auto; }
.pg-faq details { border: 1px solid var(--hp-line); border-radius: 16px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.pg-faq details[open] { border-color: rgba(26, 86, 232, .3); box-shadow: 0 20px 40px -30px rgba(12, 63, 143, .5); }
.pg-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.4rem; font-weight: 650; font-size: 1.02rem; color: var(--hp-ink); }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: "+"; display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--hp-bg); color: var(--hp-blue); font-size: 1.3rem; font-weight: 500; transition: transform .35s var(--pm-ease), background .3s, color .3s; }
.pg-faq details[open] summary::after { transform: rotate(45deg); background: var(--hp-blue); color: #fff; }
.pg-faq details > div { padding: 0 1.4rem 1.25rem; color: var(--hp-muted); line-height: 1.7; animation: pm-fade .4s var(--pm-ease); }
.pg-faq-search { display: flex; max-width: 860px; margin: 0 auto 1.4rem; }
.pg-faq-search input { height: 54px; border-radius: 14px; padding-left: 1.2rem; font-size: 1rem; }

/* CTA band */
.pg-cta {
    position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 2.5rem; align-items: center;
    padding: clamp(2rem, 4vw, 3rem) clamp(1.6rem, 4vw, 3.2rem); border-radius: 24px; color: #fff;
    background: radial-gradient(90% 140% at 100% 0%, #1a56e8 0%, rgba(26, 86, 232, 0) 55%), linear-gradient(135deg, #0a1d4a 0%, #0c3f8f 100%);
    box-shadow: 0 40px 80px -50px rgba(7, 19, 49, .9);
}
.pg-cta::after { content: ""; position: absolute; z-index: -1; width: 320px; height: 320px; right: -80px; bottom: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(225, 6, 0, .35), transparent 70%); }
.pg-cta h2 { margin: 0 0 .5rem; font-family: var(--hp-serif); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.15rem); color: #fff; line-height: 1.15; }
.pg-cta p { margin: 0; color: rgba(255, 255, 255, .8); line-height: 1.6; max-width: 58ch; }
.pg-cta .pg-actions { margin: 0; }

/* Split + media */
.pg-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pg-split.top { align-items: start; }
.pg-media { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 34px 70px -40px rgba(7, 19, 49, .6); }
.pg-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--pm-ease); }
.pg-media:hover img { transform: scale(1.05); }
.pg-prose { color: #374359; font-size: 1.04rem; line-height: 1.75; }
.pg-prose h2 { font-family: var(--hp-serif); font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.2rem); color: var(--hp-ink); margin: 0 0 1rem; }
.pg-prose h3 { font-size: 1.15rem; color: var(--hp-ink); margin: 1.6rem 0 .5rem; }
.pg-prose p { margin: 0 0 1rem; }
.pg-ticks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .65rem; }
.pg-ticks li { display: flex; gap: .7rem; align-items: flex-start; color: #374359; }
.pg-ticks li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; flex: none; margin-top: .1rem; border-radius: 50%; background: #e3f5ec; color: #0f8a5f; font-size: .72rem; font-weight: 800; }

/* Forms */
.pg-form { position: relative; padding: clamp(1.4rem, 3vw, 2.2rem); background: #fff; border: 1px solid var(--hp-line); border-radius: 22px; box-shadow: 0 30px 60px -40px rgba(7, 19, 49, .45); }
.pg-form h2 { font-family: var(--hp-serif); font-weight: 600; font-size: 1.6rem; margin: 0 0 .35rem; color: var(--hp-ink); }
.pg-form > p.muted, .pg-form .pg-form-sub { margin: 0 0 1.4rem; color: var(--hp-muted); }
.pg-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1rem; }
.pg-fields .full { grid-column: 1 / -1; }
.pg-field { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .3rem; row-gap: .4rem; align-content: start; min-width: 0; font-size: .82rem; font-weight: 650; color: #3d4a60; letter-spacing: .01em; }
.pg-field small { font-weight: 400; color: var(--hp-muted); }
.pg-field > :is(input, select, textarea, .pg-input-ico, .pg-field-row) { flex: 1 0 100%; }
.pg-form :is(input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea),
.pg-field :is(input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea) {
    width: 100%; min-height: 50px; padding: .75rem .95rem; font: inherit; font-size: .95rem; font-weight: 400; color: var(--hp-ink);
    background: #fbfcfe; border: 1px solid #d9e1ec; border-radius: 12px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.pg-form textarea, .pg-field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.pg-form select, .pg-field select {
    appearance: none; padding-right: 2.4rem; cursor: pointer;
    background: #fbfcfe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6b80' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .85rem center / 16px;
}
.pg-form :is(input, select, textarea):focus, .pg-field :is(input, select, textarea):focus { border-color: var(--hp-blue); background: #fff; box-shadow: 0 0 0 4px rgba(26, 86, 232, .12); }
.pg-form input[type=file] { width: 100%; padding: .8rem; border: 1.5px dashed #c9d4e6; border-radius: 12px; background: #fbfcfe; font: inherit; font-size: .9rem; cursor: pointer; }
.pg-check { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; font-weight: 500; color: #3d4a60; cursor: pointer; }
.pg-check input { width: 18px; height: 18px; margin-top: .1rem; flex: none; accent-color: var(--hp-blue); }
.pg-form .pg-btn, .pg-form .btn { margin-top: .4rem; }
.pg-form .pg-fields { margin-bottom: 1.1rem; }
.pg-form .error, .pg-errors p { margin: 0; color: #b4231b; font-size: .86rem; font-weight: 600; }
.pg-errors { display: grid; gap: .25rem; margin: 0 0 1rem; padding: .85rem 1rem; border-radius: 12px; background: #fff1f0; border: 1px solid #ffd2cf; }
.pg-ok { margin: 0 0 1rem; padding: .85rem 1rem; border-radius: 12px; background: #e9f7f0; border: 1px solid #c3ead5; color: #0f6b47; font-weight: 600; }
.pg-seg { display: inline-flex; padding: 4px; border-radius: 12px; background: #f0f3f8; gap: 2px; }
.pg-seg label { position: relative; padding: .5rem 1rem; border-radius: 9px; font-size: .88rem; font-weight: 650; color: var(--hp-muted); cursor: pointer; }
.pg-seg input { position: absolute; opacity: 0; pointer-events: none; }
.pg-seg label:has(input:checked) { background: #fff; color: var(--hp-blue); box-shadow: 0 1px 3px rgba(7, 19, 49, .12); }
.pg-secure { display: flex; align-items: center; gap: .5rem; margin: .9rem 0 0; font-size: .8rem; color: var(--hp-muted); }
.pg-secure svg { width: 16px; height: 16px; fill: none; stroke: #0f8a5f; stroke-width: 2; }

/* Info list */
.pg-info { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.pg-info li { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border-radius: 16px; background: #fff; border: 1px solid var(--hp-line); transition: transform .35s var(--pm-ease), border-color .35s; }
.pg-info li:hover { transform: translateX(4px); border-color: rgba(26, 86, 232, .3); }
.pg-info b { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hp-muted); }
.pg-info a, .pg-info span { color: var(--hp-ink); font-weight: 600; }
.pg-info a:hover { color: var(--hp-blue); }

/* Pricing */
.pg-price { position: relative; overflow: hidden; padding: 2rem; border-radius: 22px; color: #fff; background: linear-gradient(150deg, #0a1d4a, #0c3f8f); box-shadow: 0 34px 70px -40px rgba(7, 19, 49, .9); }
.pg-price::after { content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(26, 86, 232, .7), transparent 70%); }
.pg-price > * { position: relative; }
.pg-price .pg-eyebrow { color: #8fb6ff; }
.pg-price-amount { display: flex; align-items: baseline; gap: .35rem; margin: .2rem 0 1rem; font-family: var(--hp-serif); }
.pg-price-amount strong { font-size: 3.4rem; font-weight: 600; line-height: 1; }
.pg-price-amount span { color: rgba(255, 255, 255, .7); font-family: inherit; }
.pg-price .pg-ticks li { color: rgba(255, 255, 255, .88); }
.pg-price .pg-ticks li::before { background: rgba(255, 255, 255, .14); color: #fff; }

/* Legal */
.pg-legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.pg-toc { position: sticky; top: 104px; display: grid; gap: .2rem; padding: 1rem; border-radius: 16px; background: var(--hp-bg); border: 1px solid var(--hp-line); }
.pg-toc b { padding: .3rem .6rem .5rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--hp-muted); }
.pg-toc a { padding: .5rem .6rem; border-radius: 9px; color: var(--hp-ink); font-size: .9rem; font-weight: 550; transition: background .2s, color .2s; }
.pg-toc a:hover { background: #fff; color: var(--hp-blue); }
.pg-legal article section { padding: 0 0 1.8rem; margin: 0 0 1.8rem; border-bottom: 1px solid var(--hp-line); scroll-margin-top: 110px; }
.pg-legal article h2 { font-family: var(--hp-serif); font-weight: 600; font-size: 1.5rem; margin: 0 0 .6rem; color: var(--hp-ink); }
.pg-legal article p { margin: 0; color: #374359; line-height: 1.75; }
.pg-updated { display: inline-flex; margin-bottom: 1.6rem; padding: .35rem .8rem; border-radius: 999px; background: var(--hp-bg); color: var(--hp-muted); font-size: .82rem; font-weight: 600; }

/* Chips, tables, empty */
.pg-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 999px; font-size: .74rem; font-weight: 700; background: #eef3ff; color: var(--hp-blue-dk); }
.pg-chip.green { background: #e3f5ec; color: #0f6b47; }
.pg-chip.red { background: #ffecea; color: #b4231b; }
.pg-chip.grey { background: #eef0f4; color: var(--hp-muted); }
.pg-chip.amber { background: #fff4dc; color: #8a5a00; }
.pg-empty { padding: 3rem 1.5rem; text-align: center; border: 1.5px dashed #d3dceb; border-radius: 20px; background: #fbfcfe; color: var(--hp-muted); }
.pg-empty strong { display: block; margin-bottom: .4rem; font-size: 1.1rem; color: var(--hp-ink); }

/* Pages that close with their own call to action skip the footer one */
main:is(:has(.pg-cta), :has(.dash-shell), :has(.pg-auth), :has(.pg-receipt)) + .site-footer.has-cta { margin-top: 0; }
main:is(:has(.pg-cta), :has(.dash-shell), :has(.pg-auth), :has(.pg-receipt)) + .site-footer.has-cta .sf-cta { display: none; }
main:is(:has(.pg-cta), :has(.dash-shell), :has(.pg-auth), :has(.pg-receipt)) + .site-footer.has-cta .sf-grid { padding-top: 4rem; }

/* CMS blocks */
.cms-block { padding: clamp(2.6rem, 5vw, 4rem) 0; }
.cms-block h2 { font-family: var(--hp-serif); font-weight: 600; font-size: clamp(1.7rem, 2.8vw, 2.3rem); letter-spacing: -.015em; }
.cms-block.tone-blue { background: linear-gradient(135deg, #0a1d4a, #0c3f8f); }
.cms-block.tone-red { background: linear-gradient(135deg, #b80500, #e10600); }
.cms-card { border-radius: 18px; padding: 1.7rem; transition: transform .4s var(--pm-ease), box-shadow .4s, border-color .4s; }
.cms-card:hover { transform: translateY(-5px); border-color: rgba(26, 86, 232, .3); box-shadow: 0 28px 56px -32px rgba(12, 63, 143, .5); }
.cms-card-num { background: linear-gradient(135deg, var(--hp-blue), var(--hp-blue-dk)); }
.cms-split img { border-radius: 22px; box-shadow: 0 34px 70px -40px rgba(7, 19, 49, .6); }
.cms-cta-in { padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.tone-light .cms-cta-in, .tone-ice .cms-cta-in { background: #fff; border-color: var(--hp-line); box-shadow: 0 30px 60px -40px rgba(7, 19, 49, .4); }

@media (prefers-reduced-motion: reduce) {
    .pg-orb, .flash { animation: none; }
    .pg-hero-copy > *, .pg-hero-media { animation: none; }
}
@media (max-width: 1000px) {
    .pg-hero.has-media .pg-hero-in, .pg-split, .pg-legal { grid-template-columns: 1fr; }
    .pg-toc { position: static; }
    .pg-cards.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pg-cta { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .pg-head { flex-direction: column; align-items: flex-start; }
    .pg-head.center { align-items: center; }
    .pg-cards.c3, .pg-cards.c2, .pg-fields { grid-template-columns: 1fr; }
    .pg-hero-media { aspect-ratio: 4 / 3; }
    .pm-top { right: 14px; bottom: 14px; }
    .flash { top: 76px; }
}

/* ---------- Property listing ---------- */
.pl { position: relative; padding: 0 0 clamp(3rem, 6vw, 5rem); }
.pl-bar {
    position: relative; z-index: 2; margin-top: -2.2rem; display: grid; grid-template-columns: 1.7fr repeat(4, minmax(0, 1fr)) auto; gap: .4rem; align-items: stretch;
    padding: .55rem; border-radius: 20px; background: #fff; border: 1px solid var(--hp-line); box-shadow: 0 30px 60px -30px rgba(7, 19, 49, .45);
}
.pl-f { display: grid; gap: .1rem; padding: .55rem .9rem; border-radius: 14px; transition: background .2s; min-width: 0; }
.pl-f:hover, .pl-f:focus-within { background: #f3f6fb; }
.pl-f + .pl-f { box-shadow: inset 1px 0 0 var(--hp-line); }
.pl-f:hover + .pl-f, .pl-f:focus-within + .pl-f { box-shadow: none; }
.pl-f span { font-size: .7rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--hp-muted); }
.pl-f :is(input, select) { width: 100%; min-width: 0; padding: .15rem 0; border: 0; background: transparent; font: inherit; font-size: .95rem; font-weight: 600; color: var(--hp-ink); outline: none; -webkit-appearance: none; appearance: none; }
.pl-f select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6b80' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 16px no-repeat; padding-right: 1.2rem; cursor: pointer; }
.pl-bar .pg-btn { border-radius: 14px; padding-inline: 1.5rem; }
.pl-bar .pg-btn:hover svg { transform: none; }
.pl-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin: 1.6rem 0 1rem; }
.pl-tabs a { padding: .55rem 1.05rem; border-radius: 999px; border: 1px solid var(--hp-line); background: #fff; color: var(--hp-ink); font-size: .88rem; font-weight: 650; transition: all .25s var(--pm-ease); }
.pl-tabs a:hover { border-color: var(--hp-blue); color: var(--hp-blue); transform: translateY(-1px); }
.pl-tabs a.is-on { background: var(--hp-ink); border-color: var(--hp-ink); color: #fff; }
.pl-tools { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 0 0 1.6rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--hp-line); }
.pl-count { margin: 0; color: var(--hp-muted); }
.pl-count strong { color: var(--hp-ink); font-size: 1.15rem; }
.pl-active { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.pl-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .4rem .3rem .75rem; border-radius: 999px; background: #eef3ff; color: var(--hp-blue-dk); font-size: .8rem; font-weight: 650; }
.pl-pill b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(12, 63, 143, .12); font-size: .8rem; transition: background .2s, color .2s; }
.pl-pill:hover b { background: var(--hp-red); color: #fff; }
.pl-clear { font-size: .82rem; font-weight: 650; color: var(--hp-muted); text-decoration: underline; text-underline-offset: 3px; }
.pl-sort { margin-left: auto; }
.pl-sort label { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--hp-muted); white-space: nowrap; }
.pg-hero:has(+ .pl) { padding-bottom: calc(clamp(2.2rem, 4vw, 3.2rem) + 2.2rem); }
.pl-sort select { padding: .55rem 2rem .55rem .9rem; border: 1px solid var(--hp-line); border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6b80' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .6rem center / 15px no-repeat; font: inherit; font-weight: 650; color: var(--hp-ink); -webkit-appearance: none; appearance: none; cursor: pointer; }

.pg-pager { display: flex; justify-content: center; gap: .35rem; margin-top: 2.6rem; flex-wrap: wrap; }
.pg-pager > * { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .6rem; border-radius: 12px; border: 1px solid var(--hp-line); background: #fff; color: var(--hp-ink); font-weight: 650; transition: all .2s; }
.pg-pager a:hover { border-color: var(--hp-blue); color: var(--hp-blue); transform: translateY(-1px); }
.pg-pager .is-on { background: var(--hp-blue); border-color: var(--hp-blue); color: #fff; box-shadow: 0 10px 20px -10px rgba(26, 86, 232, .8); }
.pg-pager .is-off { opacity: .4; }
.pg-pager .is-gap { border: 0; background: none; }

/* ---------- Property detail ---------- */
.pg-crumbs.dark { color: var(--hp-muted); }
.pg-crumbs.dark a { color: var(--hp-muted); }
.pg-crumbs.dark a:hover { color: var(--hp-blue); }
.pg-crumbs.dark [aria-current] { color: var(--hp-ink); }
.pd-top { padding: 1.8rem 0 0; background: linear-gradient(180deg, var(--hp-bg), #fff 70%); }
.pd-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 1.6rem; }
.pd-head h1 { margin: 0 0 .5rem; font-family: var(--hp-serif); font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.12; letter-spacing: -.015em; color: var(--hp-ink); }
.pd-addr { display: flex; align-items: center; gap: .4rem; margin: 0; color: var(--hp-muted); }
.pd-addr svg { width: 17px; height: 17px; fill: none; stroke: var(--hp-red); stroke-width: 2; }
.pd-price { text-align: right; flex: none; }
.pd-price > strong { display: block; font-family: var(--hp-serif); font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--hp-blue-dk); line-height: 1; margin-bottom: .9rem; }
.pd-tools { display: flex; gap: .4rem; justify-content: flex-end; }
.pd-tool { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .8rem; border-radius: 10px; border: 1px solid var(--hp-line); background: #fff; font: inherit; font-size: .84rem; font-weight: 650; color: var(--hp-ink); cursor: pointer; transition: all .2s; }
.pd-tool svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.pd-tool:hover { border-color: var(--hp-blue); color: var(--hp-blue); }
.pd-tool.is-saved { color: var(--hp-red); border-color: rgba(225, 6, 0, .35); background: #fff5f5; }
.pd-tool.is-saved svg { fill: currentColor; }
.pd-gallery { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: .8rem; }
.pd-gallery:not(:has(.pd-thumbs)) { grid-template-columns: 1fr; }
.pd-main { position: relative; margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; max-height: min(62vh, 560px); width: 100%; background: #e9eef6; box-shadow: 0 34px 70px -44px rgba(7, 19, 49, .7); }
.pd-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--pm-ease); }
.pd-main:hover img { transform: scale(1.03); }
.pd-main img.is-swap { animation: pm-fade .5s var(--pm-ease); }
.pd-badge { position: absolute; top: 1rem; left: 1rem; padding: .4rem .8rem; border-radius: 999px; background: var(--hp-red); color: #fff; font-size: .75rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.pd-counter { position: absolute; right: 1rem; bottom: 1rem; padding: .4rem .75rem; border-radius: 999px; background: rgba(7, 19, 49, .6); backdrop-filter: blur(6px); color: #fff; font-size: .78rem; font-weight: 650; }
.pd-thumbs { display: grid; gap: .8rem; align-content: start; height: 0; min-height: 100%; overflow: auto; scrollbar-width: thin; }
.pd-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; cursor: pointer; background: none; opacity: .7; transition: opacity .25s, border-color .25s, transform .25s; }
.pd-thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.pd-thumbs button.is-on { opacity: 1; border-color: var(--hp-blue); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pd-body { padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem); }
.pd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(1.6rem, 3vw, 3rem); align-items: start; }
.pd-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin: 0 0 1.6rem; }
.pd-facts > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .8rem; align-items: center; padding: 1rem; border: 1px solid var(--hp-line); border-radius: 16px; background: #fff; transition: transform .3s var(--pm-ease), box-shadow .3s; }
.pd-facts > div:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(12, 63, 143, .5); }
.pd-facts svg { grid-row: span 2; width: 38px; height: 38px; padding: 8px; border-radius: 11px; background: #eef3ff; color: var(--hp-blue); fill: none; stroke: currentColor; stroke-width: 1.8; }
.pd-facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hp-muted); }
.pd-facts dd { margin: 0; font-weight: 750; color: var(--hp-ink); }
.pd-block { padding: 1.8rem 0; border-top: 1px solid var(--hp-line); }
.pd-block h2 { margin: 0 0 1rem; font-family: var(--hp-serif); font-weight: 600; font-size: 1.55rem; color: var(--hp-ink); }
.pd-lead { font-size: 1.08rem; line-height: 1.7; color: #26324a; }
.pd-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1.4rem; }
.pd-features li { display: flex; align-items: flex-start; gap: .6rem; color: #26324a; }
.pd-features svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #e3f5ec; stroke: #0f6b47; fill: none; stroke-width: 3; }
.pd-costs { display: grid; border: 1px solid var(--hp-line); border-radius: 18px; overflow: hidden; }
.pd-costs > div { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; }
.pd-costs > div + div { border-top: 1px solid var(--hp-line); }
.pd-costs small { display: block; color: var(--hp-muted); font-size: .8rem; }
.pd-costs strong { color: var(--hp-ink); }
.pd-costs .is-total { background: #e3f5ec; }
.pd-costs .is-total strong { color: #0f6b47; }
.pd-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.1rem 1.6rem; padding: 1.4rem; border-radius: 18px; background: var(--hp-bg); }
.pd-calc .pg-field { display: grid; grid-column: 1; grid-template-columns: 1fr auto; }
.pd-calc output { color: var(--hp-blue-dk); font-weight: 750; }
.pd-calc .pg-field input[type=range] { grid-column: 1 / -1; width: 100%; height: 22px; padding: 0; border: 0; background: none; box-shadow: none; accent-color: var(--hp-blue); }
.pd-calc-out { grid-column: 2; grid-row: 1 / span 3; display: grid; align-content: center; gap: .4rem; padding: 1.4rem; border-radius: 16px; background: linear-gradient(135deg, var(--hp-ink), var(--hp-blue-dk)); color: rgba(255, 255, 255, .8); }
.pd-calc-out strong { font-family: var(--hp-serif); font-size: 2rem; color: #fff; }
.pd-calc-out small { font-size: .78rem; line-height: 1.5; }
.pd-calc-out .pg-btn { justify-self: start; margin-top: .4rem; }
.pd-map { border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 7; background: #e9eef6; border: 1px solid var(--hp-line); }
.pd-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.pd-steps .pg-steps { margin: 0; }

.pd-side { position: sticky; top: 96px; display: grid; gap: 1rem; }
.pd-owner, .pd-pay { padding: 1.4rem; border-radius: 22px; background: #fff; border: 1px solid var(--hp-line); box-shadow: 0 30px 60px -40px rgba(7, 19, 49, .5); }
.pd-owner-head { display: flex; gap: .9rem; align-items: center; }
.pd-avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--hp-blue), var(--hp-blue-dk)); color: #fff; font-weight: 800; font-size: 1.3rem; }
.pd-owner-head strong { display: block; font-size: 1.08rem; color: var(--hp-ink); }
.pd-owner-head div span { display: inline-flex; align-items: center; gap: .3rem; font-size: .82rem; font-weight: 650; color: #0f6b47; }
.pd-owner-head div span svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 3; }
.pd-owner-contact { display: flex; gap: .5rem; margin: 1rem 0; }
.pd-owner-contact .pg-btn { flex: 1; }
.pd-tabs { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 12px; background: #f0f3f8; margin-bottom: 1rem; }
.pd-tabs button { padding: .55rem .3rem; border: 0; border-radius: 9px; background: none; font: inherit; font-size: .84rem; font-weight: 700; color: var(--hp-muted); cursor: pointer; transition: all .2s; }
.pd-tabs button[aria-selected=true] { background: #fff; color: var(--hp-blue); box-shadow: 0 1px 4px rgba(7, 19, 49, .14); }
.pd-form, .pd-form form { display: grid; gap: .8rem; }
.pd-form[hidden] { display: none; }
.pd-form:not([hidden]) { animation: pm-fade .45s var(--pm-ease); }
.pd-form .error { margin: 0; color: #b4231b; font-size: .84rem; font-weight: 600; }
.pd-gate { display: grid; gap: .7rem; text-align: center; padding: .6rem 0; }
.pd-gate > svg { justify-self: center; width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: #eef3ff; stroke: var(--hp-blue); fill: none; stroke-width: 2; }
.pd-gate p { margin: 0 0 .3rem; color: var(--hp-muted); font-size: .92rem; line-height: 1.55; }
.pd-mine { margin: 0; font-size: .88rem; color: var(--hp-muted); }
.pd-own { display: grid; gap: .6rem; }
.pd-own p { margin: 0; color: var(--hp-muted); }
.pd-pay h3 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .8rem; font-size: 1rem; color: var(--hp-ink); }
.pd-pay h3 svg { width: 18px; height: 18px; fill: none; stroke: #0f6b47; stroke-width: 2; }
.pd-pay-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; margin-bottom: .5rem; border: 1px solid var(--hp-line); border-radius: 14px; color: var(--hp-ink); transition: all .25s var(--pm-ease); }
.pd-pay-row:hover { border-color: var(--hp-blue); background: #f5f8ff; transform: translateX(3px); }
.pd-pay-row span { font-weight: 700; }
.pd-pay-row small { display: block; font-weight: 500; font-size: .8rem; color: var(--hp-muted); }
.pd-pay-row strong { color: var(--hp-blue-dk); }
.pd-pay p { margin: .4rem 0 0; font-size: .8rem; color: var(--hp-muted); }

@media print {
    .site-header, .site-footer, .pd-side, .pd-tools, .pd-thumbs, .pd-map, .pm-progress, .pm-top, .pd-calc { display: none !important; }
    .pd-layout { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
    .pl-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pl-loc, .pl-bar .pg-btn { grid-column: 1 / -1; }
    .pl-f + .pl-f { box-shadow: none; }
    .pd-layout { grid-template-columns: 1fr; }
    .pd-side { position: static; }
    .pd-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .pl-sort { margin-left: 0; }
    .pd-head { flex-direction: column; align-items: flex-start; }
    .pd-price { text-align: left; }
    .pd-tools { justify-content: flex-start; flex-wrap: wrap; }
    .pd-gallery { grid-template-columns: 1fr; }
    .pd-thumbs { height: auto; min-height: 0; grid-auto-flow: column; grid-auto-columns: 110px; overflow-x: auto; }
    .pd-main { aspect-ratio: 4 / 3; }
    .pd-features, .pd-calc { grid-template-columns: 1fr; }
    .pd-calc-out { grid-column: 1; grid-row: auto; }
    .pd-map { aspect-ratio: 4 / 3; }
}
/* ---------- Auth (sign in, register, password) ---------- */
.pg-auth { padding: clamp(2rem, 5vw, 4rem) 0; background: radial-gradient(70% 60% at 0% 0%, #eef3ff, transparent 70%), var(--hp-bg); }
.pg-auth-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: stretch; }
.pg-auth-card { padding: clamp(1.6rem, 4vw, 3rem); border-radius: 26px; background: #fff; border: 1px solid var(--hp-line); box-shadow: 0 40px 80px -50px rgba(7, 19, 49, .55); animation: pm-fade .7s var(--pm-ease) backwards; }
.pg-auth-card h1 { margin: 0 0 .5rem; font-family: var(--hp-serif); font-weight: 600; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.1; color: var(--hp-ink); }
.pg-auth-sub { margin: 0 0 1.8rem; color: var(--hp-muted); line-height: 1.6; }
.pg-auth-form { display: grid; gap: 1rem; }
.pg-auth-form .pg-btn { margin-top: .3rem; }
.pg-auth-form .error { margin: 0; color: #b4231b; font-size: .86rem; font-weight: 600; }
.pg-field-row { display: flex; justify-content: space-between; gap: 1rem; }
.pg-field-row a { font-weight: 600; color: var(--hp-blue); }
.pg-auth-alt { margin: 1.6rem 0 0; padding-top: 1.3rem; border-top: 1px solid var(--hp-line); color: var(--hp-muted); text-align: center; }
.pg-auth-alt a { font-weight: 700; color: var(--hp-blue); }
.pg-auth-side { position: relative; min-height: 520px; border-radius: 26px; overflow: hidden; background: var(--hp-night) center / cover no-repeat; display: flex; align-items: flex-end; padding: clamp(1rem, 2.5vw, 1.6rem); animation: pm-fade .9s var(--pm-ease) .1s backwards; }
.pg-auth-side::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 19, 49, .05) 30%, rgba(7, 19, 49, .85)); }
.pg-auth-glass { position: relative; width: 100%; padding: 1.6rem; border-radius: 20px; background: rgba(7, 19, 49, .45); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .16); color: #fff; }
.pg-auth-glass .pg-eyebrow { color: #8fb6ff; }
.pg-auth-glass h2 { margin: 0 0 1rem; font-family: var(--hp-serif); font-weight: 600; font-size: 1.7rem; color: #fff; }
.pg-auth-glass ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.pg-auth-glass li { display: flex; align-items: center; gap: .6rem; color: rgba(255, 255, 255, .9); }
.pg-auth-glass li svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--hp-red); fill: none; stroke: #fff; stroke-width: 3; }
.pg-roles { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 0; padding: 0; border: 0; }
.pg-roles label { position: relative; display: grid; gap: .2rem; padding: 1.1rem; border: 1.5px solid var(--hp-line); border-radius: 16px; cursor: pointer; transition: all .25s var(--pm-ease); }
.pg-roles label:hover { border-color: rgba(26, 86, 232, .5); transform: translateY(-2px); }
.pg-roles label:has(input:checked) { border-color: var(--hp-blue); background: #f3f7ff; box-shadow: 0 0 0 4px rgba(26, 86, 232, .1); }
.pg-roles input { position: absolute; top: 1rem; right: 1rem; left: auto; width: 18px !important; height: 18px; min-height: 0; margin: 0; padding: 0; accent-color: var(--hp-blue); }
.pg-roles svg { width: 34px; height: 34px; padding: 7px; margin-bottom: .4rem; border-radius: 10px; background: #eef3ff; fill: none; stroke: var(--hp-blue); stroke-width: 2; }
.pg-roles strong { color: var(--hp-ink); }
.pg-roles small { color: var(--hp-muted); }
.pg-note { display: flex; align-items: center; gap: .5rem; margin: 0; padding: .75rem 1rem; border-radius: 12px; background: #fff7e6; color: #7a5200; font-size: .88rem; font-weight: 600; }
.pg-note svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- Contact ---------- */
.pg-contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.pg-contact-info { display: grid; gap: 1.4rem; }
.pg-channels { display: grid; gap: .8rem; }
.pg-channel { position: relative; display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: 18px; background: #fff; border: 1px solid var(--hp-line); color: var(--hp-ink); overflow: hidden; transition: transform .35s var(--pm-ease), border-color .35s, box-shadow .35s; }
a.pg-channel:hover { transform: translateY(-3px); border-color: rgba(26, 86, 232, .35); box-shadow: 0 22px 44px -30px rgba(12, 63, 143, .55); }
.pg-channel .pg-ico { margin: 0; flex: none; }
.pg-channel small { display: block; font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--hp-muted); }
.pg-channel strong { display: block; font-size: 1.05rem; }
.pg-channel em { display: block; font-style: normal; font-size: .85rem; color: var(--hp-muted); }
.pg-shortcuts { padding: 1.3rem; border-radius: 20px; background: linear-gradient(135deg, var(--hp-ink), var(--hp-blue-dk)); color: #fff; }
.pg-shortcuts h3 { margin: 0 0 .6rem; font-size: 1rem; color: #fff; }
.pg-shortcuts a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; color: #fff; border-top: 1px solid rgba(255, 255, 255, .12); }
.pg-shortcuts a strong { display: block; }
.pg-shortcuts a small { display: block; color: rgba(255, 255, 255, .7); }
.pg-shortcuts svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s; }
.pg-shortcuts a:hover svg { transform: translateX(4px); }
.pg-contact-map { aspect-ratio: 21 / 7; }

/* ---------- Valuation ---------- */
.pg-split.pg-value { align-items: start; }
.pg-h2 { margin: 0 0 .8rem; font-family: var(--hp-serif); font-weight: 600; font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1.15; color: var(--hp-ink); }
.pg-lead-dark { color: #3d4a60; line-height: 1.7; font-size: 1.05rem; }
.pg-result { padding: clamp(1.6rem, 3vw, 2.2rem); border-radius: 22px; color: #fff; background: radial-gradient(80% 90% at 100% 0%, rgba(225, 6, 0, .3), transparent 60%), linear-gradient(135deg, var(--hp-night), var(--hp-blue-dk)); box-shadow: 0 40px 80px -45px rgba(7, 19, 49, .8); animation: pm-fade .7s var(--pm-ease) backwards; }
.pg-result .pg-eyebrow { color: #8fb6ff; }
.pg-result h2 { margin: 0 0 .6rem; font-size: 1.15rem; color: #fff; }
.pg-result-range { margin: 0 0 .5rem; font-family: var(--hp-serif); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; color: #fff; }
.pg-result-range span { color: rgba(255, 255, 255, .5); }
.pg-result .muted { color: rgba(255, 255, 255, .72); }
.pg-result .pg-btn.ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .3); }

/* ---------- Checkout and receipt ---------- */
.pg-checkout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.4rem, 3vw, 2.4rem); align-items: start; }
.pg-summary { position: sticky; top: 96px; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--hp-line); box-shadow: 0 30px 60px -40px rgba(7, 19, 49, .5); }
.pg-summary > img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.pg-summary-body { padding: 1.4rem; }
.pg-summary h2 { margin: 0 0 .3rem; font-family: var(--hp-serif); font-weight: 600; font-size: 1.45rem; color: var(--hp-ink); }
.pg-summary .muted { margin: 0 0 1rem; }
.pg-summary-note { margin: 1rem 0 0; font-size: .86rem; line-height: 1.55; color: var(--hp-muted); }
.pg-lines { margin: 1rem 0 0; border-top: 1px dashed #d3dceb; }
.pg-lines > div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed #d3dceb; }
.pg-lines dt { color: var(--hp-muted); }
.pg-lines dd { margin: 0; font-weight: 700; color: var(--hp-ink); }
.pg-lines .is-total dt { color: var(--hp-ink); font-weight: 700; }
.pg-lines .is-total dd { font-size: 1.35rem; color: var(--hp-blue-dk); }
.pg-seg-wide { display: flex; width: 100%; }
.pg-seg-wide > * { flex: 1; text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; }
.pg-seg a { padding: .5rem 1rem; border-radius: 9px; font-size: .88rem; font-weight: 650; color: var(--hp-muted); transition: all .2s; }
.pg-seg a:hover { color: var(--hp-ink); }
.pg-seg a.is-on { background: #fff; color: var(--hp-blue); box-shadow: 0 1px 3px rgba(7, 19, 49, .12); }
.pg-seg svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.pg-pay { display: grid; gap: 1rem; margin-bottom: 1rem; }
.pg-cardbox { display: grid; gap: 1rem; padding: 1.1rem; border-radius: 16px; background: linear-gradient(135deg, #f5f8ff, #fff); border: 1px solid var(--hp-line); }
.pg-cardbox[hidden], .pg-bankbox[hidden] { display: none; }
.pg-input-ico { position: relative; display: block; }
.pg-input-ico svg { position: absolute; left: .9rem; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--hp-muted); stroke-width: 1.8; pointer-events: none; }
.pg-field .pg-input-ico input { padding-left: 2.8rem !important; letter-spacing: .06em; }
.pg-bankbox { padding: 1rem 1.1rem; border-radius: 14px; background: #f5f8ff; border: 1px solid #d7e3ff; }
.pg-bankbox p { margin: 0 0 .35rem; }
.pg-bankbox p:last-child { margin: 0; }
.pg-bankbox code, .pg-receipt code { padding: .1rem .4rem; border-radius: 6px; background: #eef3ff; color: var(--hp-blue-dk); font-weight: 700; }
.pg-test { margin: .9rem 0 0; padding: .6rem .8rem; border-radius: 10px; background: #fff7e6; color: #7a5200; font-size: .8rem; }
.pg-test:empty { display: none; }
.pg-receipt-wrap { background: radial-gradient(60% 50% at 50% 0%, #eef3ff, transparent 70%), var(--hp-bg); }
.pg-receipt { max-width: 640px; margin: 0 auto; border-radius: 26px; background: #fff; border: 1px solid var(--hp-line); box-shadow: 0 40px 80px -50px rgba(7, 19, 49, .6); overflow: hidden; }
.pg-receipt-head { padding: 2.2rem 1.6rem 1.6rem; text-align: center; border-bottom: 1px dashed #d3dceb; }
.pg-receipt-ico { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 1rem; border-radius: 50%; background: #e3f5ec; animation: pg-pop .6s var(--pm-ease) backwards; }
.pg-receipt-ico svg { width: 32px; height: 32px; fill: none; stroke: #0f8a5f; stroke-width: 2.6; }
.pg-receipt-ico.is-pending { background: #fff4dc; }
.pg-receipt-ico.is-pending svg { stroke: #b07500; }
.pg-receipt-head .pg-eyebrow { justify-content: center; }
.pg-receipt-head h1 { margin: 0 0 .4rem; font-family: var(--hp-serif); font-weight: 600; font-size: 1.9rem; color: var(--hp-ink); }
.pg-receipt-amount { margin: 0 0 .7rem; font-family: var(--hp-serif); font-size: 2.6rem; font-weight: 600; color: var(--hp-blue-dk); }
.pg-receipt-lines { margin: 0; padding: .6rem 1.6rem; }
.pg-receipt-lines > div { display: flex; justify-content: space-between; gap: 1.5rem; padding: .8rem 0; border-bottom: 1px solid var(--hp-line); }
.pg-receipt-lines > div:last-child { border: 0; }
.pg-receipt-lines dt { color: var(--hp-muted); }
.pg-receipt-lines dd { margin: 0; text-align: right; font-weight: 650; color: var(--hp-ink); }
.pg-receipt-lines small { font-weight: 400; color: var(--hp-muted); }
.pg-receipt .pg-bankbox { margin: 0 1.6rem 1rem; }
.pg-receipt-actions { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; padding: 1.2rem 1.6rem 1.8rem; }
@keyframes pg-pop { from { opacity: 0; transform: scale(.6); } }
@media print {
    .pg-receipt-actions { display: none; }
    .pg-receipt { box-shadow: none; }
}
@media (max-width: 1000px) {
    .pg-auth-in, .pg-contact, .pg-checkout { grid-template-columns: 1fr; }
    .pg-auth-side { min-height: 320px; }
    .pg-summary { position: static; }
}
@media (max-width: 680px) {
    .pg-roles { grid-template-columns: 1fr; }
    .pg-auth-side { display: none; }
    .pg-contact-map { aspect-ratio: 4 / 3; }
}

.inv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.inv-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hp-line); border-radius: 20px; overflow: hidden; color: inherit; text-decoration: none; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.inv-card:hover { transform: translateY(-5px); box-shadow: 0 28px 50px -32px rgba(12, 63, 143, .5); color: inherit; }
.inv-card figure { position: relative; margin: 0; aspect-ratio: 16 / 10; background: #e8eef8; }
.inv-card figure img { width: 100%; height: 100%; object-fit: cover; }
.inv-card figure .tag { position: absolute; left: 12px; top: 12px; }
.inv-card > div { display: flex; flex-direction: column; gap: .45rem; padding: 1.1rem 1.15rem 1.2rem; flex: 1; }
.inv-card small { color: var(--hp-muted); font-weight: 650; letter-spacing: .04em; text-transform: uppercase; font-size: .72rem; }
.inv-card h3 { margin: 0; font-size: 1.15rem; }
.inv-card p { margin: 0; color: var(--hp-muted); font-size: .92rem; line-height: 1.5; }
.inv-card dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin: .4rem 0 0; }
.inv-card dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--hp-muted); }
.inv-card dd { margin: .15rem 0 0; font-weight: 700; font-size: .92rem; }
.inv-card .cl-goal { height: 7px; background: #edf1f8; border-radius: 99px; overflow: hidden; }
.inv-card .cl-goal i { display: block; height: 100%; background: linear-gradient(90deg, #1a56e8, #0c3f8f); }
.inv-detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.4rem; align-items: start; }
.inv-steps { margin: 0; padding-left: 1.15rem; display: grid; gap: .45rem; color: #3d4a60; font-size: .92rem; line-height: 1.5; }
@media (max-width: 860px) {
    .inv-detail { grid-template-columns: 1fr; }
    .inv-card dl { grid-template-columns: 1fr 1fr; }
}