/* ===================================================================
   TK Construction — Trang con: banner, danh sách, chi tiết mẫu/công trình,
   chi tiết bài, trang nội dung, giới thiệu, liên hệ, tìm kiếm, 404
   Nạp riêng ở từng trang con (?v=N trong .aspx).
   =================================================================== */

/* ================================================== BANNER ======== */
/* Markup: FrontendPageChrome.RenderHero. Ảnh riêng của danh mục đặt qua style inline,
   thiếu thì dùng ảnh mặc định của giao diện. */
.page-hero {
    position: relative;
    padding: clamp(56px, 8vw, 96px) 0 clamp(36px, 5vw, 56px);
    background: var(--c-primary-dark) url(../images/tk/page-banner.jpg) center / cover no-repeat;
    color: var(--c-white);
    text-align: center;
    isolation: isolate;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, var(--c-overlay-soft) 0%, var(--c-overlay) 100%);
}
.page-hero::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 4px;
    background: var(--g-accent-x);
}
.page-hero-title {
    margin: 0 auto 14px;
    max-width: 900px;
    font-family: var(--font-display);
    font-size: var(--fs-h1);
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--c-white);
    text-shadow: 0 2px 16px rgba(0, 0, 0, .25);
}
.page-hero .breadcrumb-nav { justify-content: center; }

/* Mô tả danh mục ở đầu thân trang */
.page-intro {
    max-width: var(--container-narrow);
    margin: 0 auto var(--sp-block);
    color: var(--c-body);
    font-size: var(--fs-lead);
}
.page-intro p:last-child { margin-bottom: 0; }

/* Thẻ nội dung trắng (bài viết, mô tả mẫu) */
.content-card {
    padding: clamp(22px, 3vw, 30px);
    margin-bottom: 24px;
    background: var(--c-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.content-card-title {
    position: relative;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--c-line);
    font-family: var(--font-base);
    font-size: 32px;
    font-weight: 600;
}
.content-card-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: -1px;
    width: 64px; height: 3px;
    background: var(--c-accent);
}

.category-chips { margin-bottom: 32px; }
.related-section { background: var(--c-white); }
.related-section .section-head { margin-bottom: 28px; }

/* ================================================== NỘI DUNG BÀI == */
.post-article .kicker { margin-bottom: 6px; }
.post-article-title { font-size: clamp(1.5rem, 3vw, 2.125rem); font-weight: 600; margin-bottom: 14px; color: var(--c-primary); }
.post-article-meta {
    display: flex; flex-wrap: wrap; gap: 8px 22px;
    padding-bottom: 18px; margin-bottom: 24px;
    border-bottom: 1px solid var(--c-line);
    font-size: var(--fs-small);
    color: var(--c-muted);
}
.post-article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.post-article-meta i { color: var(--c-accent); }
.post-article-meta a { color: var(--c-body); }
.post-article-meta a:hover { color: var(--c-accent); }
.post-article-featured { margin: 0 0 26px; border-radius: var(--radius-lg); overflow: hidden; }
.post-article-featured img { width: 100%; }

.post-article-content,
.page-content { font-size: 1.0625rem; color: var(--c-body); line-height: 1.75; }
.post-article-content > :first-child,
.page-content > :first-child { margin-top: 0; }
.post-article-content h2, .page-content h2 {font-size: 24px;margin: 1.3em 0 .6em;margin-top: 40px !IMPORTANT;font-family: var(--font-base);font-weight: 600;}
.post-article-content h3, .page-content h3 { font-size: 1.25rem; margin: 1.4em 0 .5em; }
.post-article-content img, .page-content img { border-radius: var(--radius-lg); margin: 1.2em 0; height: auto; }
.post-article-content ul, .page-content ul { list-style: none; padding-left: 0; }
.post-article-content ul li, .page-content ul li { position: relative; padding-left: 28px; margin-bottom: .55em; }
.post-article-content ul li::before, .page-content ul li::before {
    content: "\f00c";
    position: absolute; left: 0; top: .15em;
    font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .8em;
    width: 18px; height: 18px; line-height: 18px; text-align: center;
    border-radius: 50%;
    background: var(--c-accent-soft);
    color: var(--c-accent);
}
.post-article-content ol, .page-content ol { padding-left: 1.35em; }
.post-article-content li, .page-content li { margin-bottom: .5em; }
.post-article-content blockquote, .page-content blockquote {
    margin: 1.5em 0;
    padding: 16px 22px;
    border-left: 4px solid var(--c-accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--c-accent-soft);
    color: var(--c-ink);
}
.post-article-content table, .page-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .9375rem; }
.post-article-content th, .post-article-content td,
.page-content th, .page-content td { border: 1px solid var(--c-line); padding: 10px 12px; text-align: left; }
.post-article-content th, .page-content th { background: var(--c-primary); color: var(--c-white); font-weight: 500; }
.post-article-content .lead, .page-content .lead { font-size: var(--fs-lead); color: var(--c-ink); }

