/*
Theme Name: Digital Broker
Theme URI: https://digitalbroker.pl/
Author: Karol Oleszek
Author URI: https://propertly.io
Description: Motyw dla agencji Digital Broker – lokalni eksperci ds. nieruchomości. Zespół, oddziały, ulice, kariera, blog i wycena SonarHome; oferty, agenci i formularze z wtyczki Real Estate Offers (Propertly).
Version: 1.2.0
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digitalbroker
*/

/* ==========================================================================
   Tokens (brand colours from the previous site)
   ========================================================================== */
:root {
    --ink: #101828;
    --ink-2: #1d2939;
    --slate: #344054;
    --muted: #667085;
    --line: #eaecf0;
    --surface: #f9fafb;
    --white: #ffffff;
    --orange: #fb6514;
    --orange-deep: #e04f00;
    --indigo: #444ce7;
    --indigo-deep: #3538cd;
    --indigo-soft: #eef0ff;
    --brand-gradient: linear-gradient(90deg, #fb6514 0%, #c2468f 50%, #444ce7 100%);

    --font: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

    --container: 1240px;
    --narrow: 760px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(64px, 8vw, 112px);
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 12px 32px -18px rgba(16, 24, 40, .25);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16.5px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--indigo-deep); }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4, h5, h6 { font-weight: 500; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .6em; color: inherit; }
p { margin: 0 0 1.1em; }

[hidden] { display: none !important; }
.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px;
    overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important;
}
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; color: var(--white); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.icon { width: 20px; height: 20px; flex: none; }
.muted { color: var(--muted); }

/* Brand devices */
.kicker {
    display: inline-flex; align-items: center; gap: 10px;
    margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--orange); text-decoration: none;
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 2px solid currentColor; }
.kicker-light { color: #ffb38a; }
.kicker-link:hover { color: var(--orange-deep); }
.brand-rule { display: block; height: 4px; background: var(--brand-gradient); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 22px;
    border: 1.5px solid transparent; border-radius: var(--radius-sm);
    font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn .icon-arrow { transition: transform .2s var(--ease); }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange-deep); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--indigo); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--ink); color: var(--white); }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.45); color: var(--white); background: rgba(255,255,255,.04); }
.btn-ghost-light:hover { border-color: var(--white); background: var(--white); color: var(--ink); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; color: var(--orange); transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--indigo); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow-light { color: var(--white); }
.link-arrow-light .icon { color: #ffb38a; }
.link-arrow-light:hover { color: var(--white); text-decoration: underline; }

/* ==========================================================================
   Header + mega navigation
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); transition: background-color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.is-scrolled .site-header { box-shadow: 0 12px 32px -26px rgba(16,24,40,.55); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.topbar { background: var(--ink); color: rgba(255,255,255,.7); font-size: 13px; letter-spacing: .01em; max-height: 44px; overflow: hidden; transition: max-height .3s var(--ease), opacity .3s; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.topbar-contact, .topbar-actions { display: flex; align-items: center; gap: 26px; }
.topbar a, .topbar-hours { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; transition: color .2s; }
.topbar a:hover { color: var(--white); }
.topbar .icon { width: 15px; height: 15px; opacity: .8; }
.topbar-social { display: inline-flex; gap: 14px; padding-left: 22px; border-left: 1px solid rgba(255,255,255,.14); }
.topbar-social .icon { width: 15px; height: 15px; }

.navbar { position: relative; }
.navbar-inner { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); min-height: 84px; }
.brand { flex: none; }
.site-logo { display: block; }
.site-logo-img { height: 38px; width: auto; }
.brand-light { display: none; }
.primary-nav { flex: 1; display: flex; justify-content: center; }
.navbar .nav-cta { flex: none; }

.nav-root { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(4px, 1.2vw, 18px); }
.nav-item { display: flex; align-items: center; }
.nav-link {
    position: relative; display: flex; align-items: center; gap: 8px;
    padding: 31px 10px; font-size: 15.5px; font-weight: 500; letter-spacing: -.005em; color: var(--ink); text-decoration: none; white-space: nowrap;
    transition: color .2s;
}
.nav-link::after {
    content: ""; position: absolute; left: 10px; right: 10px; bottom: 22px; height: 2px; border-radius: 2px;
    background: var(--brand-gradient); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-item:hover > .nav-link::after, .nav-item.is-open > .nav-link::after, .nav-item.is-current > .nav-link::after { transform: scaleX(1); }
.has-mega > .nav-link { padding-right: 4px; }
.has-mega > .nav-link::after { right: 4px; }
.mega-toggle { position: relative; width: 22px; height: 30px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; opacity: .55; }
.mega-toggle::before { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translate(-50%, -75%) rotate(45deg); transition: transform .25s var(--ease); }
.nav-item.is-open > .mega-toggle { opacity: 1; }
.nav-item.is-open > .mega-toggle::before { transform: translate(-50%, -25%) rotate(-135deg); }

/* Panel */
.mega {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-top: 1px solid var(--line);
    box-shadow: 0 40px 60px -40px rgba(16,24,40,.35);
    opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand-gradient); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease) .05s; }
.nav-item.is-open > .mega,
html:not(.js) .nav-item:hover > .mega, html:not(.js) .nav-item:focus-within > .mega { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.nav-item.is-open > .mega::before { transform: scaleX(1); }
.mega-inner { display: grid; grid-template-columns: 1.35fr 1fr .9fr 1.15fr; gap: 48px; padding-top: 44px; padding-bottom: 48px; }
.mega-inner:has(> .mega-links) { grid-template-columns: 2.1fr 1fr; }
.mega-title { margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.mega-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-cats li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px solid var(--line); }
.mega-cats li:last-child { border-bottom: 0; }
.mega-cat { display: block; flex: 1; padding: 9px 0; font-size: 19px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); text-decoration: none; transition: color .2s, transform .25s var(--ease); }
.mega-cat:hover { color: var(--indigo); transform: translateX(4px); }
.mega-cat-sub { display: flex; gap: 6px; }
.mega-cat-sub a { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--slate); text-decoration: none; transition: all .2s; }
.mega-cat-sub a:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

.mega-cities { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 2px; }
.mega-cities a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; margin: 0 -12px; border-radius: 10px; color: var(--ink); font-size: 15.5px; text-decoration: none; transition: background-color .2s, color .2s; }
.mega-cities a:hover { background: var(--surface); color: var(--indigo); }
.mega-cities em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--muted); background: var(--surface); border-radius: 999px; padding: 2px 9px; min-width: 32px; text-align: center; }
.mega-cities a:hover em { background: var(--indigo-soft); color: var(--indigo); }
.mega-more { font-size: 14px; }

