/* ============================================================
   REALIVO PAGES — shared extensions of rv2-* system
   Used by: /trust, /portal, /private-clients, /deal-flow,
            /practices/* (hotels, commercial, business-sales)
   Extends home.css. Does NOT redefine any rv2 base class.
   ============================================================ */

/* ---------- 1. Section background + padding variants ---------- */
.rv2-sec--bone        { background: var(--bone);        color: var(--text-light); padding: 100px 0; }
.rv2-sec--bone-2      { background: var(--bone-2);      color: var(--text-light); padding: 100px 0; }
.rv2-sec--midnight    { background: var(--midnight);    color: var(--text-dark);  padding: 100px 0; }
.rv2-sec--midnight-2  { background: var(--midnight-2);  color: var(--text-dark);  padding: 100px 0; }
@media (max-width: 700px) {
    .rv2-sec--bone, .rv2-sec--bone-2,
    .rv2-sec--midnight, .rv2-sec--midnight-2 { padding: 64px 0; }
}

/* ---------- 2. Section head (kicker + h2 + intro) ---------- */
.rv2-sec-head {
    max-width: 880px;
    margin-bottom: 60px;
}
.rv2-sec-head .rv2-kicker { display: inline-block; margin-bottom: 18px; }
.rv2-sec-head h2 {
    font-family: var(--ff-serif);
    font-weight: 800;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.022em;
    margin: 0 0 24px;
}
.rv2-sec-head h2 em { font-style: italic; font-weight: 700; color: var(--brass-deep); }
.rv2-sec--midnight .rv2-sec-head h2 em,
.rv2-sec--midnight-2 .rv2-sec-head h2 em { color: var(--brass); }
.rv2-sec--midnight .rv2-sec-head h2,
.rv2-sec--midnight-2 .rv2-sec-head h2 { color: #fff; }
.rv2-sec-head p {
    font-family: var(--ff-sans);
    font-size: 17px;
    line-height: 1.7;
    color: var(--muted-light);
    max-width: 720px;
    margin: 0;
}
.rv2-sec--midnight .rv2-sec-head p,
.rv2-sec--midnight-2 .rv2-sec-head p { color: var(--muted-dark); }

/* ---------- 3. Page hero (light variant) ---------- */
.rv2-phero {
    background: var(--bone);
    color: var(--text-light);
    padding: 140px 0 80px;
    position: relative;
    border-bottom: 1px solid var(--rule-light);
}
.rv2-phero--midnight {
    background: var(--midnight);
    color: var(--text-dark);
    border-bottom: 1px solid var(--rule);
}
.rv2-phero--midnight h1, .rv2-phero--midnight .rv2-phero__sub { color: #fff; }
.rv2-phero--midnight .rv2-phero__sub { color: var(--muted-dark); }
.rv2-phero--midnight .rv2-phero__bc { color: var(--muted-dark); }
.rv2-phero--midnight .rv2-phero__bc a { color: var(--brass); }
.rv2-phero__bc {
    font-family: var(--ff-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted-light);
    margin-bottom: 32px;
}
.rv2-phero__bc a {
    color: var(--brass-deep);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
    transition: border-color var(--dur-hv);
}
.rv2-phero__bc a:hover { border-bottom-color: currentColor; }
.rv2-phero__bc-sep { margin: 0 12px; color: var(--rule-light); }
.rv2-phero h1 {
    font-family: var(--ff-serif);
    font-weight: 800;
    font-size: clamp(44px, 6vw, 88px);
    line-height: 1.0;
    letter-spacing: -0.025em;
    margin: 18px 0 32px;
    max-width: 1100px;
}
.rv2-phero h1 em {
    font-style: italic;
    font-weight: 700;
    color: var(--brass-deep);
}
.rv2-phero--midnight h1 em { color: var(--brass); }
.rv2-phero__sub {
    font-family: var(--ff-sans);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--muted-light);
    max-width: 720px;
    margin: 0 0 40px;
}
.rv2-phero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 4. KPI strip in page hero ---------- */
.rv2-phero__strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 56px;
    border-top: 1px solid var(--rule-light);
    border-left: 1px solid var(--rule-light);
}
.rv2-phero--midnight .rv2-phero__strip {
    border-top-color: var(--rule);
    border-left-color: var(--rule);
}
.rv2-phero__strip-item {
    flex: 1;
    min-width: 180px;
    padding: 28px 24px;
    border-right: 1px solid var(--rule-light);
    border-bottom: 1px solid var(--rule-light);
    background: rgba(255,255,255,0.35);
}
.rv2-phero--midnight .rv2-phero__strip-item {
    border-right-color: var(--rule);
    border-bottom-color: var(--rule);
    background: rgba(201,169,97,0.03);
}
.rv2-phero__strip-n {
    font-family: var(--ff-serif);
    font-weight: 800;
    font-size: 36px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--brass-deep);
    display: block;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}
