@charset "UTF-8";
/* ==========================================================================
   Metong — fa (Persian / RTL) market layer
   ---------------------------------------------------------------- ----------
   Loaded AFTER site.css. Contains no structural rules: it only re-skins the
   existing design for Persian-speaking buyers (Iran, Afghanistan, Tajikistan)
   and mirrors the physical LTR assumptions of the base stylesheet.
   Delete this file (or the <link> line) and the site falls back to the
   original en-style look — no other code depends on it.
   Protects untouched: the navigator.language 404 script, the default.aspx
   iframe, every <script>/<style>/<svg>/<pre> block.
   ========================================================================== */

/* ---------- 1. Persian webfont (self-hosted, no external CDN) ---------- */
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn/Vazirmatn-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- 2. market palette: turquoise + saffron on warm sand ---------- */
:root {
  --font-fa: "Vazirmatn", "IRANSans", "Vazir", "Tahoma", "Segoe UI", system-ui, sans-serif;

  /* deep pine-teal replaces the cold navy */
  --ink: #082b2e;
  --ink-2: #0b3438;
  --ink-3: #0f4146;
  --navy: #123f45;
  --navy-2: #1a5a62;
  --navy-3: #2a7f84;

  /* فیروزه‌ای — primary accent */
  --accent: #18a99a;
  --accent-soft: #74d3c5;
  --accent-ink: #0a6f66;

  /* زعفرانی — secondary accent, used sparingly */
  --gold: #c08b31;
  --gold-soft: #e2b96b;

  /* warm paper instead of cold grey */
  --paper: #faf6ee;
  --paper-2: #f1e8d8;
  --line: #e4dac6;
  --line-strong: #c9b99c;
  --text: #152f2e;
  --muted: #5d6f68;

  --radius: 10px;
  --shadow-s: 0 1px 2px rgba(12, 40, 38, .06), 0 2px 8px rgba(12, 40, 38, .05);
  --shadow-m: 0 10px 26px rgba(10, 42, 40, .12);
  --shadow-l: 0 22px 48px rgba(8, 34, 32, .18);
}

/* ---------- 3. typography tuned for Persian ---------- */
html { -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-fa);
  font-size: 17px;
  line-height: 1.92;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0;
}
h1, h2, h3, h4, .h1, .h2, .h3 {
  font-family: var(--font-fa);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: 0;
}
.h1, .hero h1, .page-head h1, .page-head--banner h1 { line-height: 1.3; letter-spacing: 0; }
.lead { line-height: 1.85; }
p { letter-spacing: 0; }
/* every site.css rule that hard-codes "IBM Plex Mono" (no Arabic glyphs at all)
   has to fall back to Vazirmatn, and the .05–.09em tracking that suits Latin
   small caps tears Persian word shapes apart */
.mono, .kicker, .hero__eyebrow, .hero__points span, .solution-card__index,
.info-card__no, .app-table th, .search-terms__label, .qa-item summary::before,
.support-card__no, .step__no, .card__cat, .tile__meta, .crumbs, .page-head__meta,
.side-nav__fam, .pd-model, .pd-fact dd, .spec-table th, .spec-table td.val,
.spec-table td:nth-child(2), .spec-table--matrix td, .spec-caption, .feature__no,
.field label, .contact-card dt, .lb__cap, .footer-col h3, .footer-bottom,
.task__no, .caption, .catalog-nav__title, .catalog-count, .context-kicker,
.quote-bar span, .facts__num {
  font-family: var(--font-fa);
  letter-spacing: 0;
}
.mono, .spec-caption, .crumbs { font-size: .86rem; }
.pd-fact dd, .spec-table td.val, .spec-table td:nth-child(2), .spec-table--matrix td,
.facts__num, .catalog-count, .spec-caption {
  font-variant-numeric: tabular-nums;
}
.brand__name, .brand__sub { font-family: "Archivo", var(--font-fa), sans-serif; }