.mega-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; align-content: start; }
.mega-links > li > a { display: block; padding: 14px 16px; margin: 0 -16px; border-radius: 12px; text-decoration: none; transition: background-color .2s; }
.mega-links > li > a:hover { background: var(--surface); }
.mega-link-label { display: flex; align-items: center; gap: 8px; font-size: 16.5px; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.mega-link-label::after { content: "→"; color: var(--orange); opacity: 0; transform: translateX(-6px); transition: all .25s var(--ease); }
.mega-links > li > a:hover .mega-link-label::after { opacity: 1; transform: none; }
.mega-link-desc { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.mega-links-plain { grid-template-columns: 1fr; gap: 0; }
.mega-links-plain a { display: block; padding: 8px 0; color: var(--ink); font-size: 15.5px; text-decoration: none; }
.mega-links-plain a:hover { color: var(--indigo); }

.mega-feature {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 260px; padding: 26px;
    border-radius: var(--radius); overflow: hidden; isolation: isolate; color: var(--white); text-decoration: none;
    background: var(--ink) var(--img) center / cover no-repeat;
}
.mega-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,24,40,.05) 0%, rgba(16,24,40,.88) 78%); transition: background-color .3s; }
.mega-feature::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--brand-gradient); }
.mega-feature:hover { color: var(--white); }
.mega-feature-title { font-size: 20px; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.mega-feature-text { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.78); }
.mega-feature-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 14.5px; font-weight: 600; }
.mega-feature-cta .icon { width: 18px; height: 18px; color: #ffb38a; transition: transform .25s var(--ease); }
.mega-feature:hover .mega-feature-cta .icon { transform: translateX(4px); }

/* Dim page behind an open panel */
.mega-scrim { position: fixed; inset: 0; z-index: 999; background: rgba(16,24,40,.32); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.mega-open .mega-scrim { opacity: 1; visibility: visible; }

.nav-toggle, .mobile-nav-extra { display: none; }
.nav-toggle { background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; color: var(--ink); }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle-close { display: none; }

/* Transparent header over the home hero */
.has-overlay-header .site-header { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: rgba(255,255,255,.14); }
.has-overlay-header .topbar { background: rgba(16,24,40,.35); transition: background-color .25s; }
.has-overlay-header.mega-open .topbar { background: var(--ink); }
.has-overlay-header .nav-link, .has-overlay-header .mega-toggle, .has-overlay-header .nav-toggle { color: var(--white); }
.has-overlay-header .brand-dark { display: none; }
.has-overlay-header .brand-light { display: block; }
.has-overlay-header.is-scrolled .site-header,
.has-overlay-header.mega-open .site-header,
.has-overlay-header.nav-open .site-header { background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-color: var(--line); }
.has-overlay-header.is-scrolled .topbar { max-height: 0; opacity: 0; }
.has-overlay-header.is-scrolled .nav-link, .has-overlay-header.mega-open .nav-link,
.has-overlay-header.is-scrolled .mega-toggle, .has-overlay-header.mega-open .mega-toggle,
.has-overlay-header.is-scrolled .nav-toggle, .has-overlay-header.nav-open .nav-toggle { color: var(--ink); }
.has-overlay-header.is-scrolled .brand-dark, .has-overlay-header.mega-open .brand-dark, .has-overlay-header.nav-open .brand-dark { display: block; }
.has-overlay-header.is-scrolled .brand-light, .has-overlay-header.mega-open .brand-light, .has-overlay-header.nav-open .brand-light { display: none; }

@media (max-width: 1240px) {
    .topbar-hours { display: none; }
    .mega-inner { grid-template-columns: 1.3fr 1fr 1fr; }
    .mega-inner > .mega-feature:last-child:nth-child(4) { display: none; }
}
@media (max-width: 1100px) {
    /* backdrop-filter would become the containing block of the fixed off-canvas menu */
    .site-header { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
    .site-header, .has-overlay-header.is-scrolled .site-header, .has-overlay-header.nav-open .site-header { background: var(--white); }
    .has-overlay-header:not(.is-scrolled):not(.nav-open) .site-header { background: transparent; }
    .topbar { display: none; }
    .navbar-inner { min-height: 70px; justify-content: space-between; }
    .site-logo-img { height: 32px; }
    .nav-cta { display: none; }
    .nav-toggle { display: block; }
    .nav-open .nav-toggle-open { display: none; }
    .nav-open .nav-toggle-close { display: block; }
    .mega-scrim { display: none; }
    .primary-nav {
        position: fixed; inset: 70px 0 0 0; display: block; background: var(--white); overflow-y: auto; padding: 8px var(--gutter) 40px;
        transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s;
    }
    .admin-bar .primary-nav { top: calc(70px + 46px); }
    .nav-open .primary-nav { transform: none; visibility: visible; }
    .nav-open { overflow: hidden; }
    .nav-root { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
    .nav-link, .has-overlay-header .nav-link { flex: 1; padding: 18px 0; font-size: 20px; letter-spacing: -.02em; color: var(--ink); }
    .nav-link::after { display: none; }
    .mega-toggle, .has-overlay-header .mega-toggle { width: 48px; height: 48px; color: var(--ink); opacity: 1; }
    .mega-toggle::before { width: 9px; height: 9px; }
    .mega { position: static; flex-basis: 100%; display: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: none; }
    .mega::before { display: none; }
    .nav-item.is-open > .mega { display: block; }
    .mega-inner, .mega-inner:has(> .mega-links) { display: block; padding: 0 0 18px; }
    .mega-inner > * + * { margin-top: 22px; }
    .mega-feature, .mega-inner > .mega-feature:last-child:nth-child(4) { display: none; }
    .mega-cat { font-size: 16.5px; }
    .mega-links { grid-template-columns: 1fr; gap: 0; }
    .mega-links > li > a { padding: 10px 0; margin: 0; }
    .mega-link-desc { display: none; }
    .mega-cities { grid-template-columns: 1fr 1fr; column-gap: 24px; }
    .mobile-nav-extra { display: grid; gap: 14px; margin-top: 28px; }
    .mobile-nav-phone { display: inline-flex; justify-content: center; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); text-decoration: none; }
}

/* ==========================================================================
   Action rail
   ========================================================================== */
.action-rail {
    position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 990;
    display: flex; flex-direction: column; gap: 6px; padding: 6px;
    background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
    border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.action-rail a { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: var(--ink); }
.action-rail a:nth-child(2) { background: var(--orange); color: var(--white); }
.action-rail .icon { width: 21px; height: 21px; }
.action-rail span {
    position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%);
    white-space: nowrap; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 500;
    padding: 7px 12px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s;
}
.action-rail a:hover, .action-rail a:focus-visible { background: var(--ink); color: var(--white); }
.action-rail a:hover span, .action-rail a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
@media (max-width: 1100px) {
    .action-rail { top: auto; bottom: 0; left: 0; right: 0; transform: none; flex-direction: row; justify-content: space-around; border-radius: 0; border-width: 1px 0 0; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
    .action-rail span { display: none; }
    body { padding-bottom: 60px; }
}

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero { position: relative; min-height: min(100vh, 920px); min-height: min(100svh, 920px); color: var(--white); background: var(--ink); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center 35%; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(16,24,40,.85) 0%, rgba(16,24,40,.55) 45%, rgba(16,24,40,.15) 100%), linear-gradient(0deg, rgba(16,24,40,.75) 0%, rgba(16,24,40,0) 45%);
}
.hero-content { position: relative; padding-top: 200px; padding-bottom: 48px; }
.hero-title { font-size: clamp(40px, 6vw, 80px); font-weight: 500; letter-spacing: -.035em; line-height: 1.02; max-width: 14ch; margin-bottom: 24px; }
.hero-text { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.85); max-width: 52ch; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { position: relative; padding-bottom: 40px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.stat-value { font-size: clamp(32px, 3.4vw, 46px); font-weight: 600; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.stat-value span { font-size: .55em; font-weight: 500; letter-spacing: -.01em; color: var(--muted); }
.stat-label { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.stats-glass .stat { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); backdrop-filter: blur(10px); }
.stats-glass .stat-value { color: var(--white); }
.stats-glass .stat-value span, .stats-glass .stat-label { color: rgba(255,255,255,.72); }
.stats-spaced { margin-top: 64px; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Partners */
.partners-band { border-bottom: 1px solid var(--line); padding: 28px 0; }
.partners-inner { display: flex; align-items: center; gap: 32px; }
.partners-label { flex: none; max-width: 190px; margin: 0; font-size: 14px; color: var(--muted); line-height: 1.4; }
.partners { list-style: none; margin: 0; padding: 0; flex: 1; display: grid; grid-template-columns: repeat(8, 1fr); gap: 18px; align-items: center; }
.partners img { width: 100%; max-width: 130px; margin: 0 auto; filter: grayscale(1); opacity: .65; transition: filter .25s, opacity .25s; }
.partners li:hover img { filter: none; opacity: 1; }
@media (max-width: 960px) { .partners-inner { flex-direction: column; align-items: flex-start; } .partners-label { max-width: none; } .partners { grid-template-columns: repeat(4, 1fr); width: 100%; } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: var(--section) 0; }
.section-tight { padding: 48px 0; }
.section-surface { background: var(--surface); }
.section-head { margin-bottom: clamp(32px, 4vw, 52px); max-width: 760px; }
.section-head-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: none; }
.section-title { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.03em; margin: 0; }

/* Two paths */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path { border-radius: 24px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 6px; }
.path-buy { background: var(--surface); border: 1px solid var(--line); }
.path-sell { background: var(--indigo); color: var(--white); position: relative; overflow: hidden; }
.path-sell::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 0 0 60px rgba(255,255,255,.04), 0 0 0 120px rgba(255,255,255,.03); pointer-events: none; }
.path-title { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.025em; margin-bottom: 8px; }
.path p { color: var(--slate); max-width: 52ch; }
.path-sell p { color: rgba(255,255,255,.85); }
.path .reo-search-bar { margin: 12px 0 18px; }
.path-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: auto; padding-top: 18px; position: relative; z-index: 1; }
.check-list { list-style: none; padding: 0; margin: 6px 0 12px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(255,255,255,.16); color: var(--white); }
.check-list-dark .icon { background: var(--indigo-soft); color: var(--indigo); }
@media (max-width: 900px) { .paths { grid-template-columns: 1fr; } }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; }
.pillar img { width: 60px; height: 60px; object-fit: contain; margin-bottom: 26px; }
.pillar h3 { font-size: 22px; margin-bottom: 12px; }
.pillar p { color: var(--slate); font-size: 15.5px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* Steps (a real sequence → numbered) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--line); counter-increment: step; }
.step::before { content: "0" counter(step); position: absolute; top: -14px; left: 0; padding-right: 12px; background: var(--white); font-weight: 600; font-size: 15px; color: var(--orange); }
.step:first-child { border-top-color: var(--orange); }
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--slate); font-size: 15.5px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-media { margin: 0; }
.about-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 24px; }
.about-body .section-title { margin-bottom: 20px; }
.about-body p { color: var(--slate); }
.about-branches { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; background: var(--surface); border-radius: var(--radius-sm); font-size: 15px; }
.about-branches .icon { color: var(--orange); margin-top: 2px; }
.about-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 26px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* People */
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person-card-link { display: block; height: 100%; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.person-card-link:hover { color: var(--ink); box-shadow: var(--shadow); transform: translateY(-3px); }
.person-card-media { aspect-ratio: 5 / 6; background: linear-gradient(180deg, var(--surface), #eef0f4); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.person-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person-card-initials { align-self: center; font-size: 64px; font-weight: 500; color: var(--muted); }
.person-card-body { padding: 18px 20px 20px; }
.person-card-name { font-size: 19px; margin: 0 0 4px; }
.person-card-role { margin: 0; color: var(--orange); font-size: 14px; font-weight: 600; }
.person-card-city { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 1024px) { .people-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .people-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .person-card-body { padding: 14px; } .person-card-name { font-size: 16px; } }

/* Valuation band */
.valuation-band { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.valuation-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 100% 0%, rgba(68,76,231,.55), transparent 60%), radial-gradient(40% 90% at 0% 100%, rgba(251,101,20,.28), transparent 60%); }
.valuation-inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.valuation-title { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.03em; }
.valuation-inner p { color: rgba(255,255,255,.8); max-width: 56ch; }
.valuation-actions { justify-self: end; text-align: right; }
.valuation-note { margin: 12px 0 0; font-size: 14px; color: rgba(255,255,255,.6) !important; }
@media (max-width: 860px) { .valuation-inner { grid-template-columns: 1fr; } .valuation-actions { justify-self: start; text-align: left; } }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.post-card-link:hover { color: var(--ink); box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card-date { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.post-card-title { font-size: 20px; line-height: 1.25; margin-bottom: 10px; }
.post-card-link:hover .post-card-title { color: var(--indigo); }
.post-card-excerpt { font-size: 15px; color: var(--slate); margin: 0; }
.post-card-text .post-card-body { border-top: 4px solid transparent; border-image: var(--brand-gradient) 1; }

/* Contact band */
.contact-band { background: var(--surface); padding: var(--section) 0; border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-band .kicker-light { color: var(--orange); }
.contact-lead { color: var(--slate); margin: 16px 0 28px; max-width: 44ch; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { color: var(--orange); margin-top: 3px; }
.contact-list a { color: var(--ink); text-decoration: none; font-size: 19px; font-weight: 500; }
.contact-list a:hover { color: var(--indigo); }
.contact-list span { color: var(--slate); }
.contact-form-panel { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Page header & content
   ========================================================================== */
.page-hero { position: relative; background: var(--ink); color: var(--white); padding: clamp(72px, 10vw, 128px) 0 clamp(56px, 7vw, 88px); overflow: hidden; }
.page-hero-media { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,24,40,.95), rgba(16,24,40,.55)); z-index: 0; }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-title { font-size: clamp(36px, 5vw, 64px); letter-spacing: -.035em; max-width: 20ch; margin: 0; }
.page-hero-subtitle { margin: 18px 0 0; max-width: 60ch; color: rgba(255,255,255,.8); font-size: 18px; }
.page-hero .brand-rule { position: absolute; left: 0; right: 0; bottom: 0; }

.breadcrumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,.65); }
.breadcrumbs li + li::before { content: "/"; margin: 0 10px; opacity: .5; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.valuation-hero .breadcrumbs ol, .person-hero .breadcrumbs ol, .post-hero .breadcrumbs ol { color: var(--muted); }
.valuation-hero .breadcrumbs a:hover, .person-hero .breadcrumbs a:hover, .post-hero .breadcrumbs a:hover { color: var(--ink); }

.page-body { padding-top: clamp(48px, 6vw, 80px); }
.page-body-tight { padding-top: 32px; }

.prose { font-size: 17.5px; line-height: 1.75; color: var(--ink-2); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 1.8em 0 .6em; }
.prose h3 { font-size: 23px; margin: 1.6em 0 .5em; }
.prose h4 { font-size: 19px; margin: 1.4em 0 .4em; }
.prose a { color: var(--indigo); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--orange); }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--orange); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose img { border-radius: var(--radius); margin: 1.6em auto; }
.prose figure { margin: 1.8em 0; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15.5px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface); font-weight: 600; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
.prose-compact { font-size: 16.5px; }
.prose .wp-block-button__link { border-radius: var(--radius-sm); background: var(--ink); color: var(--white); text-decoration: none; }

/* Landing pages built from sections */
.page-landing .landing-content > .db-section { padding: var(--section) 0; }
.page-landing .landing-content > .db-section:nth-child(even) { background: var(--surface); }
.db-section > .db-inner { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.db-narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)) !important; }
.db-section h2 { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -.03em; margin-bottom: 20px; }
.db-section p, .db-section li { color: var(--slate); font-size: 17px; }
.db-lead { font-size: 20px !important; color: var(--ink-2) !important; max-width: 60ch; }
.db-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.db-split img { border-radius: 24px; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.db-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.db-cards-2 { grid-template-columns: repeat(2, 1fr); }
.db-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.db-card h3 { font-size: 21px; margin-bottom: 10px; }
.db-card p { font-size: 15.5px; margin: 0; }
.db-card-num { display: inline-block; font-weight: 600; color: var(--orange); margin-bottom: 12px; }
.db-timeline { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; }
.db-timeline li { display: grid; grid-template-columns: 72px 1fr 320px; gap: 28px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.db-timeline li:last-child { border-bottom: 1px solid var(--line); }
.db-timeline .db-step-no { font-size: 40px; font-weight: 600; letter-spacing: -.04em; color: var(--orange); line-height: 1; }
.db-timeline h3 { font-size: 22px; margin: 0 0 8px; }
.db-timeline p { margin: 0; font-size: 16px; }
.db-timeline img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-sm); }
.db-faq { margin-top: 24px; border-top: 1px solid var(--line); }
.db-faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.db-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; font-size: 19px; font-weight: 500; color: var(--ink); }
.db-faq summary::-webkit-details-marker { display: none; }
.db-faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--orange); transition: transform .2s; }
.db-faq details[open] summary::after { transform: rotate(45deg); }
.db-faq details > div { padding: 0 0 18px; max-width: 70ch; }
.db-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.db-partners-grid { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.db-partners-grid li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; display: grid; place-items: center; }
.db-partners-grid img { max-width: 150px; margin: 0; border-radius: 0; }
@media (max-width: 900px) {
    .db-split { grid-template-columns: 1fr; }
    .db-cards, .db-cards-2 { grid-template-columns: 1fr; }
    .db-timeline li { grid-template-columns: 56px 1fr; }
    .db-timeline img { grid-column: 1 / -1; }
    .db-partners-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Posts */
.post-hero { padding: clamp(40px, 6vw, 72px) 0 0; }
.post-hero-title { font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -.03em; margin-bottom: 18px; }
.post-hero-meta { display: flex; gap: 18px; color: var(--muted); font-size: 15px; }
.post-hero-meta span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--line); margin-right: 18px; vertical-align: middle; }
.post-hero-media { margin-top: 36px; margin-bottom: 0; }
.post-hero-media img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 24px; }
.post-cta { margin-top: 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px 32px; background: var(--indigo-soft); border-radius: var(--radius); }
.post-cta-title { font-size: 21px; font-weight: 600; margin: 0 0 4px; }
.post-cta p { margin: 0; color: var(--slate); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.post-nav a { display: block; text-decoration: none; color: var(--ink); font-weight: 500; line-height: 1.35; }
.post-nav a:hover { color: var(--indigo); }
.post-nav span { display: block; font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.post-nav-next { text-align: right; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chips a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: none; background: var(--white); transition: all .15s; }
.chips a:hover { border-color: var(--ink); }
.chips a.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chips-wrap { margin-bottom: 24px; }

.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-size: 15px; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

.empty-state { text-align: center; }
.empty-state p { font-size: 18px; color: var(--slate); }
.empty-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 28px 0 40px; }
.search-form { display: flex; gap: 8px; max-width: 520px; margin: 0 auto; }
.search-form input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 16px; font: inherit; height: 48px; }