/* Hộp lưu ý cuối bài */
.post-article-content .article-note,
.page-content .article-note {
    margin-top: 2em;
    padding: 16px 20px;
    background: var(--c-bg-soft);
    border-left: 4px solid var(--c-primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: var(--fs-small);
    color: var(--c-muted);
}

.post-share {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    margin-top: 28px; padding-top: 18px;
    border-top: 1px solid var(--c-line);
    font-weight: 500;
    color: var(--c-ink);
}
.post-share a, .post-share button {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--c-line);
    border-radius: 50%;
    background: var(--c-white);
    color: var(--c-primary);
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.post-share a:hover, .post-share button:hover,
.post-share button.is-done { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-white); }

/* ================================================== CHI TIẾT MẪU == */
.product-gallery-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--c-primary-mist);
    box-shadow: var(--shadow);
}
.product-gallery-main a { display: block; }
.product-gallery-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-gallery-zoom {
    position: absolute; right: 14px; bottom: 14px;
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--c-primary);
}
.product-gallery-nav {
    position: absolute; top: 50%;
    width: 42px; height: 42px; margin-top: -21px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--c-primary);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: background var(--t-fast), color var(--t-fast);
}
.product-gallery-nav:hover { background: var(--c-accent); color: var(--c-white); }
.product-gallery-prev { left: 14px; }
.product-gallery-next { right: 14px; }
.product-gallery-empty {
    aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
    background: var(--c-primary-mist); border-radius: var(--radius-lg);
    color: var(--c-primary-soft); font-size: 3rem;
}
.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}
.product-gallery-thumb {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid transparent;
    opacity: .75;
    transition: opacity var(--t-fast), border-color var(--t-fast);
}
.product-gallery-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-gallery-thumb:hover { opacity: 1; }
.product-gallery-thumb.is-active { opacity: 1; border-color: var(--c-accent); }

.product-summary {
    padding: clamp(22px, 2.5vw, 30px);
    background: var(--c-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--c-accent);
}
.product-summary-cat {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    background: var(--c-accent-soft);
    color: var(--c-accent);
    font-size: var(--fs-small);
    font-weight: 500;
}
.product-summary-cat:hover { background: var(--c-accent); color: var(--c-white); }
.product-summary .product-badges { position: static; margin: 10px 0 0; }
.product-summary-title {
    margin: 12px 0 10px;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 600;
    line-height: 1.25;
    font-family: var(--font-base);
}
.product-summary-desc { color: var(--c-body); margin-bottom: 18px; }

.product-facts { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid var(--c-line); }
.product-facts li {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--c-line);
    font-size: .9375rem;
}
.product-facts-label { color: var(--c-muted); flex: 0 0 auto; }
.product-facts-label::before { content: "\f0da"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--c-accent); margin-right: 8px; }
.product-facts-value { color: var(--c-ink); font-weight: 500; text-align: right; }

.product-meta { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .9rem; }
.product-meta-label { color: var(--c-muted); margin-right: 6px; }
.product-meta-value { font-weight: 600; color: var(--c-ink); }

