﻿/* ===================================================================
   BNE Lawyers — Trang chủ
   Hero · Giới thiệu · Lĩnh vực · Why choose us · Who we serve ·
   How we work · Testimonials · Banner · Đặt lịch · Thư viện · Tin tức
   =================================================================== */

/* ================================================== HERO ========== */
.hero {
    position: relative;
    min-height: clamp(520px, 78vh, 780px);
    background: var(--c-primary-dark);
    overflow: hidden;
    display: flex;
}
.hero .swiper, .hero-image, .hero-video { position: absolute; inset: 0; }
.hero-slide, .hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-video iframe { position: absolute; top: 50%; left: 50%; width: 177.78vh; height: 56.25vw; min-width: 100%; min-height: 100%; transform: translate(-50%, -50%); border: 0; }

/* Lớp phủ navy để chữ trắng luôn đọc được */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(6, 18, 41, .88) 0%, rgba(6, 18, 41, .62) 46%, rgba(6, 18, 41, .32) 100%);
    pointer-events: none;
    z-index: 2;
}
.hero-fade {
    position: absolute;
    inset: auto 0 0 0;
    height: 120px;
    /* background: linear-gradient(180deg, rgba(245, 247, 251, 0) 0%, var(--c-bg-soft) 100%); */
    z-index: 3;
}

/* Nội dung hero nằm trên lớp phủ */
.hero-inner {
    position: relative;
    z-index: 4;
    width: 100%;
    align-self: center;
    padding-top: 200px;
    padding-bottom: 50px;
}
.hero-copy { max-width: 720px; color: rgba(255, 255, 255, .86); }
.hero-kicker {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: var(--fs-kicker); font-weight: 700;
    letter-spacing: .22em; text-transform: uppercase;
    color: var(--c-accent);
    margin-bottom: 18px;
}
.hero-kicker::before { content: ""; width: 40px; height: 2px; background: var(--c-accent); }
.hero-title {
    font-size: var(--fs-hero);
    line-height: 80px;
    color: var(--c-white);
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: -.02em;
}
.hero-tagline {
    margin: -6px 0 18px;
    font-family: var(--font-display);
    font-size: clamp(1.125rem, 1.8vw, 1.5rem);
    letter-spacing: .02em;
    color: var(--c-accent);
}
.hero-desc { font-size: var(--fs-lead); margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.hero-actions .btn-outline { color: var(--c-white); border-color: rgba(255, 255, 255, .5); }
.hero-actions .btn-outline:hover { background: var(--c-white); color: var(--c-primary); border-color: var(--c-white); }
/* Hanh dong phu la link chu, khong phai nut ngang hang -> chi co MOT CTA chinh */
.hero-link {
    display: inline-flex; align-items: center; gap: 9px;
    color: var(--c-white);
    font-size: var(--fs-small); font-weight: 600;
    letter-spacing: .04em; text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, .35);
    padding-bottom: 3px;
    transition: color var(--t-fast), border-color var(--t-fast);
}
.hero-link:hover { color: var(--c-accent); border-color: var(--c-accent); }
.hero-link i { transition: transform var(--t-fast); }
.hero-link:hover i { transform: translateY(3px); }

.hero .swiper-horizontal > .swiper-pagination-bullets,
.hero .swiper-pagination {
    position: absolute; left: 0; right: 0; bottom: 34px;
    z-index: 4; margin: 0;
}

/* Nút cuộn xuống */
.hero-play {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 5;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    color: var(--c-white);
    display: none;
}
.hero-play i { transform: rotate(90deg); font-size: .75rem; }
.hero-play:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-primary-dark); }

/* ================================================== GIỚI THIỆU ==== */
.about { padding: var(--sp-section) 0; }
.about-top { margin-bottom: var(--sp-block); }
.about-title { font-size: var(--fs-h2); margin-bottom: 20px; }
.about-title span { display: block; }
.about-desc { color: var(--c-body); margin-bottom: 26px; }
.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}
.about-image::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border-right: var(--rule) solid var(--c-accent);
    border-bottom: var(--rule) solid var(--c-accent);
    border-radius: 15px;
}
.about-image img {width: 100%;aspect-ratio: 4 / 3;object-fit: cover;border-radius: 20px;}

