.company-page {
    overflow: clip;
}

.company-intro-section {
    padding-block: 35px 80px;
    background: var(--surface-soft);
}

.company-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-block-end: 46px;
    color: var(--text-muted);
    font-size: 10px;
}

    .company-breadcrumb a {
        color: var(--info-600);
    }

    .company-breadcrumb span[aria-current="page"] {
        max-width: 520px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.company-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 65px;
    align-items: center;
}

.company-intro-copy {
    max-width: 900px;
}

.company-intro-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-block-end: 13px;
}

    .company-intro-tags span {
        padding: 4px 9px;
        border-radius: 999px;
        background: #fff;
        color: var(--text-secondary);
        font-size: 9px;
        font-weight: 700;
    }

        .company-intro-tags span:nth-child(2) {
            background: var(--accent-100);
            color: var(--accent-700);
        }

.company-intro-copy h1 {
    color: var(--primary-950);
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 760;
    line-height: 1.12;
    letter-spacing: -0.05em;
}

html[lang="fa"] .company-intro-copy h1 {
    line-height: 1.4;
    letter-spacing: -0.03em;
}

.company-intro-copy > p {
    max-width: 820px;
    margin-block-start: 18px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.9;
}

html[lang="fa"] .company-intro-copy > p {
    line-height: 2.1;
}

.company-intro-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-block-start: 24px;
}

.company-identity-panel {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.company-large-logo {
    position: relative;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #e5eaee;
    border-radius: 20px;
    background: #f9fbfc;
}

    .company-large-logo img {
        position: relative;
        z-index: 2;
        width: calc(100% - 42px);
        height: calc(100% - 42px);
        object-fit: contain;
    }

    .company-large-logo > span {
        position: absolute;
        inset: 0;
        display: grid;
        place-items: center;
        color: var(--primary-800);
        font-size: 50px;
        font-weight: 800;
    }

    .company-large-logo:not(.is-image-error) > span {
        visibility: hidden;
    }

    .company-large-logo.is-image-error img {
        display: none;
    }

.company-identity-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-block-start: 14px;
}

    .company-identity-metrics div {
        min-width: 0;
        padding: 12px;
        border-radius: 12px;
        background: var(--surface-soft);
    }

    .company-identity-metrics strong {
        display: block;
        overflow: hidden;
        color: var(--primary-900);
        font-size: 13px;
        text-overflow: ellipsis;
    }

    .company-identity-metrics span {
        display: block;
        color: var(--text-muted);
        font-size: 12px;
    }

.company-about-section {
    padding-block: 100px;
    background: #fff;
}

.company-about-grid {
    display: grid;
    grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1.35fr);
    gap: 90px;
}

    .company-about-grid header h2 {
        max-width: 500px;
        font-size: clamp(30px, 3.8vw, 48px);
        font-weight: 750;
        line-height: 1.2;
        letter-spacing: -0.04em;
    }

html[lang="fa"] .company-about-grid header h2 {
    line-height: 1.5;
}

.company-about-text {
    padding-block-start: 23px;
}

    .company-about-text p {
        color: #3f4c58;
        font-size: clamp(16px, 1.6vw, 19px);
        line-height: 1.9;
        text-align: justify;
    }

html[lang="fa"] .company-about-text p {
    line-height: 2.2;
}

.company-products-section {
    padding-block: 95px;
    background: var(--surface-soft);
    scroll-margin-top: calc(var(--header-height) + 20px);
}

.content-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 45px;
    margin-block-end: 30px;
}

    .content-section-header h2 {
        font-size: clamp(30px, 3.8vw, 47px);
        font-weight: 750;
        line-height: 1.2;
        letter-spacing: -0.04em;
    }

html[lang="fa"] .content-section-header h2 {
    line-height: 1.45;
}

.content-section-header > p {
    max-width: 380px;
    color: var(--text-secondary);
    font-size: 11px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.product-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }

.product-media {
    position: relative;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-block-end: 1px solid #edf1f4;
    background: #f9fbfc;
}

    .product-media > button {
        position: absolute;
        inset: 0;
        z-index: 2;
        width: 100%;
        height: 100%;
        padding: 22px;
        background: transparent;
    }

    .product-media img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 240ms var(--ease);
    }

    .product-media button:hover img {
        transform: scale(1.035);
    }

.product-image-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.product-media:not(.is-image-error) .product-image-placeholder {
    visibility: hidden;
}

.product-media.is-image-error > button {
    display: none;
}

.product-image-placeholder span {
    position: relative;
    width: 62px;
    height: 52px;
    border: 2px solid #bdc8d1;
    border-radius: 11px;
}

    .product-image-placeholder span::before {
        content: "";
        position: absolute;
        width: 10px;
        height: 10px;
        inset-block-start: 9px;
        inset-inline-end: 10px;
        border-radius: 50%;
        background: #bdc8d1;
    }

