@charset "utf-8";
/* ==========================================================================
   GEO / AEO homepage modules - Baroxon barrier gate & smart parking systems
   Applies to: saudibarriers.com (/, /en/, /ar/)
   Loaded by template/pc/{en,ar}/home/index.html
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. SEO H1 - placement & CSS mirror busbarmc.com (.home-seo-title)
   Visually hidden, still a real H1 for crawlers / AI answer engines.
   -------------------------------------------------------------------------- */
.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
}

/* --------------------------------------------------------------------------
   2. Shared shell
   -------------------------------------------------------------------------- */
.hm-mod {
    padding: 72px 0;
    background: #fff;
    clear: both;
    position: relative
}

.hm-mod--alt {
    background: #f3f7fc
}

.hm-wrap {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box
}

.hm-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 34px;
    line-height: 1.28;
    font-weight: 700;
    color: #00479d;
    text-align: center;
    margin: 0 0 12px
}

.hm-sub {
    font-family: Arial, Helvetica, sans-serif;
    max-width: 980px;
    margin: 0 auto 44px;
    font-size: 16px;
    line-height: 1.8;
    color: #5a6675;
    text-align: center
}

/* --------------------------------------------------------------------------
   3. Module A - Applications / industries we serve
   -------------------------------------------------------------------------- */
.hm-grid-app {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.hm-app-card {
    background: #fff;
    border: 1px solid #dde6f1;
    border-radius: 10px;
    padding: 28px 24px;
    box-shadow: 0 6px 18px rgba(0, 71, 157, .05);
    transition: box-shadow .25s ease, transform .25s ease
}

.hm-app-card:hover {
    box-shadow: 0 12px 28px rgba(0, 71, 157, .12);
    transform: translateY(-3px)
}

.hm-app-ic {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #e8f0fa;
    color: #00479d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px
}

.hm-app-ic svg {
    width: 28px;
    height: 28px;
    display: block
}

.hm-app-card h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 1.4;
    color: #10305c;
    margin: 0 0 10px
}

.hm-app-card p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.78;
    color: #5a6675;
    margin: 0
}

/* --------------------------------------------------------------------------
   4. Module B - Why choose Baroxon
   -------------------------------------------------------------------------- */
.hm-why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px
}

.hm-why-item {
    background: #fff;
    border: 1px solid #dde6f1;
    border-radius: 10px;
    padding: 26px 18px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 71, 157, .05)
}

.hm-why-ic {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #00479d;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center
}

.hm-why-ic svg {
    width: 28px;
    height: 28px;
    display: block
}

.hm-why-item h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.4;
    color: #10305c;
    margin: 0 0 8px
}

.hm-why-item p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.7;
    color: #5a6675;
    margin: 0
}

/* --------------------------------------------------------------------------
   5. Module C - Factory & quality capability
   -------------------------------------------------------------------------- */
.hm-fac-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.35fr;
    gap: 40px;
    align-items: center
}

.hm-video-wrap {
    position: relative;
    border: 1px solid #dde6f1;
    background: #0b1a2e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .10)
}

.hm-video-wrap img {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover
}

.hm-video-wrap .hm-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none
}

.hm-video-wrap .hm-play i {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(0, 71, 157, .88);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-style: normal;
    line-height: 1;
    padding-left: 4px;
    box-sizing: border-box;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .28)
}

.hm-fac-media h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    color: #10305c;
    margin: 18px 0 8px
}

.hm-fac-media p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.7;
    color: #64707f;
    margin: 0
}

.hm-fac-list {
    display: grid;
    gap: 18px
}

.hm-fac-item {
    background: #fff;
    border: 1px solid #dde6f1;
    border-left: 4px solid #00479d;
    border-radius: 0 10px 10px 0;
    padding: 20px 22px;
    box-shadow: 0 6px 16px rgba(0, 71, 157, .05)
}

html[lang=ar] .hm-fac-item {
    border-left: 1px solid #dde6f1;
    border-right: 4px solid #00479d;
    border-radius: 10px 0 0 10px
}

.hm-fac-item h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.4;
    color: #10305c;
    margin: 0 0 7px
}

.hm-fac-item p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.75;
    color: #5a6675;
    margin: 0
}

/* --------------------------------------------------------------------------
   6. Module D - Customer cases & project results
   -------------------------------------------------------------------------- */
.hm-cases {
    display: grid;
    gap: 28px
}

.hm-case {
    display: grid;
    grid-template-columns: 400px 1fr;
    background: #fff;
    border: 1px solid #dde6f1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 71, 157, .06)
}

.hm-case-media img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block
}

.hm-case-body {
    padding: 28px 32px
}

.hm-case-body h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 21px;
    line-height: 1.4;
    color: #10305c;
    margin: 0 0 16px
}

.hm-case-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 26px
}

.hm-case-fields div {
    background: #f5f9fe;
    border-radius: 6px;
    padding: 10px 14px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.68;
    color: #5a6675
}

.hm-case-fields strong {
    display: block;
    font-size: 11px;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #00479d;
    margin-bottom: 3px
}

/* --------------------------------------------------------------------------
   7. Module E - FAQ
   -------------------------------------------------------------------------- */
.hm-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 22px
}

.hm-faq-grid details {
    background: #fff;
    border: 1px solid #dde6f1;
    border-radius: 8px;
    padding: 0 22px;
    box-shadow: 0 4px 12px rgba(0, 71, 157, .04)
}

.hm-faq-grid summary {
    position: relative;
    cursor: pointer;
    list-style: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    color: #10305c;
    padding: 18px 30px 18px 0
}

html[lang=ar] .hm-faq-grid summary {
    padding: 18px 0 18px 30px
}

.hm-faq-grid summary::-webkit-details-marker {
    display: none
}

.hm-faq-grid summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 15px;
    font-size: 24px;
    line-height: 1;
    color: #00479d
}

html[lang=ar] .hm-faq-grid summary::after {
    right: auto;
    left: 0
}

.hm-faq-grid details[open] summary::after {
    content: "\2212"
}

.hm-faq-a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: #5c6876;
    padding: 0 0 18px
}

/* --------------------------------------------------------------------------
   8. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .hm-why-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .hm-fac-grid {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .hm-case {
        grid-template-columns: 330px 1fr
    }
}

@media (max-width: 900px) {
    .hm-grid-app {
        grid-template-columns: 1fr 1fr
    }

    .hm-why-grid {
        grid-template-columns: 1fr 1fr
    }

    .hm-case {
        grid-template-columns: 1fr
    }

    .hm-case-media img {
        aspect-ratio: 16/9;
        min-height: 0
    }

    .hm-case-fields,
    .hm-faq-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width: 620px) {
    .hm-mod {
        padding: 46px 0
    }

    .hm-title {
        font-size: 26px
    }

    .hm-sub {
        margin-bottom: 26px;
        font-size: 15px
    }

    .hm-grid-app,
    .hm-why-grid {
        grid-template-columns: 1fr
    }
}