/* 4 đặc điểm */
.about-features { margin-top: 6px; }
.feature-card {
    height: 100%;
    padding: 22px;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    transition: border-color var(--t), box-shadow var(--t);
}
.feature-card:hover { border-color: var(--c-accent); box-shadow: var(--shadow-sm); }
.feature-icon {
    flex: 0 0 46px;
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--c-accent);
    color: #fff;
    border-radius: var(--radius);
    font-size: 29px;
}
.feature-icon img {width: 40px;height: 40px;object-fit: contain;}
.feature-title {margin: 20px 0 5px;font-size: 1rem;}
.feature-desc {margin: 0;font-size: var(--fs-small);}
.feature-desc p {margin: 0;font-size: 14px;color: rgb(27,43,50);}
/* ================================================== LĨNH VỰC ====== */
.tours {padding: var(--sp-section) 0;padding-bottom: 0;}
.tour-cards { margin-bottom: var(--sp-block); }
.service-swiper .swiper-slide { height: auto; }
.service-swiper .swiper-button-prev { left: -6px; }
.service-swiper .swiper-button-next { right: -6px; }

/* Luoi 3 cot thay cho slider: the mang them danh sach "viec cu the" nen cao hon,
   slider ngang se cat mat noi dung va giau 3 linh vuc. */
.service-grid { display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); }
.service-grid .service-card { height: 100%; }
@media (max-width: 991.98px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .service-grid { grid-template-columns: 1fr; } }

/* Danh sach viec cu the trong the linh vuc — day la phan tao chieu sau noi dung */
.service-highlights {
    list-style: none;
    margin: 14px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--c-line);
}
.service-highlights li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 7px;
    font-size: var(--fs-small);
    color: var(--c-body);
    line-height: 1.5;
}
.service-highlights li:last-child { margin-bottom: 0; }
.service-highlights li::before {
    content: "";
    position: absolute; left: 0; top: .55em;
    width: 6px; height: 6px;
    background: var(--c-accent);
}

/* ================================================== KHỐI TỐI ====== */
/* Dùng cho "Who we serve" / khối phụ trên nền navy */
.destinations, .serve-section {
    position: relative;
    padding: var(--sp-section) 0;
    background: var(--c-primary-dark);
    color: rgba(255, 255, 255, .78);
    overflow: hidden;
}
.destinations::before, .serve-section::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(120% 90% at 15% 0%, rgba(29, 58, 112, .9) 0%, rgba(6, 18, 41, 0) 70%);
    pointer-events: none;
}
.destinations > *, .serve-section > * { position: relative; }
.destinations .section-title, .serve-section .section-title { color: var(--c-white); }

/* 3 cột: 6 nhóm khách hàng chia đúng 2 hàng, không để lại ô trống như auto-fit */
.serve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); }
@media (max-width: 991.98px) { .serve-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .serve-grid { grid-template-columns: 1fr; } }
/* Section nen toi can du trong luong: padding va co chu lon hon, khong thi
   troi rong. */
.serve-item { padding: 34px 30px; background: var(--c-primary-dark); transition: background var(--t); }
.serve-item:hover { background: var(--c-primary); }
.serve-item i { display: block; margin-bottom: 16px; font-size: 1.625rem; color: var(--c-accent); }
.serve-item .item-icon { display: block; width: 44px; height: 44px; object-fit: contain; margin-bottom: 16px; }
.serve-item h3 { margin: 0 0 10px; font-size: 1.1875rem; color: var(--c-white); }
.serve-item p { margin: 0; font-size: var(--fs-body); line-height: 1.6; color: rgba(255, 255, 255, .7); }

/* Slider ảnh trên nền tối (khối phụ) */
.destination-swiper { padding: 24px 0 8px; }
.destination-card { position: relative; }
.destination-link { display: block; position: relative; overflow: hidden; border-radius: var(--radius); }
.destination-link img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s var(--ease); }
.destination-link:hover img { transform: scale(1.06); }
.destination-cap {
    position: absolute; inset: auto 0 0 0;
    padding: 18px;
    background: linear-gradient(180deg, rgba(6, 18, 41, 0) 0%, rgba(6, 18, 41, .88) 100%);
    color: var(--c-white);
    font-family: var(--font-display);
    font-size: 1.0625rem;
}
.destinations-more { margin-top: 24px; text-align: center; }

