/* M5.2 — explicitly approved desktop density and mobile header repair. */
/* Desktop-only refinement; form typography and mobile density are preserved. */
@media(min-width:1100px){
 .hero h1{font-size:clamp(38px,3.82vw,54.5px)}
 .hero .intro{margin-bottom:30px}
 .recent h2{font-size:32.5px}.owner-path h2,.technical h2{font-size:34.5px}
 .recent{padding-top:72px;padding-bottom:65px}.owner-path{padding-block:72px}.technical{padding-block:48px}
 .owner-grid{gap:72px}.technical .home-inner{column-gap:57px}
 body:not(.single-megara_property) .page:not(.detail-page){padding-top:22px;padding-bottom:69px}
 .page>.page-heading h1,.page>.agency-story>h1{font-size:32.5px}
 .catalog-page .page-heading{margin-bottom:19px}
 .catalog-search{padding-block:17px;margin-bottom:21px}
 .catalog-contract{margin-bottom:13px}
 .results-toolbar{gap:19px;margin-bottom:15px}.results-toolbar h2{font-size:22px}
 .agency-story+.agency-owner{margin-top:30.5px}.owner-layout{gap:64px}
 .technical-steps>section{padding-block:25px;gap:19px}
 .technical-steps>section:first-child{padding-top:0}
}
@media(max-width:760px){
 .hero .header{height:88px;min-height:88px;left:20px;right:20px;width:auto;transform:none;padding:0;margin:0;align-items:center;overflow:visible}
 .site-header{height:88px;overflow:visible}
 .site-header .header-row{height:88px;min-height:88px;padding-block:0;align-items:center;overflow:visible}
 .home-brand,.site-header .brand{display:flex;align-items:center;line-height:1;height:auto;margin:0;transform:none;overflow:visible}
 .home-brand picture,.site-header .brand picture{display:block;line-height:0}
 .home-brand .logo,.site-header .brand img{display:block;width:170px;height:auto;aspect-ratio:1798.7561/437.41456;object-fit:contain;overflow:visible;transform:none;margin:0}
 .hero .hamb,.site-header .menu-toggle{flex-shrink:0;align-self:center;margin-block:0;transform:translateY(-3px)}
 .site-header .menu-toggle span{transform:none}
}
/* Post-M6: one compact spacing family, no scaling/zoom and no form resizing. */
.carousel-controls{justify-content:flex-end}
.detail-heading{min-width:0}
.detail-heading .detail-location{margin:8px 0 0}
.detail-title-row:has(.detail-heading){align-items:flex-start;margin-bottom:20px}
@media(min-width:1100px){
 body{font-size:15.2px;line-height:1.5}
 .hero main{transform:translateY(-84px)}
 .hero h1{font-size:clamp(33.12px,3.3396vw,47.656px)}
 .hero .intro{font-size:19.95px;line-height:1.45;margin-block:13px 28.5px}
 .recent h2{font-size:28.5px}.owner-path h2,.technical h2{font-size:30.2px}
 .page h1{font-size:clamp(29.44px,2.99vw,42.32px)}
 .page>.page-heading h1,.page>.agency-story>h1{font-size:28.5px}
 .page h2,.detail-content .property-description h2{font-size:21px}
 .agency-owner>.page-heading h2{font-size:26px}
 .page .property-contact h2{font-size:18.4px}
 .detail-title-row h1{font-size:29.7px}.detail-price{font-size:30.4px}
 .page .form-panel h2{font-size:22.1px}
 .page h3,.owner-steps h3{font-size:16.56px}
 .technical-domains h3{font-size:14.72px}
 .page p:not(.eyebrow):not(.card-price):not(.detail-price):not(.card-place):not(.article-meta):not(.form-status):not(.form-panel *,form *,.property-contact *),
 .owner-path p,.technical p,.recent-heading p,.recent-catalog p{font-size:15.2px;line-height:1.5}
 .page .form-panel,.page form{font-size:16px}
 .agency-story p,.technical-heading p,.technical-steps p{margin-bottom:7.6px}
 .page-heading p+p,.owner-path p+p,.technical p+p{margin-top:7.6px}
 .page-heading{margin-bottom:32px}.page-heading.editorial-opening{margin-bottom:45.6px}
 .recent{padding-top:68px;padding-bottom:62px}.owner-path{padding-block:68px}.technical{padding-block:46px}
 .owner-grid{gap:68px}.owner-layout{gap:61px}.contact-layout{gap:72px}
 .editorial-sections>section,.article-preview{padding-block:28.5px}
 .technical-steps>section{padding-block:24px}.technical-steps>section:first-child{padding-top:0}
 .property-grid{row-gap:34px}.recent-heading{margin-bottom:28.5px}
 .property-card-link{gap:6px}
 .property-card-link>:is(.card-meta,.recent-meta,.card-price,.recent-price,h3,.card-place,.recent-location,.card-facts,.recent-facts,.card-detail,.recent-detail){margin-block:0}
 .property-card-link>:is(.photo-link,.recent-photo-link){margin-bottom:6px}
 .recent-photo-link .recent-photo{margin-bottom:0}
 .property-card-link :is(.card-meta,.recent-meta){font-size:11.4px;line-height:1.45}
 .property-card-link :is(.card-price,.recent-price){font-size:22.8px;line-height:1.2}
 .property-card h3{font-size:14.86px}.recent h3{font-size:15.73px}
 .property-card-link :is(.card-place,.recent-location,.card-facts,.recent-facts){font-size:13.3px;line-height:1.4}
 .property-card-link .action-tertiary.action-tertiary{margin-top:0;font-size:13.3px;line-height:1.4}
 /* M6.1.1: only heading-to-copy gaps; separation between sections stays intact. */
 .page h1:has(+p):not(.detail-heading>h1),.article-reading>h1{margin-bottom:14px}
 .detail-heading .detail-location{margin-top:5px}
 .page h2:has(+p),.page h2:has(+.editorial-copy),.page .form-panel>h2{margin-bottom:11px}
 .page .technical-steps h2:has(+p){margin-bottom:8px}
 .page h3:has(+p),.owner-steps h3,.technical-domains h3{margin-bottom:4px}
 .recent-heading>p{margin-top:8px}
 .owner-path h2:has(+.editorial-copy){margin-bottom:14px}
 .technical h2:has(+.editorial-copy){margin-bottom:7px}
 .page .results-toolbar h2+p{margin-top:4px}
 .property-card-link.property-card-link>h3{margin-bottom:-2px}
 .article-card h2:has(+p){margin-bottom:7px}
 #path-title{margin-bottom:11px}#path-title+ol{margin-top:16px}
 .contact-layout>section>h2+dl{margin-top:16px}
}

/* M8.1.1 generated light palette — scripts/build-light-palette.mjs */
@media (prefers-color-scheme: dark) and (forced-colors: none){
}
