@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");
:root {
  --ink: #10233d;
  --muted: #617188;
  --line: #dce5ee;
  --navy: #07326d;
  --navy-2: #0c4b96;
  --navy-deep: #021127;
  --cyan: #08aef2;
  --cyan-soft: #dff6ff;
  --ivory: #f6f8fb;
  --white: #ffffff;
  --success: #0c8d62;
  --danger: #bd2d3d;
  --shadow: 0 24px 70px rgba(5, 30, 66, .14);
  --shadow-soft: 0 14px 36px rgba(5, 30, 66, .08);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body, "Manrope", "Segoe UI", sans-serif); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.06; }
.public-container { width: min(100% - 48px, 1380px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 500; left: 18px; top: -100px; background: white; color: var(--navy-deep); padding: 12px 18px; border-radius: 12px; font-weight: 800; }
.skip-link:focus { top: 18px; }

/* Loader */
.site-loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: #020b18; transition: opacity .55s ease, visibility .55s ease; }
.site-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark { position: relative; width: min(72vw, 340px); min-height: 150px; display: grid; place-items: center; }
.loader-mark img { width: 270px; max-height: 120px; object-fit: contain; background: rgba(255,255,255,.96); border-radius: 20px; padding: 12px 18px; box-shadow: 0 24px 80px rgba(0,0,0,.35); animation: loaderPulse 1.5s ease-in-out infinite; }
.loader-ring { position: absolute; inset: 5px -12px; border: 1px solid rgba(8,174,242,.25); border-top-color: var(--cyan); border-radius: 28px; animation: loaderSpin 1.3s linear infinite; }
@keyframes loaderSpin { to { transform: rotate(360deg); } }
@keyframes loaderPulse { 50% { transform: scale(.98); opacity: .88; } }

/* Header */
.site-header { position: fixed; z-index: 100; left: 18px; right: 18px; top: 18px; transition: top .25s ease; }
.site-header-shell { position: relative; width: min(100%, 1380px); height: 78px; margin: auto; padding: 8px 14px 8px 12px; display: flex; align-items: center; gap: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(2,17,39,.62); backdrop-filter: blur(18px) saturate(135%); box-shadow: 0 16px 48px rgba(0,0,0,.24); transition: background .25s ease, box-shadow .25s ease, height .25s ease; }
.site-header.is-scrolled { top: 10px; }
.site-header.is-scrolled .site-header-shell { height: 68px; background: rgba(2,17,39,.9); box-shadow: 0 14px 42px rgba(0,0,0,.32); }
.site-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-panel { width: 178px; height: 58px; display: grid; place-items: center; padding: 7px 12px; background: rgba(255,255,255,.96); border-radius: 15px; }
.brand-panel img { width: 100%; height: 100%; object-fit: contain; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 25px; }
.site-nav a { position: relative; color: rgba(255,255,255,.8); font-size: .82rem; font-weight: 700; letter-spacing: .01em; transition: color .2s ease; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; height: 2px; left: 0; right: 0; bottom: -9px; transform: scaleX(0); background: var(--cyan); border-radius: 999px; transition: transform .22s ease; }
.site-nav a:hover, .site-nav a.active { color: white; }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }
.site-nav .nav-immo { color: #81ddff; }
.site-header-actions { display: flex; align-items: center; gap: 10px; }
.header-login { min-height: 42px; padding: 10px 16px; display: inline-flex; align-items: center; justify-content: center; color: white; border: 1px solid rgba(255,255,255,.18); border-radius: 13px; font-size: .78rem; font-weight: 800; transition: background .2s ease, border-color .2s ease; }
.header-login:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.34); }
.menu-toggle { width: 44px; height: 44px; display: none; place-items: center; gap: 5px; background: transparent; border: 0; border-radius: 12px; cursor: pointer; }
.menu-toggle span { width: 22px; height: 2px; display: block; background: white; border-radius: 999px; }
.flash-stack { position: fixed; z-index: 130; top: 112px; right: 24px; width: min(420px, calc(100% - 48px)); display: grid; gap: 10px; }
.flash-message { padding: 15px 18px; color: #0c3d2d; background: #e9fff7; border: 1px solid #a9e8ce; border-radius: 14px; box-shadow: var(--shadow-soft); font-weight: 700; }
.flash-message.error { color: #7d1f2a; background: #fff0f2; border-color: #efbac1; }

/* Buttons / typography */
.btn-primary, .btn-ghost, .btn-outline-dark { min-height: 48px; padding: 13px 21px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; font-size: .9rem; font-weight: 850; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.btn-primary { color: #001830; background: linear-gradient(135deg, #4ed3ff, #08aef2); border: 1px solid rgba(255,255,255,.28); box-shadow: 0 14px 30px rgba(8,174,242,.24); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(8,174,242,.33); }
.btn-ghost { color: white; border: 1px solid rgba(255,255,255,.36); background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline-dark { color: var(--navy-deep); background: transparent; border: 1px solid rgba(2,17,39,.2); }
.btn-outline-dark:hover { border-color: var(--cyan); background: #eefaff; }
.full-btn { width: 100%; }
.inline-btn { margin-top: 18px; width: fit-content; }
.hero-eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 17px; color: #65d8ff; font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .2em; }
.hero-eyebrow::before, .section-kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.section-kicker.dark { color: #087ec2; }
.section-title { max-width: 760px; }
.section-title h2 { margin-bottom: 20px; color: var(--navy-deep); font-size: clamp(2.25rem, 4.5vw, 4.4rem); }
.section-title p { color: var(--muted); font-size: 1.05rem; }
.section-title.light h2, .section-title.light p { color: white; }
.section-title.light p { color: #b9cbe0; }
.split-title { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .6fr); gap: 60px; align-items: end; margin-bottom: 54px; }
.split-title > p { margin-bottom: 8px; }
.compact-title { align-items: center; }
.centered-title { margin: 0 auto 54px; text-align: center; }
.centered-title .section-kicker { justify-content: center; }
.text-arrow { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 850; }
.text-arrow span { color: var(--cyan); }
.text-arrow.light { color: white; }
.public-section { padding: 110px 0; }
.white-section { background: white; }
.ivory-section { background: var(--ivory); }
.soft-section { background: #eef4f9; }
.dark-section { color: white; background: var(--navy-deep); }
.dark-cards-section { color: white; background: linear-gradient(145deg, #020b18, #061f43); }

/* Home hero */
.cinematic-hero { position: relative; min-height: min(900px, 100svh); height: 100svh; overflow: hidden; background: var(--navy-deep); }
.hero-slides, .cinematic-slide { position: absolute; inset: 0; }
.cinematic-slide { opacity: 0; visibility: hidden; background-size: cover; background-position: center; transform: scale(1.025); transition: opacity 1s ease, visibility 1s ease, transform 6.5s linear; }
.cinematic-slide.is-active { opacity: 1; visibility: visible; transform: scale(1); }
.cinematic-slide.slide-group, .cinematic-slide[data-theme="GROUPE"] { background-image: url('/static/img/hero/hero-group.svg'); }
.cinematic-slide.slide-digital, .cinematic-slide[data-theme="NUMERIQUE"] { background-image: url('/static/img/hero/hero-digital.svg'); }
.cinematic-slide.slide-immohub, .cinematic-slide[data-theme="IMMOBILIER"] { background-image: url('/static/img/hero/hero-immohub.svg'); }
.cinematic-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,10,23,.95) 0%, rgba(2,10,23,.8) 40%, rgba(2,10,23,.3) 72%, rgba(2,10,23,.12) 100%), linear-gradient(0deg, rgba(2,10,23,.76), transparent 50%); }
.cinematic-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding-top: 120px; padding-bottom: 100px; }
.cinematic-copy { max-width: 830px; color: white; }
.cinematic-copy h1 { margin-bottom: 24px; max-width: 830px; font-size: clamp(3.5rem, 7.4vw, 7.8rem); line-height: .94; }
.cinematic-copy p { max-width: 700px; margin-bottom: 34px; color: #c9d9e9; font-size: clamp(1.02rem, 1.8vw, 1.35rem); line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-arrow { position: absolute; z-index: 12; top: 50%; width: 52px; height: 52px; display: grid; place-items: center; color: white; background: rgba(2,17,39,.42); border: 1px solid rgba(255,255,255,.15); border-radius: 50%; backdrop-filter: blur(10px); cursor: pointer; font-size: 2rem; transition: background .2s ease, border-color .2s ease; }
.hero-arrow:hover { background: rgba(8,174,242,.28); border-color: rgba(101,216,255,.65); }
.hero-prev { left: 22px; }
.hero-next { right: 22px; }
.hero-dots { position: absolute; z-index: 12; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; gap: 9px; }
.hero-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.34); cursor: pointer; transition: width .2s ease, border-radius .2s ease, background .2s ease; }
.hero-dots button.is-active { width: 34px; border-radius: 999px; background: var(--cyan); }
.scroll-cue { position: absolute; z-index: 12; right: 44px; bottom: 25px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.7); font-size: .62rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.scroll-cue i { width: 24px; height: 40px; display: block; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; background: var(--cyan); border-radius: 999px; animation: scrollDot 1.6s ease infinite; }
@keyframes scrollDot { 60% { transform: translateY(15px); opacity: .2; } 100% { opacity: 0; } }

/* Intro / capabilities */
.group-intro { padding: 105px 0; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.intro-copy p { margin-bottom: 26px; color: #bdcde0; font-size: 1.12rem; line-height: 1.9; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.capability-card { position: relative; min-height: 390px; padding: 30px; display: flex; flex-direction: column; border: 1px solid #dbe5ee; border-radius: 24px; background: white; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.capability-card::before { content: ""; position: absolute; width: 180px; height: 180px; right: -90px; top: -90px; background: radial-gradient(circle, rgba(8,174,242,.16), transparent 66%); }
.capability-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: #b9ddf1; }
.capability-index { position: absolute; right: 23px; top: 22px; color: #c7d7e5; font-size: .78rem; font-weight: 900; letter-spacing: .1em; }
.capability-icon { width: 58px; height: 58px; margin-bottom: 26px; display: grid; place-items: center; background: #e8f8ff; border: 1px solid #c6edff; border-radius: 17px; }
.capability-icon span { width: 24px; height: 24px; display: block; border: 3px solid var(--cyan); border-radius: 7px 7px 10px 10px; transform: rotate(45deg); }
.capability-card small { color: #087bb9; font-weight: 850; text-transform: uppercase; letter-spacing: .11em; }
.capability-card h3 { margin: 13px 0 17px; color: var(--navy-deep); font-size: 1.55rem; }
.capability-card p { color: var(--muted); flex: 1; }
.capability-card a { margin-top: 20px; color: var(--navy); font-weight: 850; }

/* ImmoHub feature */
.immohub-feature { padding: 110px 0; color: white; background: linear-gradient(135deg, #03162e 0%, #073a75 55%, #087cc0 100%); overflow: hidden; }
.immohub-shell { display: grid; grid-template-columns: 1fr .85fr; gap: 80px; align-items: center; }
.immohub-copy h2 { max-width: 780px; font-size: clamp(2.6rem, 4.8vw, 5rem); }
.immohub-copy > p { max-width: 720px; color: #c7d8e9; font-size: 1.07rem; }
.immohub-actions { margin: 32px 0 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.immohub-feature .btn-outline-dark { color: white; border-color: rgba(255,255,255,.3); }
.immohub-feature .btn-outline-dark:hover { background: rgba(255,255,255,.08); }
.mini-stats { display: flex; flex-wrap: wrap; gap: 42px; }
.mini-stats div { display: grid; }
.mini-stats strong { color: #79ddff; font-size: 2.3rem; }
.mini-stats span { color: #b8cce0; font-size: .84rem; }
.immohub-search-card { padding: 28px; color: var(--ink); background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.45); border-radius: 28px; box-shadow: 0 30px 90px rgba(0,0,0,.26); }
.search-card-head { margin-bottom: 23px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.search-card-head span { color: var(--navy-deep); font-size: 1.15rem; font-weight: 900; }
.search-card-head b { color: #087bb9; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.home-property-search { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.home-property-search label { display: grid; gap: 7px; }
.home-property-search label span { color: var(--muted); font-size: .74rem; font-weight: 800; }
.home-property-search input, .home-property-search select, .market-search-fields input, .market-search-fields select, .market-filters input, .market-filters select, .directory-search input, .directory-search select { width: 100%; min-height: 50px; padding: 12px 14px; color: var(--ink); background: white; border: 1px solid #cedae6; border-radius: 13px; outline: none; }
.home-property-search input:focus, .home-property-search select:focus, .market-search-fields input:focus, .market-search-fields select:focus, .market-filters input:focus, .market-filters select:focus, .directory-search input:focus, .directory-search select:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(8,174,242,.1); }
.search-wide { grid-column: 1 / -1; }
.search-card-links { margin-top: 18px; padding-top: 16px; display: grid; gap: 8px; border-top: 1px solid var(--line); }
.search-card-links a { color: var(--navy); font-size: .82rem; font-weight: 800; }

/* Stats */
.stats-band { padding: 68px 0; background: #f9fbfd; border-block: 1px solid #e2eaf1; }
.stats-grid-public { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid-public article { padding: 10px 40px; text-align: center; border-right: 1px solid #dfe7ee; }
.stats-grid-public article:last-child { border-right: 0; }
.stats-grid-public .stat-icon { display: block; margin-bottom: 4px; color: var(--cyan); }
.stats-grid-public strong { display: block; color: var(--navy-deep); font-size: 3rem; line-height: 1; }
.stats-grid-public p { margin: 9px 0 0; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; }

/* Achievement cards */
.achievement-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.achievement-grid.large-grid { grid-template-columns: repeat(3, 1fr); }
.achievement-card { display: grid; overflow: hidden; color: white; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); border-radius: 24px; transition: transform .3s ease, border-color .3s ease; }
.achievement-card:hover { transform: translateY(-7px); border-color: rgba(101,216,255,.48); }
.achievement-media { position: relative; height: 260px; overflow: hidden; background: #092857; }
.achievement-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.achievement-card:hover .achievement-media img { transform: scale(1.04); }
.achievement-media small { position: absolute; left: 18px; top: 18px; padding: 7px 10px; color: white; background: rgba(2,17,39,.78); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: .7rem; font-weight: 800; }
.achievement-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 70% 20%, #0e88c7, #06234c 55%, #020b18); }
.achievement-placeholder span { color: rgba(255,255,255,.85); font-size: 6rem; font-weight: 950; }
.achievement-placeholder.large { min-height: 500px; border-radius: 24px; }
.achievement-card > div:last-child { padding: 25px; }
.achievement-card h3 { margin-bottom: 12px; font-size: 1.45rem; }
.achievement-card p { color: #b9cbe0; }
.achievement-card > div:last-child > span { color: #67d9ff; font-weight: 800; }
.empty-dark { grid-column: 1 / -1; padding: 60px; text-align: center; color: #b9cbe0; border: 1px dashed rgba(255,255,255,.2); border-radius: 24px; }

/* Property cards (Kholding portfolio) */
.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.property-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 23px; box-shadow: var(--shadow-soft); }
.property-image { position: relative; height: 245px; display: block; overflow: hidden; background: #e9f3fb; }
.property-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.property-card:hover .property-image img { transform: scale(1.04); }
.property-placeholder { width: 100%; height: 100%; min-height: 260px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-deep), var(--navy-2)); }
.property-placeholder span { color: rgba(255,255,255,.9); font-size: 5rem; font-weight: 950; }
.property-placeholder.large { min-height: 500px; border-radius: 24px; }
.property-type { position: absolute; left: 16px; top: 16px; padding: 7px 11px; color: var(--navy); background: rgba(255,255,255,.94); border-radius: 999px; font-size: .72rem; font-weight: 850; }
.property-body { padding: 23px; }
.property-body small { color: #087ebc; font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.property-body h3 { margin: 9px 0 12px; color: var(--navy-deep); font-size: 1.35rem; }
.property-body p { color: var(--muted); min-height: 52px; }
.property-meta { padding-top: 16px; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); font-size: .8rem; }
.property-meta strong { color: var(--navy); }

/* Closing CTA */
.closing-cta { padding: 92px 0; color: white; background: linear-gradient(135deg, #03142c, #084f96 68%, #08aef2); }
.closing-cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.closing-cta h2 { margin-bottom: 14px; max-width: 900px; font-size: clamp(2.4rem, 4.8vw, 4.8rem); }
.closing-cta p { max-width: 760px; margin-bottom: 0; color: #c7d9ea; }

/* Inner heroes */
.inner-hero, .market-page-hero, .market-form-hero { position: relative; padding: 190px 0 110px; color: white; overflow: hidden; background: linear-gradient(135deg, #020b18, #07356c 64%, #078bc9); }
.inner-hero::after, .market-page-hero::after, .market-form-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 82% 20%, rgba(44,198,255,.25), transparent 34%), linear-gradient(90deg, rgba(2,11,24,.3), transparent); }
.inner-hero-digital::before { content: ""; position: absolute; inset: 0; opacity: .32; background: url('/static/img/hero/hero-digital.svg') center/cover no-repeat; }
.inner-hero-property::before, .agencies-hero::before, .agency-apply-hero::before { content: ""; position: absolute; inset: 0; opacity: .26; background: url('/static/img/hero/hero-immohub.svg') center/cover no-repeat; }
.inner-hero-content, .market-page-hero .public-container, .market-form-hero .public-container { position: relative; z-index: 2; max-width: 1000px; }
.inner-hero h1, .market-page-hero h1, .market-form-hero h1 { margin-bottom: 24px; font-size: clamp(3rem, 6.5vw, 6.5rem); }
.inner-hero p, .market-page-hero p, .market-form-hero p { max-width: 820px; margin-bottom: 0; color: #c7d8e8; font-size: 1.13rem; }
.editorial-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }
.editorial-copy { color: var(--muted); font-size: 1.08rem; line-height: 1.9; }
.editorial-copy p { margin-bottom: 24px; }
.vision-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vision-grid article { min-height: 270px; padding: 28px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; }
.vision-grid span { color: var(--cyan); font-weight: 900; }
.vision-grid h3 { margin: 40px 0 15px; font-size: 1.5rem; }
.vision-grid p { color: #b9cbe0; }
.values-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.value-list { display: grid; }
.value-list article { padding: 24px 0; display: grid; grid-template-columns: 70px 1fr; gap: 18px; border-bottom: 1px solid #dce5ee; }
.value-list b { color: #0d92d2; }
.value-list h3 { margin-bottom: 8px; font-size: 1.35rem; }
.value-list p { margin-bottom: 0; color: var(--muted); }
.service-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-detail-card { min-height: 390px; padding: 38px; background: white; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-soft); }
.service-card-top { display: flex; justify-content: space-between; gap: 20px; }
.service-card-top span { color: var(--cyan); font-weight: 950; }
.service-card-top small { color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.service-detail-card h2 { margin: 50px 0 16px; color: var(--navy-deep); font-size: 2rem; }
.service-lead { color: var(--ink); font-weight: 700; }
.service-description { color: var(--muted); }
.detail-hero-simple { padding: 160px 0 90px; color: white; background: linear-gradient(135deg, #020b18, #063770); }
.soft-detail { color: var(--ink); background: #eef4f9; }
.detail-hero-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 70px; align-items: center; }
.detail-hero-grid h1 { margin-bottom: 20px; font-size: clamp(3rem, 6vw, 6rem); }
.detail-hero-grid > div:first-child > p { max-width: 740px; color: inherit; opacity: .78; font-size: 1.1rem; }
.detail-showcase img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.detail-tags { margin: 26px 0; display: flex; flex-wrap: wrap; gap: 9px; }
.detail-tags span { padding: 8px 11px; border: 1px solid currentColor; border-radius: 999px; opacity: .72; font-size: .78rem; }
.prose-wide { max-width: 900px; color: var(--muted); font-size: 1.05rem; line-height: 1.9; }
.prose-wide h2 { color: var(--navy-deep); }
.pagination { margin-top: 44px; display: flex; align-items: center; justify-content: center; gap: 28px; color: var(--muted); }
.pagination a { color: var(--navy); font-weight: 850; }
.empty-public { grid-column: 1 / -1; padding: 64px 24px; text-align: center; color: var(--muted); background: #f6f9fc; border: 1px dashed #cbd8e4; border-radius: 22px; }

/* Contact / forms */
.contact-layout, .form-page-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 78px; align-items: start; }
.contact-side h2, .form-page-copy h2 { color: var(--navy-deep); font-size: clamp(2.2rem, 4vw, 4rem); }
.contact-side > p, .form-page-copy > p { color: var(--muted); }
.contact-info-list { margin-top: 34px; display: grid; }
.contact-info-list div { padding: 19px 0; display: grid; border-bottom: 1px solid var(--line); }
.contact-info-list small { color: var(--muted); }
.contact-route { margin-top: 32px; padding: 22px; display: grid; gap: 8px; background: #eaf8ff; border-radius: 18px; }
.contact-route a { color: var(--navy); font-weight: 850; }
.public-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.modern-form { padding: 32px; background: white; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.large-form { align-self: start; }
.form-field { display: grid; gap: 7px; }
.form-field.full, .form-submit { grid-column: 1 / -1; }
.form-field label { color: var(--navy-deep); font-size: .82rem; font-weight: 850; }
.market-control, .public-control, .compact-inquiry-form input, .compact-inquiry-form select, .compact-inquiry-form textarea { width: 100%; min-height: 50px; padding: 12px 14px; color: var(--ink); background: white; border: 1px solid #cbd8e4; border-radius: 13px; outline: none; }
textarea.market-control, textarea.public-control { min-height: 130px; resize: vertical; }
.market-control:focus, .public-control:focus, .compact-inquiry-form input:focus, .compact-inquiry-form select:focus, .compact-inquiry-form textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(8,174,242,.1); }
.field-error { color: var(--danger) !important; font-size: .76rem !important; }
.feature-list { margin-top: 28px; padding: 0; list-style: none; display: grid; gap: 12px; }
.feature-list li { padding: 13px 16px; background: #eef8fd; border-radius: 13px; font-weight: 750; }
.process-list { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.process-list li { padding: 17px 0; display: grid; grid-template-columns: 52px 1fr; gap: 14px; border-bottom: 1px solid var(--line); }
.process-list b { color: var(--cyan); }
.process-list div { display: grid; }
.process-list span { color: var(--muted); }

/* Marketplace hero */
.market-hero { position: relative; min-height: 760px; padding: 165px 0 85px; color: white; overflow: hidden; background: #020b18; }
.market-hero-bg { position: absolute; inset: 0; opacity: .58; background: url('/static/img/hero/hero-immohub.svg') center/cover no-repeat; }
.market-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,10,23,.93), rgba(2,10,23,.57) 60%, rgba(2,10,23,.28)); }
.market-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .75fr; gap: 80px; align-items: center; }
.market-hero-copy h1 { margin-bottom: 24px; font-size: clamp(3.5rem, 6.5vw, 6.8rem); }
.market-hero-copy > p { max-width: 760px; color: #c7d8e8; font-size: 1.1rem; }
.market-search-panel { padding: 28px; color: var(--ink); background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.35); border-radius: 26px; box-shadow: 0 28px 85px rgba(0,0,0,.3); }
.market-search-head { margin-bottom: 22px; display: flex; justify-content: space-between; gap: 20px; }
.market-search-head span { font-size: 1.15rem; font-weight: 900; }
.market-search-head b { color: #087ebc; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.market-search-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.market-search-fields label { display: grid; gap: 6px; }
.market-search-fields label span { color: var(--muted); font-size: .72rem; font-weight: 800; }
.market-search-fields .full { grid-column: 1 / -1; }
.market-stats { padding: 42px 0; background: white; border-bottom: 1px solid var(--line); }
.market-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.market-stats-grid div { padding: 8px 30px; display: grid; text-align: center; border-right: 1px solid var(--line); }
.market-stats-grid div:last-child { border-right: 0; }
.market-stats-grid strong { color: var(--navy-deep); font-size: 2.2rem; }
.market-stats-grid span { color: var(--muted); font-size: .78rem; }

/* Listing cards */
.listing-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.listing-card-grid.two-col { grid-template-columns: repeat(2, 1fr); }
.listing-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 23px; box-shadow: var(--shadow-soft); transition: transform .3s ease, box-shadow .3s ease; }
.listing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.listing-media { position: relative; height: 245px; display: block; overflow: hidden; background: #e7f4fb; }
.listing-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.listing-card:hover .listing-media img { transform: scale(1.045); }
.listing-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 75% 20%, #0b8dcc, #07366d 55%, #031329); }
.listing-placeholder span { color: rgba(255,255,255,.86); font-size: 5rem; }
.listing-placeholder.large { min-height: 560px; border-radius: 24px; }
.listing-operation, .listing-featured { position: absolute; top: 15px; padding: 7px 10px; border-radius: 999px; font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.listing-operation { left: 15px; color: white; background: rgba(2,17,39,.82); }
.listing-operation.inline { position: static; display: inline-flex; margin-bottom: 12px; }
.listing-featured { right: 15px; color: #002645; background: #7be0ff; }
.listing-card-body { padding: 21px; }
.listing-location { display: flex; gap: 5px; color: #087ebc; font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.listing-card h3 { margin: 8px 0 11px; color: var(--navy-deep); font-size: 1.3rem; }
.listing-card-body > p { min-height: 52px; color: var(--muted); }
.listing-features { min-height: 35px; display: flex; flex-wrap: wrap; gap: 7px; }
.listing-features span { padding: 5px 8px; color: #46586c; background: #f1f5f8; border-radius: 8px; font-size: .72rem; font-weight: 750; }
.listing-card-footer { margin-top: 17px; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); }
.listing-card-footer > div { display: grid; }
.listing-card-footer strong { color: var(--navy-deep); font-size: 1.1rem; }
.listing-card-footer small { color: var(--muted); }
.agency-mini { max-width: 150px; display: flex; align-items: center; gap: 8px; color: var(--navy); font-size: .72rem; font-weight: 800; }
.agency-mini img, .agency-mini > span { width: 31px; height: 31px; flex: 0 0 31px; object-fit: contain; display: grid; place-items: center; background: white; border: 1px solid var(--line); border-radius: 9px; }
.agency-mini b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Agencies */
.agency-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.agency-card-public { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 23px; box-shadow: var(--shadow-soft); }
.agency-cover { position: relative; height: 180px; display: block; background: #dfeef7; }
.agency-cover > img { width: 100%; height: 100%; object-fit: cover; }
.agency-cover-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #062b5b, #0a7fbd); }
.agency-logo-public { position: absolute; left: 20px; bottom: -35px; width: 76px; height: 76px; padding: 7px; display: grid; place-items: center; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 10px 28px rgba(0,0,0,.14); }
.agency-logo-public img { width: 100%; height: 100%; object-fit: contain; }
.agency-logo-public span { color: var(--navy); font-size: 2rem; font-weight: 950; }
.verified-badge { position: absolute; right: 14px; top: 14px; padding: 7px 10px; color: #064c38; background: #dffff4; border-radius: 999px; font-size: .68rem; font-weight: 850; }
.agency-card-body { padding: 48px 22px 22px; }
.agency-card-body > small { color: #087ebc; font-weight: 800; }
.agency-card-body h3 { margin: 8px 0 11px; color: var(--navy-deep); font-size: 1.45rem; }
.agency-card-body p { min-height: 50px; color: var(--muted); }
.agency-card-body > div { padding-top: 15px; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.agency-card-body a { color: var(--navy); font-weight: 850; }

/* Public posts */
.post-grid-public { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.post-card-public { color: white; }
.post-card-public > div:first-child { height: 180px; margin-bottom: 18px; overflow: hidden; border-radius: 18px; background: #0a315f; }
.post-card-public img { width: 100%; height: 100%; object-fit: cover; }
.post-placeholder, .article-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: white; background: linear-gradient(135deg, #08336a, #0aa5e8); font-size: 4rem; font-weight: 950; }
.post-card-public small { color: #6bdcff; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.post-card-public h3 { margin: 8px 0 10px; font-size: 1.32rem; }
.post-card-public p { color: #b9cbe0; font-size: .9rem; }
.post-card-public b { color: #65d8ff; font-size: .82rem; }
.platform-cta { padding: 92px 0; background: #edf7fc; }
.platform-cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.platform-cta h2 { margin-bottom: 15px; color: var(--navy-deep); font-size: clamp(2.3rem, 4.5vw, 4.5rem); }
.platform-cta p { max-width: 780px; color: var(--muted); }
.platform-cta-actions { display: flex; flex-direction: column; gap: 10px; min-width: 250px; }

/* Marketplace results */
.market-results-section { padding: 70px 0 110px; background: #f6f8fb; }
.market-results-layout { display: grid; grid-template-columns: 285px 1fr; gap: 35px; align-items: start; }
.market-filters { position: sticky; top: 100px; padding: 22px; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-soft); }
.market-filters form { display: grid; gap: 14px; }
.filter-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.filter-head h2 { margin-bottom: 0; font-size: 1.2rem; }
.filter-head a { color: #087ebc; font-size: .75rem; font-weight: 800; }
.market-filters label { display: grid; gap: 6px; }
.market-filters label span { color: var(--muted); font-size: .72rem; font-weight: 800; }
.filter-double { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.market-results { min-width: 0; }
.results-head { margin-bottom: 28px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.results-head h2 { margin-bottom: 0; color: var(--navy-deep); font-size: 2rem; }
.results-head > a { color: var(--navy); font-size: .84rem; font-weight: 850; }
.directory-search { margin-bottom: 35px; padding: 16px; display: grid; grid-template-columns: 1.1fr .8fr .8fr 1fr auto; gap: 10px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-soft); }

/* Agency profile */
.agency-profile-hero { position: relative; padding-top: 110px; color: white; background: #020b18; }
.agency-profile-cover { position: absolute; inset: 0; height: 390px; overflow: hidden; }
.agency-profile-cover img { width: 100%; height: 100%; object-fit: cover; opacity: .48; }
.agency-profile-cover span { position: absolute; inset: 0; background: linear-gradient(0deg, #020b18 0%, rgba(2,11,24,.58) 60%, rgba(2,11,24,.36)); }
.agency-profile-content { position: relative; z-index: 2; min-height: 480px; padding-top: 180px; padding-bottom: 60px; display: grid; grid-template-columns: 150px 1fr; gap: 35px; align-items: end; }
.agency-profile-logo { width: 150px; height: 150px; padding: 12px; display: grid; place-items: center; background: white; border-radius: 28px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.agency-profile-logo img { width: 100%; height: 100%; object-fit: contain; }
.agency-profile-logo span { color: var(--navy); font-size: 4rem; font-weight: 950; }
.verified-line { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; color: #6bdcff; font-size: .8rem; font-weight: 800; }
.verified-line small { color: #c3d4e5; }
.agency-profile-copy h1 { margin: 8px 0 14px; font-size: clamp(3rem, 5.5vw, 5.8rem); }
.agency-profile-copy > p { max-width: 760px; color: #c7d8e8; }
.agency-profile-actions { margin-top: 25px; display: flex; flex-wrap: wrap; gap: 10px; }
.agency-about-grid { display: grid; grid-template-columns: 1.2fr .6fr; gap: 80px; }
.agency-about-grid h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.agency-facts { padding: 25px; background: #f5f8fb; border: 1px solid var(--line); border-radius: 22px; }
.agency-facts div { padding: 15px 0; display: grid; border-bottom: 1px solid var(--line); }
.agency-facts div:last-child { border-bottom: 0; }
.agency-facts small { color: var(--muted); }
.agency-contact-layout { align-items: center; }

/* Listing detail */
.listing-detail-top { padding: 150px 0 35px; background: white; }
.listing-breadcrumb { margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .78rem; }
.listing-breadcrumb a { color: var(--navy); }
.listing-title-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.listing-title-row h1 { margin-bottom: 10px; color: var(--navy-deep); font-size: clamp(2.6rem, 5vw, 5.2rem); }
.listing-title-row p { margin-bottom: 0; color: var(--muted); }
.listing-price-big { min-width: 230px; display: grid; text-align: right; }
.listing-price-big strong { color: var(--navy-deep); font-size: 2rem; }
.listing-price-big span { color: var(--muted); }
.listing-gallery-section { padding: 25px 0 55px; background: white; }
.listing-gallery-grid { min-height: 560px; display: grid; grid-template-columns: 1.6fr .7fr; gap: 10px; }
.listing-gallery-main, .listing-gallery-side { overflow: hidden; border-radius: 22px; }
.listing-gallery-main img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.listing-gallery-side { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; }
.listing-gallery-side img { width: 100%; height: 100%; object-fit: cover; min-height: 270px; }
.gallery-empty { grid-column: 1 / -1; height: 100%; display: grid; place-items: center; align-content: center; gap: 6px; color: white; background: linear-gradient(135deg, #062a58, #0b8ccc); }
.gallery-empty span { opacity: .75; }
.gallery-empty b { font-size: 1.7rem; }
.listing-detail-section { padding: 70px 0 110px; background: #f5f8fb; }
.listing-detail-layout { display: grid; grid-template-columns: 1fr 390px; gap: 45px; align-items: start; }
.listing-main-content { min-width: 0; }
.listing-quick-facts { margin-bottom: 24px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.listing-quick-facts div { min-height: 100px; padding: 18px; display: grid; align-content: center; text-align: center; background: white; border: 1px solid var(--line); border-radius: 16px; }
.listing-quick-facts strong { color: var(--navy-deep); font-size: 1.6rem; }
.listing-quick-facts span { color: var(--muted); font-size: .75rem; }
.content-block { margin-top: 24px; padding: 32px; background: white; border: 1px solid var(--line); border-radius: 22px; }
.content-block h2 { color: var(--navy-deep); font-size: 2rem; }
.content-block > p { color: var(--muted); }
.amenities-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.amenities-grid span { padding: 12px 14px; color: #30506d; background: #f2f7fa; border-radius: 11px; }
.listing-contact-card { position: sticky; top: 105px; padding: 24px; background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.listing-contact-agency { text-align: center; }
.listing-contact-agency > div { width: 78px; height: 78px; margin: 0 auto 13px; padding: 7px; display: grid; place-items: center; background: white; border: 1px solid var(--line); border-radius: 18px; }
.listing-contact-agency img { width: 100%; height: 100%; object-fit: contain; }
.listing-contact-agency > div span { color: var(--navy); font-size: 2rem; font-weight: 950; }
.listing-contact-agency small { color: var(--muted); }
.listing-contact-agency h3 { margin: 3px 0 7px; color: var(--navy-deep); }
.listing-contact-agency a { color: #087ebc; font-size: .78rem; font-weight: 850; }
.listing-contact-meta { margin: 21px 0; padding: 17px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: #f5f8fb; border-radius: 14px; font-size: .78rem; }
.listing-contact-meta span { color: var(--muted); }
.listing-contact-meta strong { text-align: right; }
.listing-contact-card > a { margin-bottom: 9px; }
.listing-contact-card hr { margin: 22px 0; border: 0; border-top: 1px solid var(--line); }
.listing-contact-card h4 { margin-bottom: 14px; }
.compact-inquiry-form { display: grid; gap: 10px; }
.compact-inquiry-form label { display: grid; gap: 5px; }
.compact-inquiry-form label > span { color: var(--muted); font-size: .72rem; font-weight: 800; }
.compact-inquiry-form textarea { min-height: 105px; }

/* Article */
.article-hero { padding: 165px 0 80px; color: white; background: linear-gradient(135deg, #020b18, #07376f); }
.article-hero-grid { display: grid; grid-template-columns: 1fr .75fr; gap: 70px; align-items: center; }
.article-hero h1 { margin-bottom: 20px; font-size: clamp(3rem, 6vw, 6.2rem); }
.article-hero p { color: #c6d7e8; font-size: 1.1rem; }
.article-hero-grid > div:last-child { height: 400px; overflow: hidden; border-radius: 24px; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 980px; }
.article-agency-box { margin-top: 55px; padding: 25px; background: #eef8fd; border-radius: 18px; }
.article-agency-box > span { color: #087ebc; font-size: .72rem; font-weight: 850; text-transform: uppercase; }
.article-agency-box h3 { margin: 7px 0; color: var(--navy-deep); }
.article-agency-box p { color: var(--muted); }

/* Footer */
.site-footer { position: relative; padding: 0 0 24px; color: #c3d2e2; background: #020b18; overflow: hidden; }
.footer-orbit { position: absolute; inset: 0; opacity: .11; background-image: radial-gradient(circle at 2px 2px, #57d3ff 1px, transparent 1px); background-size: 40px 40px; }
.footer-brand-row { position: relative; z-index: 2; padding-top: 0; padding-bottom: 48px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-logo-badge { width: 130px; height: 110px; margin-top: -55px; margin-bottom: 18px; padding: 10px; display: grid; place-items: center; background: white; border: 1px solid rgba(8,174,242,.42); border-radius: 28px; box-shadow: 0 22px 60px rgba(0,0,0,.35); }
.footer-logo-badge img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand-row h2 { margin-bottom: 5px; color: white; font-size: 2rem; }
.footer-brand-row p { margin-bottom: 0; color: #75d8ff; }
.footer-grid { position: relative; z-index: 2; padding: 50px 0; display: grid; grid-template-columns: 1.3fr .8fr 1fr 1fr; gap: 55px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-grid > div { display: grid; align-content: start; gap: 10px; }
.footer-about p { color: #aebfd0; }
.footer-kicker { margin-bottom: 8px; color: #67d9ff; font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .18em; }
.footer-grid a { color: #d4deea; font-size: .88rem; }
.footer-grid a:hover { color: #67d9ff; }
.footer-socials { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 12px; }
.footer-bottom { position: relative; z-index: 2; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #8295aa; font-size: .77rem; }
.footer-bottom div { display: flex; gap: 10px; }
.footer-bottom a:hover { color: white; }

@media (max-width: 1180px) {
  .site-nav { gap: 16px; }
  .site-nav a { font-size: .76rem; }
  .header-login { display: none; }
  .capability-grid, .vision-grid { grid-template-columns: repeat(2, 1fr); }
  .market-hero-grid, .immohub-shell { gap: 45px; }
  .listing-card-grid { grid-template-columns: repeat(2, 1fr); }
  .agency-card-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid-public { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .public-container { width: min(100% - 34px, 1380px); }
  .site-header { left: 10px; right: 10px; top: 10px; }
  .site-header-shell { height: 70px; }
  .brand-panel { width: 156px; height: 52px; }
  .menu-toggle { display: grid; }
  .site-nav { position: fixed; z-index: 90; top: 90px; left: 17px; right: 17px; max-height: calc(100vh - 110px); padding: 24px; display: none; flex-direction: column; align-items: stretch; gap: 0; overflow: auto; background: rgba(2,17,39,.98); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; box-shadow: 0 28px 70px rgba(0,0,0,.4); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 15px 5px; font-size: .95rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav a::after { display: none; }
  .site-header-actions { margin-left: auto; }
  .hero-arrow { display: none; }
  .scroll-cue { display: none; }
  .cinematic-copy h1 { font-size: clamp(3.4rem, 10vw, 6rem); }
  .intro-grid, .editorial-grid, .values-layout, .contact-layout, .form-page-layout, .market-hero-grid, .immohub-shell, .detail-hero-grid, .agency-about-grid, .article-hero-grid { grid-template-columns: 1fr; gap: 45px; }
  .split-title { grid-template-columns: 1fr; gap: 18px; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid-public, .market-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid-public article:nth-child(2), .market-stats-grid div:nth-child(2) { border-right: 0; }
  .stats-grid-public article:nth-child(-n+2), .market-stats-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .achievement-grid, .achievement-grid.large-grid { grid-template-columns: repeat(2, 1fr); }
  .closing-cta-inner, .platform-cta-grid { grid-template-columns: 1fr; }
  .platform-cta-actions { flex-direction: row; min-width: 0; flex-wrap: wrap; }
  .market-results-layout { grid-template-columns: 1fr; }
  .market-filters { position: static; }
  .market-filters form { grid-template-columns: repeat(2, 1fr); }
  .market-filters .filter-head, .market-filters button { grid-column: 1 / -1; }
  .directory-search { grid-template-columns: repeat(2, 1fr); }
  .directory-search button { grid-column: 1 / -1; }
  .agency-profile-content { grid-template-columns: 120px 1fr; }
  .agency-profile-logo { width: 120px; height: 120px; }
  .listing-title-row { align-items: flex-start; flex-direction: column; }
  .listing-price-big { text-align: left; }
  .listing-gallery-grid { min-height: auto; grid-template-columns: 1fr; }
  .listing-gallery-main img { min-height: 430px; }
  .listing-gallery-side { min-height: 360px; }
  .listing-detail-layout { grid-template-columns: 1fr; }
  .listing-contact-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 680px) {
  .public-container { width: min(100% - 24px, 1380px); }
  .site-header-shell { padding-inline: 8px; border-radius: 18px; }
  .brand-panel { width: 138px; height: 48px; border-radius: 12px; }
  .cinematic-hero { min-height: 740px; height: 100svh; }
  .cinematic-content { padding-top: 120px; padding-bottom: 80px; }
  .cinematic-copy h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .cinematic-copy p { font-size: .98rem; }
  .hero-actions, .immohub-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost, .btn-outline-dark { width: 100%; }
  .public-section, .group-intro, .immohub-feature { padding: 78px 0; }
  .section-title h2 { font-size: clamp(2.15rem, 11vw, 3.6rem); }
  .capability-grid, .vision-grid, .property-grid, .listing-card-grid, .listing-card-grid.two-col, .agency-card-grid, .achievement-grid, .achievement-grid.large-grid, .post-grid-public { grid-template-columns: 1fr; }
  .capability-card { min-height: 330px; }
  .home-property-search, .market-search-fields, .public-form, .market-filters form { grid-template-columns: 1fr; }
  .search-wide, .market-search-fields .full, .form-field.full, .form-submit, .market-filters .filter-head, .market-filters button { grid-column: auto; }
  .mini-stats { gap: 25px; }
  .stats-grid-public, .market-stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid-public article, .market-stats-grid div { padding: 20px 10px; }
  .stats-grid-public strong { font-size: 2.4rem; }
  .closing-cta { padding: 72px 0; }
  .inner-hero, .market-page-hero, .market-form-hero { padding: 145px 0 78px; }
  .inner-hero h1, .market-page-hero h1, .market-form-hero h1 { font-size: clamp(2.7rem, 13vw, 4.4rem); }
  .service-detail-card, .modern-form { padding: 24px; }
  .directory-search { grid-template-columns: 1fr; }
  .agency-profile-content { min-height: 530px; padding-top: 220px; grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .agency-profile-logo { width: 100px; height: 100px; }
  .agency-profile-copy h1 { font-size: 3rem; }
  .listing-detail-top { padding-top: 125px; }
  .listing-gallery-main img { min-height: 330px; }
  .listing-gallery-side { min-height: 260px; }
  .listing-gallery-side img { min-height: 125px; }
  .listing-quick-facts { grid-template-columns: repeat(2, 1fr); }
  .amenities-grid { grid-template-columns: 1fr; }
  .content-block { padding: 24px; }
  .listing-contact-meta { grid-template-columns: 1fr; }
  .listing-contact-meta strong { text-align: left; }
  .article-hero-grid > div:last-child { height: 300px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}

/* ========================================================================== */
/* Kholding corporate polish + newsroom                                       */
/* ========================================================================== */
:root {
  --content-max: 1280px;
  --section-space: 104px;
  --card-radius: 22px;
}

.public-container { width: min(100% - 56px, var(--content-max)); }
.site-header-shell { max-width: var(--content-max); height: 74px; padding: 8px 12px; gap: 20px; }
.brand-panel { width: 166px; height: 54px; padding: 7px 11px; }
.site-nav { gap: 21px; }
.site-nav a { font-size: .8rem; }
.public-section { padding: var(--section-space) 0; }
.section-title h2 { max-width: 820px; font-size: clamp(2.25rem, 4vw, 4.05rem); line-height: 1.02; }
.split-title { grid-template-columns: minmax(0, 1fr) minmax(320px, 430px); gap: 72px; margin-bottom: 48px; align-items: end; }
.split-title > p, .section-side-copy p { margin-bottom: 14px; color: var(--muted); font-size: 1rem; line-height: 1.8; }

.cinematic-hero { min-height: min(840px, 100svh); }
.cinematic-content { padding-top: 118px; padding-bottom: 88px; }
.cinematic-copy { max-width: 760px; }
.cinematic-copy h1 { max-width: 760px; font-size: clamp(3.35rem, 6.3vw, 6.4rem); line-height: .96; }
.cinematic-copy p { max-width: 660px; font-size: clamp(1rem, 1.45vw, 1.22rem); line-height: 1.72; }
.group-intro { padding: 92px 0; }
.intro-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 84px; align-items: center; }
.intro-copy { max-width: 690px; }
.capability-grid { align-items: stretch; }
.capability-card { min-height: 370px; padding: 28px; }
.capability-card h3 { font-size: 1.48rem; line-height: 1.15; }
.capability-card p { font-size: .95rem; line-height: 1.75; }
.immohub-shell { grid-template-columns: minmax(0, 1fr) minmax(420px, .82fr); gap: 72px; }
.immohub-copy h2 { font-size: clamp(2.5rem, 4.25vw, 4.55rem); }
.immohub-search-card { padding: 30px; border-radius: 24px; }
.achievement-media { height: 245px; }
.property-image { height: 235px; }

/* Newsroom on the corporate home page */
.newsroom-home-section { background: #fff; }
.newsroom-home-heading { margin-bottom: 46px; }
.section-side-copy { max-width: 430px; justify-self: end; }
.newsroom-home-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr); gap: 28px; align-items: stretch; }
.home-news-featured { min-width: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); background: #f5f8fb; border: 1px solid var(--line); border-radius: 26px; }
.home-news-featured-media { min-height: 470px; overflow: hidden; background: #071d3a; }
.home-news-featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.home-news-featured:hover .home-news-featured-media img { transform: scale(1.025); }
.home-news-featured-copy { padding: 42px; display: flex; flex-direction: column; justify-content: center; }
.home-news-featured-copy h3 { margin: 18px 0 16px; color: var(--navy-deep); font-size: clamp(2rem, 3vw, 3.3rem); line-height: 1.04; }
.home-news-featured-copy p { margin-bottom: 28px; color: var(--muted); line-height: 1.8; }
.home-news-list { padding: 4px 0; display: grid; align-content: stretch; }
.home-news-row { padding: 26px 4px 25px 26px; display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--line); }
.home-news-row:first-child { padding-top: 4px; }
.home-news-row:last-child { border-bottom: 0; padding-bottom: 4px; }
.home-news-row h3 { margin: 10px 0 9px; color: var(--navy-deep); font-size: 1.34rem; line-height: 1.2; }
.home-news-row p { display: -webkit-box; overflow: hidden; margin-bottom: 10px; color: var(--muted); font-size: .9rem; line-height: 1.65; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.home-news-row > a { margin-top: auto; color: var(--navy); font-size: .82rem; font-weight: 850; }
.home-news-empty-side { min-height: 240px; display: grid; place-items: center; align-content: center; text-align: center; color: var(--muted); border-left: 1px solid var(--line); }
.home-news-empty-side span { color: var(--navy); font-weight: 900; }
.newsroom-home-empty { min-height: 260px; padding: 42px; display: grid; grid-template-columns: minmax(280px, 1fr) minmax(300px, 1.2fr) auto; gap: 44px; align-items: center; background: linear-gradient(135deg, #f5f9fc, #edf6fb); border: 1px solid #d9e7f0; border-radius: 26px; }
.newsroom-home-empty > div:first-child { display: flex; align-items: center; gap: 20px; }
.newsroom-empty-mark { width: 70px; height: 70px; flex: 0 0 70px; display: grid; place-items: center; color: white; background: linear-gradient(135deg, #07326d, #08aef2); border-radius: 20px; font-size: 2.1rem; font-weight: 950; }
.newsroom-home-empty small { color: #087ebc; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.newsroom-home-empty h3 { margin: 7px 0 0; color: var(--navy-deep); font-size: 1.65rem; }
.newsroom-home-empty > p { margin: 0; color: var(--muted); line-height: 1.8; }
.newsroom-home-empty .btn-outline-dark { white-space: nowrap; }

/* Shared newsroom cards */
.corporate-news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.corporate-news-meta span { color: #087ebc; }
.corporate-news-meta time::before { content: "·"; margin-right: 10px; color: #9badbd; }
.news-featured-placeholder, .corporate-news-placeholder { width: 100%; height: 100%; min-height: inherit; display: grid; place-items: center; align-content: center; gap: 9px; color: white; background: radial-gradient(circle at 78% 18%, rgba(8,174,242,.9), transparent 28%), linear-gradient(145deg, #021127, #07356c 62%, #075a94); }
.news-featured-placeholder b, .corporate-news-placeholder b { font-size: clamp(4rem, 8vw, 8rem); line-height: .9; letter-spacing: -.08em; }
.news-featured-placeholder i, .corporate-news-placeholder i { font-style: normal; font-size: .67rem; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; opacity: .78; }

/* Newsroom index */
.newsroom-hero { padding: 178px 0 94px; color: white; background: linear-gradient(135deg, #020b18 0%, #052652 62%, #0877b5 100%); }
.newsroom-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .65fr); gap: 80px; align-items: end; }
.newsroom-hero h1 { max-width: 850px; margin-bottom: 0; font-size: clamp(3.2rem, 6vw, 6.1rem); line-height: .95; }
.newsroom-hero-copy { padding-bottom: 4px; }
.newsroom-hero-copy > p { margin-bottom: 25px; color: #c6d8ea; font-size: 1.05rem; line-height: 1.8; }
.newsroom-hero-line { display: flex; flex-wrap: wrap; gap: 8px; }
.newsroom-hero-line span { padding: 7px 10px; color: #d9f4ff; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: .68rem; font-weight: 800; }
.newsroom-index { padding: 0 0 112px; background: #fff; }
.news-filter-bar { position: relative; top: -28px; z-index: 3; padding: 10px; display: flex; flex-wrap: wrap; gap: 6px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 42px rgba(5,30,66,.1); }
.news-filter-bar a { padding: 10px 14px; color: var(--muted); border-radius: 11px; font-size: .78rem; font-weight: 800; }
.news-filter-bar a:hover, .news-filter-bar a.active { color: white; background: var(--navy); }
.news-featured-story { margin: 32px 0 62px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); min-height: 520px; background: #f5f8fb; border: 1px solid var(--line); border-radius: 28px; }
.news-featured-media { min-height: 520px; overflow: hidden; }
.news-featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.news-featured-story:hover .news-featured-media img { transform: scale(1.025); }
.news-featured-copy { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.featured-label { width: fit-content; margin-bottom: 22px; padding: 7px 10px; color: #065c8a; background: #dff6ff; border-radius: 999px; font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.news-featured-copy h2 { margin: 18px 0; color: var(--navy-deep); font-size: clamp(2.2rem, 3.7vw, 4rem); line-height: 1.02; }
.news-featured-copy p { margin-bottom: 26px; color: var(--muted); line-height: 1.8; }
.newsroom-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.corporate-news-card { overflow: hidden; display: flex; flex-direction: column; min-height: 100%; background: white; border: 1px solid var(--line); border-radius: 22px; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.corporate-news-card:hover { transform: translateY(-5px); border-color: #b8dced; box-shadow: var(--shadow-soft); }
.corporate-news-media { height: 240px; overflow: hidden; background: #07234a; }
.corporate-news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.corporate-news-card:hover .corporate-news-media img { transform: scale(1.035); }
.corporate-news-body { padding: 24px; display: flex; flex: 1; flex-direction: column; }
.corporate-news-body h3 { margin: 15px 0 12px; color: var(--navy-deep); font-size: 1.45rem; line-height: 1.16; }
.corporate-news-body p { margin-bottom: 22px; color: var(--muted); font-size: .93rem; line-height: 1.7; }
.news-card-link { margin-top: auto; color: var(--navy); font-size: .82rem; font-weight: 850; }
.newsroom-empty { margin-top: 45px; padding: 70px 30px; text-align: center; background: #f5f8fb; border: 1px dashed #c6d7e5; border-radius: 24px; }
.newsroom-empty > span { color: #087ebc; font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .18em; }
.newsroom-empty h2 { margin: 12px auto; max-width: 700px; color: var(--navy-deep); font-size: clamp(2rem, 4vw, 3.8rem); }
.newsroom-empty p { max-width: 700px; margin: 0 auto; color: var(--muted); }

/* Corporate article detail */
.corporate-article-header { padding: 155px 0 78px; color: white; background: linear-gradient(140deg, #020b18, #052b5c); }
.corporate-article-header-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .72fr); gap: 76px; align-items: center; }
.article-back-link { display: inline-flex; margin-bottom: 32px; color: #84ddff; font-size: .82rem; font-weight: 800; }
.corporate-article-meta-top { display: flex; flex-wrap: wrap; gap: 10px 18px; color: #b9cce0; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.corporate-article-meta-top span:first-child { color: #69d8ff; }
.corporate-article-heading h1 { margin: 22px 0 22px; font-size: clamp(3rem, 5.7vw, 6rem); line-height: .96; }
.corporate-article-heading > p { max-width: 800px; color: #c8d8e8; font-size: 1.12rem; line-height: 1.8; }
.article-signature { margin-top: 30px; display: flex; align-items: center; gap: 10px; font-size: .82rem; }
.article-signature span { color: #8fa8bf; }
.article-signature strong { color: white; }
.corporate-article-cover { min-height: 490px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 26px; box-shadow: 0 28px 80px rgba(0,0,0,.28); }
.corporate-article-cover img { width: 100%; height: 100%; min-height: 490px; object-fit: cover; }
.corporate-article-content-section { padding: 88px 0 108px; background: white; }
.corporate-article-layout { display: grid; grid-template-columns: 240px minmax(0, 820px); gap: 72px; justify-content: center; align-items: start; }
.article-rail { position: sticky; top: 100px; }
.article-rail-card { padding: 22px; display: grid; gap: 5px; background: #f5f8fb; border: 1px solid var(--line); border-radius: 18px; }
.article-rail-card span { margin-top: 12px; color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.article-rail-card span:first-child { margin-top: 0; }
.article-rail-card strong { color: var(--navy-deep); font-size: .9rem; }
.article-rail-card a { margin-top: 18px; color: #087ebc; font-size: .8rem; font-weight: 850; }
.corporate-article-prose { min-width: 0; color: #33475d; font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; line-height: 1.95; }
.corporate-article-prose p { margin-bottom: 1.55em; }
.corporate-article-prose h2, .corporate-article-prose h3 { margin: 1.7em 0 .65em; color: var(--navy-deep); font-family: var(--font-display, "Space Grotesk", "Segoe UI", sans-serif); }
.corporate-article-gallery { margin: 54px 0; display: grid; gap: 26px; }
.corporate-article-gallery figure { margin: 0; }
.corporate-article-gallery img { width: 100%; max-height: 680px; object-fit: cover; border-radius: 20px; }
.corporate-article-gallery figcaption { margin-top: 10px; color: var(--muted); font-family: var(--font-body, "Manrope", "Segoe UI", sans-serif); font-size: .78rem; }
.article-external-media { margin-top: 45px; padding: 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #eef8fd; border-radius: 16px; font-family: var(--font-body, "Manrope", "Segoe UI", sans-serif); }
.article-external-media span { color: var(--muted); font-size: .8rem; font-weight: 800; }
.article-external-media a { color: var(--navy); font-weight: 850; }
.newsroom-related-section { background: #f5f8fb; }

/* Better visual rhythm on major sections */
.stats-band { padding: 58px 0; }
.stats-grid-public article { min-height: 130px; display: grid; align-content: center; }
.site-footer { margin-top: 0; }
.footer-brand-row { padding-bottom: 42px; }
.footer-grid { gap: 44px; }

@media (max-width: 1180px) {
  .public-container { width: min(100% - 40px, var(--content-max)); }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: .75rem; }
  .newsroom-home-grid { grid-template-columns: 1fr; }
  .home-news-list { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .home-news-row { padding: 22px; border: 1px solid var(--line); border-radius: 18px; }
  .home-news-row:first-child, .home-news-row:last-child { padding: 22px; }
  .newsroom-home-empty { grid-template-columns: 1fr 1fr; }
  .newsroom-home-empty .btn-outline-dark { grid-column: 1 / -1; width: fit-content; }
}

@media (max-width: 980px) {
  .public-container { width: min(100% - 32px, var(--content-max)); }
  .split-title, .newsroom-hero-grid, .news-featured-story, .corporate-article-header-grid { grid-template-columns: 1fr; gap: 34px; }
  .section-side-copy { max-width: 700px; justify-self: start; }
  .home-news-featured { grid-template-columns: 1fr; }
  .home-news-featured-media { min-height: 390px; }
  .home-news-list { grid-template-columns: 1fr; }
  .news-featured-media { min-height: 410px; }
  .newsroom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .corporate-article-cover { min-height: 380px; }
  .corporate-article-cover img { min-height: 380px; }
  .corporate-article-layout { grid-template-columns: 1fr; gap: 34px; }
  .article-rail { position: static; }
  .article-rail-card { grid-template-columns: repeat(2, 1fr); }
  .article-rail-card a { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --section-space: 76px; }
  .public-container { width: min(100% - 24px, var(--content-max)); }
  .site-header-shell { height: 66px; }
  .brand-panel { width: 136px; height: 46px; }
  .cinematic-copy h1 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .newsroom-home-grid, .newsroom-grid { grid-template-columns: 1fr; }
  .home-news-featured-media { min-height: 300px; }
  .home-news-featured-copy { padding: 26px; }
  .newsroom-home-empty { padding: 28px; grid-template-columns: 1fr; gap: 24px; }
  .newsroom-home-empty .btn-outline-dark { grid-column: auto; width: 100%; }
  .newsroom-hero { padding: 142px 0 72px; }
  .newsroom-hero h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .news-filter-bar { top: -22px; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .news-filter-bar::-webkit-scrollbar { display: none; }
  .news-filter-bar a { white-space: nowrap; }
  .news-featured-story { min-height: 0; margin-top: 20px; }
  .news-featured-media { min-height: 300px; }
  .news-featured-copy { padding: 28px; }
  .corporate-news-media { height: 220px; }
  .corporate-article-header { padding: 130px 0 62px; }
  .corporate-article-heading h1 { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .corporate-article-cover, .corporate-article-cover img { min-height: 300px; }
  .corporate-article-content-section { padding: 64px 0 80px; }
  .corporate-article-prose { font-size: 1.03rem; line-height: 1.85; }
  .article-rail-card { grid-template-columns: 1fr; }
  .article-rail-card a { grid-column: auto; }
  .article-external-media { align-items: flex-start; flex-direction: column; }
}

/* ============================================================
   Équipe Kholding — espace public
   ============================================================ */
.home-team-section { background:#f7fafc; }
.home-team-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.home-team-card { overflow:hidden; background:white; border:1px solid var(--line); border-radius:23px; box-shadow:var(--shadow-soft); transition:.25s ease; }
.home-team-card:hover { transform:translateY(-5px); box-shadow:var(--shadow); }
.home-team-photo { height:315px; display:block; overflow:hidden; background:linear-gradient(145deg,#062a59,#08aef2); }
.home-team-photo img { width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.home-team-card:hover .home-team-photo img { transform:scale(1.035); }
.home-team-photo > span { width:100%; height:100%; display:grid; place-items:center; color:white; font-size:6rem; font-weight:950; }
.home-team-card > div { padding:22px; }
.home-team-card small,.team-card-body small { color:#087fbd; font-size:.67rem; font-weight:850; text-transform:uppercase; letter-spacing:.1em; }
.home-team-card h3 { margin:7px 0 8px; color:var(--navy-deep); font-size:1.35rem; }
.home-team-card p { margin-bottom:18px; color:var(--muted); }
.home-team-card > div > a { color:var(--navy); font-size:.79rem; font-weight:850; }
.team-hero { position:relative; padding:195px 0 115px; overflow:hidden; color:white; background:linear-gradient(135deg,#020b18,#052f65 62%,#078bc9); }
.team-hero::before { content:""; position:absolute; width:660px; height:660px; right:-180px; top:-250px; border:1px solid rgba(101,216,255,.16); border-radius:50%; box-shadow:0 0 0 85px rgba(101,216,255,.035),0 0 0 170px rgba(101,216,255,.025); }
.team-hero-grid { position:relative; z-index:2; display:grid; grid-template-columns:1.05fr .65fr; gap:85px; align-items:end; }
.team-hero h1 { max-width:850px; margin:0; font-size:clamp(3.6rem,7vw,7rem); }
.team-hero-copy p { color:#c4d5e6; font-size:1.08rem; line-height:1.85; }
.team-hero-note { margin-top:28px; padding-top:20px; display:flex; gap:12px; border-top:1px solid rgba(255,255,255,.15); color:#8daac4; font-size:.82rem; text-transform:uppercase; letter-spacing:.11em; }
.team-hero-note strong { color:#6bdcff; }
.team-index-section { background:white; }
.team-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.team-grid-compact { grid-template-columns:repeat(3,minmax(0,1fr)); }
.team-card { overflow:hidden; border:1px solid var(--line); border-radius:26px; background:white; box-shadow:var(--shadow-soft); transition:.28s ease; }
.team-card:hover { transform:translateY(-6px); box-shadow:var(--shadow); }
.team-card-media { position:relative; height:430px; display:block; overflow:hidden; background:linear-gradient(145deg,#041f45,#08aef2); }
.team-card-media img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.team-card:hover .team-card-media img { transform:scale(1.04); }
.team-card-placeholder { width:100%; height:100%; display:grid; place-items:center; color:white; font-size:8rem; font-weight:950; }
.team-card-number { position:absolute; top:17px; right:17px; padding:7px 9px; color:white; background:rgba(2,17,39,.58); border:1px solid rgba(255,255,255,.18); border-radius:999px; backdrop-filter:blur(8px); font-size:.68rem; font-weight:900; }
.team-card-body { padding:25px; }
.team-card-body h2 { margin:8px 0 5px; color:var(--navy-deep); font-size:1.55rem; }
.team-card-body > strong { display:block; color:#36526f; font-size:.9rem; }
.team-card-body p { min-height:74px; margin:15px 0 18px; color:var(--muted); }
.team-card-link { display:flex; justify-content:space-between; align-items:center; padding-top:17px; color:var(--navy); border-top:1px solid var(--line); font-size:.8rem; font-weight:850; }
.team-card-link span { color:var(--cyan); }
.team-empty-state { padding:70px 35px; display:flex; gap:28px; align-items:center; color:var(--muted); background:#f5f8fb; border:1px dashed #c7d7e5; border-radius:26px; }
.team-empty-state > span { width:82px; height:82px; flex:0 0 auto; display:grid; place-items:center; color:white; background:linear-gradient(145deg,var(--navy),var(--cyan)); border-radius:22px; font-size:2.5rem; font-weight:950; }
.team-empty-state h2 { color:var(--navy-deep); }
.team-empty-state p { margin:0; }
.team-closing-band { padding:88px 0; color:white; background:linear-gradient(135deg,#03152f,#07549a); }
.team-closing-inner { display:grid; grid-template-columns:1fr auto; gap:60px; align-items:center; }
.team-closing-inner h2 { max-width:880px; margin:0; font-size:clamp(2.2rem,4.5vw,4.4rem); }
.member-profile-hero { padding:165px 0 90px; color:white; background:linear-gradient(135deg,#020b18,#063c78); }
.member-profile-grid { display:grid; grid-template-columns:minmax(320px,.72fr) minmax(0,1.15fr); gap:75px; align-items:center; }
.member-profile-media { height:min(680px,72vh); min-height:500px; overflow:hidden; border-radius:30px; background:linear-gradient(145deg,#062a59,#08aef2); box-shadow:0 28px 80px rgba(0,0,0,.28); }
.member-profile-media img { width:100%; height:100%; object-fit:cover; }
.member-profile-placeholder { width:100%; height:100%; display:grid; place-items:center; color:white; font-size:10rem; font-weight:950; }
.member-profile-heading h1 { margin:15px 0 12px; font-size:clamp(3.6rem,6.5vw,7rem); }
.member-profile-heading h2 { margin:0 0 22px; color:#68d8ff; font-size:1.35rem; letter-spacing:-.01em; }
.member-profile-heading > p { max-width:760px; color:#c8d9e9; font-size:1.08rem; line-height:1.82; }
.member-profile-links { margin-top:28px; display:flex; flex-wrap:wrap; gap:9px; }
.member-profile-links a { padding:10px 13px; color:white; border:1px solid rgba(255,255,255,.18); border-radius:11px; font-size:.78rem; font-weight:800; }
.member-profile-content-section { background:white; }
.member-profile-content-grid { display:grid; grid-template-columns:260px minmax(0,850px); gap:80px; justify-content:center; align-items:start; }
.member-profile-aside { position:sticky; top:110px; padding:23px; display:grid; gap:6px; background:#f5f8fb; border:1px solid var(--line); border-radius:20px; }
.member-profile-aside span { margin-top:12px; color:var(--muted); font-size:.68rem; text-transform:uppercase; letter-spacing:.09em; }
.member-profile-aside span:first-child { margin-top:0; }
.member-profile-aside strong { color:var(--navy-deep); }
.member-profile-prose { color:#42566d; font-size:1.05rem; line-height:1.95; }
.member-profile-prose blockquote { margin:0 0 40px; padding:28px 32px; color:var(--navy-deep); background:#eef8fd; border-left:4px solid var(--cyan); border-radius:0 20px 20px 0; font-size:1.45rem; font-weight:750; line-height:1.45; }
.member-other-section { padding-top:95px; }

@media (max-width:1180px) {
  .home-team-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .team-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .team-hero-grid { grid-template-columns:1fr .7fr; gap:50px; }
}
@media (max-width:980px) {
  .team-hero-grid,.member-profile-grid,.member-profile-content-grid,.team-closing-inner { grid-template-columns:1fr; }
  .team-hero-copy { max-width:700px; }
  .member-profile-media { width:min(620px,100%); height:620px; }
  .member-profile-content-grid { gap:35px; }
  .member-profile-aside { position:static; grid-template-columns:1fr 1fr; }
}
@media (max-width:680px) {
  .home-team-grid,.team-grid { grid-template-columns:1fr; }
  .home-team-photo { height:380px; }
  .team-hero { padding:155px 0 80px; }
  .team-hero h1 { font-size:clamp(3rem,14vw,5rem); }
  .team-card-media { height:390px; }
  .team-empty-state { align-items:flex-start; flex-direction:column; }
  .member-profile-hero { padding:135px 0 70px; }
  .member-profile-media { min-height:420px; height:500px; }
  .member-profile-aside { grid-template-columns:1fr; }
}

/* ===== Kholding visual refinement: typography, logo and media consistency ===== */
:root {
  --font-body: "Manrope", "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  --font-display: "Space Grotesk", "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
}
body { font-family: var(--font-body); font-weight: 500; }
h1, h2, h3, h4, .site-nav a, .btn-primary, .btn-ghost, .btn-outline-dark { font-family: var(--font-display); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.loader-mark { width: min(76vw, 390px); }
.loader-mark img { width: min(330px, 72vw); max-height: 145px; padding: 15px 20px; border-radius: 18px; object-fit: contain; }
.site-header-shell { height: 74px; }
.site-brand { min-width: 0; }
.brand-panel { width: 166px; height: 55px; padding: 5px 8px; border-radius: 13px; }
.brand-panel img { object-fit: contain; object-position: center; }
.site-header.is-scrolled .site-header-shell { height: 66px; }

/* Uploaded media are framed consistently without distortion. */
.listing-media, .agency-cover, .post-card-public > div:first-child, .corporate-news-media, .home-news-featured-media, .news-featured-media, .home-team-photo, .team-card-media { background: linear-gradient(145deg, #e8f1f8, #d8e9f5); }
.listing-media img, .agency-cover > img, .post-card-public img, .corporate-news-media img, .home-news-featured-media img, .news-featured-media img, .home-team-photo img, .team-card-media img { object-position: center center; image-rendering: auto; }
.agency-logo-public { padding: 9px; }
.agency-logo-public img, .agency-mini img, .agency-profile-logo img, .listing-contact-agency img { object-fit: contain; object-position: center; }

.footer-logo-badge { width: 104px; height: 104px; margin-top: -52px; padding: 14px; border-radius: 26px; }
.footer-logo-badge img { object-fit: contain; }

@media (max-width: 760px) {
  .brand-panel { width: 142px; height: 50px; }
  .site-header { left: 10px; right: 10px; top: 10px; }
  .loader-mark img { width: min(290px, 78vw); }
}

/* ========================================================================== */
/* FINAL RESPONSIVE HARDENING — mobile, tablet, logo and media consistency     */
/* ========================================================================== */
html, body { max-width: 100%; overflow-x: clip; }
main, .public-container, .immohub-shell, .immohub-shell > *, .intro-grid > *,
.market-hero-grid > *, .detail-hero-grid > *, .article-hero-grid > *,
.newsroom-home-grid > *, .newsroom-hero-grid > *, .corporate-article-header-grid > *,
.team-hero-grid > *, .member-profile-grid > *, .footer-grid > * { min-width: 0; }

.brand-logo-mark { display: none; }
.header-login-short { display: none; }
.nav-account-mobile { display: none; }

/* Logos are identity assets: always contain them, never crop or stretch them. */
.brand-panel img, .loader-mark img, .footer-logo-badge img,
.agency-logo-public img, .agency-mini img, .agency-profile-logo img,
.listing-contact-agency img { object-fit: contain !important; object-position: center !important; }
.brand-panel { overflow: hidden; }
.brand-panel .brand-logo-full { width: 100%; height: 100%; }
.brand-panel .brand-logo-mark { width: 100%; height: 100%; padding: 1px; }

/* Photos and editorial visuals keep predictable proportions. */
.achievement-media img, .property-image img, .listing-media img, .agency-cover > img,
.listing-gallery-main img, .listing-gallery-side img, .corporate-news-media img,
.home-news-featured-media img, .news-featured-media img, .corporate-article-cover img,
.corporate-article-gallery img, .home-team-photo img, .team-card-media img,
.member-profile-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Tablet navigation: collapse before links and account access compete for space. */
@media (max-width: 1180px) {
  .site-header { left: 12px; right: 12px; top: 12px; }
  .site-header-shell { height: 70px; padding: 7px 9px; gap: 10px; }
  .site-header.is-scrolled { top: 8px; }
  .site-header.is-scrolled .site-header-shell { height: 66px; }
  .menu-toggle { display: grid; flex: 0 0 auto; }
  .header-login { display: inline-flex; flex: 0 0 auto; }
  .site-header-actions { margin-left: auto; }
  .site-nav {
    position: fixed; z-index: 90; top: 92px; left: 16px; right: 16px;
    max-height: calc(100dvh - 108px); margin-left: 0; padding: 14px;
    display: none; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto;
    overscroll-behavior: contain; background: rgba(2,17,39,.985);
    border: 1px solid rgba(255,255,255,.13); border-radius: 20px;
    box-shadow: 0 28px 70px rgba(0,0,0,.42); backdrop-filter: blur(20px);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 12px; color: rgba(255,255,255,.86); font-size: .92rem; border-bottom: 1px solid rgba(255,255,255,.075); white-space: normal; }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }
  .site-nav .nav-account-mobile { display: flex; margin-top: 10px; justify-content: center; color: #001830; background: linear-gradient(135deg, #78deff, #08aef2); border: 0; border-radius: 12px; font-weight: 850; }
  body.menu-open::after { content: ""; position: fixed; inset: 0; z-index: 85; background: rgba(0,8,20,.45); backdrop-filter: blur(2px); }
  body.menu-open .site-header { z-index: 100; }
  .immohub-shell { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .immohub-search-card { width: 100%; max-width: 720px; min-width: 0; justify-self: stretch; }
}

@media (max-width: 680px) {
  .public-container { width: min(100% - 24px, var(--content-max)); }
  .site-header { left: 8px; right: 8px; top: 8px; }
  .site-header-shell, .site-header.is-scrolled .site-header-shell { height: 62px; padding: 5px 7px; gap: 7px; border-radius: 17px; }
  .site-header.is-scrolled { top: 6px; }
  .brand-panel { width: 50px; height: 50px; padding: 7px; border-radius: 13px; }
  .brand-logo-full { display: none !important; }
  .brand-logo-mark { display: block; }
  .header-login { min-height: 40px; padding: 8px 11px; border-radius: 11px; font-size: .71rem; }
  .header-login-full { display: none; }
  .header-login-short { display: inline; }
  .menu-toggle { width: 40px; height: 40px; border-radius: 10px; }
  .menu-toggle span { width: 20px; }
  .site-nav { top: 77px; left: 8px; right: 8px; max-height: calc(100dvh - 87px); padding: 10px; border-radius: 17px; }
  .site-nav a { padding: 13px 10px; font-size: .9rem; }
  .flash-stack { top: 80px; right: 12px; width: calc(100% - 24px); }

  .cinematic-hero { min-height: max(680px, 100svh); height: auto; }
  .cinematic-content { min-height: max(680px, 100svh); padding-top: 104px; padding-bottom: 62px; }
  .cinematic-copy h1 { font-size: clamp(2.55rem, 13vw, 4.35rem); line-height: .96; }
  .cinematic-copy p { margin-bottom: 28px; font-size: .95rem; line-height: 1.65; }
  .hero-actions, .immohub-actions { gap: 10px; }

  .public-section, .group-intro, .immohub-feature { padding: 72px 0; }
  .section-title h2 { font-size: clamp(2rem, 10.5vw, 3.35rem); }
  .split-title { gap: 14px; margin-bottom: 38px; }
  .capability-card { min-height: 0; padding: 24px; }
  .capability-icon { margin-bottom: 22px; }

  .immohub-shell { gap: 34px; }
  .immohub-copy h2 { font-size: clamp(2.2rem, 11vw, 3.6rem); }
  .immohub-search-card { width: 100%; max-width: 100%; padding: 20px; border-radius: 20px; box-shadow: 0 22px 58px rgba(0,0,0,.23); }
  .search-card-head { margin-bottom: 18px; flex-wrap: wrap; gap: 8px 14px; }
  .search-card-head span { font-size: 1.03rem; }
  .home-property-search { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .home-property-search > *, .home-property-search input, .home-property-search select { min-width: 0; max-width: 100%; }
  .search-wide { grid-column: auto; }
  .mini-stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px 14px; }
  .mini-stats strong { font-size: 2rem; }

  .news-filter-bar { top: -18px; padding: 8px; flex-wrap: wrap; overflow: visible; gap: 5px; border-radius: 16px; }
  .news-filter-bar a { padding: 8px 10px; white-space: normal; font-size: .7rem; }
  .newsroom-hero, .team-hero { padding-top: 128px; }
  .newsroom-hero h1, .team-hero h1 { font-size: clamp(2.55rem, 13vw, 4.35rem); }
  .newsroom-hero-line { gap: 6px; }
  .newsroom-hero-line span { font-size: .63rem; }
  .home-news-featured-media, .news-featured-media { min-height: 0; aspect-ratio: 16 / 10; }
  .corporate-news-media { height: auto; aspect-ratio: 16 / 10; }
  .home-news-featured-copy, .news-featured-copy { padding: 24px; }

  .achievement-media, .property-image, .listing-media { height: auto; aspect-ratio: 16 / 10; }
  .agency-cover { height: auto; aspect-ratio: 16 / 7; overflow: hidden; }
  .listing-gallery-grid { display: grid; grid-template-columns: 1fr; min-height: 0; }
  .listing-gallery-main, .listing-gallery-side { min-height: 0; }
  .listing-gallery-main img { min-height: 0; aspect-ratio: 4 / 3; }
  .listing-gallery-side { grid-template-columns: repeat(2, minmax(0,1fr)); grid-template-rows: auto; }
  .listing-gallery-side img { min-height: 0; aspect-ratio: 1 / 1; }
  .home-team-photo, .team-card-media { height: auto; aspect-ratio: 4 / 5; }
  .member-profile-media { width: 100%; min-height: 0; height: auto; aspect-ratio: 4 / 5; border-radius: 22px; }
  .corporate-article-cover, .corporate-article-cover img { min-height: 0; }
  .corporate-article-cover { aspect-ratio: 16 / 10; }
  .corporate-article-gallery img { max-height: none; aspect-ratio: auto; }

  .content-block, .service-detail-card, .modern-form { padding: 21px; }
  .listing-quick-facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .listing-quick-facts div { min-height: 88px; padding: 14px 10px; }
  .agency-profile-copy h1 { font-size: clamp(2.35rem, 12vw, 3.2rem); }
  .agency-profile-content { min-height: 0; padding-top: 205px; padding-bottom: 50px; }

  .footer-grid { padding: 42px 0; gap: 30px; }
  .footer-bottom { align-items: flex-start; }
  .footer-bottom div { flex-wrap: wrap; }
  .footer-logo-badge { width: 94px; height: 104px; margin-top: -52px; padding: 12px; border-radius: 23px; }
}

@media (max-width: 360px) {
  .public-container { width: min(100% - 20px, var(--content-max)); }
  .header-login { padding-inline: 9px; }
  .cinematic-copy h1 { font-size: clamp(2.35rem, 12.7vw, 3.8rem); }
  .btn-primary, .btn-ghost, .btn-outline-dark { min-height: 46px; padding: 12px 15px; font-size: .83rem; }
  .immohub-search-card { padding: 17px; }
  .search-card-head { align-items: flex-start; flex-direction: column; }
  .mini-stats { grid-template-columns: 1fr 1fr; }
  .news-filter-bar a { font-size: .66rem; }
  .stats-grid-public, .market-stats-grid { grid-template-columns: 1fr; }
  .stats-grid-public article, .market-stats-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats-grid-public article:last-child, .market-stats-grid div:last-child { border-bottom: 0; }
  .listing-quick-facts { grid-template-columns: 1fr 1fr; }
}

/* Hero reliability: never let inactive slides overlap content during first paint. */
.cinematic-slide {
  display: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transform: scale(1.025);
  transition: none;
}
.cinematic-slide.is-active {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
  transform: scale(1);
  animation: kholdingHeroReveal .72s ease both;
}
@keyframes kholdingHeroReveal {
  from { opacity: 0; transform: scale(1.018); }
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .cinematic-slide.is-active { animation: none; }
}