/* ================================================== WHY / PROCESS = */
.why-grid, .process-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.why-card {
    height: 100%;
    padding: 30px 26px;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-top: var(--rule) solid var(--c-accent);
    border-radius: var(--radius);
    transition: box-shadow var(--t), transform var(--t);
    text-align: center;
}
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.why-card i { display: block; margin-bottom: 16px; font-size: 1.625rem; color: var(--c-accent-dark); }
/* Admin upload anh icon (ConentItem.IconImageUrl) -> thay cho icon font.
   Anh de o co lon hon icon font mot chut cho can bang thi giac. */
.why-card .item-icon {display: block;width: 48px;height: 48px;object-fit: contain;margin: 0px auto;margin-bottom: 16px;}
.why-card h3 { margin: 0 0 10px; font-size: 1.125rem; }
.why-card p { margin: 0; font-size: var(--fs-small); color: var(--c-muted); }

/* How we work — danh sach DANH SO full-width, khong phai luoi the,
   de pha nhip "tieu de giua + luoi the" dang lap lai suot trang chu. */
.process-section { padding: var(--sp-section) 0; }
.process-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.process-lead { margin-top: 16px; color: var(--c-muted); }
.process-lead p { margin: 0; }

.process-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.process-step {
    display: flex;
    gap: clamp(18px, 3vw, 34px);
    padding: 20px 0;
    border-top: 1px solid var(--c-line);
}
.process-step:last-child { border-bottom: 1px solid var(--c-line); }
.process-num {
    flex: 0 0 auto;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 3.0rem);
    line-height: 1;
    color: var(--c-accent);
}
.process-body h3 { margin: 0 0 8px; font-size: var(--fs-h3); }
.process-body p { margin: 0; color: var(--c-muted); }
@media (max-width: 991.98px) { .process-intro { position: static; } }

/* ================================================== ĐÁNH GIÁ ====== */
.testimonials { padding: var(--sp-section) 0; }
.testimonial-swiper .swiper-slide { height: auto; }
.testimonial-card {
    height: 100%;
    position: relative;
    padding: 34px 28px 28px;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
}
.testimonial-quote {
    position: absolute; right: 24px; top: 20px;
    font-size: 2rem; color: var(--c-accent-soft);
}
.testimonial-stars { margin: 0 0 12px; color: var(--c-star); font-size: .8125rem; letter-spacing: 2px; }
.testimonial-stars .is-off { color: var(--c-line); }
.testimonial-text { font-size: var(--fs-small); color: var(--c-body); margin-bottom: 20px; }
.testimonial-head { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial-initial {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--c-primary); color: var(--c-white);
    font-family: var(--font-display); font-size: 1.125rem;
}
.testimonial-name { margin: 0; font-size: 1rem; }
.testimonial-place { margin: 0; font-size: .8125rem; color: var(--c-muted); }

/* ================================================== BANNER ======== */
.home-banner {padding: 0 0 var(--sp-section);display: none;}
.home-banner-link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    max-height: 340px;
}
.home-banner-link img { width: 100%; height: 340px; object-fit: cover; display: block; }

/* Lớp phủ CTA — ảnh banner không có chữ nên nội dung nằm ở đây */
.home-banner-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center;
    background: linear-gradient(90deg, rgba(8, 24, 58, .88) 0%, rgba(8, 24, 58, .72) 45%, rgba(8, 24, 58, .15) 100%);
}
.home-banner-inner { padding: 0 clamp(24px, 5vw, 64px); max-width: 620px; }
.home-banner-title {
    margin: 0 0 12px;
    color: var(--c-white);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.15;
}
.home-banner-desc { margin-bottom: 22px; color: rgba(255, 255, 255, .82); }
.home-banner-desc p { margin: 0; }
.home-banner-btn { display: inline-flex; align-items: center; gap: 10px; }

@media (max-width: 767.98px) {
    .home-banner-link, .home-banner-link img { max-height: none; height: 260px; }
    .home-banner-overlay { background: linear-gradient(180deg, rgba(8, 24, 58, .82) 0%, rgba(8, 24, 58, .9) 100%); }
}