/* Valuation page */
.valuation-hero { position: relative; background: linear-gradient(180deg, var(--surface), var(--white)); padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 88px); }
.valuation-hero .brand-rule { position: absolute; left: 0; right: 0; bottom: 0; }
.valuation-hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.valuation-hero-title { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -.035em; }
.valuation-hero-text { position: sticky; top: 120px; }
.sonarhome-frame { background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.sonarhome-frame { padding: 16px 20px 20px; }
.sonarhome-frame iframe { display: block; width: 100%; min-height: 720px; border: 0; }
@media (max-width: 960px) { .valuation-hero-grid { grid-template-columns: 1fr; } .valuation-hero-text { position: static; } }

/* Contact page */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.contact-card h2 { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: 10px; }
.contact-card p, .contact-card address { margin: 0 0 6px; font-style: normal; font-size: 17px; }
.contact-big { font-size: 24px; font-weight: 500; color: var(--ink); text-decoration: none; }
.contact-big:hover { color: var(--indigo); }
.contact-form-title { font-size: 26px; margin-bottom: 18px; }
.map-band iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.9); }
@media (max-width: 900px) { .contact-page-grid { grid-template-columns: 1fr; } }

/* Team */
.team-intro { max-width: 760px; margin-bottom: 36px; }
.team-group { margin-top: 56px; scroll-margin-top: 120px; }
.team-group-title { font-size: 26px; display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.team-group-title span { font-size: 15px; color: var(--muted); font-weight: 500; }

.person-hero { position: relative; background: var(--surface); padding: clamp(40px, 6vw, 72px) 0 0; }
.person-hero .brand-rule { margin-top: 0; }
.person-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.person-hero-text { padding-bottom: clamp(40px, 6vw, 72px); }
.person-hero-name { font-size: clamp(38px, 5vw, 64px); letter-spacing: -.035em; margin-bottom: 8px; }
.person-hero-role { font-size: 19px; color: var(--orange); font-weight: 600; }
.person-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 28px; }
.person-bio { max-width: 62ch; color: var(--slate); }
.person-hero-media { margin: 0; align-self: end; }
.person-hero-media img { width: 100%; max-height: 640px; object-fit: contain; object-position: bottom; }
@media (max-width: 860px) { .person-hero-grid { grid-template-columns: 1fr; } .person-hero-media { order: -1; max-width: 360px; } }