.product-highlights { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.product-highlights li { display: flex; gap: 10px; font-size: .9375rem; }
.product-highlights i { color: var(--c-accent); margin-top: 4px; }

.product-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.product-actions > a { flex: 1 1 auto; white-space: nowrap; padding-inline: 18px; }
.product-summary-cat + .product-badges { display: inline-flex; margin: 0 0 0 6px; vertical-align: middle; }

.product-detail-body { margin-top: clamp(24px, 3vw, 40px); }

.product-variants { margin: 0 0 16px; }
.product-variants-label { font-size: .85rem; color: var(--c-muted); margin-bottom: 6px; }
.product-variants-list { display: flex; flex-wrap: wrap; gap: 8px; }
.product-variant { font-size: .9rem; padding: 6px 12px; border: 1px solid var(--c-line); border-radius: var(--radius); }
.product-variant.is-active { border-color: var(--c-accent); color: var(--c-accent); }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.product-tag { font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--c-primary); color: var(--c-white); }
.product-docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.product-docs a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }

/* ================================================== CHI TIẾT CÔNG TRÌNH == */
.project-detail-gallery {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--c-primary-mist);
    box-shadow: var(--shadow);
}
.project-detail-gallery .swiper-slide a { display: block; }
.project-detail-gallery .swiper-slide img {
    display: block;
    width: 100%;
    height: clamp(360px, 57vw, 720px);
    object-fit: cover;
    max-height: 500px;
}
.project-detail-gallery-empty {
    min-height: clamp(360px, 57vw, 720px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: var(--c-primary-mist);
    color: var(--c-primary-soft);
    font-size: 4rem;
}
.project-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--c-white);
    color: var(--c-primary);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast);
}
.project-gallery-nav:hover { background: var(--c-accent); color: var(--c-white); }
.project-gallery-prev { left: 20px; }
.project-gallery-next { right: 20px; }
.project-detail-intro {
    max-width: 920px;
    margin: clamp(28px, 4vw, 48px) auto 24px;
    text-align: center;
    margin: 20px auto;
}
.project-detail-category {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--c-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .82rem;
    margin-bottom: 0;
}
.project-detail-title {margin: 0;font-size: clamp(1.9rem, 4vw, 2.5rem);color: var(--c-primary-darker);font-family: var(--font-base);font-weight: 600;text-transform: capitalize;}
.project-detail-lead { max-width: 760px; margin: 14px auto 0; color: var(--c-body); font-size: var(--fs-lead); }