/* ================================================== ĐẶT LỊCH ====== */
.booking { position: relative; padding: var(--sp-section) 0; overflow: hidden; }
.booking-bg { position: absolute; inset: 0; background: var(--c-bg-soft); }
.booking-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(115deg, var(--c-primary-mist) 0%, transparent 55%);
}
.booking .container { position: relative; z-index: 1; }

.booking-promo-title { color: var(--c-primary); font-size: var(--fs-h2); margin-bottom: 14px; }
.booking-promo-sub { font-size: var(--fs-lead); color: var(--c-body); margin-bottom: 22px; max-width: 460px; }
.booking-tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 30px; padding: 0; }
.booking-tags li {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    font-size: .8125rem;
    font-weight: 600;
    color: var(--c-primary);
}
.booking-tags i { color: var(--c-accent); }

.booking-card {
    padding: 32px;
    background: var(--c-primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.booking-card-title {
    position: relative;
    margin: 0 0 24px;
    padding-bottom: 14px;
    color: var(--c-white);
    font-size: 1.375rem;
}
.booking-card-title::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 44px; height: 2px; background: var(--c-accent);
}
.booking-card .form-label { color: rgba(255, 255, 255, .82); }
.booking-card .booking-msg { color: rgba(255, 255, 255, .8); }
.booking-card .booking-msg.is-success { color: #9fe3bd; }
.booking-card .booking-msg.is-error { color: #ffb4ad; }
.booking-card .booking-submit { width: 100%; }

/* ================================================== THƯ VIỆN ====== */
.gallery { padding: var(--sp-section) 0; }
.gallery-swiper .swiper-slide { height: auto; }
.gallery-album { position: relative; display: block; overflow: hidden; border-radius: var(--radius); }
.gallery-album img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-album:hover img { transform: scale(1.06); }
.gallery-album-cap {
    position: absolute; inset: auto 0 0 0;
    padding: 16px;
    background: linear-gradient(180deg, rgba(6, 18, 41, 0) 0%, rgba(6, 18, 41, .85) 100%);
    color: var(--c-white);
    font-size: .9375rem;
    font-weight: 600;
}

/* ================================================== TIN TỨC ======= */
.news { padding: var(--sp-section) 0; }
.news-swiper .swiper-slide { height: auto; }

/* 3 the lon co tom tat — truoc day la slider chi hien tieu de */
.news-grid { display: grid; gap: 30px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 991.98px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .news-grid { grid-template-columns: 1fr; } }

/* ================================================== POPUP ========= */
.home-popup { position: fixed; inset: 0; z-index: 1080; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--t); }
.home-popup.is-open { opacity: 1; }
.home-popup-backdrop { position: absolute; inset: 0; background: rgba(6, 18, 41, .72); }
.home-popup-box { position: relative; max-width: min(560px, 92vw); box-shadow: var(--shadow-lg); border-radius: var(--radius); overflow: hidden; }
.home-popup-close {
    position: absolute; right: 10px; top: 10px; z-index: 2;
    width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--c-white); color: var(--c-primary);
    border: 0; border-radius: 50%; cursor: pointer;
}
.home-popup-media img { width: 100%; }

/* ===================================================================
   CÁC SECTION BỔ SUNG (docs/HOME-REDESIGN.md)
   Dải tin cậy · Triage lĩnh vực · Địa bàn · Cộng đồng người Việt · FAQ
   =================================================================== */

/* ---- Cấp chữ "statement": câu định vị giữa trang ---- */
.section-statement {
    font-family: var(--font-display);
    font-size: var(--fs-h2);
    line-height: 1.14;
    letter-spacing: -.015em;
    color: var(--c-primary);
    margin: 10px 0 18px;
}

/* ================================================== DẢI TIN CẬY === */
/* Băng ngang ngay dưới hero: 4 dữ kiện, không phải quảng cáo.
   Đây là chỗ kể lợi thế song ngữ ở màn hình đầu tiên. */
.trust-bar {
    position: relative;
    z-index: 5;
    background: var(--c-primary);
    color: rgba(255, 255, 255, .82);
    border-top: var(--rule) solid var(--c-accent);
}
.trust-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 9px clamp(18px, 3vw, 30px);
    margin: 0;
    padding: 16px 0;
}
.trust-item {
    display: inline-flex; align-items: center; gap: 11px;
    font-size: var(--fs-small);
    line-height: 1.4;
}
.trust-item i { color: var(--c-accent); font-size: 1rem; }
.trust-item a { color: var(--c-white); font-weight: 600; }
.trust-item a:hover { color: var(--c-accent); }
@media (max-width: 767.98px) {
    .trust-list { justify-content: flex-start; padding: 14px 0; }
    .trust-item { flex: 0 0 100%; }
}