/* ---------- 4. header: softer, roomier, RTL-safe ---------- */
.site-header {
  background: linear-gradient(180deg, #0b3a3e 0%, #072528 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 8px 24px rgba(6, 30, 30, .18);
}
.header-bar { min-height: 80px; gap: 1.6rem; }
.nav__list { gap: .2rem; }
.nav__link {
  font-size: .95rem;
  font-weight: 500;
  padding: .6rem .9rem;
  border-radius: 8px;
  border-bottom: 0;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav__link:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav__link[aria-current="page"] {
  color: #fff;
  background: rgba(24, 169, 154, .18);
  box-shadow: inset 0 0 0 1px rgba(24, 169, 154, .4);
}
.mega, .drawer {
  border-radius: 0 0 14px 14px;
  box-shadow: var(--shadow-l);
}
.lang-switch__btn { border-radius: 8px; }

/* ---------- 5. buttons: bigger, warmer, unmistakably primary ---------- */
.btn {
  border-radius: 9px;
  padding: .9rem 1.5rem;
  font-family: var(--font-fa);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: 0;
  gap: .55rem;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background .18s var(--ease), color .18s var(--ease);
}
.btn--accent {
  background: linear-gradient(180deg, #1cb3a3 0%, #0c8579 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(12, 133, 121, .28);
}
.btn--accent:hover {
  background: linear-gradient(180deg, #1fbfad 0%, #0a7a6f 100%);
  box-shadow: 0 10px 24px rgba(12, 133, 121, .34);
  transform: translateY(-1px);
}
.btn--dark { background: #0d3f45; }
.btn--ghost { border-color: rgba(255, 255, 255, .30); }
.btn--ghost:hover { background: rgba(255, 255, 255, .10); }
.header-actions .btn { padding: .78rem 1.25rem; }

/* ---------- 6. section rhythm + headings ------------- */
.section { padding: clamp(3.8rem, 6vw, 7rem) 0; }
.section--tight { padding: clamp(2.6rem, 4vw, 4rem) 0; }
.section--paper { background: var(--paper); }
.sect-head {
  border-top: 0;
  padding-top: 0;
  position: relative;
  margin-bottom: clamp(2.2rem, 3.8vw, 3.6rem);
}
.sect-head::before {
  content: "";
  position: absolute;
  top: -1.1rem;
  inset-inline-start: 0;
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}
.kicker { color: var(--accent-ink); font-weight: 500; }
.kicker::before { opacity: .55; background: var(--accent); }
.section--ink .kicker { color: var(--accent-soft); }
.sect-head .deck { color: var(--muted); line-height: 1.9; }

/* ---------- 7. hero / page head ---------- */
.hero { background: linear-gradient(160deg, #0b3a3e 0%, #072528 100%); }
.hero h1 { max-width: 22ch; }
.hero__eyebrow { color: var(--accent-soft); }
.hero__points span {
  border-radius: 999px;
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .05);
  padding: .45rem .85rem;
}
.page-head {
  background-image:
    linear-gradient(270deg, rgba(6, 30, 32, .84) 0%, rgba(6, 30, 32, .62) 48%, rgba(6, 30, 32, .34) 100%),
    var(--page-bg);
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 16px);
  opacity: .8;
}
.page-head > * { position: relative; z-index: 1; }
.page-head h1, .page-head--banner h1 { max-width: 26ch; }
.crumbs { color: rgba(255, 255, 255, .66); }

/* ---------- 8. cards: gentle radius, warm border, quiet lift ---------- */
.mosaic { gap: 18px; background: transparent; border: 0; }
.mosaic__item {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-s);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.mosaic__item:hover {
  background: #fff;
  transform: translateY(-3px);
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-m);
}
.mosaic__media { background: #fdfbf7; border-radius: 14px 14px 0 0; }
.mosaic__body { border-top: 1px solid var(--line); }
.mosaic__chips a {
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: .3rem .65rem;
  font-size: .78rem;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.mosaic__chips a:hover { background: rgba(24, 169, 154, .1); border-color: var(--accent-soft); }

.scene, .solution-card, .info-card, .support-card, .doc-request, .context-panel {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-s);
  border: 1px solid var(--line);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.scene:hover, .solution-card:hover, .info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-m);
  border-color: var(--accent-soft);
}
.solution-card__index, .info-card__no { color: var(--accent-ink); letter-spacing: 0; }
.solution-card__tags li {
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: .22rem .6rem;
}

/* ---------- 9. data tables: readable Persian, RTL aligned ---------- */
.table-scroll { border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.spec-table { font-size: .9rem; }
.spec-table th {
  background: #f4eee2;
  color: #5a6b63;
  font-size: .8rem;
  font-weight: 600;
  white-space: normal;
}
.spec-table td, .spec-table th { padding: .78rem 1rem; }
.spec-table tbody tr:nth-child(even) td { background: #fcfaf5; }
.spec-table--matrix thead th { background: var(--ink); color: #fff; }

/* ---------- 10. enquiry band: the conversion centrepiece ---------- */
.rfq {
  background-image:
    radial-gradient(120% 120% at 100% 0%, rgba(24, 169, 154, .30) 0%, rgba(8, 43, 46, 0) 55%),
    linear-gradient(270deg, rgba(6, 36, 38, .94) 0%, rgba(6, 36, 38, .86) 48%, rgba(6, 36, 38, .77) 100%),
    url("../img/scenes/scene-hero-distributor.jpg");
  border-top: 1px solid rgba(24, 169, 154, .35);
}
.rfq h2, .rfq p, .rfq dd { text-shadow: 0 1px 12px rgba(2, 12, 14, .38); }
.rfq .h2 { max-width: 26ch !important; }
.rfq .contact-card dt { color: var(--accent-soft); }
/* the embedded form keeps its src and height attribute; only its frame is dressed */
.rfq iframe {
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(3, 20, 22, .45);
  border: 5px solid rgba(255, 255, 255, .96);
  box-sizing: border-box;
}

/* ---------- 11. forms, product CTA rail, mobile quote bar ---------- */
.field label { color: rgba(255, 255, 255, .72); font-weight: 500; font-size: .78rem; }
.field input, .field select, .field textarea {
  border-radius: 9px;
  padding: .78rem .95rem;
  font-family: var(--font-fa);
  font-size: .95rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid rgba(24, 169, 154, .35);
  border-color: var(--accent);
}
.form--light .field input, .form--light .field select, .form--light .field textarea { background: #fff; }

.pd-cta {
  border-radius: 14px;
  border: 1px solid var(--accent-soft);
  border-inline-start: 4px solid var(--accent);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);
  box-shadow: var(--shadow-s);
  padding: 1.2rem 1.25rem 1.3rem;
  gap: .7rem;
}
.pd-cta p { font-size: .86rem; line-height: 1.7; }
@media (min-width: 1000px) {
  .pd-cta { position: sticky; top: 104px; }
}
.quote-bar {
  background: linear-gradient(270deg, #0b3f43 0%, #07282b 100%);
  border-top: 1px solid rgba(24, 169, 154, .45);
  box-shadow: 0 -10px 26px rgba(4, 24, 26, .30);
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
}
.quote-bar .btn { padding: .62rem 1rem; font-size: .85rem; white-space: nowrap; }

/* ---------- 12. footer ---------- */
.site-footer { background: linear-gradient(180deg, #072528 0%, #061c1f 100%); }
.footer-col h3 { color: var(--accent-soft); letter-spacing: 0; font-size: .82rem; }
.footer-bottom { color: rgba(255, 255, 255, .55); letter-spacing: 0; }
.footer-bottom a:hover { color: var(--accent-soft); }
.footer-grid { gap: 2.4rem; }

/* ---------- 13. soft tokens reused elsewhere ---------- */
.link-arrow { color: var(--accent-ink); }
.link-arrow:hover { color: var(--accent); }
::selection { background: var(--accent); color: #06232a; }
[stroke="#7fb6cc"] { stroke: #5ec9bb; }
[fill="#7fb6cc"] { fill: #5ec9bb; }

/* ==========================================================================
   14. RTL mirroring of every physical left/right assumption in site.css
   (dir="rtl" already flips flex/grid order; only literal sides need work)
   ========================================================================== */
[dir="rtl"] .btn { text-align: right; }
[dir="rtl"] .header-actions { margin-left: 0; margin-right: auto; }
[dir="rtl"] .nav { margin-left: 0; margin-right: 4.5rem; }
[dir="rtl"] .nav-toggle { margin-left: 0; margin-right: auto; }
[dir="rtl"] .lang-switch__menu { right: auto; left: 0; }
[dir="rtl"] .has-mega > .nav__link::after { border-right: 0; border-left: 1.5px solid currentColor; }
[dir="rtl"] .mega { left: auto; right: 0; }
/* the drawer is inset:0 and slides in from the right in both directions — no override needed */
[dir="rtl"] .nameplate {
  left: auto;
  right: 0;
  border-right: 0;
  border-left: 1px solid rgba(255, 255, 255, .18);
}
[dir="rtl"] .hero__copy { padding-left: 4rem; padding-right: 0; }
@media (min-width: 980px) {
  [dir="rtl"] .hero__copy {
    padding-left: 4rem;
    padding-right: min(100px, max(0px, calc((100vw - 1404px) / 2)));
  }
}

/* ---- hero: photo full-bleed behind the copy (reference layout) ----
   The hero photo is a 1920x600 panoramic banner. The original split layout put
   it in a portrait-ish half-width box, so object-fit:cover only showed the
   middle third of the machine. Desktop now uses the same arrangement as the
   English reference: the photo covers the whole hero band edge to edge and the
   copy sits on top of it behind a scrim, with the caption in the opposite
   corner. Only ~10% of the width is trimmed, and the machine stays fully in
   frame. On phones the photo keeps its own band under the copy, with the
   caption moved below so it never covers the machine. */
.hero__figure img { object-position: center center; }
@media (max-width: 979px) {
  /* 16/7 keeps the whole machine legible; the nameplate becomes a caption
     underneath the photo instead of an overlay */
  .hero__figure { aspect-ratio: auto; min-height: 0; }
  .hero__figure img { width: 100%; height: auto; aspect-ratio: 16 / 7; }
  [dir="rtl"] .nameplate,
  .nameplate {
    position: static;
    max-width: none;
    border-top: 1px solid rgba(255, 255, 255, .16);
    border-left: 0;
    border-right: 0;
  }
}
@media (min-width: 980px) {
  .hero { min-height: 540px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__figure {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: auto;
    min-height: 0;
    aspect-ratio: auto;
    margin: 0;
  }
  .hero__figure img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
  /* scrim sits under the copy (left in RTL = the scenery side), so the machine
     on the right stays bright and fully readable */
  .hero__figure::after {
    background-image:
      linear-gradient(to right, rgba(5, 32, 34, .95) 0%, rgba(5, 32, 34, .80) 32%,
                      rgba(5, 32, 34, .28) 64%, rgba(5, 32, 34, .06) 100%),
      linear-gradient(180deg, rgba(5, 32, 34, .10) 0%, rgba(5, 32, 34, .46) 100%);
  }
  /* tighter copy block so the band stays ~560px and the photo is barely trimmed */
  .hero__copy {
    position: relative;
    z-index: 2;
    justify-self: end;          /* left side in RTL: mirrors the reference layout */
    max-width: 620px;
    min-height: 540px;
    justify-content: center;
    padding-top: 2.3rem;
    padding-bottom: 1.9rem;
  }
  .hero h1 { font-size: clamp(1.95rem, 3.05vw, 3rem); max-width: 100%; line-height: 1.28; }
  .hero__eyebrow { margin-bottom: .95rem; }
  .hero__deck { margin-top: .95rem; font-size: 1.04rem; line-height: 1.72; }
  .hero__actions { margin-top: 1.45rem; }
  .hero__points { margin-top: .9rem; }
}
[dir="rtl"] .facts__item {
  padding: 1.5rem 1.3rem 1.6rem 0;
  border-left: 0;
  border-right: 1px solid rgba(255, 255, 255, .14);
}
[dir="rtl"] .facts__item:first-child { border-right: 0; padding-right: 0; }
[dir="rtl"] .facts__label { padding-left: 0; padding-right: 30px; }
[dir="rtl"] .mosaic__item--wide .mosaic__media { border-right: 0; border-left: 1px solid var(--line); }
[dir="rtl"] .app-table th, [dir="rtl"] .app-table td,
[dir="rtl"] .spec-table th, [dir="rtl"] .spec-table td { text-align: right; }
[dir="rtl"] .app-table td ul,
[dir="rtl"] .enquiry-guide ul,
[dir="rtl"] .doc-request ul,
[dir="rtl"] .support-card ul,
[dir="rtl"] .news-panel ul,
[dir="rtl"] .context-list,
[dir="rtl"] .prose li { padding-left: 0; padding-right: 1.1rem; }
[dir="rtl"] .prose li::before { left: auto; right: 0; }
[dir="rtl"] .side-nav__cat[aria-current="page"] {
  padding-left: .7rem;
  padding-right: .7rem;
  box-shadow: inset -2px 0 0 var(--accent);
}
[dir="rtl"] .search-input { margin-left: 0; margin-right: auto; }
[dir="rtl"] .lb__close { right: auto; left: 1.4rem; }
[dir="rtl"] .lb__prev { left: auto; right: 1.4rem; }
[dir="rtl"] .lb__next { right: auto; left: 1.4rem; }
/* base parks the skip link at left:-9999px, which in an RTL document widens the
   scroll area and shows a horizontal scrollbar — hide it with a clip instead */
[dir="rtl"] .skip-link {
  left: 0;
  right: auto;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}
[dir="rtl"] .skip-link:focus {
  width: auto;
  height: auto;
  padding: .65rem 1.1rem;
  overflow: visible;
  clip-path: none;
  top: .5rem;
  left: .5rem;
}
[dir="rtl"] .task__link { margin-left: 0; margin-right: auto; }
[dir="rtl"] .catalog-link { text-align: right; }
[dir="rtl"] .catalog-link--cat { padding-left: 0; padding-right: 1rem; }
[dir="rtl"] .catalog-link.is-active { box-shadow: inset -2px 0 0 var(--accent); }
[dir="rtl"] .catalog-link--cat.is-active { padding-left: 0; padding-right: .82rem; }
/* base reserves .95rem on the right for the sidebar scrollbar; in RTL that space
   belongs on the left, and the right padding must stay at the box's 1.15rem */
[dir="rtl"] .catalog-nav { padding-right: 1.15rem; padding-left: .95rem; }

/* arrows drawn pointing left must point right in RTL */
[dir="rtl"] .link-arrow svg,
[dir="rtl"] .solution-card__cta svg,
[dir="rtl"] .mosaic__chips a svg { transform: scaleX(-1); }

/* latin/numeric value boxes keep their own order only when the paragraph base
   direction follows the first strong character: "≤3-5T/h", "66,000 m²",
   "5290x2133x3450" otherwise flip inside RTL text. plaintext leaves a Persian
   sentence in the same cell untouched (its first strong char is Persian). */
[dir="rtl"] .pd-fact dd,
[dir="rtl"] .spec-table td.val,
[dir="rtl"] .spec-table td:nth-child(2),
[dir="rtl"] .spec-table--matrix td,
[dir="rtl"] .facts__num,
[dir="rtl"] .pd-model {
  unicode-bidi: plaintext;
}
/* dd is the mirrored second column: keep the value next to its label, as in the
   original layout, instead of stranding it at the far left edge */
[dir="rtl"] .pd-fact dd { text-align: right; }

/* ---------- 15. responsive tuning ---------- */
@media (max-width: 999px) {
  body { font-size: 16.5px; line-height: 1.9; }
  .header-bar { min-height: 72px; }
  .section { padding: 3rem 0; }
  .detail, .pd-top { padding-bottom: 4.4rem; } /* room for the fixed quote bar */
}
@media (max-width: 620px) {
  .mosaic { gap: 14px; }
  .sect-head::before { top: -.8rem; width: 48px; }
  .quote-bar .btn { padding: .55rem .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .mosaic__item, .scene, .solution-card, .info-card, .btn { transition: none; }
}
