.ls-home{--green:#075e52;--green-dark:#043f38;--ink:#14201e;--muted:#697471;--line:#e2e8e6;color:var(--ink);background:#fff;direction:rtl}
.ls-home *{box-sizing:border-box}.ls-home-container{width:min(1180px,calc(100% - 32px));margin-inline:auto}.ls-home-hero{position:relative;min-height:610px;display:flex;align-items:center;background:#164b43 url("../home.jpg") center/cover no-repeat}.ls-home-hero__shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,34,30,.25),rgba(3,34,30,.9))}.ls-home-hero__content{position:relative;padding-block:90px;color:#fff}.ls-home-kicker,.ls-home-heading>span{display:inline-block;margin-bottom:12px;color:#64d3c0;font-size:13px;font-weight:800}.ls-home-hero h1{max-width:760px;margin:0 0 22px;color:#fff;font-size:clamp(36px,5vw,66px);line-height:1.35}.ls-home-hero__content>p{max-width:700px;color:#e7f0ee;font-size:18px;line-height:2}.ls-home-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.ls-home-btn{display:inline-flex;min-height:49px;align-items:center;justify-content:center;padding:10px 24px;border-radius:7px;font-weight:800;text-decoration:none}.ls-home-btn--primary{color:#fff;background:var(--green)}.ls-home-btn--light{color:var(--green-dark);background:#fff}.ls-home-proof{display:flex;flex-wrap:wrap;gap:24px;margin:34px 0 0;padding:0;list-style:none}.ls-home-proof li{display:flex;gap:8px;align-items:center;color:#fff}.ls-home-section{padding:82px 0}.ls-home-section--muted{background:#f5f7f6}.ls-home-heading{max-width:700px;margin:0 auto 38px;text-align:center}.ls-home-heading h2,.ls-home-about h2{margin:0 0 14px;color:var(--ink);font-size:clamp(28px,4vw,43px);line-height:1.5}.ls-home-heading p{color:var(--muted);line-height:2}.ls-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.ls-product-card{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 8px 30px rgba(14,57,50,.07);transition:.2s}.ls-product-card:hover{transform:translateY(-4px);box-shadow:0 14px 35px rgba(14,57,50,.13)}.ls-product-card__image{height:210px;display:grid;place-items:center;background:#f5f6f5}.ls-product-card__image img{width:100%;height:100%;object-fit:contain;padding:15px}.ls-product-card__image span{color:#a8b3b0;font-size:56px}.ls-product-card__body{padding:18px}.ls-product-card h3{margin:0 0 9px;padding:0;font-size:19px}.ls-product-card h3 a{color:var(--ink);text-decoration:none}.ls-product-card p{min-height:54px;color:var(--muted);font-size:13px;line-height:1.9}.ls-product-card__link{display:inline-flex;align-items:center;gap:7px;margin-top:12px;color:var(--green);font-weight:800;text-decoration:none}.ls-home-capabilities{padding:78px 0;color:#fff;background:var(--green-dark)}.ls-home-heading--light h2{color:#fff}.ls-capability-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.ls-capability-grid article{padding:27px;border:1px solid rgba(255,255,255,.13);border-radius:13px;background:rgba(255,255,255,.06)}.ls-capability-grid i{color:#67d3c0;font-size:30px}.ls-capability-grid h3{margin:14px 0 8px;color:#fff;font-size:19px}.ls-capability-grid p{color:#d9e7e4;line-height:1.9}.ls-home-about{display:grid;grid-template-columns:1.5fr .75fr;gap:55px;align-items:center}.ls-home-kicker--dark{color:var(--green)}.ls-home-about__text{max-height:290px;overflow:hidden;position:relative;color:var(--muted);line-height:2.1}.ls-home-contact{padding:32px;border-radius:16px;color:#fff;background:var(--green-dark)}.ls-home-contact>i{font-size:34px;color:#68d2bf}.ls-home-contact h3{color:#fff;font-size:23px}.ls-home-contact p{color:#dce9e6;line-height:2}.ls-home-contact>a:not(.ls-home-btn){display:block;margin:18px 0;color:#fff;font-size:22px;font-weight:900;direction:ltr;text-align:right;text-decoration:none}.ls-home-contact .ls-home-btn{width:100%;margin-top:8px}.ls-article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.ls-article-card{overflow:hidden;border-radius:13px;background:#fff}.ls-article-card>a{display:block;height:210px;background:#e9edec}.ls-article-card img{width:100%;height:100%;object-fit:cover}.ls-article-card>div{padding:20px}.ls-article-card time{color:var(--muted);font-size:12px}.ls-article-card h3{margin:7px 0;padding:0;font-size:19px}.ls-article-card h3 a{color:var(--ink);text-decoration:none}.ls-article-card p{color:var(--muted);line-height:1.9}.ls-home-empty{grid-column:1/-1;padding:25px;border:1px dashed var(--line);text-align:center}
@media(max-width:980px){.ls-product-grid,.ls-capability-grid{grid-template-columns:repeat(2,1fr)}.ls-home-about{grid-template-columns:1fr}.ls-article-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.ls-home-hero{min-height:540px}.ls-home-hero__content{padding-block:64px}.ls-home-hero h1{font-size:36px}.ls-home-hero__content>p{font-size:15px}.ls-home-proof{display:grid;gap:12px}.ls-home-section{padding:58px 0}.ls-product-grid,.ls-capability-grid,.ls-article-grid{grid-template-columns:1fr}.ls-product-card__image{height:230px}.ls-home-actions .ls-home-btn{width:100%}}

/* نسخه چهارم: تصویر اختصاصی تولید و قطعات پلیمری */
.ls-home .ls-home-hero {
    background-image: url("../img/home-hero-industrial.webp");
    background-position: center;
}
.ls-home .ls-home-hero__shade {
    background: linear-gradient(90deg, rgba(3,34,30,.18), rgba(3,34,30,.94));
}

/* v5: consistent section title used across the original design. */
.ls-home .ls-home-heading {
    max-width: 100%;
}
.ls-home .ls-home-heading h2 {
    display: grid;
    grid-template-columns: minmax(28px, 1fr) auto minmax(28px, 1fr);
    align-items: center;
    gap: clamp(14px, 3vw, 28px);
    width: min(100%, 1110px);
    margin: 0 auto 14px;
    color: #075e52;
    text-align: center;
    font-size: clamp(24px, 3vw, 36px);
}
.ls-home .ls-home-heading h2::before,
.ls-home .ls-home-heading h2::after {
    content: "";
    height: 1px;
    background: #1d2927;
}
.ls-home .ls-home-heading--light h2 {
    color: #fff;
}
.ls-home .ls-home-heading--light h2::before,
.ls-home .ls-home-heading--light h2::after {
    background: rgba(255,255,255,.6);
}
.ls-home .ls-home-heading--about {
    margin: 0 0 22px;
}
.ls-home .ls-product-grid,
.ls-home .ls-article-grid,
.ls-home .ls-capability-grid {
    direction: rtl;
}
.ls-home .ls-product-card,
.ls-home .ls-article-card,
.ls-home .ls-capability-grid article {
    direction: rtl;
    text-align: right;
}
.ls-home .ls-product-card__image img,
.ls-home .ls-article-card img {
    float: none;
    margin: 0;
}

@media(max-width:600px) {
    .ls-home .ls-home-hero {
        min-height: 500px;
        background-position: 42% center;
    }
    .ls-home .ls-home-hero__shade {
        background: linear-gradient(90deg,rgba(3,34,30,.55),rgba(3,34,30,.94));
    }
    .ls-home .ls-home-hero h1 {
        font-size: clamp(29px, 9vw, 38px);
        line-height: 1.55;
    }
    .ls-home .ls-home-heading h2 {
        gap: 11px;
        font-size: 22px;
        line-height: 1.7;
    }
    .ls-home .ls-home-heading h2::before,
    .ls-home .ls-home-heading h2::after {
        min-width: 22px;
    }
    .ls-home .ls-product-card__body { padding: 17px 15px; }
    .ls-home .ls-product-card h3 { font-size: 17px; }
}

/* v11: stable, editorial product cards with image-safe media frames. */
.ls-home .ls-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
.ls-home .ls-product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    border: 1px solid #dce7e4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(7, 66, 57, .07);
    isolation: isolate;
}
.ls-home .ls-product-card::after { display: none; }
.ls-home .ls-product-card:hover {
    transform: translateY(-5px);
    border-color: #a9cbc4;
    box-shadow: 0 18px 40px rgba(7, 66, 57, .13);
}
.ls-home .ls-product-card__image {
    position: relative;
    display: grid;
    width: 100%;
    height: 220px;
    padding: 18px;
    overflow: hidden;
    place-items: center;
    border-bottom: 1px solid #e6eeec;
    background:
        radial-gradient(circle at 20% 15%, rgba(7,94,82,.08), transparent 32%),
        linear-gradient(145deg, #fbfdfc, #eef5f3);
}
.ls-home .ls-product-card__image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    padding: 0;
    object-fit: contain !important;
    transform: none !important;
}
.ls-home .ls-product-card:hover .ls-product-card__image img { transform: scale(1.025) !important; }
.ls-home .ls-product-card__body {
    position: relative;
    display: flex;
    min-height: 210px;
    flex: 1;
    flex-direction: column;
    padding: 25px 20px 20px;
}
.ls-home .ls-product-card__number {
    position: absolute;
    top: -17px;
    right: 18px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 9px;
    color: #fff;
    background: var(--green);
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 5px 14px rgba(7,94,82,.2);
}
.ls-home .ls-product-card h3 { margin: 4px 0 8px; font-size: 18px; line-height: 1.75; }
.ls-home .ls-product-card p {
    min-height: 0;
    margin: 0 0 16px;
    display: -webkit-box;
    overflow: hidden;
    color: #657570;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.ls-home .ls-product-card__link {
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid #e6eeec;
}
@media(max-width:980px) {
    .ls-home .ls-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width:600px) {
    .ls-home .ls-product-grid { grid-template-columns: 1fr; gap: 13px; }
    .ls-home .ls-product-card {
        display: grid;
        min-height: 150px;
        grid-template-columns: 116px minmax(0, 1fr);
        border-radius: 15px;
    }
    .ls-home .ls-product-card__image {
        width: 116px;
        height: 100%;
        min-height: 150px;
        padding: 10px;
        border-bottom: 0;
        border-left: 1px solid #e6eeec;
    }
    .ls-home .ls-product-card__body {
        min-height: 150px;
        padding: 17px 15px 14px;
    }
    .ls-home .ls-product-card__number {
        top: 12px;
        right: -17px;
        width: 30px;
        height: 30px;
        border-width: 2px;
    }
    .ls-home .ls-product-card h3 { margin: 0 8px 5px 0; font-size: 16px; }
    .ls-home .ls-product-card p { margin-right: 8px; -webkit-line-clamp: 2; font-size: 12px; }
    .ls-home .ls-product-card__link { margin-right: 8px; padding-top: 8px; font-size: 12px; }
}

/* v6 product cards, section accents and customers */
.ls-home a:hover { color:#c46b27; }
.ls-home .ls-home-heading { max-width:760px; text-align:right; margin-right:0; }
.ls-home .ls-home-heading h2 {
    display:block;
    width:auto;
    margin:4px 0 12px;
    padding-right:16px;
    border-right:4px solid var(--green);
    text-align:right;
}
.ls-home .ls-home-heading h2::before,
.ls-home .ls-home-heading h2::after { display:none; }
.ls-home .ls-home-heading>span { margin-right:20px; }
.ls-home .ls-home-heading p { padding-right:20px; }
.ls-home .ls-product-grid { gap:24px; }
.ls-home .ls-product-card {
    position:relative;
    border:0;
    border-radius:20px;
    box-shadow:0 12px 34px rgba(5,72,63,.1);
}
.ls-home .ls-product-card::after {
    content:""; position:absolute; right:0; bottom:0; width:72px; height:4px;
    border-radius:4px 0 0 0; background:var(--green);
}
.ls-home .ls-product-card__image { height:225px; background:linear-gradient(145deg,#fbfcfc,#eef4f2); }
.ls-home .ls-product-card__image img { padding:8px; object-fit:contain; transition:transform .35s; }
.ls-home .ls-product-card:hover .ls-product-card__image img { transform:scale(1.045); }
.ls-home .ls-product-card__body { padding:21px 20px 24px; }
.ls-home .ls-product-card p { min-height:50px; }
.ls-home .ls-product-card__link { width:100%; justify-content:space-between; padding-top:13px; border-top:1px solid var(--line); }
.ls-customers { background:#f4f8f7; }
.ls-customer-logos,.ls-customer-sectors { display:grid; grid-template-columns:repeat(6,1fr); gap:14px; }
.ls-customer-logos a,.ls-customer-sectors article {
    min-height:112px; display:flex; align-items:center; justify-content:center; gap:10px;
    padding:16px; border:1px solid #dce8e5; border-radius:14px; color:#31524b;
    background:#fff; text-align:center; text-decoration:none; transition:.2s;
}
.ls-customer-logos a:hover,.ls-customer-sectors article:hover { transform:translateY(-3px); border-color:#9dc9c0; box-shadow:0 10px 25px rgba(5,72,63,.08); }
.ls-customer-logos img { max-width:100%; max-height:72px; width:auto; height:auto; object-fit:contain; filter:grayscale(1); opacity:.75; transition:.2s; }
.ls-customer-logos a:hover img { filter:none; opacity:1; }
.ls-customer-sectors article { flex-direction:column; font-size:12px; font-weight:800; }
.ls-customer-sectors i { color:var(--green); font-size:28px; }
@media(max-width:980px){.ls-customer-logos,.ls-customer-sectors{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.ls-home .ls-home-heading{margin-inline:0}.ls-customer-logos,.ls-customer-sectors{grid-template-columns:repeat(2,1fr)}.ls-customer-logos a,.ls-customer-sectors article{min-height:98px}}

/* v7: touch-friendly mobile products and editorial article cards. */
.ls-home a,
.ls-home a:visited { color: var(--green); }
.ls-home a:hover,
.ls-home a:focus { color: #c86622; }
.ls-home .ls-home-btn--primary,
.ls-home .ls-home-btn--primary:visited { color: #fff; }
.ls-home .ls-home-btn--light,
.ls-home .ls-home-btn--light:visited { color: var(--green-dark); }
.ls-home .ls-article-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(5,72,63,.09);
    transition: transform .22s ease, box-shadow .22s ease;
}
.ls-home .ls-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(5,72,63,.14);
}
.ls-home .ls-article-card > a { overflow: hidden; }
.ls-home .ls-article-card img { transition: transform .35s ease; }
.ls-home .ls-article-card:hover img { transform: scale(1.04); }
.ls-home .ls-article-card > div { position: relative; padding: 22px 22px 25px; }
.ls-home .ls-article-card time {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--green);
    background: #eaf4f1;
}

@media(max-width:600px) {
    .ls-home-container { width: calc(100% - 22px); }
    .ls-home .ls-product-grid { gap: 14px; }
    .ls-home .ls-product-card {
        min-height: 150px;
        display: grid;
        grid-template-columns: 128px minmax(0,1fr);
        border: 1px solid #dce8e5;
        border-radius: 16px;
        box-shadow: 0 8px 22px rgba(5,72,63,.08);
    }
    .ls-home .ls-product-card::after {
        width: 4px;
        height: 56px;
        top: 20px;
        right: 0;
        bottom: auto;
        border-radius: 4px 0 0 4px;
    }
    .ls-home .ls-product-card__image {
        width: 128px;
        height: 100%;
        min-height: 150px;
        grid-column: 1;
        grid-row: 1;
    }
    .ls-home .ls-product-card__image img {
        padding: 8px;
        object-fit: cover;
    }
    .ls-home .ls-product-card__body {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 15px 14px;
    }
    .ls-home .ls-product-card h3 {
        margin-bottom: 5px;
        font-size: 16px;
        line-height: 1.65;
    }
    .ls-home .ls-product-card p {
        min-height: 0;
        margin: 0;
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        font-size: 12px;
        line-height: 1.8;
    }
    .ls-home .ls-product-card__link {
        margin-top: 9px;
        padding-top: 9px;
        font-size: 12px;
    }
    .ls-home .ls-article-grid { gap: 16px; }
    .ls-home .ls-article-card {
        display: grid;
        grid-template-columns: 112px minmax(0,1fr);
        min-height: 142px;
    }
    .ls-home .ls-article-card > a {
        width: 112px;
        height: 100%;
        min-height: 142px;
    }
    .ls-home .ls-article-card > div { padding: 14px 13px; }
    .ls-home .ls-article-card h3 {
        margin: 7px 0 3px;
        font-size: 15px;
        line-height: 1.7;
    }
    .ls-home .ls-article-card p {
        margin: 0;
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        font-size: 11px;
    }
}
