/* Hải Long Homepage Pro-Max Sections: FAQ, Equipment, Activities, Partners, Icons */

/* 0. Icon, Logo & Certificate Enhancements */
.header-logo img { image-rendering: auto; object-fit: contain; }
.hl-cert-pill {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
    background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: 11px;
    font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; margin-bottom: 12px;
}
.journey-icon, .guarantee-icon {
    width: 54px !important; height: 54px !important; border-radius: 14px !important;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%) !important;
    border: 1px solid #fecaca !important; color: #c21a1b !important;
    display: inline-flex !important; align-items: center; justify-content: center;
    font-size: 22px !important; margin-bottom: 14px; box-shadow: 0 4px 12px rgba(194, 26, 27, 0.1);
}

/* 1. FAQ (10 Questions - 2 Columns Native Details) */
.hl-faq-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
.hl-faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: start; }
.hl-faq-item {
    background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04); overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.hl-faq-item[open] { border-color: rgba(194, 26, 27, 0.4); box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08); }
.hl-faq-q {
    list-style: none; display: flex; align-items: center; gap: 12px; padding: 16px 18px;
    cursor: pointer; user-select: none; min-height: 56px; box-sizing: border-box;
}
.hl-faq-q::-webkit-details-marker { display: none; }
.hl-faq-num {
    flex: 0 0 32px; height: 32px; border-radius: 9px; background: #fef2f2; color: #c21a1b;
    font-size: 12.5px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center;
}
.hl-faq-item[open] .hl-faq-num { background: #c21a1b; color: #ffffff; }
.hl-faq-qtext { flex: 1; color: #0f172a; font-size: 14.8px; font-weight: 800; line-height: 1.45; text-align: left; }
.hl-faq-toggle {
    flex: 0 0 28px; height: 28px; border-radius: 50%; background: #f8fafc; color: #475569;
    display: inline-flex; align-items: center; justify-content: center; transition: transform 0.25s ease, background-color 0.2s ease;
}
.hl-faq-item[open] .hl-faq-toggle { transform: rotate(45deg); background: #fef2f2; color: #c21a1b; }
.hl-faq-a { padding: 0 18px 18px 62px; color: #475569; font-size: 14.2px; line-height: 1.68; }
.hl-faq-a p { margin: 0; }
.hl-faq-cta {
    margin-top: 28px; padding: 22px 26px; border-radius: 16px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #ffffff;
    display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.hl-faq-cta strong { display: block; font-size: 17px; font-weight: 800; color: #ffffff; margin-bottom: 3px; }
.hl-faq-cta span { display: block; font-size: 13.5px; color: #cbd5e1; }
.hl-faq-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hl-faq-btn-call, .hl-faq-btn-quote {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 20px;
    border-radius: 999px; font-size: 14px; font-weight: 800; text-decoration: none;
}
.hl-faq-btn-call { background: #c21a1b; color: #ffffff !important; }
.hl-faq-btn-call:hover { background: #991b1b; }
.hl-faq-btn-quote { background: #ffffff; color: #0f172a !important; }
.hl-faq-btn-quote:hover { background: #f1f5f9; }

/* 2. Equipment & Machinery (6 Branded Cards - 3x2) */
.hl-eq-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
.hl-eq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hl-eq-card {
    background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05); display: flex; flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.hl-eq-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1); border-color: rgba(194, 26, 27, 0.35); }
.hl-eq-media { position: relative; width: 100%; aspect-ratio: 16 / 10; background: #f1f5f9; overflow: hidden; }
.hl-eq-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.45s ease; }
.hl-eq-card:hover .hl-eq-media img { transform: scale(1.04); }
.hl-eq-media--contain { background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); padding: 14px; box-sizing: border-box; }
.hl-eq-media--contain img { object-fit: contain; }
.hl-eq-brand {
    position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 6px;
    background: rgba(15, 23, 42, 0.85); color: #ffffff; font-size: 10.5px; font-weight: 900; letter-spacing: 0.6px;
}
.hl-eq-origin {
    position: absolute; bottom: 12px; right: 12px; padding: 4px 11px; border-radius: 999px;
    background: #c21a1b; color: #ffffff; font-size: 11px; font-weight: 800; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.hl-eq-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.hl-eq-body h3 { color: #0f172a; font-size: 17px; font-weight: 800; line-height: 1.4; margin: 0 0 8px; }
.hl-eq-body p { color: #475569; font-size: 13.8px; line-height: 1.65; margin: 0 0 16px; flex: 1; }
.hl-eq-specs { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; border-top: 1px solid #f1f5f9; }
.hl-eq-specs span {
    background: #f8fafc; border: 1px solid #cbd5e1; color: #1e293b; font-size: 11.5px;
    font-weight: 700; padding: 4px 10px; border-radius: 999px;
}

/* 3. Field Activities Gallery (8 Photos - 4x2 + Filter + Lightbox) */
.hl-act-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
.hl-act-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 26px; }
.hl-act-tab {
    background: #ffffff; color: #334155; border: 1.5px solid #cbd5e1; padding: 8px 18px; min-height: 40px;
    border-radius: 999px; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: all 0.2s ease;
}
.hl-act-tab:hover { border-color: #c21a1b; color: #c21a1b; }
.hl-act-tab.is-active { background: #c21a1b; border-color: #c21a1b; color: #ffffff; box-shadow: 0 4px 14px rgba(194, 26, 27, 0.25); }

.hl-act-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hl-act-card {
    background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05); display: flex; flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hl-act-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1); }
.hl-act-trigger { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; }
.hl-act-media { position: relative; width: 100%; aspect-ratio: 16 / 10; background: #0f172a; overflow: hidden; }
.hl-act-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.45s ease; }
.hl-act-card:hover .hl-act-media img { transform: scale(1.06); }
.hl-act-brand {
    position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 6px;
    background: rgba(15, 23, 42, 0.82); color: #ffffff; font-size: 10px; font-weight: 900; letter-spacing: 0.5px;
}
.hl-act-cat {
    position: absolute; bottom: 10px; left: 10px; padding: 4px 10px; border-radius: 999px;
    background: #c21a1b; color: #ffffff; font-size: 11px; font-weight: 800;
}
.hl-act-zoom {
    position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.92); color: #0f172a; display: inline-flex;
    align-items: center; justify-content: center; font-size: 13px; opacity: 0.9;
}
.hl-act-body { padding: 15px 16px 18px; flex: 1; }
.hl-act-body h3 { color: #0f172a; font-size: 15px; font-weight: 800; line-height: 1.4; margin: 0 0 6px; }
.hl-act-body p { color: #475569; font-size: 13px; line-height: 1.58; margin: 0; }

/* Lightbox Modal */
.hl-lightbox[hidden] { display: none; }
.hl-lightbox { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.hl-lb-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.88); backdrop-filter: blur(4px); }
.hl-lb-dialog { position: relative; z-index: 2; max-width: 960px; width: 100%; background: #0f172a; border-radius: 16px; overflow: hidden; border: 1px solid #334155; }
.hl-lb-figure { margin: 0; }
.hl-lb-img { width: 100%; max-height: 74vh; object-fit: contain; display: block; background: #020617; }
.hl-lb-caption { padding: 14px 20px; background: #0f172a; color: #ffffff; }
.hl-lb-title { display: block; font-size: 16px; font-weight: 800; margin-bottom: 3px; }
.hl-lb-desc { display: block; font-size: 13.5px; color: #cbd5e1; }
.hl-lb-close, .hl-lb-nav {
    position: absolute; z-index: 3; border: 0; background: rgba(15, 23, 42, 0.78); color: #ffffff;
    cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.hl-lb-close { top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; font-size: 24px; }
.hl-lb-nav { top: 44%; width: 42px; height: 42px; border-radius: 50%; font-size: 26px; }
.hl-lb-prev { left: 12px; }
.hl-lb-next { right: 12px; }
.hl-lb-close:hover, .hl-lb-nav:hover { background: #c21a1b; }

/* 4. Partners & Clients (Enterprise Logo Wall - 6x2 Grid) */
.hl-pt-logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; max-width: 1240px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
.hl-pt-logo-tile {
    background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; height: 96px; padding: 14px 16px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hl-pt-logo-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08); border-color: rgba(194, 26, 27, 0.35); }
.hl-pt-logo-tile img { max-height: 56px; max-width: 100%; width: auto; object-fit: contain; display: block; }
.hl-pt-wordmark { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; }
.hl-pt-badge-svg {
    width: 34px; height: 34px; flex: 0 0 34px; border-radius: 9px; display: inline-flex; align-items: center;
    justify-content: center; font-size: 13px; font-weight: 900; color: #ffffff; letter-spacing: 0.4px;
}
.hl-pt-brandname {
    color: #0f172a; font-size: 13px; font-weight: 800; line-height: 1.25; text-align: left;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.hl-faq-q:focus-visible, .hl-act-tab:focus-visible, .hl-act-trigger:focus-visible,
.hl-lb-close:focus-visible, .hl-lb-nav:focus-visible { outline: 3px solid #c21a1b; outline-offset: 2px; }

@media (max-width: 992px) {
    .hl-eq-grid, .hl-act-grid { grid-template-columns: repeat(2, 1fr); }
    .hl-pt-logo-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
    .hl-faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .hl-pt-logo-wall { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hl-pt-logo-tile { height: 84px; padding: 12px; }
}
@media (max-width: 560px) {
    .hl-eq-grid, .hl-act-grid { grid-template-columns: 1fr; }
    .hl-faq-a { padding: 0 16px 16px 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .hl-faq-item, .hl-faq-toggle, .hl-eq-card, .hl-eq-media img, .hl-act-card, .hl-act-media img, .hl-pt-logo-tile { transition: none; }
}
#quote-form, .hailong-survey-card { scroll-margin-top: 100px; }