.rv2-phero--midnight .rv2-phero__strip-n { color: var(--brass); }
.rv2-phero__strip-l {
    font-family: var(--ff-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted-light);
}
.rv2-phero--midnight .rv2-phero__strip-l { color: var(--muted-dark); }

/* ---------- 5. Pillar grid (bordered, 3-col) ---------- */
.rv2-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--rule-light);
    border-left: 1px solid var(--rule-light);
}
.rv2-sec--midnight .rv2-pillars,
.rv2-sec--midnight-2 .rv2-pillars {
    border-top-color: var(--rule);
    border-left-color: var(--rule);
}
.rv2-pillar {
    padding: 44px 40px;
    border-right: 1px solid var(--rule-light);
    border-bottom: 1px solid var(--rule-light);
    background: rgba(255,255,255,0.4);
    transition: background var(--dur-hv) var(--ease-spring);
}
.rv2-sec--midnight .rv2-pillar,
.rv2-sec--midnight-2 .rv2-pillar {
    border-right-color: var(--rule);
    border-bottom-color: var(--rule);
    background: rgba(201,169,97,0.03);
}
.rv2-pillar:hover { background: rgba(201,169,97,0.05); }
.rv2-sec--midnight .rv2-pillar:hover,
.rv2-sec--midnight-2 .rv2-pillar:hover { background: rgba(201,169,97,0.06); }
.rv2-pillar__num {
    font-family: var(--ff-serif);
    font-weight: 800;
    color: var(--brass-deep);
    font-size: 64px;
    line-height: 1;
    letter-spacing: -0.025em;
    margin-bottom: 24px;
    display: block;
}
.rv2-sec--midnight .rv2-pillar__num,
.rv2-sec--midnight-2 .rv2-pillar__num { color: var(--brass); }
.rv2-pillar__kicker {
    font-family: var(--ff-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brass-deep);
    margin-bottom: 12px;
    display: block;
}
.rv2-sec--midnight .rv2-pillar__kicker,
.rv2-sec--midnight-2 .rv2-pillar__kicker { color: var(--brass); }
.rv2-pillar h3 {
    font-family: var(--ff-serif);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--text-light);
    margin: 0 0 14px;
}
.rv2-sec--midnight .rv2-pillar h3,
.rv2-sec--midnight-2 .rv2-pillar h3 { color: #fff; }
.rv2-pillar p {
    font-family: var(--ff-sans);
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted-light);
    margin: 0;
}
.rv2-sec--midnight .rv2-pillar p,
.rv2-sec--midnight-2 .rv2-pillar p { color: var(--muted-dark); }
.rv2-pillar__verify {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-family: var(--ff-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brass-deep);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: color var(--dur-hv) var(--ease-spring);
}
.rv2-pillar__verify:hover { color: var(--text-light); }