/* Careers */
.careers-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.careers-title { font-size: 26px; margin-bottom: 18px; }
.job-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.job-item { position: relative; display: grid; gap: 4px; padding: 22px 60px 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.job-item:hover { border-color: var(--ink); box-shadow: var(--shadow); color: var(--ink); }
.job-item .icon { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--orange); }
.job-title { font-size: 19px; font-weight: 600; }
.job-lead { color: var(--slate); font-size: 15px; }
.job-meta { color: var(--indigo); font-size: 14px; font-weight: 600; }
.job-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.job-aside { position: sticky; top: 120px; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 18px; }
.job-facts { margin: 0; display: grid; gap: 14px; }
.job-facts dt { font-size: 13px; color: var(--muted); }
.job-facts dd { margin: 2px 0 0; font-weight: 600; }
@media (max-width: 900px) { .careers-grid, .job-grid { grid-template-columns: 1fr; } .job-aside { position: static; } }

/* Locations */
.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.city-card { position: relative; display: grid; gap: 4px; padding: 24px 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.city-card:hover { border-color: var(--ink); box-shadow: var(--shadow); color: var(--ink); }
.city-name { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.city-meta { color: var(--muted); font-size: 14px; }
.city-card .icon { position: absolute; right: 20px; top: 26px; color: var(--orange); }
.location-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.aside-title { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin: 0 0 12px; }
@media (max-width: 960px) { .city-grid { grid-template-columns: 1fr 1fr; } .location-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); font-size: 15px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-cta-title { font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; letter-spacing: -.025em; color: var(--white); margin: 0 0 6px; }
.footer-cta-text { margin: 0; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 36px; padding-top: 56px; padding-bottom: 56px; }
.footer-tagline { margin: 18px 0; max-width: 32ch; }
.footer-social { display: flex; gap: 14px; }
.footer-social a { color: var(--white); opacity: .8; }
.footer-social a:hover { opacity: 1; }
.footer-title { font-size: 14px; font-weight: 600; color: var(--white); letter-spacing: 0; margin-bottom: 16px; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-address { font-style: normal; margin-bottom: 12px; }
.footer-muted { color: rgba(255,255,255,.5); }
.footer-bar { border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.footer-bar p { margin: 0; }
.footer-legal { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.alignleft { float: left; margin: .4em 1.6em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.6em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Real Estate Offers plugin – in the Digital Broker language
   ========================================================================== */
.reo-theme-wrap { background: var(--white); }
.reo-theme-wrap .reo-content-wrapper { max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) var(--section); }
.reo-page, .reo-shortcode-wrapper { font-family: var(--font); color: var(--ink); }
.reo-page h1, .reo-page h2, .reo-page h3, .reo-shortcode-wrapper h2, .reo-shortcode-wrapper h3 { font-family: var(--font) !important; letter-spacing: -.02em; }

.reo-theme-wrap .reo-offers-hero-section,
.reo-theme-wrap .reo-agents-hero-section,
.reo-theme-wrap .reo-branches-hero-section { background: var(--ink); color: var(--white); padding: clamp(64px, 9vw, 112px) var(--gutter) 48px; margin-bottom: 48px; min-height: 0; overflow: hidden; }
.reo-theme-wrap .reo-offers-hero-background,
.reo-theme-wrap .reo-agents-hero-background,
.reo-theme-wrap .reo-branches-hero-background { opacity: .25; }
.reo-theme-wrap .reo-offers-hero-content h1,
.reo-theme-wrap .reo-agents-hero-content h1,
.reo-theme-wrap .reo-branches-hero-content h1 { font-weight: 500 !important; text-shadow: none !important; font-size: clamp(36px, 5vw, 60px) !important; letter-spacing: -.035em; color: var(--white) !important; }
.reo-theme-wrap .reo-offers-hero-subtitle, .reo-theme-wrap .reo-agents-subtitle { color: rgba(255,255,255,.8); text-shadow: none !important; }
.reo-theme-wrap .reo-category-nav { color: var(--white); }
.reo-category-nav a { border-radius: 999px; text-transform: none; letter-spacing: 0; font-size: 14.5px; font-weight: 500; }
.reo-theme-wrap .reo-category-nav a.is-active,
.reo-theme-wrap .reo-category-nav a:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.reo-theme-wrap .reo-filters-elevated { max-width: var(--container); margin-left: auto; margin-right: auto; }
.reo-page .reo-filters-container, .reo-shortcode-wrapper .reo-filters-container { background: var(--white) !important; color: var(--ink); border-radius: 20px !important; border: 0 !important; box-shadow: 0 30px 60px -40px rgba(0,0,0,.7) !important; }
.reo-filter-group label { font-size: 13px !important; font-weight: 600 !important; color: var(--muted) !important; }
.reo-filter-group select, .reo-filter-group input { border-radius: var(--radius-sm) !important; border-color: var(--line) !important; font-family: var(--font) !important; min-height: 46px; }
.reo-filter-group select:focus, .reo-filter-group input:focus { border-color: var(--indigo) !important; box-shadow: 0 0 0 4px rgba(68,76,231,.12) !important; outline: none; }

.reo-btn, .reo-submit-btn { border-radius: var(--radius-sm) !important; font-family: var(--font) !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important; }
.reo-btn-primary, .reo-submit-btn { background: var(--ink) !important; border-color: var(--ink) !important; color: var(--white) !important; }
.reo-btn-primary:hover, .reo-submit-btn:hover { background: var(--indigo) !important; border-color: var(--indigo) !important; }
.reo-btn-secondary { background: var(--white) !important; border: 1.5px solid var(--line) !important; color: var(--ink) !important; }
.reo-btn-secondary:hover { border-color: var(--ink) !important; }

.reo-offers-grid { gap: 24px !important; }
.reo-offer-card { border-radius: var(--radius) !important; border: 1px solid var(--line) !important; box-shadow: none !important; overflow: hidden; background: var(--white) !important; transition: box-shadow .25s, transform .25s !important; }
.reo-offer-card:hover { transform: translateY(-3px); box-shadow: var(--shadow) !important; }
.reo-offer-image { border-radius: 0 !important; aspect-ratio: 4 / 3; }
.reo-offer-badge { border-radius: 999px !important; background: rgba(16,24,40,.78) !important; color: var(--white) !important; font-size: 12px !important; font-weight: 600; backdrop-filter: blur(6px); }
.reo-offer-badge svg { display: none; }
.reo-carousel-nav { border-radius: 50% !important; }
.reo-offer-content { padding: 20px 22px 22px !important; }
.reo-offer-title { font-weight: 600 !important; font-size: 18px !important; line-height: 1.3 !important; }
.reo-offer-title a { color: var(--ink) !important; text-decoration: none; }
.reo-offer-title a:hover { color: var(--indigo) !important; }
.reo-offer-location { color: var(--muted) !important; font-size: 14px !important; }
.reo-offer-price { font-weight: 600 !important; color: var(--ink) !important; letter-spacing: -.02em; }
.reo-offer-details { border-color: var(--line) !important; color: var(--slate); }

.reo-results-info { background: transparent !important; box-shadow: none !important; border: 0 !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important; padding: 0 0 16px !important; margin-bottom: 32px !important; color: var(--muted); }
.reo-sorting select { border-radius: var(--radius-sm) !important; border-color: var(--line) !important; }
.reo-page-link { border-radius: var(--radius-sm) !important; border-color: var(--line) !important; color: var(--ink) !important; }
.reo-page-link.reo-current, a.reo-page-link:hover { background: var(--ink) !important; border-color: var(--ink) !important; color: var(--white) !important; }
.reo-no-results { border-radius: var(--radius) !important; background: var(--surface) !important; border: 1px solid var(--line) !important; }

.reo-agent-card-item { border-radius: var(--radius) !important; box-shadow: none !important; border: 1px solid var(--line) !important; overflow: hidden; }
.reo-agent-card-name { font-weight: 600 !important; }
.reo-page .reo-agent-hero { margin-bottom: clamp(48px, 6vw, 80px) !important; }
.reo-page .reo-agent-name-hero { color: var(--white) !important; text-shadow: none !important; font-weight: 500 !important; letter-spacing: -.02em; }

.reo-page .reo-map-modern, .reo-page #reo-map { position: relative; z-index: 0; isolation: isolate; }

/* Search bar shortcode */
.reo-search-bar { display: grid; grid-template-columns: minmax(140px, 1.15fr) minmax(130px, 1fr) 1.3fr auto; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.reo-search-field { display: flex; flex-direction: column; padding: 10px 16px; border-right: 1px solid var(--line); min-width: 0; }
.reo-search-field:nth-child(4) { display: none; }
.reo-search-field label { font-size: 12px; font-weight: 600; color: var(--muted); }
.reo-search-field select, .reo-search-field input { border: 0; background: transparent; padding: 4px 0; margin: 0; font: inherit; font-size: 15px; color: var(--ink); width: 100%; appearance: none; -webkit-appearance: none; }
.reo-search-field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 9px) 55%, calc(100% - 4px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 20px; }
.reo-search-field select:focus, .reo-search-field input:focus { outline: none; }
.reo-search-field:focus-within { background: var(--surface); }
.reo-search-submit { border: 0; background: var(--ink); color: var(--white); cursor: pointer; padding: 0 26px; font: inherit; font-weight: 600; transition: background-color .2s; }
.reo-search-submit:hover { background: var(--indigo); }
@media (max-width: 600px) {
    .reo-search-bar { grid-template-columns: 1fr 1fr; }
    .reo-search-field { border-bottom: 1px solid var(--line); }
    .reo-search-field:nth-child(2) { border-right: 0; }
    .reo-search-field-wide { grid-column: 1 / -1; border-right: 0; }
    .reo-search-submit { grid-column: 1 / -1; min-height: 50px; }
}

.reo-contact-form .reo-form-group > label { font-size: 13px; font-weight: 600; color: var(--muted); }
.reo-contact-form .reo-form-group > label:has(input[type="checkbox"]) { font-weight: 400; font-size: 13.5px; }
.reo-contact-form input[type="text"], .reo-contact-form input[type="email"], .reo-contact-form input[type="tel"], .reo-contact-form textarea { border-radius: var(--radius-sm) !important; border: 1px solid var(--line) !important; font-family: var(--font) !important; font-size: 15.5px !important; }
.reo-contact-form input:focus, .reo-contact-form textarea:focus { border-color: var(--indigo) !important; box-shadow: 0 0 0 4px rgba(68,76,231,.12) !important; outline: none; }
.contact-form-panel .reo-contact-form-wrapper { background: transparent !important; padding: 0 !important; box-shadow: none !important; border: 0 !important; }
.reo-submit-btn { background: var(--orange) !important; border-color: var(--orange) !important; min-height: 50px; }
.reo-submit-btn:hover { background: var(--orange-deep) !important; border-color: var(--orange-deep) !important; }

.reo-theme-wrap .reo-custom-header, .reo-theme-wrap .reo-custom-footer { display: none; }

/* ==========================================================================
   Offer card (all listings)
   ========================================================================== */
.offers-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
@media (max-width: 1024px) { .offers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .offers-grid { grid-template-columns: 1fr; } }
.reo-offers-grid { gap: 36px 28px !important; }

.offer-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: transparent; }
.offer-card-media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, #eef0f4, var(--surface)); isolation: isolate; }
.offer-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity .6s var(--ease); }
.offer-card-media .offer-card-alt { opacity: 0; }
.offer-card:hover .offer-card-media img { transform: scale(1.045); }
.offer-card:hover .offer-card-media .offer-card-alt { opacity: 1; }
.offer-card-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(16,24,40,.42)); pointer-events: none; }
.offer-card-type { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink); font-size: 12.5px; font-weight: 600; letter-spacing: .01em; box-shadow: 0 6px 18px -10px rgba(16,24,40,.5); }
.offer-card-count { position: absolute; right: 14px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; color: var(--white); font-size: 13px; font-weight: 600; }
.offer-card-count .icon { width: 16px; height: 16px; }
.offer-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 2px 0; }
.offer-card-place { margin: 0 0 6px; font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offer-card-title { margin: 0 0 12px; font-size: 18.5px; font-weight: 500; line-height: 1.32; letter-spacing: -.015em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.offer-card-title a { color: var(--ink); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s var(--ease); }
.offer-card-title a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.offer-card:hover .offer-card-title a { background-size: 100% 1px; }
.offer-card-specs { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 16px; padding: 0; font-size: 14.5px; color: var(--slate); }
.offer-card-specs li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 10px 3px; border-radius: 50%; background: #d0d5dd; }
.offer-card-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.offer-card-price { font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.offer-card-ppm { font-size: 13.5px; color: var(--muted); white-space: nowrap; }

/* ==========================================================================
   Offer detail
   ========================================================================== */
.offer-page { padding-top: clamp(24px, 3vw, 40px); }
.breadcrumbs-dark ol { color: var(--muted); }
.breadcrumbs-dark a:hover { color: var(--ink); }
.offer-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; margin-bottom: 28px; }
.offer-head-main { flex: 1 1 560px; min-width: 0; }
.offer-title { margin: 0 0 12px; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.08; letter-spacing: -.035em; max-width: 22ch; }
.offer-place { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--slate); font-size: 16px; }
.offer-place .icon { width: 18px; height: 18px; color: var(--orange); }
.offer-head-price { text-align: right; }
.offer-price { margin: 0; font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.offer-ppm { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
@media (max-width: 720px) { .offer-head-price { text-align: left; } }

.offer-gallery { position: relative; display: grid; gap: 10px; height: clamp(320px, 46vw, 600px); border-radius: 20px; overflow: hidden; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.offer-gallery-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.offer-gallery-2 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
.offer-gallery-3 { grid-template-columns: 2fr 1fr; }
.offer-gallery-4 { grid-template-columns: 2fr 1fr 1fr; }
.offer-gallery-item { position: relative; padding: 0; border: 0; background: var(--surface); cursor: zoom-in; overflow: hidden; min-height: 0; }
.offer-gallery-item:first-child { grid-row: 1 / -1; }
.offer-gallery-4 .offer-gallery-item:nth-child(4) { grid-column: 2 / -1; }
.offer-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .4s; }
.offer-gallery-item:hover img { transform: scale(1.035); filter: brightness(.92); }
.offer-gallery-actions { position: absolute; right: 18px; bottom: 18px; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.chip-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border: 0; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; box-shadow: 0 8px 24px -12px rgba(16,24,40,.55); transition: background-color .2s, color .2s; }
.chip-btn .icon { width: 17px; height: 17px; }
.chip-btn:hover { background: var(--ink); color: var(--white); }
@media (max-width: 720px) {
    .offer-gallery, .offer-gallery-3, .offer-gallery-4 { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 72vw; margin: 0 calc(-1 * var(--gutter)); border-radius: 0; }
    .offer-gallery-item:not(:first-child) { display: none; }
    .offer-gallery-actions { right: 12px; bottom: 12px; }
}

.offer-keyfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 28px 0 0; border: 1px solid var(--line); border-radius: var(--radius); }
.offer-keyfacts > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 20px 24px; }
.offer-keyfacts > div + div { border-left: 1px solid var(--line); }
.offer-keyfacts .icon { grid-row: 1 / 3; width: 26px; height: 26px; color: var(--indigo); }
.offer-keyfacts dt { order: 2; font-size: 13px; color: var(--muted); }
.offer-keyfacts dd { order: 1; margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
@media (max-width: 720px) { .offer-keyfacts { grid-template-columns: 1fr 1fr; } .offer-keyfacts > div:nth-child(odd) { border-left: 0; } .offer-keyfacts > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

.offer-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(40px, 5vw, 80px); align-items: start; padding-bottom: var(--section); }
.offer-block { padding: 48px 0; border-bottom: 1px solid var(--line); }
.offer-block:last-child { border-bottom: 0; }
.offer-block-title { font-size: 26px; margin-bottom: 24px; }
.offer-description { color: var(--slate); font-size: 17px; line-height: 1.75; position: relative; }
.offer-description.is-clamped { max-height: 340px; overflow: hidden; }
.offer-description.is-clamped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, rgba(255,255,255,0), var(--white)); }
.offer-more { margin-top: 18px; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; cursor: pointer; }
.offer-more[aria-expanded="true"] .icon { transform: rotate(-90deg); }