.project-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    margin-bottom: clamp(34px, 5vw, 56px);
    padding: 8px 0;
    border-radius: var(--radius-lg);
    background: var(--c-white);
    box-shadow: var(--shadow-sm);
}
.project-meta-item { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 20px 18px; border-right: 1px solid var(--c-line-soft); }
.project-meta-item:last-child { border-right: 0; }
.project-meta-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--c-accent-soft);
    color: var(--c-accent);
}
.project-meta-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.project-meta-copy small { color: var(--c-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.project-meta-copy strong {overflow-wrap: anywhere;color: var(--c-primary-darker);font-size: .96rem;font-family: var(--font-base);}
.project-meta-html { display: block; padding: 24px; }
.project-detail-columns { align-items: start; }
.project-detail-columns .content-card { margin: 0; }

.project-hotline-card {
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--c-accent-soft);
    background: var(--c-white);
}
.project-hotline-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--g-accent);
    color: var(--c-white);
    font-size: 1.2rem;
}
.project-hotline-label { display: block; margin-bottom: 2px; color: var(--c-muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.project-hotline-card a { color: var(--c-primary-darker); font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.project-hotline-card a:hover { color: var(--c-accent); }

.project-related-section { overflow: hidden; }
.related-project-swiper { overflow: hidden; }
.related-project-swiper .swiper-slide { height: auto; }
.project-grid .project-card { height: 100%; }

/* ================================================== DỊCH VỤ ======= */
/* Trang danh sách dịch vụ: thẻ cao hơn, có tóm tắt + việc cụ thể */
.service-grid .service-card { min-height: 0; aspect-ratio: 16 / 11; }
.service-card-rich .service-body { align-items: flex-end; }
.service-card-rich::after { background: linear-gradient(180deg, rgba(7, 43, 80, 0) 15%, rgba(7, 43, 80, .78) 50%, rgba(7, 43, 80, .95) 100%); }
.service-card-rich .service-body { padding: 26px 28px 24px; }
.service-card-rich .service-desc { font-size: .9375rem; max-width: 520px; }

/* ================================================== GIỚI THIỆU ==== */
/* Các khối dưới đây được viết thẳng trong HTML mô tả của danh mục ABOUT
   (scripts/db/21-seed-tk-categories.sql) — đổi tên class phải sửa cả hai. */
.page-content-wide { max-width: 1120px; margin: 0 auto; }
.about-split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    margin-bottom: clamp(36px, 5vw, 64px);
}
.about-split img { margin: 0; border-radius: 0; }
.about-split h2 {margin-top: 0;color: var(--c-primary);text-transform: uppercase;font-weight: 700;font-family: var(--font-base);font-size: 32px;margin-bottom: 10px;}
.about-split .about-lead {font-family: var(--font-display);font-size: 1.375rem;color: var(--c-accent);margin-bottom: .8em;font-family: var(--font-base);}
.about-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0 0 clamp(36px, 5vw, 64px);
}
.about-card {
    padding: 25px 25px;
    background: var(--c-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-bottom: 4px solid var(--c-primary);
    position: relative;
}
.about-card:nth-child(2) { border-bottom-color: var(--c-accent); }
.about-card h3 {margin: 0 0 8px;font-size: 1.25rem;color: var(--c-primary);font-family: var(--font-base);font-size: 24px;font-weight: 600;margin-top: 15px;}
.about-card p {margin: 0;font-size: .9375rem;text-align: justify;}
.about-card .about-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--c-accent-soft);
    color: var(--c-accent);
    font-size: 1.35rem;
    position: absolute;
    right: 30px;
    top: 10px;
}
.about-section-title { text-align: center; margin: 0 0 24px !important; text-transform: uppercase; font-weight: 600; }
.about-steps {
    display: grid;
    list-style: none;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 clamp(36px, 5vw, 64px);
    padding: 0 !important;
    counter-reset: step;
    margin-top: 50px;
    margin-bottom: 0;
}
.page-content .about-steps li {
    position: relative;
    margin: 0;
    padding: 56px 16px 20px;
    text-align: center;
    background: var(--c-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    font-size: .9375rem;
    counter-increment: step;
}
.page-content .about-steps li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 50%;
    top: 14px;
    text-align: center;
    width: 60px;
    height: 60px;
    line-height: 60px;
    margin-left: -30px;
    border-radius: 50%;
    background: var(--g-accent);
    color: var(--c-white);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: .875rem;
    font-family: var(--font-base);
    top: -20px;
    font-size: 25px;
}
.about-steps strong {display: block;color: var(--c-primary);margin-bottom: 4px;font-family: var(--font-display);font-weight: 500;font-size: 18px;text-transform: capitalize;}

/* Dải cam kết ở trang giới thiệu */
.page-commit .row { justify-content: center; }
.commit-card {
    height: 100%;
    padding: 26px 18px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .06);
    transition: background var(--t), transform var(--t);
}
.commit-card:hover { background: rgba(255, 255, 255, .12); transform: translateY(-4px); }
.commit-card .item-icon { width: 70px; height: 70px; margin-bottom: 12px; background: none; border-radius: 0; }
.commit-card .item-icon img { width: auto; height: 70px; }
.commit-card h3 {margin: 0 0 4px;font-size: 1.25rem;font-weight: 500;color: var(--c-white);font-family: var(--font-base);}
.commit-card p { margin: 0; color: rgba(255, 255, 255, .85); }