/* ---------- 6. Step list (process steps) ---------- */
.rv2-steps {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--rule-light);
}
.rv2-sec--midnight .rv2-steps,
.rv2-sec--midnight-2 .rv2-steps { border-top-color: var(--rule); }
.rv2-step {
    padding: 36px 0;
    border-bottom: 1px solid var(--rule-light);
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: start;
}
.rv2-sec--midnight .rv2-step,
.rv2-sec--midnight-2 .rv2-step { border-bottom-color: var(--rule); }
.rv2-step__num {
    font-family: var(--ff-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brass-deep);
    padding-left: 22px;
    position: relative;
}
.rv2-sec--midnight .rv2-step__num,
.rv2-sec--midnight-2 .rv2-step__num { color: var(--brass); }
.rv2-step__num::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 14px;
    height: 1px;
    background: var(--brass-deep);
}
.rv2-sec--midnight .rv2-step__num::before,
.rv2-sec--midnight-2 .rv2-step__num::before { background: var(--brass); }
.rv2-step h3 {
    font-family: var(--ff-serif);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: var(--text-light);
    margin: 0 0 10px;
}
.rv2-sec--midnight .rv2-step h3,
.rv2-sec--midnight-2 .rv2-step h3 { color: #fff; }
.rv2-step p {
    font-family: var(--ff-sans);
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted-light);
    margin: 0;
    max-width: 640px;
}
.rv2-sec--midnight .rv2-step p,
.rv2-sec--midnight-2 .rv2-step p { color: var(--muted-dark); }
@media (max-width: 1100px) {
    .rv2-step { grid-template-columns: 1fr; gap: 12px; }
    .rv2-step__num { padding-left: 0; }
    .rv2-step__num::before { display: none; }
}