.product-card-copy {
    min-height: 105px;
    padding: 17px 18px 20px;
}

    .product-card-copy h3 {
        color: var(--primary-950);
        font-size: 14px;
        font-weight: 800;
        line-height: 1.6;
    }

    .product-card-copy p {
        display: -webkit-box;
        margin-block-start: 6px;
        overflow: hidden;
        color: var(--text-secondary);
        font-size: 10.5px;
        line-height: 1.9;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

.product-empty-state {
    padding: 65px 25px;
    border: 1px dashed var(--border-strong);
    border-radius: 22px;
    background: #fff;
    text-align: center;
}

    .product-empty-state h3 {
        font-size: 24px;
    }

    .product-empty-state p {
        margin-block-start: 7px;
        color: var(--text-secondary);
        font-size: 11px;
    }

.company-gallery-section {
    padding-block: 100px;
    background: #fff;
}

.company-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 220px;
    gap: 13px;
}

.company-gallery-item {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface-soft);
}

    .company-gallery-item.is-featured {
        grid-column: span 2;
        grid-row: span 2;
    }

    .company-gallery-item img {
        width: 100%;
        height: 100%;
        padding: 14px;
        object-fit: contain;
        transition: transform 240ms var(--ease);
    }

    .company-gallery-item:hover img {
        transform: scale(1.025);
    }

.related-industry-section {
    padding-block: 80px;
}

.related-industry-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 38px;
    border-radius: 24px;
    background: var(--accent-700);
    color: #fff;
}

    .related-industry-panel > div {
        max-width: 820px;
    }

    .related-industry-panel span {
        color: rgba(255, 255, 255, 0.65);
        font-size: 10px;
    }

    .related-industry-panel h2 {
        margin-block-start: 6px;
        font-size: clamp(24px, 3vw, 38px);
        line-height: 1.4;
    }

.company-contact-section {
    padding-block: 75px 20px;
}

.company-contact-panel {
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
    gap: 70px;
    padding: 45px;
    border-radius: 26px;
    background: var(--primary-950);
    color: #fff;
}

.company-contact-intro h2 {
    margin-block-start: 4px;
    font-size: clamp(28px, 3.5vw, 43px);
    line-height: 1.35;
}

.company-contact-intro p {
    max-width: 440px;
    margin-block-start: 10px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
}

.company-contact-data {
    display: flex;
    flex-direction: column;
}

    .company-contact-data > div {
        position: relative;
        padding-block: 15px;
        border-block-end: 1px solid rgba(255, 255, 255, 0.1);
    }

        .company-contact-data > div:first-child {
            padding-block-start: 0;
        }

        .company-contact-data > div:last-child {
            border-block-end: 0;
        }

    .company-contact-data span {
        display: block;
        margin-block-end: 4px;
        color: rgba(255, 255, 255, 0.5);
        font-size: 8px;
    }

    .company-contact-data strong,
    .company-contact-data a {
        display: block;
        max-width: calc(100% - 70px);
        color: #fff;
        font-size: 12px;
        line-height: 1.7;
    }

    .company-contact-data a {
        color: #76c7ff;
    }

    .company-contact-data button {
        position: absolute;
        inset-inline-end: 0;
        inset-block-start: 15px;
        padding: 4px 9px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.09);
        color: #fff;
        font-size: 8px;
    }

.media-lightbox {
    width: min(94vw, 1240px);
    max-width: none;
    max-height: 94vh;
    padding: 0;
    border: 0;
    border-radius: 22px;
    background: #07111b;
    color: #fff;
}

    .media-lightbox::backdrop {
        background: rgba(3, 10, 16, 0.88);
        backdrop-filter: blur(8px);
    }

.lightbox-toolbar {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 17px;
    border-block-end: 1px solid rgba(255, 255, 255, 0.08);
}

    .lightbox-toolbar span {
        color: rgba(255, 255, 255, 0.55);
        font-family: Arial, sans-serif;
        font-size: 10px;
    }

    .lightbox-toolbar button {
        width: 34px;
        height: 34px;
        border-radius: 9px;
        background: rgba(255, 255, 255, 0.09);
        color: #fff;
        font-size: 22px;
    }

.lightbox-body {
    min-height: min(75vh, 800px);
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr) 55px;
    align-items: center;
}

    .lightbox-body figure {
        height: min(75vh, 800px);
        display: grid;
        grid-template-rows: minmax(0, 1fr) auto;
        padding: 18px;
    }

    .lightbox-body img {
        width: 100%;
        height: 100%;
        min-height: 0;
        object-fit: contain;
    }

    .lightbox-body figcaption {
        padding-block-start: 10px;
        color: rgba(255, 255, 255, 0.6);
        font-size: 10px;
        text-align: center;
    }

