/* Bản 07: tương tác hữu hạn, không che nội dung. */
:root{--interaction-gold:#796022}
.main-nav,.site-footer,.process-section,.action-band{--interaction-gold:#e8dcc0}
a,button{transition:color .24s ease,background-color .24s ease,border-color .24s ease,box-shadow .28s ease,transform .28s ease;text-underline-offset:6px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b18a32!important;outline-offset:5px!important;box-shadow:0 0 0 7px #faf8f2!important}
.main-nav>a:not(.nav-contact),.text-link{position:relative}
.main-nav>a:not(.nav-contact)::after,.text-link::after{content:'';display:block;position:absolute;left:0;right:0;bottom:4px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .28s ease}
.main-nav>a[aria-current]:not(.nav-contact)::after{transform:scaleX(1);height:2px}
.main-nav>a[aria-current]{color:#e8dcc0;font-weight:600}
:is(.project-filters,.knowledge-filters,.slide-tabs) button{min-height:44px}
.carousel-play,.gallery-controls button{min-width:44px;min-height:44px}
:is(.project-filters,.knowledge-filters,.slide-tabs) button[aria-pressed=true]{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
:is(.text-link,.button,.nav-contact)>span,.floating-contact svg,.floating-contact .zalo-symbol{display:inline-block;transition:transform .28s ease}
:is(.service-card,.article-card,.project-card):has(a,button){transition:transform .32s ease,box-shadow .32s ease,border-color .32s ease}
:is(.service-card,.article-card,.project-card):has(a,button):focus-within{border-color:#c7a34f;box-shadow:0 8px 24px #292b2f16}
.project-image-button{overflow:hidden}.project-image-button img{transition:transform .6s ease}
@media(hover:hover) and (pointer:fine){
 a:not(.button,.brand,.nav-contact,.floating-contact a):hover{color:var(--interaction-gold)}
 :is(.main-nav>a:not(.nav-contact),.text-link):hover::after{transform:scaleX(1)}
 :is(.project-filters,.knowledge-filters,.slide-tabs) button:hover{color:#796022;border-color:#c7a34f;text-decoration:underline}
 :is(.project-filters,.knowledge-filters) button[aria-pressed=true]:hover{color:#fff8e7}
 :is(.text-link,.button,.nav-contact):hover>span{transform:translate(3px,-2px)}
 :is(.service-card,.article-card,.project-card):has(a,button):hover{transform:translateY(-4px);border-color:#c7a34f!important;box-shadow:0 12px 28px #292b2f19}
 .project-image-button:hover img{transform:scale(1.025)}
 .floating-contact a:hover{transform:translateY(-3px);box-shadow:0 8px 20px #292b2f35}
 .floating-contact a:hover svg,.floating-contact a:hover .zalo-symbol{transform:translateY(-2px) rotate(-5deg)}
 .floating-contact a:first-child:hover{background:#ddbd71;color:#292b2f}.floating-contact a+a:hover{background:#227cff;color:#fff}
}
a:active,button:active{filter:brightness(.94)}
:is(.button,.floating-contact a):active{transform:translateY(1px)}
/* Chuyển ảnh chỉ fade; zoom chỉ dành ảnh trong thẻ dự án thực sự có chức năng. */
.carousel img,.carousel .slide,.gallery-stage img,.gallery-frame{transform:none!important}
html[data-motion=reduced]{scroll-behavior:auto}
html[data-motion=reduced] *,html[data-motion=reduced] *::before,html[data-motion=reduced] *::after{transition:none!important;animation:none!important}
html[data-motion=reduced] :is(.service-card,.article-card,.project-card,.floating-contact a,.project-image-button img),html[data-motion=reduced] :is(.text-link,.button,.nav-contact)>span{transform:none!important}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important} :is(.service-card,.article-card,.project-card,.floating-contact a,.project-image-button img),:is(.text-link,.button,.nav-contact)>span{transform:none!important}}

html[data-motion=reduced] .floating-contact :is(svg,.zalo-symbol){transform:none!important}
@media(prefers-reduced-motion:reduce){.floating-contact :is(svg,.zalo-symbol){transform:none!important}}
