/* Temporary visual review; merge into final files after approval. */
.home-assembly-heading p, #counter { display:none !important; }

.real-source { display:none !important; }

.embedded .motion-controls { display:none !important; }

/* Brand mark beneath the exploded assembly. */
.embedded #stage::after { content:""; position:absolute; bottom:2%; left:50%; transform:translateX(-50%); width:66px; height:66px; background:url("./brand-logo.png.webp") center / contain no-repeat; pointer-events:none; z-index:4; opacity:0; transition:opacity .2s; }
.embedded #stage[aria-expanded="true"]::after { opacity:1; }
@media(max-width:600px){.embedded #stage::after{width:42px;height:42px;bottom:1%;}}

.products-dropdown{position:relative;align-self:center}.products-menu-toggle{display:flex;align-items:center;gap:7px;font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;line-height:inherit}.products-menu-toggle span{font-size:14px;transition:transform .15s}.products-menu-toggle[aria-expanded="true"]{color:#2255c4}.products-menu-toggle[aria-expanded="true"] span{transform:rotate(180deg)}.products-menu{position:absolute;top:calc(100% + 18px);right:-18px;width:430px;display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:13px;background:#fff;border:1px solid #e1e7f0;border-radius:12px;box-shadow:0 16px 45px #15253e22;z-index:30}.products-menu[hidden]{display:none}.links .products-menu a{display:block;font-size:12px;padding:9px 11px;border-radius:7px;white-space:normal}.links .products-menu a:hover,.links .products-menu a:focus-visible{background:#eef3ff;color:#2255c4;outline:2px solid transparent}.products-menu-toggle:focus-visible{outline:2px solid #2255c4;outline-offset:5px;border-radius:3px}@media(max-width:600px){.products-dropdown{align-self:stretch}.products-menu{position:static;width:100%;margin-top:10px;box-shadow:none;grid-template-columns:1fr;max-height:55vh;overflow:auto}.products-menu-toggle{width:100%;justify-content:space-between}}

.contact-menu{width:310px;display:block;right:-18px}.contact-menu-heading{display:block;font-size:14px;padding:7px 11px 12px;border-bottom:1px solid #edf0f5;margin-bottom:5px;color:#1b1b50}.links .contact-menu .contact-detail{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 11px}.contact-detail span{color:#748096;font-size:11px}.contact-detail b{font-size:13px;font-weight:500;text-align:left;unicode-bidi:isolate}.contact-menu a[href^="tel:"] b{font-variant-numeric:tabular-nums}@media(max-width:600px){.contact-menu{width:100%;right:auto}}
.contact-menu{right:auto;left:0}@media(max-width:600px){.contact-menu{left:auto}}

/* Preserve pointer continuity across the gap below each menu trigger. */
.products-menu::before{content:"";position:absolute;bottom:100%;left:0;right:0;height:20px}@media(max-width:600px){.products-menu::before{display:none}}
.home-assembly-heading > .btn{display:none!important}
#products > .wrap > .heading h2{display:none!important}#products > .wrap > .heading .eyebrow{font-size:25px;font-weight:750;color:#1b1b50;line-height:1.7;margin:4px 0}

#products .main-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}.main-category{border:1px solid #e1e7f0;border-radius:12px;overflow:hidden;background:#fff}.main-category > summary{list-style:none;cursor:pointer;padding:24px;text-align:center}.main-category > summary::-webkit-details-marker,.nav-category-group > summary::-webkit-details-marker{display:none}.main-category > summary img{display:block;width:100%;height:150px;object-fit:contain;margin-bottom:20px}.main-category h3{font-size:16px;margin:0 0 12px;color:#1b1b50}.main-category[open]{border-color:#9cafda}.category-children{border-top:1px solid #edf0f5;padding:10px}.category-children a{display:block;padding:9px 12px;border-radius:7px;font-size:12px}.category-children a:hover{background:#eef3ff;color:#2255c4}.products-menu.grouped-categories{display:block;width:310px}.products-menu.grouped-categories[hidden]{display:none}.nav-category-group > summary{list-style:none;font-size:13px;font-weight:600;padding:12px;cursor:pointer;border-radius:7px}.nav-category-group > summary:hover{background:#eef3ff}.nav-category-group[open] > summary{color:#2255c4}.nav-category-group > div{padding:0 12px 8px}.nav-category-group + .nav-category-group{border-top:1px solid #edf0f5}@media(max-width:600px){#products .main-categories{grid-template-columns:1fr}.products-menu.grouped-categories{width:100%}}

#products-menu.grouped-categories{width:370px;padding:10px;border:1px solid #e3e6ef;border-top:3px solid #b9a252;border-radius:14px;box-shadow:0 18px 50px #161b3624;max-height:75vh;overflow:visible}.category-menu-heading{font-size:10px;font-weight:600;color:#8490a4;letter-spacing:.1px;padding:6px 12px 10px}#products-menu .nav-category-group{border:1px solid transparent;border-radius:10px;margin:3px 0;overflow:hidden}#products-menu .nav-category-group > summary{display:flex;align-items:center;gap:12px;padding:11px 10px;list-style:none;border-radius:9px}#products-menu .nav-category-group > summary img{width:42px;height:42px;object-fit:contain;padding:5px;background:#fff;border:1px solid #edf0f5;border-radius:9px}#products-menu .nav-category-caption{flex:1;min-width:0}#products-menu .nav-category-caption b{display:block;font-size:13px;font-weight:650;color:#20234c}#products-menu .nav-category-caption small{font-size:10px;color:#9299ab;margin-top:1px}#products-menu .nav-category-chevron{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;color:#8c93a5;background:#f1f3f8;transition:transform .18s}#products-menu .nav-category-group[open]{border-color:#e5e9f2;background:#f8f9fc}#products-menu .nav-category-group[open] > summary{background:#f1f4fa}#products-menu .nav-category-group[open] .nav-category-chevron{transform:rotate(180deg);color:#fff;background:#242650}#products-menu .nav-category-group > div{padding:6px 10px 9px}#products-menu .nav-category-group a{position:relative;padding:8px 14px 8px 28px;font-size:11px;border-radius:6px;color:#586176}#products-menu .nav-category-group a::after{content:'';position:absolute;left:12px;color:#b5bbc9}#products-menu .nav-category-group a:hover{background:#fff;color:#20234c;box-shadow:0 2px 8px #171c3608}#products-menu .nav-category-group a:hover::after{color:#b9a252}@media(max-width:600px){#products-menu.grouped-categories{width:100%;max-height:60vh;overflow:auto}}
#products .main-categories{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}#products-menu.grouped-categories{max-height:min(620px,calc(100dvh - 185px));overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c7cbd7 transparent}.products-dropdown:has(>.products-menu:not([hidden]))::after{content:"";position:absolute;top:100%;right:-18px;width:calc(100% + 36px);height:20px}#products-menu .category-menu-heading{position:sticky;top:-10px;background:#fff;z-index:2;padding-top:10px;padding-bottom:10px}#products-menu .nav-category-group{overflow:visible}#products-menu .nav-category-caption b{overflow-wrap:anywhere}@media(max-width:600px){#products .main-categories{grid-template-columns:1fr}#products-menu.grouped-categories{max-height:55dvh}.products-dropdown:has(>.products-menu:not([hidden]))::after{display:none}}

#products-menu.grouped-categories{width:min(820px,calc(100vw - 40px));display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:14px 10px 16px;border-top:2px solid #b9a252;border-radius:12px;max-height:calc(100dvh - 185px);overflow-y:auto}#products-menu.grouped-categories[hidden]{display:none}#products-menu .category-menu-heading{grid-column:1/-1;position:static;padding:3px 16px 13px;margin-bottom:10px;border-bottom:1px solid #edf0f5;font-size:11px;color:#8a91a0}#products-menu .nav-category-group{margin:0;padding:0 8px;border:0;border-radius:0;background:#fff}#products-menu .nav-category-group + .nav-category-group{border-right:1px solid #edf0f5;border-top:0}#products-menu .nav-category-title{display:flex;align-items:center;gap:10px;padding:4px 6px 13px}#products-menu .nav-category-title img{width:42px;height:42px;border-radius:8px;border:1px solid #edf0f5;padding:5px;object-fit:contain;background:white}#products-menu .nav-category-caption b{font-size:13px;font-weight:700;color:#20234c}#products-menu .nav-category-caption small{display:none}#products-menu .nav-category-group > div:not(.nav-category-title){padding:0}#products-menu .nav-category-group a{font-size:12px;padding:8px 9px 8px 22px;line-height:1.7;margin:2px 0;color:#657085}#products-menu .nav-category-group a:hover{background:#f1f4fa;box-shadow:none;color:#20234c}#products-menu .nav-category-group a::after{left:7px}@media(max-width:600px){#products-menu.grouped-categories{width:100%;grid-template-columns:1fr;max-height:55dvh}#products-menu .nav-category-group + .nav-category-group{border-right:0;border-top:1px solid #edf0f5;padding-top:14px;margin-top:10px}}
#products-menu .nav-category-group a::after{content:none;display:none}#products-menu .nav-category-group a{padding-left:9px}

.products-dropdown:not(.contact-dropdown):has(>#products-menu:not([hidden]))::after{left:var(--menu-left,-18px);right:auto;width:var(--menu-width,calc(100% + 36px));height:20px;background:transparent;z-index:29}#products-menu{z-index:30}

.main-category > summary img{height:210px;object-fit:contain}.main-category > summary{padding:18px 18px 24px}#products-menu .nav-category-title img{padding:0}

.component-transfer-layer{position:fixed;inset:0;pointer-events:none;z-index:70;visibility:hidden;mix-blend-mode:multiply}.main-category{transition:border-color .25s,box-shadow .25s}.main-category.receiving-components{border-color:#b9a252;box-shadow:0 0 0 4px #b9a25212,0 18px 45px #20234c14}.main-category > summary img{will-change:opacity,transform}

.component-category-picture{position:absolute;display:block;pointer-events:none;mix-blend-mode:multiply}
.company-introduction{padding:64px 0 60px;background:#fff;border-top:1px solid #edf0f5}.company-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:64px;align-items:center}.company-copy h2{font-size:28px;color:#20234c;line-height:1.8;margin:9px 0 18px}.company-copy>p{font-size:14px;line-height:2.3;color:#657085;margin:0 0 14px}.company-order{border-top:1px solid #edf0f5;margin-top:24px;padding-top:20px}.company-order p{font-size:13px;color:#657085;line-height:2.2;margin:0 0 16px}.company-order .btn{font-size:12px;display:inline-flex;gap:20px;align-items:center}.company-order b{font-weight:500;unicode-bidi:isolate}.company-history{text-align:center;padding:33px 20px;background:#f6f7fb;border:1px solid #e8ebf2;border-radius:18px;color:#20234c}.history-number{display:block;font-size:88px;font-weight:800;line-height:1.3;letter-spacing:-4px}.history-number span{font-size:20px;letter-spacing:0;margin-right:9px;font-weight:500}.company-history h3{font-size:16px;margin:15px 0 5px}.company-history p{font-size:13px;color:#7b8396;line-height:2;margin:0}.history-rule{display:block;width:32px;height:2px;background:#baa253;margin:24px auto 17px}.history-signature{font-size:11px;letter-spacing:3px;color:#9398a9}
footer.original-footer{background:#202020 url('./original-footer-bg.png.webp') center/100% 100% no-repeat;color:#fff;padding:46px 0 65px;font-size:12px;line-height:2.1}.original-footer .wrap.original-footer-grid{display:grid;grid-template-columns:1fr .9fr 1.3fr 1fr;gap:32px;align-items:start;max-width:1250px}.original-footer h3{font-size:19px;font-weight:500;color:white;margin:0 0 25px}.original-footer ul{list-style:none;padding:0;margin:0}.original-footer li{position:relative;padding-right:15px;margin:0 0 9px}.original-footer li::before{content:'';width:4px;height:4px;background:#fa1749;position:absolute;right:0;top:12px}.original-footer a:hover{color:#ecbf61}.original-footer-brand{display:flex;min-height:240px;align-items:center;justify-content:center}.original-footer-brand img{width:165px;height:auto;max-width:90%}.original-footer-contact p{margin:0 0 12px;white-space:nowrap}.original-footer .original-footer-contact a[dir=ltr]{direction:ltr;unicode-bidi:isolate;display:inline-block;text-align:left}.original-footer .original-footer-contact a[href^='tel:']{display:inline-block}.original-social{display:flex;direction:ltr;gap:10px;margin-top:19px;justify-content:flex-end}.original-social a{color:#5885db;display:block;width:30px;height:30px}.original-social svg{display:block;width:100%;height:100%}
@media(max-width:900px){.company-layout{grid-template-columns:minmax(0,1fr) 190px;gap:30px}.company-copy h2{font-size:23px}.company-history{padding:28px 12px}.history-number{font-size:72px}.original-footer .wrap.original-footer-grid{grid-template-columns:1fr 1fr;gap:32px 40px}.original-footer-brand{background:#f51447;border-radius:3px;min-height:220px}.original-footer{background-image:none!important}.original-footer-contact p{white-space:normal}}
@media(max-width:600px){.company-introduction{padding:40px 0}.company-layout{grid-template-columns:1fr;gap:25px}.company-copy h2{font-size:22px}.company-history{max-width:100%;padding:23px}.history-number{font-size:64px}.company-order .btn{flex-wrap:wrap;gap:10px}.original-footer .wrap.original-footer-grid{grid-template-columns:1fr;gap:30px}.original-footer-brand{min-height:180px}.original-footer h3{margin-bottom:16px}.original-social{justify-content:flex-start}.original-footer-contact{max-width:100%}}
/* Persian paragraph alignment: even edges, natural final lines. */
main p:not(.company-history p){text-align:justify;text-align-last:right;text-justify:inter-word;word-break:normal;overflow-wrap:break-word;hyphens:none}
.original-footer-brand img{width:185px;max-width:85%;height:auto;object-fit:contain;mix-blend-mode:multiply}
.original-footer-brand img{mix-blend-mode:normal;background:#fff;border-radius:12px;padding:10px}
/* Footer logo sits directly on the charcoal background, without colored panels. */
footer.original-footer{background-image:none!important;background-color:#202020}.original-footer-brand{background:transparent;border-radius:0}.original-footer-brand img{background:transparent;border-radius:0;padding:0;mix-blend-mode:normal;width:185px}
/* Preserve the exact source mark; screen removes its inverted white backdrop. */
.original-footer-brand img{background:transparent;padding:0;border-radius:0;filter:grayscale(1) invert(1) brightness(5) contrast(2);mix-blend-mode:screen}
/* Navy footer preview, aligned with the ARMASAFE brand. */
footer.original-footer{background-color:#121a35;border-top:1px solid #253051}.original-footer li::before{background:#d2b752}.original-footer a:hover{color:#e2ca76}
/* Gold brand mark, preserving the source logo silhouette without a backdrop. */
.original-footer-brand{position:relative;isolation:isolate}.original-footer-brand img{filter:grayscale(1) invert(1) brightness(5) contrast(2);mix-blend-mode:screen}.original-footer-brand::after{content:'';position:absolute;inset:0;background:#d7b85b;mix-blend-mode:multiply;pointer-events:none}
.original-footer-brand::after{content:none}.original-footer-brand img{filter:grayscale(1) invert(1) brightness(5) contrast(2) url('#footer-gold-ink');mix-blend-mode:screen}
.original-footer-brand{isolation:auto}.original-footer-brand::after{display:none}.footer-brand-mark{display:block;width:205px;max-width:85%;height:auto;overflow:visible;background:transparent}
.original-footer-brand img.footer-brand-mark{width:205px;max-width:85%;height:auto;filter:none;mix-blend-mode:normal;background:transparent;padding:0;border-radius:0}
.embedded #stage::after{background-image:url('./brand-logo-vector.svg')}
.floating-whatsapp{position:fixed;left:22px;bottom:22px;z-index:90;width:54px;height:54px;display:grid;place-items:center;color:#fff;background:#20c766;border:1px solid #ffffff45;border-radius:50%;box-shadow:0 5px 18px #10224426;transition:transform .18s,background .18s}.floating-whatsapp svg{width:34px;height:34px;display:block}.floating-whatsapp:hover{background:#17ad54;transform:translateY(-3px)}.floating-whatsapp:focus-visible{outline:3px solid #d7b85b;outline-offset:4px}@media(max-width:600px){.floating-whatsapp{width:49px;height:49px;left:16px;bottom:16px}.floating-whatsapp svg{width:31px;height:31px}}@media(prefers-reduced-motion:reduce){.floating-whatsapp{transition:none}}
.main-category > .category-page-link {
  display: block;
  padding: 18px 18px 24px;
  text-align: center;
  color: inherit;
  text-decoration: none;
}
.category-page-link > img {
  display: block;
  width: 100%;
  height: 210px;
  margin-bottom: 20px;
  object-fit: contain;
}
.category-page-link:focus-visible {
  outline: 2px solid #9a792e;
  outline-offset: -4px;
}


@media (min-width: 601px) and (max-width: 850px) {
  header .nav .links { gap: 14px; }
}
@media (max-width: 600px) {
  header .nav #main-navigation.open {
    max-height: 55dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 4px;
  }
  #main-navigation > a,
  #main-navigation .products-menu-toggle {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  #main-navigation .products-menu { max-height: none; overflow: visible; }
  #main-navigation #products-menu.grouped-categories { max-height: none; overflow: visible; }
  #products-menu .nav-category-group a { min-height: 44px; display: flex; align-items: center; }
}

/* Reuse the homepage menu in the existing category and product headers. */
header .subpage-nav #main-navigation {
  display: flex;
  align-items: center;
  flex: 1;
  gap: clamp(12px, 2vw, 25px);
  color: #15253e;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.95;
}
header .subpage-nav #main-navigation > a:hover { color: #2255c4; }
header .subpage-nav > .toggle { display: none; }
header .subpage-nav > .brand,
header .subpage-nav > .back { flex: none; }
@media (max-width: 850px) {
  header .subpage-nav { gap: 12px; }
  header .subpage-nav #main-navigation { font-size: .8rem; }
}
@media (max-width: 600px) {
  header .subpage-nav { flex-wrap: wrap; }
  header .subpage-nav > .toggle {
    display: block;
    min-height: 44px;
    padding: 7px 13px;
    border: 1px solid #e1e7f0;
    border-radius: 7px;
    background: #fff;
    color: #1b1b50;
    font: inherit;
    cursor: pointer;
  }
  header .subpage-nav #main-navigation {
    display: none;
    flex-basis: 100%;
    order: 1;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    margin-bottom: 10px;
    font-size: .875rem;
  }
  header .subpage-nav #main-navigation.open { display: flex; }
}
@media (max-width: 380px) {
  header .subpage-nav { gap: 6px; }
  header .subpage-nav > .brand { gap: 4px; }
  header .subpage-nav > .brand img { width: 72px; height: 72px; }
}

/* Homepage technical articles */
.home-articles{padding:36px 0 56px;scroll-margin-top:140px}.home-articles-panel{background:#fff;border:1px solid #dfe6ef;border-right:4px solid #b4934c;border-radius:18px;padding:36px 40px;box-shadow:0 10px 32px #18243d06}.home-articles h2{color:#18375c;font-size:clamp(1.45rem,3vw,2rem);margin:8px 0 18px}.home-articles p{max-width:940px;color:#4b5f78;line-height:2.25;text-align:justify;text-align-last:right;margin:0 0 26px}.home-articles .btn{display:inline-flex;align-items:center;gap:18px;white-space:normal}.home-articles .eyebrow{color:#94702a}@media(max-width:600px){.home-articles{padding:24px 0 36px;scroll-margin-top:105px}.home-articles-panel{padding:25px 22px}.home-articles p{font-size:.95rem;line-height:2.15}.home-articles .btn{font-size:.9rem}}

.company-contact-numbers{display:flex;flex-direction:column;align-items:center;gap:7px;padding:15px 24px;border-radius:10px;background:#2854bf;color:#fff;min-width:190px}.company-contact-title{font-weight:700}.company-contact-numbers a{color:#fff;white-space:nowrap;font-size:1.05rem;line-height:1.65}.company-contact-numbers a:hover{text-decoration:underline}

/* Consistent interactive outlines */
a[href],button:not(:disabled),summary,[role="button"]{cursor:pointer}a.board{display:block}a[href]:focus-visible,button:not(:disabled):focus-visible,summary:focus-visible,[role="button"]:focus-visible{outline:2px solid #2854bf;outline-offset:3px}@media(hover:hover) and (pointer:fine){a[href]:hover,button:not(:disabled):hover,summary:hover,[role="button"]:hover{outline:2px solid #2854bf;outline-offset:3px}a:is(.board,.card,.part,.article,.main-category-link):hover{box-shadow:0 8px 24px #18375c18}}

/* Stacked consultation numbers in the top bar */
.top .wrap{align-items:center;gap:14px;flex-wrap:wrap}.top .top-consultation{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;line-height:1.65}.top .top-consultation-label{display:block;font-size:.85rem}.top .top-consultation>a{display:block;white-space:nowrap;font-size:.95rem}.top .top-consultation .phone-number{display:block;direction:ltr;unicode-bidi:isolate}@media(max-width:600px){.top .top-consultation{width:100%}}

/* Company introduction frame */
.company-introduction .company-layout{border:1px solid #dfe6ef;border-right:4px solid #b4934c;border-radius:18px;padding:36px 40px;box-shadow:0 10px 32px #18243d06;background:#fff}@media(max-width:600px){.company-introduction .company-layout{margin-inline:20px;padding:25px 22px}}

/* Shared article section banners */
.article-section-banner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.55fr);align-items:stretch;overflow:hidden;margin:24px 0 32px;border:1px solid #2a3a55;border-radius:20px;background:#14223b;color:#fff;isolation:isolate}
.article-section-banner .section-banner-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:30px;min-width:0;gap:14px}
.article-section-banner .section-banner-eyebrow{color:#dfc58a;font-size:.85rem;font-weight:700}
.article-section-banner h1{color:#fff;font-size:clamp(1.35rem,2.6vw,1.85rem);line-height:1.85;margin:0;overflow-wrap:anywhere}
.article-section-banner .section-banner-description{color:#dce6f4;font-size:.94rem;line-height:2.1;margin:0;text-align:justify;text-align-last:right}
.article-section-banner .section-banner-media{min-width:0;min-height:330px;position:relative;background:#10203a}
.article-section-banner .section-banner-media img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center}
.article-section-banner .section-banner-dates{font-size:.78rem;line-height:1.9;color:#bdcbdc;display:flex;flex-direction:column;gap:5px}
.article-section-banner .section-banner-dates .article-updated{color:#dfc58a;margin:0}
@media(min-width:1000px){.article-section-banner .section-banner-media{min-height:385px}}
@media(max-width:700px){.article-section-banner{grid-template-columns:1fr}.article-section-banner .section-banner-media{grid-row:1;min-height:0;aspect-ratio:4/3}.article-section-banner .section-banner-copy{grid-row:2;padding:24px;gap:12px}.article-section-banner h1{font-size:1.5rem;line-height:1.9}.article-section-banner .section-banner-description{font-size:.91rem}.article-section-banner .section-banner-media img{height:100%}}