/* ---------- 7. Doc tiles (regulatory documents grid) ---------- */
.rv2-docs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--rule-light);
    border-left: 1px solid var(--rule-light);
}
.rv2-doc {
    padding: 32px 30px;
    border-right: 1px solid var(--rule-light);
    border-bottom: 1px solid var(--rule-light);
    background: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: background var(--dur-hv) var(--ease-spring);
    display: block;
}
.rv2-doc:hover { background: rgba(201,169,97,0.05); }
.rv2-doc__code {
    font-family: var(--ff-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--brass-deep);
    margin-bottom: 10px;
    display: block;
}
.rv2-doc h4 {
    font-family: var(--ff-serif);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-light);
    margin: 0 0 8px;
}
.rv2-doc p {
    font-family: var(--ff-sans);
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted-light);
    margin: 0 0 12px;
}
.rv2-doc__cta {
    font-family: var(--ff-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.rv2-doc__cta::after { content: '→'; transition: transform var(--dur-hv); }
.rv2-doc:hover .rv2-doc__cta::after { transform: translateX(4px); }

/* ---------- 8. Manifesto-style statement block ---------- */
.rv2-statement {
    padding: 80px 0;
    background: var(--bone);
}
.rv2-statement--dark { background: var(--midnight-2); color: var(--text-dark); }
.rv2-statement__inner {
    max-width: 920px;
    margin: 0 auto;
    padding-left: 32px;
    border-left: 2px solid var(--brass-deep);
}
.rv2-statement--dark .rv2-statement__inner { border-left-color: var(--brass); }
.rv2-statement p {
    font-family: var(--ff-serif);
    font-weight: 700;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.25;
    letter-spacing: -0.018em;
    color: var(--text-light);
    margin: 0;
}
.rv2-statement--dark p { color: #fff; }
.rv2-statement em {
    font-style: italic;
    color: var(--brass-deep);
    font-weight: 700;
}
.rv2-statement--dark em { color: var(--brass); }

/* ---------- 9. Final CTA block (3-routes on midnight) ---------- */
.rv2-cta-block {
    background: var(--midnight);
    color: var(--text-dark);
    padding: 110px 0;
    border-top: 1px solid var(--rule);
}
.rv2-cta-block__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}
.rv2-cta-block h2 {
    font-family: var(--ff-serif);
    font-weight: 800;
    font-size: clamp(36px, 4.5vw, 60px);
    line-height: 1.0;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 28px;
}
.rv2-cta-block h2 em { font-style: italic; color: var(--brass); font-weight: 700; }
.rv2-cta-block p {
    font-family: var(--ff-sans);
    font-size: 17px;
    line-height: 1.7;
    color: var(--muted-dark);
    max-width: 480px;
    margin: 0;
}
.rv2-cta-block__routes { display: flex; flex-direction: column; gap: 12px; }
.rv2-cta-block__route {
    padding: 24px 28px;
    background: rgba(201,169,97,0.04);
    border: 1px solid var(--rule);
    text-decoration: none;
    color: var(--text-dark);
    transition: all var(--dur-hv) var(--ease-spring);
    display: block;
}
.rv2-cta-block__route:hover { background: rgba(201,169,97,0.08); border-color: var(--brass); }
.rv2-cta-block__route-num {
    font-family: var(--ff-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--brass);
    display: block;
    margin-bottom: 6px;
}
.rv2-cta-block__route-title {
    font-family: var(--ff-serif);
    font-weight: 700;
    font-size: 22px;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 4px;
}
.rv2-cta-block__route-desc {
    font-family: var(--ff-sans);
    font-size: 13px;
    color: var(--muted-dark);
    line-height: 1.55;
}

/* ---------- 10. Mandate row (deal-flow / active mandates) ---------- */
.rv2-mandates {
    border-top: 1px solid var(--rule);
    background: var(--midnight);
    color: var(--text-dark);
}
.rv2-mandate {
    display: grid;
    grid-template-columns: 90px 1.4fr 1fr 1fr 140px;
    gap: 24px;
    padding: 24px 32px;
    border-bottom: 1px solid var(--rule);
    align-items: center;
    transition: background var(--dur-hv);
    text-decoration: none;
    color: inherit;
}
.rv2-mandate:hover { background: rgba(201,169,97,0.04); }
.rv2-mandate__tag {
    font-family: var(--ff-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--brass);
    text-transform: uppercase;
}
.rv2-mandate__desc {
    font-family: var(--ff-serif);
    font-weight: 700;
    font-size: 16px;
    color: #fff;
}
.rv2-mandate__meta {
    font-family: var(--ff-sans);
    font-size: 13px;
    color: var(--muted-dark);
}
.rv2-mandate__detail {
    font-family: var(--ff-mono);
    font-size: 12px;
    color: var(--text-dark);
    font-variant-numeric: tabular-nums;
}
.rv2-mandate__status {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 5px 12px;
    border: 1px solid rgba(31,111,71,0.4);
    background: rgba(31,111,71,0.12);
    color: #2EA376;
    text-align: center;
}
.rv2-mandate__status.warn {
    border-color: rgba(180,83,9,0.4);
    background: rgba(180,83,9,0.12);
    color: #D88A2F;
}
@media (max-width: 900px) {
    .rv2-mandate { grid-template-columns: 1fr; gap: 6px; padding: 18px 20px; }
    .rv2-mandate__status { width: fit-content; }
}

/* ---------- 11. Portal feature cards (4-up grid) ---------- */
.rv2-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--rule-light);
    border-left: 1px solid var(--rule-light);
}
.rv2-sec--midnight .rv2-features,
.rv2-sec--midnight-2 .rv2-features {
    border-top-color: var(--rule);
    border-left-color: var(--rule);
}
.rv2-feature {
    padding: 48px 44px;
    border-right: 1px solid var(--rule-light);
    border-bottom: 1px solid var(--rule-light);
    background: rgba(255,255,255,0.4);
}
.rv2-sec--midnight .rv2-feature,
.rv2-sec--midnight-2 .rv2-feature {
    border-right-color: var(--rule);
    border-bottom-color: var(--rule);
    background: rgba(201,169,97,0.03);
}
.rv2-feature__num {
    font-family: var(--ff-serif);
    font-weight: 800;
    font-size: 72px;
    line-height: 1;
    color: var(--brass-deep);
    margin-bottom: 24px;
    display: block;
}
.rv2-sec--midnight .rv2-feature__num,
.rv2-sec--midnight-2 .rv2-feature__num { color: var(--brass); }
.rv2-feature h3 {
    font-family: var(--ff-serif);
    font-weight: 700;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--text-light);
    margin: 0 0 14px;
}
.rv2-sec--midnight .rv2-feature h3,
.rv2-sec--midnight-2 .rv2-feature h3 { color: #fff; }
.rv2-feature p {
    font-family: var(--ff-sans);
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted-light);
    margin: 0;
}
.rv2-sec--midnight .rv2-feature p,
.rv2-sec--midnight-2 .rv2-feature p { color: var(--muted-dark); }