/* ================================================== TRIAGE ======== */
/* "Bạn đang cần giúp việc gì?" — khách vào trang mang MỘT vấn đề cụ thể,
   cho họ đi thẳng thay vì bắt cuộn 3 màn hình. */
.triage-section {
    padding: clamp(34px, 4vw, 50px) 0;
    background: var(--c-primary-dark);
    color: var(--c-white);
}
.triage-lead {
    margin: 0 0 22px;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    /* letter-spacing: .2em; */
    text-transform: capitalize;
    color: rgb(255 255 255);
    font-family: var(--font-display);
}
.triage-grid {
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: 1px;
    grid-template-columns: repeat(6, 1fr);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .1);
}
.triage-item { background: var(--c-primary-dark); }
.triage-link {
    height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    gap: 12px;
    padding: 26px 14px;
    text-align: center;
    color: rgba(255, 255, 255, .82);
    transition: background var(--t), color var(--t);
}
a.triage-link:hover { background: var(--c-primary); color: var(--c-white); }
.triage-link i {font-size: 38px;color: var(--c-accent);width: 50px;height: 50px;}
.triage-name {font-size: var(--fs-small);font-weight: 400;line-height: 1.35;color: #ff;}
@media (max-width: 991.98px) { .triage-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 479.98px) { .triage-grid { grid-template-columns: repeat(2, 1fr); } }

/* ================================================== ĐỊA BÀN ======= */
.locality-section { padding: var(--sp-section) 0; }
.locality-lead { color: var(--c-body); }
.locality-lead p { margin: 0 0 14px; }
.locality-areas { margin-top: 22px; }
.locality-areas ul {
    list-style: none;
    display: flex; flex-wrap: wrap; gap: 8px;
    margin: 0; padding: 0;
}
.locality-areas li {
    padding: 6px 13px;
    background: var(--c-primary-mist);
    border-radius: var(--radius-pill);
    font-size: var(--fs-small);
    color: var(--c-primary);
}
.locality-areas p { margin: 12px 0 0; font-size: var(--fs-small); color: var(--c-muted); }

.locality-points { display: grid; gap: 0; }
.locality-point {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-top: 1px solid var(--c-line);
    align-items: center;
}
.locality-point:first-child { border-top: 0; padding-top: 0; }
.locality-point > i {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--c-accent-soft);
    color: var(--c-accent-dark);
    border-radius: var(--radius);
    font-size: 60px;
}
/* Anh icon admin upload: giu nguyen o vuong + nen vang nhat nhu ban icon font */
.locality-point > .item-icon {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    padding: 18px;
    object-fit: contain;
    background: var(--c-accent-soft);
    border-radius: var(--radius);
}
.locality-point h3 { margin: 0 0 7px; font-size: var(--fs-h3); }
.locality-point p { margin: 0; color: var(--c-muted); font-size: var(--fs-small); }
@media (max-width: 991.98px) { .locality-point:first-child { padding-top: 24px; border-top: 1px solid var(--c-line); } }

/* ============================================ CỘNG ĐỒNG NGƯỜI VIỆT */
/* Khác biệt lớn nhất của văn phòng — nền tối, một câu statement lớn. */
.community-section {
    position: relative;
    padding: var(--sp-section) 0;
    background: var(--c-primary-darker);
    color: rgba(255, 255, 255, .74);
    text-align: center;
    overflow: hidden;
}
.community-section::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(90% 70% at 50% 0%, rgba(29, 58, 112, .75) 0%, rgba(6, 18, 41, 0) 72%);
    pointer-events: none;
}
.community-section > .container { position: relative; }
.community-statement {
    max-width: 860px;
    margin: 0 auto 22px;
    font-family: var(--font-display);
    font-size: var(--fs-h2);
    line-height: 1.2;
    color: var(--c-white);
    quotes: none;
}
.community-lead { max-width: 720px; margin: 0 auto 34px; font-size: var(--fs-lead); }
.community-lead p { margin: 0; }