.offer-facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; margin: 0; }
.offer-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.offer-facts dt { color: var(--muted); }
.offer-facts dd { margin: 0; font-weight: 600; text-align: right; }
@media (max-width: 640px) { .offer-facts { grid-template-columns: 1fr; } }

.offer-amenities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 24px; }
.offer-amenities li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; }
.offer-amenities .icon { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--indigo-soft); color: var(--indigo); }
@media (max-width: 640px) { .offer-amenities { grid-template-columns: 1fr 1fr; } }

.offer-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.offer-plans a { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--white); }
.offer-plans img { width: 100%; height: 260px; object-fit: contain; }

.offer-map-note { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.offer-map-note .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--orange); }
.offer-map-note strong { color: var(--ink); font-weight: 600; font-size: 15.5px; }
.offer-map { position: relative; z-index: 0; isolation: isolate; height: 440px; border-radius: 20px; overflow: hidden; background: #eef0f4; border: 1px solid var(--line); }
.offer-map .leaflet-tile-pane { filter: grayscale(1) contrast(.92) brightness(1.05) opacity(.9); }
.offer-map .leaflet-control-zoom { border: 0 !important; box-shadow: 0 8px 24px -12px rgba(16,24,40,.45) !important; border-radius: 12px !important; overflow: hidden; margin: 16px !important; }
.offer-map .leaflet-control-zoom a { width: 38px !important; height: 38px !important; line-height: 38px !important; color: var(--ink) !important; font: 500 18px/38px var(--font) !important; border-color: var(--line) !important; }
.offer-map .leaflet-control-attribution { font-size: 10.5px; background: rgba(255,255,255,.75) !important; }
.map-pin { width: 120px; height: 120px; background: none; border: 0; }
.map-pin::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(68,76,231,.22) 0%, rgba(68,76,231,.12) 55%, rgba(68,76,231,0) 70%); animation: pin-pulse 3s var(--ease) infinite; }
.map-pin span { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); border: 3px solid var(--white); box-shadow: 0 10px 24px -8px rgba(16,24,40,.6); }
.map-pin span::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; padding: 3px; background: var(--brand-gradient); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.map-pin .icon { width: 20px; height: 20px; }
@keyframes pin-pulse { 0%, 100% { transform: scale(.85); opacity: 1; } 50% { transform: scale(1); opacity: .65; } }

