/* Native language selection and the existing favorites dialog in one compact row. */
body>header{flex-wrap:nowrap;gap:14px;padding-inline:3%;min-height:88px}
body>header>.account-actions{display:flex;flex-wrap:nowrap;width:auto;margin:0;gap:6px;flex:0 0 auto;order:0}
body>header>.account-actions a{min-height:44px;padding:8px 11px;font-size:13px;white-space:nowrap}
body>header>.account-actions .crm-trial-entry{flex-direction:row}
body>header>.account-actions .crm-trial-entry bdi{display:none}
body>header>.header-tools{display:flex;align-items:center;flex:0 0 auto;flex-wrap:nowrap;gap:6px;margin:0}
body>header>.header-tools .language-picker{position:relative;display:block;flex:0 0 44px;order:0;width:44px;height:44px;margin:0;border:1px solid #d3ded9;border-radius:9px;background:#fff;color:#17313c}
body>header>.header-tools .language-picker label{display:flex;align-items:center;justify-content:center;width:100%;height:100%;margin:0;pointer-events:none}
body>header>.header-tools .language-picker select{position:absolute;inset:0;width:100%;height:100%;min-height:44px;max-width:none;padding:0;opacity:0;cursor:pointer;font-size:16px}
body>header>.header-tools .language-picker:hover{background:#f5f0e5;border-color:#b59658}
body>header>.header-tools .language-picker:focus-within{outline:3px solid #00799c;outline-offset:3px}
body>header>.header-tools .language-status:not(:empty){position:absolute;inset-block-start:calc(100% + 8px);inset-inline-end:0;z-index:60;width:220px;max-width:calc(100vw - 28px);padding:10px 12px;border:1px solid #d3ded9;border-radius:8px;background:#fff;color:#17313c;box-shadow:0 4px 16px #112b361c;text-align:start}
body>header>.header-tools .site-save-bar{display:flex;flex:0 0 44px;padding:0;margin:0;border:0;background:none}
body>header>.header-tools #site-save-opener{width:44px;height:44px;min-height:44px;padding:0;gap:0;border:1px solid #d3ded9;border-radius:9px;color:#17313c;background:#fff}
body>header>.header-tools #site-save-opener:hover{background:#f5f0e5;border-color:#b59658}
body>header>.header-tools #site-save-opener>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
body>header>.header-tools #site-save-opener svg{width:22px;height:22px}
body>header>.header-tools #site-save-opener:focus-visible{outline:3px solid #00799c;outline-offset:3px}
@media(min-width:1440px){body>header>#navigation{flex-wrap:nowrap;gap:16px;white-space:nowrap;font-size:14px}body>header>#navigation .nav-contact{padding:8px 12px}}
@media(min-width:901px) and (max-width:1439px){
 body>header>.logo img{width:150px}
 body>header>#menu{display:block;margin-inline:auto;background:#fff;color:#17313c;border:1px solid #d3ded9;border-radius:9px;min-height:44px;padding:8px 14px}
 body>header>#navigation{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;padding:14px 3%;background:#fff;box-shadow:0 8px 18px #112b361a;gap:0;z-index:50}
 body>header>#navigation.open{display:flex}
 body>header>#navigation a{padding:10px 12px;min-height:44px}
}
@media(max-width:900px){
 body[data-mobile-shell]>header{gap:8px;flex-wrap:nowrap}
 body[data-mobile-shell]>header>.header-tools{display:flex}
 body[data-mobile-shell]>header>.logo{flex:1;min-width:0}
 body[data-mobile-shell]>header>.logo img{width:146px;max-width:100%;height:44px;object-fit:contain}
 body[data-mobile-shell]>header>#mobile-header-menu:not([hidden]){width:44px;height:44px;padding:0;gap:0;border-radius:9px}
 body[data-mobile-shell]>header>#mobile-header-menu>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 #mobile-menu-content :is(#mobile-language-slot,#mobile-save-slot){display:none}
}
@media(forced-colors:active){body>header>.header-tools :is(.language-picker,#site-save-opener){border-color:ButtonText}body>header>.header-tools svg{color:ButtonText}}

/* Center the boutique introduction and illustration as a balanced pair. */
body .hero-copy{align-items:center;text-align:center}
body .hero .eyebrow{direction:inherit}
body .hero-copy>p strong{color:#fff;font-weight:600}
body .hero .actions,body .hero-signature{justify-content:center}
@media(min-width:901px){
 body .hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:24px;padding-inline:clamp(24px,4vw,80px);min-height:412px}
 body .hero-copy,html[dir=ltr] body .hero-copy{padding:28px 20px;min-width:0;width:100%;max-width:620px;justify-self:center}
 body .hero h1{font-size:clamp(34px,3.1vw,48px);line-height:1.3;margin:12px 0}
 body .hero-copy>p{font-size:17px;line-height:1.7}
 body .hero .actions{margin-top:18px;gap:14px;flex-wrap:wrap}
 body .hero-signature{margin-top:18px}
 body .hero figure{min-height:0;height:380px;align-self:center;margin:16px 0;margin-inline-end:clamp(24px,6vw,120px);border-radius:14px}
 body .hero figure>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
 body .hero .image-tag{padding:15px 22px;font-size:17px}
}
@media(max-width:900px){
 body .hero{min-height:0;grid-template-columns:1fr;gap:12px;padding-block:20px}
 body .hero-copy>p{margin-block:10px}
 body .hero .actions{margin-top:18px}
 body .hero-signature{margin-top:14px}
 body .hero figure{min-height:0;height:200px;max-height:none;border-radius:14px;margin:0}
 body .hero figure>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
 body .hero .image-tag{padding:10px 15px;font-size:14px}
}

/* Property discovery comes before the editorial news section on the home page. */
body .properties.section{padding-block:34px 44px;background:#f7f5ee;border-bottom:1px solid #deded8}
body .properties .section-head{margin-bottom:18px}
body .properties .property-ai-panel{border:2px solid #cfb47a;box-shadow:0 10px 28px #112b3624;padding:16px 20px;border-radius:16px}
body .properties .property-ai-heading{margin-bottom:10px;gap:10px}
body .properties .property-ai-icon{width:36px;height:36px;border-radius:9px}
body .properties .property-ai-panel .ai-kicker{display:none}
body .properties .property-ai-panel h3{font-size:22px;line-height:1.4}
body .properties .property-ai-row textarea{border:1px solid #d7e2de;min-height:52px;padding:12px 14px;font-size:16px;box-shadow:0 2px 7px #0001}
body .properties .property-ai-row button{min-height:52px;padding:10px 18px;font-size:16px}
body .properties .property-ai-examples{margin-top:8px;gap:6px}
body .properties .property-ai-panel #property-ai-status{margin-top:8px}
body .properties .property-ai-panel .ai-search-note{margin-top:6px}
@media(max-width:900px){body .properties.section{padding:26px 16px}body .properties .property-ai-panel{padding:14px}body .properties .property-ai-panel h3{font-size:21px}body .properties .property-ai-row textarea{min-height:64px;font-size:16px}}

/* Keep account actions at the trailing edge, beside the language/favorites tools.
   Bound the desktop content width so controls do not drift to the window edge. */
@media(min-width:901px){
 body>header{padding-inline:max(5%,calc((100% - 1480px)/2));column-gap:14px}
}
/* Desktop brand, navigation, account actions and tools share one centered row.
   Long translations can wrap inside their own track without pushing tools out. */
@media(min-width:1440px){
 body>header{display:grid;grid-template-columns:180px minmax(0,1fr) auto auto;column-gap:14px;align-items:center;padding-block:14px;height:auto}
 body>header>.logo{grid-column:1;grid-row:1;min-width:0;max-width:100%}
 body>header>.logo img{max-width:100%}
 body>header>.logo span{max-width:100%;text-align:center;overflow-wrap:anywhere;letter-spacing:.4px}
 body>header>#navigation{grid-column:2;grid-row:1;min-width:0;width:100%;max-width:100%;display:flex;flex-wrap:wrap;gap:4px 12px;white-space:normal;justify-content:center}
 body>header>#navigation a{min-height:44px;display:flex;align-items:center;max-width:100%;overflow-wrap:anywhere}
 body>header>.account-actions{grid-column:3;grid-row:1;min-width:0;max-width:360px;width:auto;flex-wrap:wrap;justify-content:flex-end}
 body>header>.account-actions a{white-space:normal;overflow-wrap:anywhere}
 body>header>.header-tools{grid-column:4;grid-row:1;justify-self:start;align-self:center}
}
@media(min-width:901px) and (max-width:1439px){
 body>header{flex-wrap:wrap;height:auto}
 body>header>.logo{max-width:190px;min-width:0}
 body>header>.logo span{max-width:100%;text-align:center;overflow-wrap:anywhere}
 body>header>.account-actions{min-width:0;max-width:100%;flex:1 1 280px;flex-wrap:wrap;justify-content:flex-end}
 body>header>.account-actions a{white-space:normal;overflow-wrap:anywhere}
 body>header>#menu{flex:0 0 auto;margin-inline:0}
}