.community-points {
    list-style: none;
    display: grid; gap: 26px;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 0 34px; padding: 0;
    text-align: left;
}
.community-points li { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); }
.community-points i { display: block; margin-bottom: 12px; font-size: 1.375rem; color: var(--c-accent); }
.community-points .item-icon {display: block;width: 60px;height: 60px;object-fit: contain;margin-bottom: 12px;}
.community-points strong { display: block; margin-bottom: 7px; color: var(--c-white); font-size: 1.0625rem; }
.community-points p { margin: 0; font-size: var(--fs-small); }
@media (max-width: 767.98px) { .community-points { grid-template-columns: 1fr; gap: 20px; } }

/* ================================================== FAQ =========== */
.faq-section { padding: var(--sp-section) 0; }
.faq-grid {
    display: grid; gap: 0 clamp(24px, 4vw, 56px);
    grid-template-columns: repeat(2, 1fr);
}
.faq-item { border-bottom: 1px solid var(--c-line); }
.faq-q {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
    padding: 20px 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: 1.0625rem;
    color: var(--c-primary);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q i {
    flex: 0 0 auto;
    margin-top: 3px;
    font-size: .8125rem;
    color: var(--c-accent-dark);
    transition: transform var(--t);
}
.faq-item[open] .faq-q i { transform: rotate(45deg); }
.faq-a { padding: 0 34px 22px 0; color: var(--c-muted); font-size: var(--fs-small); }
.faq-a p { margin: 0 0 10px; }
.faq-a p:last-child { margin-bottom: 0; }
@media (max-width: 767.98px) { .faq-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   CUỘN NGANG TRÊN DI ĐỘNG
   Bốn lưới nhiều mục (Lĩnh vực hành nghề · Why choose us · Who we serve ·
   Cộng đồng người Việt) xếp dọc trên điện thoại làm trang chủ dài lê thê. Chuyển thành carousel
   cuộn ngang bằng CSS THUẦN — không cần Swiper, không JS, có quán tính native.
   Thẻ rộng 82% để mục kế tiếp ló ra: đó là tín hiệu cho người dùng biết cuộn được.
   =================================================================== */
@media (max-width: 767.98px) {
    .service-grid,
    .why-grid,
    .serve-grid,
    .community-points {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Tràn ra sát mép màn hình rồi thụt lại bằng padding
           -> thẻ đầu tiên vẫn thẳng hàng lề với phần chữ phía trên. */
        margin-left: calc(var(--bs-gutter-x, 1.5rem) * -.5);
        margin-right: calc(var(--bs-gutter-x, 1.5rem) * -.5);
        padding-left: calc(var(--bs-gutter-x, 1.5rem) * .5);
        padding-right: calc(var(--bs-gutter-x, 1.5rem) * .5);
        scroll-padding-left: calc(var(--bs-gutter-x, 1.5rem) * .5);
    }
    .service-grid::-webkit-scrollbar,
    .why-grid::-webkit-scrollbar,
    .serve-grid::-webkit-scrollbar,
    .community-points::-webkit-scrollbar { display: none; }

    .service-grid > *,
    .why-grid > *,
    .serve-grid > *,
    .community-points > * {
        flex: 0 0 82%;
        scroll-snap-align: start;
    }

    /* Thẻ lĩnh vực cao hơn hẳn (ảnh + mô tả + 6 dòng việc cụ thể) nên để hẹp
       hơn một chút, mục kế tiếp ló ra rõ hơn. */
    .service-grid { gap: 16px; }
    .service-grid > * { flex-basis: 78%; }

    .why-grid { gap: 14px; }
    .community-points { gap: 14px; }

    /* .serve-grid dựng đường kẻ mảnh bằng gap 1px + nền chung. Cách đó chỉ đúng
       khi là lưới liền khối; cuộn ngang thì phải trả về khoảng cách thật và cho
       mỗi ô viền riêng. */
    .serve-grid {
        gap: 12px;
        background: none;
        border: 0;
    }
    .serve-grid .serve-item {
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: var(--radius);
    }
}