/* ================================================== CTA CUỐI TRANG */
/* Markup: FrontendCtaBand.Render */
.cta-band {
    position: relative;
    padding: clamp(36px, 5vw, 56px) 0;
    background: var(--c-accent) url(../images/tk/bg-camket.jpg) center / cover no-repeat;
    color: var(--c-white);
}
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.cta-band-text { flex: 1 1 480px; min-width: 0; }
.cta-band-actions { flex: 0 0 auto; }
.cta-band-title { margin: 0 0 6px; font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 600; color: var(--c-white); }
.cta-band-desc { margin: 0; font-size: 1.0625rem; color: rgba(255, 255, 255, .92); max-width: 640px; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-ghost { color: var(--c-white); border-color: rgba(255, 255, 255, .8); }
.cta-band .btn-ghost:hover { background: var(--c-white); color: var(--c-accent); border-color: var(--c-white); }
.cta-band .btn-main { background: var(--c-primary); box-shadow: var(--shadow); }
.cta-band .btn-main:hover { background: var(--c-primary-dark); }

/* ================================================== LIÊN HỆ ======= */
.contact-quick-row { margin-bottom: clamp(28px, 4vw, 48px); }
.contact-quick {
    height: 100%;
    display: flex; align-items: center; gap: 16px;
    padding: 20px 22px;
    background: var(--c-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    color: var(--c-body);
    transition: transform var(--t), box-shadow var(--t);
}
a.contact-quick:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--c-body); }
.cq-ic {
    flex: 0 0 54px; width: 54px; height: 54px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--g-accent);
    color: var(--c-white);
    font-size: 1.25rem;
}
.cq-body { min-width: 0; }
.cq-body small { display: block; font-size: .8125rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: .02em; }
.cq-body strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem; color: var(--c-primary); line-height: 1.4; }

.contact-info .section-title {margin-bottom: 12px;font-size: 32px;font-weight: 600;}
.contact-info-desc { margin-bottom: 18px; }
.contact-info-list { list-style: none; margin: 0 0 20px; padding: 0; }
.contact-info-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.contact-info-list li:last-child { border-bottom: 0; }
.ci-ic {
    flex: 0 0 40px; width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--c-primary);
    color: var(--c-white);
}
.contact-info-list small { display: block; font-size: .8125rem; color: var(--c-muted); }
.contact-info-list strong, .contact-info-list a { color: var(--c-ink); font-weight: 500; }
.contact-info-list a:hover { color: var(--c-accent); }
.contact-socials .socials { display: flex; gap: 8px; }
.contact-socials .socials a {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--c-primary);
    color: var(--c-white);
}
.contact-socials .socials a:hover { background: var(--c-accent); }

.contact-form-card {
    padding: clamp(24px, 3vw, 36px);
    background: var(--c-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--c-accent);
}
.contact-form-heading { margin: 0 0 6px; font-size: 1.5rem; font-weight: 600; }
.contact-form-sub { margin: 0 0 22px; color: var(--c-muted); }
.contact-submit {width: 200px;padding: 13px 24px;font-size: 1.0625rem;display: block;margin: 0px auto;}

.contact-info-list .contact-map-item {
    display: block;
    padding: 16px 0;
}
.contact-map-inline {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    line-height: 0;
}
.contact-map-inline iframe {
    display: block;
    width: 100%;
    height: clamp(240px, 27vw, 300px);
    border: 0;
}
.contact-map-link {
    display: flex; align-items: center; gap: 16px;
    margin: 0 0 var(--sp-section);
    padding: 20px 22px;
    background: var(--c-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    line-height: 1.5;
}
.contact-map-link-inline { margin: 0; }
.contact-map-link .cq-go { margin-left: auto; color: var(--c-accent); }

/* ================================================== TÌM KIẾM ====== */
.search-box-lg { max-width: 820px; margin: 0 auto var(--sp-block); }
.search-summary { margin-bottom: 22px; text-align: center; color: var(--c-muted); }
.search-group + .search-group { margin-top: var(--sp-block); }
.search-group-title {
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--c-line);
    font-size: 1.375rem;
}
.search-group-title span { color: var(--c-accent); font-size: .8em; }