.offer-aside { position: sticky; top: 124px; padding-top: 48px; }
.admin-bar .offer-aside { top: 156px; }
.advisor-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 30px 60px -44px rgba(16,24,40,.45); }
.advisor-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.advisor-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; background: var(--surface); }
.advisor-label { margin: 0 0 2px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.advisor-name { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.advisor-role { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.advisor-actions { display: grid; gap: 10px; }
.advisor-form { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.advisor-form-title { margin: 0 0 4px; font-weight: 600; font-size: 16px; }
.advisor-form .reo-contact-form-wrapper, .advisor-form .reo-contact-form-embedded { background: transparent !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; border: 0 !important; }
.advisor-form .reo-contact-form-wrapper h3, .advisor-form .reo-contact-form-embedded h3 { display: none; }
.advisor-form .reo-form-group { margin-bottom: 12px !important; }
.advisor-form textarea { min-height: 96px; }
.advisor-form .consent-text { font-size: 12px; line-height: 1.45; color: var(--muted); }
.share-row { display: flex; align-items: center; gap: 6px; margin-top: 16px; padding: 0 6px; font-size: 14px; color: var(--muted); }
.share-row span { margin-right: auto; }
.share-row a, .share-row button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; transition: all .2s; position: relative; }
.share-row a:hover, .share-row button:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.share-row .icon { width: 17px; height: 17px; }
.share-row button.is-copied::after { content: "Skopiowano"; position: absolute; bottom: calc(100% + 8px); right: 0; padding: 5px 10px; border-radius: 6px; background: var(--ink); color: var(--white); font-size: 12px; white-space: nowrap; }
@media (max-width: 1024px) {
    .offer-layout { grid-template-columns: 1fr; gap: 0; }
    .offer-aside { position: static; padding-top: 0; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; background: rgba(10,14,24,.96); color: var(--white); }
.lightbox[hidden] { display: none; }
.lightbox-stage { grid-column: 2; margin: 0; height: 100vh; height: 100dvh; padding: 64px 0; display: grid; place-items: center; }
.lightbox-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lightbox-stage iframe { width: min(1280px, 100%); aspect-ratio: 16 / 9; max-height: 100%; border: 0; border-radius: 10px; background: #000; }
.lightbox button { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(255,255,255,.06); color: var(--white); cursor: pointer; transition: background-color .2s; }
.lightbox button:hover { background: rgba(255,255,255,.18); }
.lightbox-prev { grid-column: 1; justify-self: center; }
.lightbox-next { grid-column: 3; justify-self: center; }
.lightbox-close { position: absolute; top: 18px; right: 18px; }
.lightbox-count { position: absolute; left: 0; right: 0; bottom: 20px; margin: 0; text-align: center; font-size: 14px; color: rgba(255,255,255,.7); letter-spacing: .08em; }
.lightbox.is-embed .lightbox-nav, .lightbox.is-embed .lightbox-count { visibility: hidden; }
.lightbox-open { overflow: hidden; }
@media (max-width: 720px) { .lightbox { grid-template-columns: 0 1fr 0; } .lightbox-prev, .lightbox-next { position: absolute; bottom: 12px; } .lightbox-prev { left: 20px; } .lightbox-next { right: 20px; } }

/* ==========================================================================
   Finishing layer: motion, details
   ========================================================================== */
::selection { background: var(--indigo); color: var(--white); }
.pillar, .db-card { position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.pillar::before, .db-card::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; border-radius: 2px; background: var(--brand-gradient); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.pillar:hover, .db-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(16,24,40,.35); border-color: transparent; }
.pillar:hover::before, .db-card:hover::before { transform: scaleX(1); }
.person-card-media img { transition: transform 1s var(--ease); }
.person-card-link:hover .person-card-media img { transform: scale(1.04); }
.btn-orange { box-shadow: 0 10px 24px -14px rgba(251,101,20,.9); }
.btn-orange:hover { box-shadow: 0 14px 28px -14px rgba(224,79,0,.95); transform: translateY(-1px); }

.js .will-reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--reveal-delay, 0s); }
.js .will-reveal.is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .will-reveal { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