/* ---------- 12. Country grid (hotels/RE country links) ---------- */
.rv2-countries {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    border-top: 1px solid var(--rule-light);
    border-left: 1px solid var(--rule-light);
}
.rv2-country {
    padding: 28px 24px;
    border-right: 1px solid var(--rule-light);
    border-bottom: 1px solid var(--rule-light);
    background: rgba(255,255,255,0.4);
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: background var(--dur-hv);
}
.rv2-country:hover { background: rgba(201,169,97,0.05); }
.rv2-country__iso {
    font-family: var(--ff-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--brass-deep);
    margin-bottom: 8px;
    display: block;
}
.rv2-country__name {
    font-family: var(--ff-serif);
    font-weight: 700;
    font-size: 17px;
    color: var(--text-light);
    display: block;
    margin-bottom: 4px;
}
.rv2-country__cta {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--muted-light);
    text-transform: uppercase;
}

/* ---------- 13. Two-column FAQ ---------- */
.rv2-faq2 {
    border-top: 1px solid var(--rule-light);
    max-width: 980px;
}
.rv2-faq2 details {
    border-bottom: 1px solid var(--rule-light);
    padding: 28px 0;
}
.rv2-faq2 summary {
    font-family: var(--ff-serif);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.3;
    color: var(--text-light);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
.rv2-faq2 summary::-webkit-details-marker { display: none; }
.rv2-faq2 summary::after {
    content: '+';
    font-family: var(--ff-mono);
    font-size: 22px;
    color: var(--brass-deep);
    transition: transform var(--dur-hv);
    flex-shrink: 0;
}
.rv2-faq2 details[open] summary::after { transform: rotate(45deg); }
.rv2-faq2 details > div {
    margin-top: 16px;
    font-family: var(--ff-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted-light);
    max-width: 780px;
}

/* ---------- 14. Tags / asset-type pills ---------- */
.rv2-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}
.rv2-tag {
    font-family: var(--ff-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brass-deep);
    padding: 6px 12px;
    border: 1px solid var(--rule-light);
    background: rgba(255,255,255,0.4);
    border-radius: 2px;
    text-decoration: none;
    transition: all var(--dur-hv);
}
.rv2-tag:hover {
    color: #fff;
    background: var(--midnight);
    border-color: var(--midnight);
}

/* Responsive — collapse grids on narrow */
@media (max-width: 1100px) {
    .rv2-pillars { grid-template-columns: repeat(2, 1fr); }
    .rv2-docs { grid-template-columns: repeat(2, 1fr); }
    .rv2-features { grid-template-columns: 1fr; }
    .rv2-cta-block__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 700px) {
    .rv2-pillars { grid-template-columns: 1fr; }
    .rv2-docs { grid-template-columns: 1fr; }
    .rv2-phero { padding: 100px 0 60px; }
}

/* ---------- Authority Strip (home, after Trust Strip) ---------- */
.rv2-authority {
  background: var(--midnight-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 32px 0;
}
.rv2-authority__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid var(--rule);
}
.rv2-authority__item {
  padding: 20px 28px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  transition: background 200ms;
}
a.rv2-authority__item:hover { background: rgba(201,169,97,0.04); }
.rv2-authority__num {
  font-family: var(--ff-serif);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.018em;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}
.rv2-authority__label {
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
@media (max-width: 900px) {
  .rv2-authority__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .rv2-authority__inner { grid-template-columns: 1fr; }
}
