/* Public pages: consistent controls and comfortable narrow-screen layouts. */
.header .logo,.header .nav-cta,.header .menu{flex-shrink:0}
svg.access-arrow{width:20px;height:20px;min-width:20px;flex-shrink:0}
.service-card .card-arrow{width:32px;height:32px}
.service-card .card-arrow .access-arrow{width:18px;height:18px;min-width:18px}
.property-page .header nav a[href="energia.html"]::after{content:"";display:block;width:20px;height:20px;flex:0 0 20px;background:currentColor;mask:center/contain no-repeat url('/assets/access-arrow.svg');-webkit-mask:center/contain no-repeat url('/assets/access-arrow.svg')}
@media(max-width:1050px){
 .header,.property-page .header{height:82px;gap:12px}
 .header .logo img,.property-page .header .logo img{max-height:65px;max-width:90px;object-fit:contain}
 .header nav,.property-page .header nav{display:none;position:absolute;top:82px;left:0;right:0;flex-direction:column;align-items:stretch;gap:18px;padding:22px 6%;max-height:calc(100dvh - 82px);overflow-y:auto;background:var(--paper);border-bottom:1px solid var(--line);z-index:30;font-size:15px}
 .header nav.open,.property-page .header nav.open{display:flex}
 .header nav>a{min-height:44px;display:flex;align-items:center;width:fit-content;max-width:100%}
 .header .menu,.property-page .header .menu{display:block;min-width:44px;min-height:44px;padding:8px;border:0;background:transparent;color:var(--ink);font-size:24px}
 .header .nav-cta,.property-page .header .nav-cta{margin:0 0 0 auto;max-width:none;gap:12px;font-size:12px;padding:12px 16px;min-height:44px;align-items:center}
}
@media(max-width:760px){
 .header,.property-page .header{padding-inline:5%;gap:8px}
 .header .nav-cta,.property-page .header .nav-cta{font-size:11px;gap:8px;padding:11px 13px}
 .hero-copy,.hero-art,.estate-hero-copy,.estate-search-fields>div,.property-panel>*,.contact>*,.estate-results-layout>*,.mortgage-field{min-width:0}
 .button{max-width:100%;min-height:44px}
 .estate-hero-selection>button>span:first-child{min-width:0;overflow-wrap:anywhere}
 .estate-search input,.estate-search select,.estate-results-filters input,.estate-results-filters select,.contact input,.contact select,.contact textarea{font-size:16px}
 .contact input[type=checkbox]{width:auto;min-height:20px}
 .estate-category-grid button,.property-tabs button,.segmented button{min-height:44px}
 .property-card-body h3,.property-dialog-body h2,.contact a,footer a{overflow-wrap:anywhere}
 .property-page .property-dialog-actions .button{white-space:normal;gap:12px}
 .estate-floating-advisor{bottom:max(16px,env(safe-area-inset-bottom));max-width:calc(100vw - 32px)}
 footer{gap:18px;flex-wrap:wrap}footer>span{width:auto;max-width:100%}
}
@media(max-width:480px){
 .cards,.property-page .property-service-cards{grid-template-columns:minmax(0,1fr)}
 .service-card,.property-page .property-service-card{min-height:230px;padding:24px}
 .service-card h3,.property-page .property-service-card h3{font-size:21px}
 .service-card p,.property-page .property-service-card p{font-size:14px;line-height:1.7}
 .service-card .card-arrow{right:20px;bottom:20px}
 .estate-category-grid{grid-template-columns:minmax(0,1fr)}
 .estate-category-grid button{border-right:0;border-bottom:1px solid #dbe1d4}
 .estate-category-grid button:last-child{border-bottom:0}
 .estate-hero h1{font-size:clamp(34px,9vw,43px);letter-spacing:-1.5px}
 .hero h1{font-size:clamp(44px,12vw,58px);letter-spacing:-2.5px}
 .property-page .header .nav-cta,.header .nav-cta{font-size:10px;padding:10px;gap:6px}
 .header .logo img,.property-page .header .logo img{max-width:72px}
 .estate-results-sort select{min-width:0;max-width:100%;flex-shrink:1}
 .estate-search-fields{grid-template-columns:minmax(0,1fr)}
 .estate-search-fields>div{grid-column:1/-1}
}