.lightbox-nav {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    justify-self: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.company-toast {
    position: fixed;
    inset-inline-start: 50%;
    inset-block-end: 25px;
    z-index: 3000;
    max-width: calc(100% - 28px);
    padding: 9px 15px;
    border-radius: 999px;
    background: var(--primary-950);
    color: #fff;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
    font-size: 10px;
}

html[dir="rtl"] .company-toast {
    transform: translate(50%, 10px);
}

.company-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

html[dir="rtl"] .company-toast.is-visible {
    transform: translate(50%, 0);
}

@media (max-width: 1050px) {
    .company-intro-grid {
        gap: 35px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .company-contact-panel {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

@media (max-width: 820px) {
    .company-intro-grid {
        grid-template-columns: 1fr;
    }

    .company-identity-panel {
        max-width: 420px;
        width: 100%;
    }

    .company-about-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .company-about-text {
        padding-block-start: 0;
    }

    .company-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .related-industry-panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .company-intro-section {
        padding-block: 24px 58px;
    }

    .company-breadcrumb {
        margin-block-end: 30px;
    }

    .company-intro-copy h1 {
        font-size: 37px;
    }

    .company-intro-copy > p {
        font-size: 14px;
    }

    .company-intro-actions {
        align-items: flex-start;
        flex-direction: column;
    }

        .company-intro-actions .button {
            width: 100%;
        }

    .company-about-section,
    .company-products-section,
    .company-gallery-section {
        padding-block: 70px;
    }

    .content-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        max-width: 620px;
        width: 100%;
        margin-inline: auto;
    }

    .product-media {
        aspect-ratio: 16 / 10;
    }

    .company-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }

    .company-gallery-item.is-featured {
        grid-column: auto;
        grid-row: auto;
    }

    .related-industry-panel {
        padding: 27px 22px;
    }

        .related-industry-panel .button {
            width: 100%;
        }

    .company-contact-panel {
        padding: 30px 22px;
    }

    .lightbox-body {
        position: relative;
        display: block;
        min-height: 72vh;
    }

        .lightbox-body figure {
            height: 72vh;
            padding: 12px;
        }

    .lightbox-nav {
        position: absolute;
        z-index: 3;
        inset-block-end: 18px;
    }

    .lightbox-prev {
        inset-inline-start: 18px;
    }

    .lightbox-next {
        inset-inline-end: 18px;
    }
}

@media (max-width: 430px) {
    .company-identity-metrics {
        grid-template-columns: 1fr;
    }

    .company-contact-data strong,
    .company-contact-data a {
        max-width: 100%;
    }

    .company-contact-data button {
        position: static;
        margin-block-start: 7px;
    }
}
.company-map-section {
    grid-column: 1 / -1;
    margin-block-start: 6px;
    padding-block-start: 28px;
    border-block-start: 1px solid rgba(255, 255, 255, 0.1);
}

.company-map-header {
    display: flex;
    gap: 0px;
    flex-direction: column;
}

.company-map-kicker {
    display: block;
    margin-block-end: 4px;
    color: #74cdb5;
    font-size: 9px;
    font-weight: 800;
}

.company-map-header h3 {
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.5;
}

.company-map-external {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms var(--ease);
}

    .company-map-external:hover {
        border-color: rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.12);
        transform: translateY(-1px);
    }

    .company-map-external i {
        color: #74cdb5;
        font-style: normal;
        font-size: 13px;
    }

.company-map-frame {
    position: relative;
    width: 100%;
    height: 360px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 18px;
    background: #132639;
}

    .company-map-frame iframe {
        width: 100%;
        height: 100%;
        display: block;
        border: 0;
    }

.company-map-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0px, 0fr);
    gap: 12px;
    margin-block-start: 12px;
    margin-block-end: 12px;
}

.company-coordinate,
.company-map-address {
    min-width: 0;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
}

    .company-coordinate span,
    .company-map-address span {
        display: block;
        margin-block-end: 4px;
        color: rgba(255, 255, 255, 0.46);
        font-size: 8px;
    }

    .company-coordinate strong,
    .company-map-address strong {
        display: block;
        color: rgba(255, 255, 255, 0.88);
        font-size: 10px;
        font-weight: 600;
        line-height: 1.8;
    }

    .company-coordinate strong {
        direction: ltr;
        font-family: Arial, sans-serif;
        letter-spacing: 0.02em;
    }

@media (max-width: 767px) {
    .company-map-section {
        padding-block-start: 22px;
    }

    .company-map-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .company-map-external {
        width: 100%;
        justify-content: center;
    }

    .company-map-frame {
        height: 290px;
        border-radius: 15px;
    }

    .company-map-footer {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {
    .company-map-frame {
        height: 245px;
    }
}
.Map {
    width: 100%;
    height: 100%;
}

.company-ceo {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-block-start: 14px;
    padding: 9px 11px;
    border-radius: 10px;
    background: var(--surface-soft);
}

    .company-ceo span {
        flex: 0 0 auto;
        color: var(--text-muted);
        font-size: 8.5px;
        font-weight: 700;
    }

    .company-ceo strong {
        min-width: 0;
        overflow: hidden;
        color: var(--primary-900);
        font-size: 10.5px;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

@media (max-width: 420px) {
    .company-ceo {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

        .company-ceo strong {
            width: 100%;
            white-space: normal;
        }
}