/* Original template hero geometry; only imagery and short content are adapted. */
.ethos-home-preview .pxn-h1-hero-section::after{background-image:linear-gradient(90deg,rgba(14,34,34,.78),rgba(14,34,34,.32) 60%,rgba(14,34,34,.4)),linear-gradient(180deg,rgba(14,34,34,.3),transparent 45%,rgba(14,34,34,.5));}
.ethos-home-preview .highlight_img img{display:block;height:182px;object-fit:cover;object-position:center 25%;}
.ethos-home-preview .hero_highlight .highlight_content{padding:12px 0;gap:9px;}
.ethos-highlight-desc{font-size:14px;line-height:1.4;color:#d9dfd8;margin:0;}
.ethos-hero-contact{display:flex;flex-wrap:wrap;gap:12px;}
.ethos-hero-contact a{font-size:12px;color:#e3cda5;}
.ethos-hero-contact a:hover{color:white;}
@media(min-width:992px) and (max-width:1399px){.ethos-home-preview .pxn_header_socials{display:none!important;}}
@media(max-width:767px){.ethos-home-preview .pxn-h1-hero-section{background-position:65% center;}.ethos-home-preview .pxn-h1-hero-section::after{background-image:linear-gradient(180deg,rgba(14,34,34,.85),rgba(14,34,34,.65),rgba(14,34,34,.85));}.ethos-home-preview .highlight_img img{height:160px;}.ethos-home-preview .hero_highlight .highlight_content .no{font-size:12px;}.ethos-home-preview .hero_highlight .highlight_content .title{font-size:22px;}}
/* Homepage content adaptation, retaining original section layouts and interactions. */
.ethos-home-preview .about_img img{width:100%;height:auto;object-fit:cover;}
.ethos-home-preview .about_img_wrap>.about_img img{aspect-ratio:735/720;}
.ethos-home-preview .about_img_right img{aspect-ratio:420/480;}
.ethos-home-preview .ethos-about-emblem{width:66px;height:72px;object-fit:contain;background:#263c3c;border-radius:14px;padding:9px;}
.ethos-about-step-line{height:1px;background:rgba(18,35,37,.18);margin-top:15px;}
.ethos-home-preview .pxn-h1_service_item .service_img img{width:100%;height:auto;aspect-ratio:5/3;object-fit:cover;}
.ethos-home-preview .pxn-h1_why_choose_image img{width:100%;height:auto;aspect-ratio:1125/1095;object-fit:cover;}
.ethos-home-preview .pxn-h1_portfolios_section_title .pxn_title{font-size:clamp(60px,12.4vw,215px);}
.ethos-home-preview .pxn-h1_portfolios_wrap .portfolio_content_wrap .subtitle_list .subtitle{font-size:clamp(28px,3.5vw,60px);line-height:1.35;}
.ethos-home-preview .pxn-h1_portfolio_item .portfolio_image img{width:100%;height:auto;aspect-ratio:1.3;object-fit:cover;}
@media(max-width:767px){.ethos-home-preview .pxn-h1_portfolios_section_title .pxn_title{font-size:clamp(43px,12vw,80px);}.ethos-home-preview .pxn-h1_portfolio_item .portfolio_title{font-size:23px;}}

/* Index-2 hero layout, adapted to the four Ethos service groups. */
.ethos-home-preview .pxn-h2-hero-section::after{background-image:linear-gradient(90deg,rgba(14,34,34,.8),rgba(14,34,34,.35) 60%,rgba(14,34,34,.65));}
.ethos-home-preview .pxn-h2_hero_content_wrap .hero_highlight>.pxn-btn-primary{margin-bottom:30px;}
.ethos-home-preview .pxn_hero_tags{gap:10px;}
.ethos-home-preview .pxn_hero_tags li{white-space:normal;}
.ethos-home-preview .pxn_hero_tags a{color:inherit;}
.ethos-home-preview .pxn_hero_tags a:focus-visible{outline:2px solid #ffcf76;outline-offset:5px;border-radius:8px;}
@media(max-width:767px){
.ethos-home-preview .pxn-h2-hero-section{background-position:65% center;}
.ethos-home-preview .pxn-h2-hero-section::after{background-image:linear-gradient(180deg,rgba(14,34,34,.8),rgba(14,34,34,.65));}
.ethos-home-preview .pxn-h2_hero_content_wrap .hero_highlight{max-width:100%;margin-top:16px;}
.ethos-home-preview .pxn_hero_tags li{font-size:13px;padding:9px 12px;}
.ethos-home-preview .pxn-h2_hero_content_wrap .hero_title{font-size:clamp(34px,8vw,40px);}
}

/* Homepage contact: existing form controls with office map, no image card. */
.ethos-home-contact .pxn_section_title{margin-bottom:30px;}
.ethos-home-office{margin-bottom:24px;}
.ethos-home-office h3{margin-bottom:16px;}
.ethos-home-office p{margin-bottom:12px;}
.ethos-home-office>a{font-size:22px;font-weight:600;color:#334f50;}
.ethos-home-contact .pxn_contact_map{margin-top:0;}
.ethos-home-contact .pxn_contact_map iframe{height:460px;}
@media(max-width:767px){.ethos-home-contact .pxn_contact_map iframe{height:350px;}}

.ethos-home-preview .pxn_process_item .process_img img{width:100%;height:auto;aspect-ratio:1000/580;object-fit:cover;}

/* Home-2 contact layout followed by a full-container horizontal map. */
.ethos-home-contact .pxn-h2_contact_wrapper .pxn_section_title{margin-bottom:40px;}
.ethos-home-contact .ethos-home-wide-map{width:100%;margin-top:60px;}
.ethos-home-contact .ethos-home-wide-map iframe{width:100%;height:450px;}
@media(max-width:767px){.ethos-home-contact .ethos-home-wide-map{margin-top:40px;}.ethos-home-contact .ethos-home-wide-map iframe{height:360px;}}

/* Second service presentation: original Home-3 staggered cards and sticky watermark. */
.ethos-home-preview .ethos-services-alternative .watermark{font-size:clamp(28px,10.5vw,168px);width:100%;letter-spacing:-.035em;white-space:nowrap;}
.ethos-home-preview .ethos-services-alternative .portfolio_image img{width:100%;height:auto;aspect-ratio:1248/960;object-fit:cover;}
.ethos-home-preview .ethos-services-alternative .portfolio_title{overflow-wrap:break-word;}
@media(max-width:575px){.ethos-home-preview .ethos-services-alternative .watermark{font-size:10.5vw;}}

/* Process content remains visible independently of animation initialization. */
body .pxn-h1_process_wrapper{opacity:1!important;visibility:visible!important;transform:none!important;}
