/* ==========================================================================
   BAROXON Global - homepage GEO module styles
   Shared by all language sites of baroxon-global.com (SITE_THEME = default)
   Brand: --ztcolor #00479d (blue)  |  accent gold #c8a24b
   ========================================================================== */

/* --- SEO H1: identical to busbarmc.com .home-seo-title (visually hidden) --- */
.home-seo-title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- module shell --- */
.hm-mod {
    padding: 70px 0;
    background: #ffffff;
    box-sizing: border-box;
    clear: both;
}
.hm-mod + .hm-mod { border-top: 1px solid #eef1f5; }
.hm-mod.hm-alt { background: #f6f9fd; }
.hm-wrap {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.hm-mod * { box-sizing: border-box; }
.hm-title {
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 34px;
    line-height: 1.3;
    font-weight: 700;
    color: #123a63;
    text-align: center;
    margin: 0 0 14px;
    padding: 0;
}
.hm-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    background: #c8a24b;
    margin: 16px auto 0;
}
.hm-sub {
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #5b6b7c;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 44px;
    padding: 0;
}

/* --- M2 applications / industries --- */
.hm-ind-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.hm-ind-card {
    border: 1px solid #e3eaf3;
    border-radius: 10px;
    background: #ffffff;
    padding: 26px 26px 22px;
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.hm-ind-card:hover {
    box-shadow: 0 12px 30px rgba(0, 71, 157, .12);
    border-color: #bcd4f0;
    transform: translateY(-2px);
}
.hm-ind-h {
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 19px;
    line-height: 1.5;
    font-weight: 700;
    color: #123a63;
    margin: 0 0 16px;
    padding: 0 0 0 44px;
    position: relative;
    min-height: 34px;
}
.hm-ind-h i {
    position: absolute;
    left: 0;
    top: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #eaf2fd;
    color: #00479d;
    font-style: normal;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hm-ind-h i svg { width: 19px; height: 19px; display: block; }
.hm-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.hm-chips li {
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1;
    color: #33506e;
    background: #f2f6fb;
    border: 1px solid #e0e9f4;
    border-radius: 20px;
    padding: 9px 14px;
    margin: 0;
}

/* --- M3 why choose --- */
.hm-why-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}
.hm-why-item {
    background: #ffffff;
    border: 1px solid #e3eaf3;
    border-radius: 10px;
    padding: 28px 20px 24px;
    text-align: center;
    transition: box-shadow .25s ease, transform .25s ease;
}
.hm-why-item:hover { box-shadow: 0 12px 30px rgba(0, 71, 157, .12); transform: translateY(-2px); }
.hm-why-ic {
    display: block;
    width: 58px;
    height: 58px;
    line-height: 58px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a5ab8 0%, #00479d 100%);
    color: #ffffff;
    font-size: 24px;
    font-style: normal;
}
.hm-why-h {
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 700;
    color: #123a63;
    margin: 0 0 10px;
    padding: 0;
}
.hm-why-p {
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.75;
    color: #5b6b7c;
    margin: 0;
    padding: 0;
}

/* --- M4 factory & quality --- */
.hm-factory-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}
.hm-video {
    display: block;
    position: relative;
    min-height: 320px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #072042 0%, #00479d 55%, #2c76d6 100%);
    text-decoration: none;
    color: #ffffff;
}
.hm-video-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 26px;
}
.hm-play {
    width: 76px;
    height: 76px;
    line-height: 76px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    border: 2px solid rgba(255, 255, 255, .8);
    color: #ffffff;
    font-size: 26px;
    text-align: center;
    margin-bottom: 18px;
    font-style: normal;
}
.hm-video-t {
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 8px;
    color: #ffffff;
}
.hm-video-s {
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #d7e6fa;
    margin: 0;
}
.hm-video-cta {
    display: inline-block;
    margin-top: 20px;
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #072042;
    background: #c8a24b;
    border-radius: 24px;
    padding: 11px 24px;
    text-decoration: none;
}
.hm-factory-col { display: grid; gap: 16px; }
.hm-factory-item {
    background: #ffffff;
    border: 1px solid #e3eaf3;
    border-left: 4px solid #00479d;
    border-radius: 8px;
    padding: 20px 22px;
}
.hm-factory-h {
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 700;
    color: #123a63;
    margin: 0 0 8px;
    padding: 0;
}
.hm-factory-p {
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: #5b6b7c;
    margin: 0;
    padding: 0;
}

/* --- M5 customer cases --- */
.hm-case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.hm-case {
    background: #ffffff;
    border: 1px solid #e3eaf3;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.hm-case-h {
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #0a5ab8 0%, #00479d 100%);
    margin: 0;
    padding: 18px 20px;
}
.hm-case-fields { margin: 0; padding: 18px 20px 20px; }
.hm-case-row {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px dashed #e8eef6;
}
.hm-case-row:last-child { border-bottom: 0; }
.hm-case-k {
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #00479d;
    line-height: 1.7;
}
.hm-case-v {
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 13px;
    line-height: 1.7;
    color: #4a5c70;
}

/* --- M6 FAQ --- */
.hm-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.hm-faq-item {
    background: #ffffff;
    border: 1px solid #e3eaf3;
    border-radius: 8px;
    padding: 0 20px;
}
.hm-faq-item[open] { border-color: #bcd4f0; }
.hm-faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 30px 18px 0;
    position: relative;
}
.hm-faq-item summary::-webkit-details-marker { display: none; }
.hm-faq-item summary::after {
    content: "\f107";
    position: absolute;
    right: 0;
    top: 17px;
    font-family: FontAwesome;
    font-size: 16px;
    color: #00479d;
    transition: transform .2s ease;
}
.hm-faq-item[open] summary::after { transform: rotate(180deg); }
.hm-faq-item summary h3 {
    display: inline;
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.65;
    font-weight: 700;
    color: #123a63;
    margin: 0;
    padding: 0;
}
.hm-faq-a {
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.85;
    color: #5b6b7c;
    padding: 0 0 18px;
    border-top: 1px dashed #e8eef6;
    padding-top: 14px;
}

/* --- RTL (Arabic site) --- */
html[lang="ar"] .hm-title,
html[lang="ar"] .hm-sub { text-align: center; }
html[lang="ar"] .hm-ind-h { padding: 0 44px 0 0; }
html[lang="ar"] .hm-ind-h i { left: auto; right: 0; }
html[lang="ar"] .hm-factory-item { border-left: 0; border-right: 4px solid #00479d; }
html[lang="ar"] .hm-faq-item summary { padding: 18px 0 18px 30px; }
html[lang="ar"] .hm-faq-item summary::after { right: auto; left: 0; }
html[lang="ar"] .hm-case-row { grid-template-columns: minmax(0, 1fr) 104px; }

/* --- responsive --- */
@media screen and (max-width: 1200px) {
    .hm-why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hm-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 960px) {
    .hm-mod { padding: 50px 0; }
    .hm-title { font-size: 27px; }
    .hm-ind-grid { grid-template-columns: minmax(0, 1fr); }
    .hm-factory-grid { grid-template-columns: minmax(0, 1fr); }
    .hm-video { min-height: 260px; }
    .hm-faq-grid { grid-template-columns: minmax(0, 1fr); }
}
@media screen and (max-width: 720px) {
    .hm-mod { padding: 40px 0; }
    .hm-title { font-size: 23px; }
    .hm-sub { font-size: 15px; margin-bottom: 30px; }
    .hm-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hm-case-grid { grid-template-columns: minmax(0, 1fr); }
    .hm-case-row { grid-template-columns: 92px minmax(0, 1fr); }
    html[lang="ar"] .hm-case-row { grid-template-columns: minmax(0, 1fr) 92px; }
}