/* ================================================== THƯ VIỆN ====== */
.gallery-hub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.gallery-hub-card { display: flex; align-items: center; gap: 16px; min-height: 150px; padding: 28px; border-radius: var(--radius-lg); background: var(--c-primary); color: var(--c-white); font-size: 1.35rem; font-weight: 600; text-decoration: none; transition: background var(--t-fast); }
.gallery-hub-card:hover { background: var(--c-accent); color: var(--c-white); }
.gallery-hub-card > i:first-child { font-size: 2rem; }
.gallery-hub-card > i:last-child { margin-left: auto; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.video-card { display: block; overflow: hidden; border-radius: var(--radius-lg); background: var(--c-white); box-shadow: var(--shadow-sm); color: var(--c-ink); text-decoration: none; }
.video-card:hover { color: var(--c-primary); }
.video-card-cover { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--c-primary-darker); color: var(--c-white); }
.video-card-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-card-cover i { position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--c-accent); }
.video-card-title { 
    padding: 14px 16px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-bottom: 0;
    margin-bottom: 10px;
    font-size: 14px;
}
@media (max-width: 991.98px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .gallery-hub, .video-grid { grid-template-columns: 1fr; } }
.album-tabs { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 var(--sp-block); padding: 0; }
.album-tab {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 16px 6px 6px;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-pill);
    color: var(--c-ink);
    font-weight: 500;
}
.album-tab.active { background: var(--g-accent); border-color: transparent; color: var(--c-white); }
.album-tab-thumb { flex: 0 0 32px; width: 32px; height: 32px; overflow: hidden; border-radius: 50%; }
.album-tab-thumb img { width: 100%; height: 100%; object-fit: cover; }
.album-desc { margin-bottom: 20px; color: var(--c-muted); }
.album-grid, .media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.album-photo, .media-item { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); }
.album-photo img, .media-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.album-photo:hover img, .media-item:hover img { transform: scale(1.05); }
.album-photo-zoom {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--c-overlay-soft);
    color: var(--c-white);
    opacity: 0; transition: opacity var(--t);
}
.album-photo:hover .album-photo-zoom { opacity: 1; }
.album-grid .album-empty { grid-column: 1 / -1; }
.media-detail-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 18px; }
.media-detail-figure { margin: 0 0 18px; }
.media-detail-figure img { width: 100%; max-height: 70vh; object-fit: contain; border-radius: var(--radius-lg); background: var(--c-bg-soft); }
.media-detail-frame { position: relative; aspect-ratio: 16 / 9; margin-bottom: 18px; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-ink); }
.media-detail-frame iframe, .media-detail-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ================================================== 404 =========== */
.notfound { text-align: center; padding: clamp(60px, 10vw, 120px) 0; }
.notfound-code {
    display: flex; align-items: center; justify-content: center; gap: .08em;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(5rem, 16vw, 10rem);
    font-weight: 700;
    line-height: 1;
    color: var(--c-primary);
}
.notfound-code i { font-size: .72em; color: var(--c-accent); }
.notfound h1 { margin: 10px 0 12px; }
.notfound p { max-width: 520px; margin: 0 auto 28px; color: var(--c-muted); }
.notfound-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ================================================== RESPONSIVE ==== */
@media (max-width: 991.98px) {
    .about-split { grid-template-columns: 1fr; }
    .about-cards { grid-template-columns: 1fr; }
    .about-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-summary { margin-top: 4px; }
    .project-meta-item {border-right: 0;border-bottom: 1px solid var(--c-line-soft);padding: 13px 0px;}
    .project-meta-item:last-child { border-bottom: 0; }
    .contact-map-inline iframe { height: 320px; }
}
@media (max-width: 575.98px) {
    .about-steps {grid-template-columns: repeat(2, minmax(0, 1fr));gap: 40px 20px;}
    .product-gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .product-facts li { flex-direction: column; gap: 2px; }
    .product-facts-value { text-align: left; }
    .project-detail-gallery .swiper-slide img { height: 62vw; min-height: 260px; }
    .project-gallery-nav { width: 40px; height: 40px; margin-top: -20px; }
    .project-gallery-prev { left: 10px; }
    .project-gallery-next { right: 10px; }
    .project-detail-intro { text-align: left; }
    .project-detail-lead { margin-left: 0; }
    .project-meta {grid-template-columns: 1fr;padding: 4px 14px;}
    .cta-band-actions, .cta-band-actions > a { width: 100%; }
    .service-grid .service-card { aspect-ratio: auto; min-height: 460px; }
    .contact-map-inline iframe { height: 260px; }
}
