/* ==========================================================================
   Tawreed Trading — shared stylesheet for internal pages
   Homepage (/index.html) is locked and does NOT use this file.
   Tokens match the approved homepage design system.
   ========================================================================== */

/* ---------- Fonts (self-hosted, same files as the homepage) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("archivo-variable.woff2") format("woff2-variations"),
       url("archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("jetbrains-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("jetbrains-mono-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --shell: 1280px;      /* single content grid: header, card, banners, footer */
  --gutter: 40px;
  --canvas: #F3F3F1;
  --ink: #111111;
  --accent: #4A5D6E;
  --card: #FFFFFF;
  --line: #E5E7EB;
  --media: #F8F9FA;
  --body: #333333;
  --muted: #666666;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 4px;
  --pad-l: 11.67vw;   /* same left edge as the homepage sections */
  --pad-r: 7.6vw;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(88px + env(safe-area-inset-top, 0px)); overflow-x: hidden; }
body {
  margin: 0;
  isolation: isolate;   /* keeps the smoke's screen blend inside the page */
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Architectural canvas — the room render from the design archive, uncropped
   except for the right-hand duct area, painted as a layer (not on the page
   canvas) so the smoke above it can blend with it. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url("page-bg.jpg") left center / cover no-repeat;
}
img { max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   HEADER — same links, order and tokens as the approved homepage header,
   rebuilt as a standard light bar for internal pages.
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(243,243,241,.86), rgba(243,243,241,.62) 70%, rgba(243,243,241,0));
  backdrop-filter: saturate(130%) blur(6px);
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 88px;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
  line-height: 1;
  text-decoration: none;
}
.header-logo img { height: 40px; width: auto; display: block; }
.header-logo .mk {
  width: 34px;
  height: 34px;
  flex: none;
  border: 2.5px solid var(--ink);
  border-radius: 2px;
  display: grid;
  place-items: center;
}
.header-logo .mk::after { content: ""; width: 13px; height: 13px; background: var(--ink); }
.header-logo .wordmark {
  display: block;
  font-weight: 800;
  font-stretch: 112%;
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.header-logo .descriptor {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 9px;
  line-height: 1;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
}

.header-nav { display: flex; gap: 30px; margin: 0 auto; }
.header-nav a {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}
.header-nav a:hover { color: var(--accent); }
.header-nav a[aria-current="page"] { color: var(--accent); }

.header-tools { display: flex; align-items: center; gap: 22px; flex: none; }
.header-search { display: block; width: 18px; height: 18px; color: var(--ink); }
.header-search svg { width: 100%; height: 100%; display: block; }
.header-divider { width: 1px; height: 28px; background: rgba(17, 17, 17, .22); }
.header-lang {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.header-lang a { text-decoration: none; transition: color .2s ease; }
.header-lang a:hover { color: var(--accent); }
.header-lang span { opacity: .55; margin: 0 .25em; }
.header-quote {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 39px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 500;
  font-stretch: 104%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.header-quote:hover { background: var(--ink); color: #FFFFFF; }
.arrow { width: 1.15em; height: 1em; display: block; flex: none; }

@media (max-width: 1180px) {
  .site-header-inner { gap: 18px; }
  .header-nav { gap: 18px; }
  .header-nav a { font-size: 11px; letter-spacing: 0.08em; }
  .header-search, .header-divider { display: none; }
}
@media (max-width: 1199px) {
  .site-header-inner { height: 72px; gap: 12px; }
  .header-logo .descriptor { display: none; }
  .header-nav { display: none; }
  .header-logo img { height: 40px; width: auto; display: block; }
.header-logo .mk { width: 28px; height: 28px; }
  .header-logo .wordmark { font-size: 17px; }
  .header-tools { margin-left: auto; gap: 14px; }
  .header-quote { padding: 0 12px; height: 34px; font-size: 9px; letter-spacing: 0.08em; }
  .header-quote .long, .header-quote .arrow { display: none; }
  .header-logo .descriptor { font-size: 8px; letter-spacing: 1.2px; }
}

/* ==========================================================================
   PAGE SHELL
   ========================================================================== */
.page { padding: 44px var(--gutter) 96px; position: relative; z-index: 2; }

/* Real smoke asset from the design archive (same file the homepage uses),
   screen-blended so the black frame disappears into the concrete wall. */
.page-smoke {
  position: fixed;
  top: 6%;
  right: -4%;
  width: 46vw;
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: .85;
  mix-blend-mode: screen;
  -webkit-mask-image:
    linear-gradient(to left, black 0%, black 52%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 16%, black 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to left, black 0%, black 52%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 16%, black 84%, transparent 100%);
  mask-composite: intersect;
}
@media (max-width: 1199px) { .page-smoke { width: 90vw; right: 0; top: 3%; opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .page-smoke { display: none; } }
.page-inner { max-width: var(--shell); margin: 0 auto; }

.breadcrumb {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  transition: text-decoration-color .25s ease;
}
.breadcrumb:hover { text-decoration-color: currentColor; }
.breadcrumb svg { width: 14px; height: 14px; }

.page-title {
  margin: 0;
  max-width: 22ch;
  text-wrap: balance;
  font-weight: 880;
  font-stretch: 119%;
  font-size: clamp(30px, 3.6vw, 58px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
}
.page-sub {
  margin: 14px 0 0;
  max-width: 80ch;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12.5px;
  line-height: 1.7;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
}

/* ==========================================================================
   MASTER SINGLE PRODUCT TEMPLATE
   ========================================================================== */
.product-card {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
  gap: 0;
  margin-top: 30px;
  background: rgba(240, 239, 236, .88);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(17,17,17,.04), 0 24px 60px -32px rgba(17,17,17,.28);
  overflow: hidden;
}
.product-media { position: relative; margin: 16px; background: #E7E5E0; border-radius: 2px; overflow: hidden; }
.product-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  background: #E7E5E0;
}
.product-media-badge {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}
.product-body { padding: 40px 44px 44px 32px; }
.product-eyebrow {
  margin: 0;
  font-weight: 700;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}
.product-name {
  margin: 14px 0 0;
  font-weight: 800;
  font-stretch: 108%;
  font-size: clamp(24px, 2.1vw, 32px);
  line-height: 1.15;
  color: var(--ink);
}
.product-divider { height: 1px; margin: 22px 0; background: rgba(17,17,17,.10); }
.product-certs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.product-certs li {
  padding: 7px 16px;
  border: 1px solid rgba(17,17,17,.20);
  border-radius: 999px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.product-specs { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.product-specs li {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  font-size: 15px;
  line-height: 1.6;
  color: #1C1C1C;
  font-variant-numeric: tabular-nums;
}
.product-specs .fx { font-family: var(--mono); font-weight: 500; font-size: 13.5px; }
.product-specs li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: .48em;
  background: var(--accent);   /* solid square marker */
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 26px;
  border-radius: var(--radius);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn svg { width: 15px; height: 15px; flex: none; }
.btn--primary { background: var(--ink); color: #FFFFFF; border: 1px solid var(--ink); }
.btn--primary:hover { background: var(--accent); border-color: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--accent); }
.btn--ghost:hover { background: var(--canvas); }
.product-cta { margin-top: 32px; }

/* ---------- Downloads / question / related ---------- */
.block { margin-top: 40px; }
.block-title {
  margin: 0 0 14px;
  font-weight: 800;
  font-stretch: 108%;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.downloads {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 20px 24px;
  background: rgba(240, 239, 236, .82);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background-color .25s ease;
}
a.downloads:hover { background: rgba(240, 239, 236, .96); }
.downloads-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.downloads-note svg { width: 20px; height: 20px; flex: none; }

.question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-top: 30px;
  padding: 30px 28px;
  background: rgba(240, 239, 236, .82);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: var(--radius);
}
.question-icon { display: flex; align-items: center; gap: 16px; }
.question-icon svg { width: 34px; height: 34px; color: var(--accent); flex: none; }
.question h2 { margin: 0 0 5px; font-size: 18px; font-weight: 800; font-stretch: 108%; color: var(--ink); }
.question p { margin: 0; font-size: 14px; color: var(--muted); }

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.related-card {
  display: block;
  background: rgba(240, 239, 236, .86);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: var(--radius);
  text-decoration: none;
  overflow: hidden;
  transition: border-color .3s ease;
}
.related-card:hover { border-color: var(--accent); }
.related-card-img { height: 190px; background: #E7E5E0; overflow: hidden; }
.related-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1); transition: transform .3s ease;
}
.related-card:hover .related-card-img img { transform: scale(1.03); }
.related-card-body { padding: 20px 22px 24px; }
.related-card-name { font-weight: 800; font-stretch: 108%; font-size: 17px; color: var(--ink); }
.related-card-sub {
  margin-top: 6px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
}
.related-card-link {
  margin-top: 14px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
}

@media (max-width: 1024px) {
  :root { --gutter: 32px; }
  .product-card { grid-template-columns: minmax(0, 1fr); }
  .product-media img { min-height: 0; height: 340px; }
  .product-body { padding: 8px 28px 32px; }
  .product-media { margin: 12px 12px 0; }
}
@media (max-width: 600px) {
  .page { padding: 32px var(--gutter) 64px; }
  .product-media img { height: 260px; }
  .product-body { padding: 24px 22px 28px; }
  .product-cta .btn { width: 100%; }
  .downloads, .question { padding: 20px; }
  .related-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   FOOTER — identical to the approved homepage footer
   ========================================================================== */
.site-footer {
  background: var(--canvas);
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--accent);
  color: var(--accent);
  padding: 80px var(--gutter) 40px;
}
.footer-inner { max-width: var(--shell); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 35% repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding-bottom: 64px;
}
.footer-brand-name {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-stretch: 112%;
  font-size: 20px;
}
.footer-brand-name img { height: 34px; width: auto; display: block; }
.footer-bio { margin: 20px 0 28px; max-width: 44ch; font-size: 15px; line-height: 1.65; color: var(--accent); }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-contact li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.55;
  color: var(--accent);
}
.footer-contact svg { width: 16px; height: 16px; margin-top: 2px; color: var(--accent); }
.footer-contact a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.footer-contact a:hover { color: var(--ink); text-decoration-color: currentColor; }
.footer-col h2 {
  margin: 4px 0 22px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.footer-col a:hover { color: var(--accent); text-decoration-color: currentColor; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding-top: 28px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.footer-bottom p { margin: 0; }
.footer-compliance {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) { .site-footer { padding-left: var(--gutter); padding-right: var(--gutter); } }
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .site-footer { padding: 56px var(--gutter) 32px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 40px; }
  .footer-brand { padding-bottom: 36px; }
  .footer-col { padding: 26px 0; border-top: 1px solid var(--line); }
  .footer-col h2 { margin-bottom: 16px; }
  .footer-col ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ==========================================================================
   CATALOG — products index + category pages
   ========================================================================== */
.page-eyebrow {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}
.page-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }

.catalog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--accent);
}
.catalog-meta li { padding-inline-start: 18px; border-inline-start: 1px solid rgba(74, 93, 110, .35); }
.catalog-meta li:first-child { padding-inline-start: 0; border-inline-start: 0; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(286px, 1fr));
  gap: 24px;
  margin-top: 34px;
}
.card-grid--wide { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }

.pcard {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.pcard:hover {
  border-color: var(--accent);
  box-shadow: 0 18px 40px -28px rgba(17, 17, 17, .35);
  transform: translateY(-2px);
}
.pcard-img {
  height: 210px;
  margin: 12px 12px 0;
  background: var(--media);
  border: 1px solid var(--line);   /* framing for white products on white */
  border-radius: 2px;
  overflow: hidden;
}
.pcard-img img {
  width: 100%; height: 100%; display: block;
  object-fit: contain;
  padding: 14px;
  transform: scale(1);
  transition: transform .3s ease;
}
.pcard:hover .pcard-img img { transform: scale(1.03); }
.pcard-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard-name { font-weight: 800; font-stretch: 108%; font-size: 17px; line-height: 1.25; color: var(--ink); }
.pcard-sub { font-size: 14px; line-height: 1.55; color: var(--body); }
.pcard-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; }
.pcard-tags li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.pcard-link {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
}

.catalog-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-top: 48px;
  padding: 30px 28px;
  background: rgba(240, 239, 236, .82);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: var(--radius);
}
.catalog-cta h2 { margin: 0 0 5px; font-size: 18px; font-weight: 800; font-stretch: 108%; color: var(--ink); }
.catalog-cta p { margin: 0; font-size: 14px; color: var(--muted); }

@media (max-width: 600px) {
  .card-grid, .card-grid--wide { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .catalog-meta { flex-direction: column; gap: 8px; }
  .catalog-meta li { padding-inline-start: 0; border-inline-start: 0; }
  .pcard-img { height: 190px; }
  .catalog-cta { padding: 22px 20px; }
}

/* ==========================================================================
   FORMS — quote + submittal
   ========================================================================== */
.form-card {
  margin-top: 30px;
  padding: 40px 44px 44px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(17,17,17,.04), 0 24px 60px -34px rgba(17,17,17,.24);
}
.form-section + .form-section { margin-top: 34px; }
.form-section > h2 {
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; }
.form-grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.form-group .req { color: #C0392B; margin-inline-start: 3px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--media);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #9AA1A8; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, .08);
}
.qty-row { display: flex; gap: 8px; }
.qty-row input { flex: 1; }
.qty-row select { width: 92px; }

.product-line {
  position: relative;
  margin-bottom: 16px;
  padding: 22px 24px;
  background: var(--media);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.product-line-num {
  margin-bottom: 16px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}
.remove-line {
  position: absolute; top: 14px; inset-inline-end: 14px;
  width: 26px; height: 26px;
  background: transparent; border: 1px solid var(--line); border-radius: 2px;
  color: var(--muted); font-size: 15px; line-height: 1; cursor: pointer;
}
.remove-line:hover { border-color: var(--accent); color: var(--ink); }
.add-line {
  width: 100%;
  padding: 16px;
  background: transparent;
  border: 1px dashed rgba(74, 93, 110, .55);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.add-line:hover { background: rgba(74, 93, 110, .06); border-color: var(--accent); }

.info-box {
  margin-top: 30px;
  padding: 18px 20px;
  background: var(--media);
  border-inline-start: 3px solid var(--accent);
  border-start-start-radius: 0; border-end-start-radius: 0;
  border-start-end-radius: var(--radius); border-end-end-radius: var(--radius);
  font-size: 14px;
  line-height: 1.65;
  color: var(--body);
}
.info-box strong { color: var(--ink); }

.btn--submit {
  width: 100%;
  margin-top: 24px;
  padding: 19px 26px;
  font-size: 13px;
  letter-spacing: 2px;
  border: 0;
  cursor: pointer;
}
.trust-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 32px; margin: 22px 0 0; padding: 0; list-style: none;
  font-family: var(--mono); font-weight: 500; font-size: 11.5px;
  letter-spacing: 1px; text-transform: uppercase; color: var(--accent);
}
.trust-row li { display: flex; align-items: center; gap: 8px; }
.trust-row svg { width: 15px; height: 15px; }

.form-success {
  display: none;
  margin-top: 30px;
  padding: 44px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}
.form-success h2 { margin: 0 0 10px; font-size: 24px; font-weight: 800; font-stretch: 108%; color: var(--ink); }
.form-success p { margin: 0 auto 22px; max-width: 52ch; font-size: 15px; line-height: 1.6; color: var(--body); }

/* option cards (submittal) */
.option-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.option-card {
  display: block;
  padding: 28px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.option-card:hover { border-color: var(--accent); }
.option-card input { position: absolute; opacity: 0; pointer-events: none; }
.option-card:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }
.option-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.option-card svg { width: 34px; height: 34px; color: var(--accent); }
.option-card h2 { margin: 18px 0 10px; font-size: 19px; font-weight: 800; font-stretch: 108%; color: var(--ink); }
.option-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--body); }

/* ==========================================================================
   SPLIT LAYOUT — about / contact
   ========================================================================== */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 30px; }
.split-copy {
  padding: 36px 38px;
  background: rgba(240, 239, 236, .88);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: var(--radius);
}
.split-copy h2 { margin: 30px 0 14px; font-weight: 880; font-stretch: 112%; font-size: clamp(22px, 2.1vw, 30px); color: var(--ink); }
.split-copy h2:first-child { margin-top: 0; }
.split-copy p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.7; color: var(--body); max-width: 62ch; }
.split-media { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--media); }
.split-media img { display: block; width: 100%; height: 100%; object-fit: cover; min-height: 340px; }

.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.why-card { padding: 28px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); }
.why-card svg { width: 28px; height: 28px; color: var(--accent); }
.why-card h3 { margin: 18px 0 10px; font-size: 17px; font-weight: 800; font-stretch: 108%; color: var(--ink); }
.why-card p { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: var(--body); }
.why-tag {
  display: inline-block; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--mono); font-weight: 500; font-size: 10.5px;
  letter-spacing: .06em; color: var(--accent);
}

.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.contact-card { padding: 24px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card svg { width: 20px; height: 20px; color: var(--accent); }
.contact-card h2 {
  margin: 14px 0 10px;
  font-family: var(--mono); font-weight: 500; font-size: 11px;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent);
}
.contact-card p, .contact-card address { margin: 0; font-style: normal; font-size: 15px; line-height: 1.5; font-weight: 600; color: var(--ink); }
.contact-card a { color: inherit; text-decoration: none; }
.contact-card a:hover { color: var(--accent); }

.map-frame { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--media); }
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }
.map-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-family: var(--mono); font-weight: 700; font-size: 11.5px;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent); text-decoration: none;
}
.map-link:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ==========================================================================
   PROJECTS
   ========================================================================== */
.stats-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.stat { padding: 24px 28px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); }
.stat-num { font-weight: 880; font-stretch: 112%; font-size: 30px; line-height: 1; color: var(--ink); }
.stat-label {
  margin-top: 8px; font-family: var(--mono); font-weight: 500; font-size: 11px;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent);
}
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 34px; }
.project-card {
  display: flex; flex-direction: column;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.project-card:hover { border-color: var(--accent); box-shadow: 0 18px 40px -28px rgba(17,17,17,.35); transform: translateY(-2px); }
.project-img { aspect-ratio: 16 / 9; background: var(--media); overflow: hidden; }
.project-img picture { display: block; width: 100%; height: 100%; }
.project-img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1); transition: transform .4s ease; }
.project-card:hover .project-img img { transform: scale(1.04); }
.project-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project-name { font-weight: 800; font-stretch: 108%; font-size: 17px; color: var(--ink); }
.project-loc {
  font-family: var(--mono); font-weight: 500; font-size: 11px;
  letter-spacing: 1.1px; text-transform: uppercase; color: var(--accent);
}
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.project-tags li {
  padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--mono); font-weight: 500; font-size: 10px; color: var(--accent);
}

@media (max-width: 1100px) {
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 860px) {
  .form-card { padding: 28px 22px 32px; }
  .split-copy { padding: 26px 22px; }
  .form-grid, .form-grid3, .option-cards, .stats-row { grid-template-columns: minmax(0, 1fr); }
  .contact-cards { grid-template-columns: minmax(0, 1fr); }
  .map-frame iframe { height: 320px; }
  .project-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   ARTICLES — index + master single article template
   ========================================================================== */
.article-shell { max-width: 860px; margin: 0 auto; }
.article-meta {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
}
.article-hero {
  margin: 30px 0 0;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--media);
}
.article-hero picture { display: block; width: 100%; height: 100%; }
.article-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }

.article-body {
  margin-top: 32px;
  padding: 44px 48px 48px;
  background: rgba(240, 239, 236, .9);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: var(--radius);
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
}
.article-body > p:first-child { font-size: 17.5px; color: var(--ink); }
.article-body p { margin: 0 0 18px; }
.article-body h2 {
  margin: 36px 0 14px;
  font-weight: 880;
  font-stretch: 112%;
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.2;
  color: var(--ink);
}
.article-body h3 { margin: 26px 0 10px; font-size: 18px; font-weight: 800; font-stretch: 108%; color: var(--ink); }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--ink); }
.article-body > ul, .article-body > ol { margin: 0 0 18px; padding-inline-start: 22px; }
.article-body > ul li, .article-body > ol li { margin-bottom: 8px; }

.callout {
  margin: 26px 0;
  padding: 20px 24px;
  background: #FFFFFF;
  border-inline-start: 3px solid var(--accent);
  border-start-start-radius: 0; border-end-start-radius: 0;
  border-start-end-radius: var(--radius); border-end-end-radius: var(--radius);
}
.callout > strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 1px;
  color: var(--accent);
}
.callout ul, .callout ol { margin: 0; padding-inline-start: 20px; font-size: 15px; line-height: 1.7; }
.callout li { margin-bottom: 6px; }
.callout p { margin: 0 0 10px; font-size: 15px; }
.callout p:last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: var(--radius); background: #FFFFFF; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
  padding: 13px 16px;
  text-align: start;
  background: var(--ink);
  color: #FFFFFF;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--body); }
.data-table tbody tr:nth-child(even) { background: var(--media); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td:first-child { font-weight: 600; color: var(--ink); }

.article-cta {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 18px 24px;
  margin-top: 26px; padding: 28px 30px;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius);
}
.article-cta h2 { margin: 0 0 5px; font-size: 18px; font-weight: 800; font-stretch: 108%; color: var(--ink); }
.article-cta p { margin: 0; font-size: 14px; color: var(--muted); }

/* index cards */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; margin-top: 34px; }
.article-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 0 0 26px;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.article-card:hover { border-color: var(--accent); box-shadow: 0 18px 40px -28px rgba(17,17,17,.35); transform: translateY(-2px); }
.article-card-kicker {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--mono); font-weight: 700; font-size: 11px;
  letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent);
}
.badge-new { padding: 3px 8px; background: var(--accent); color: #FFFFFF; border-radius: 2px; font-size: 9.5px; letter-spacing: 1px; }
.article-card-title { font-size: 19px; font-weight: 800; font-stretch: 108%; line-height: 1.3; color: var(--ink); }
.article-card-meta {
  font-family: var(--mono); font-weight: 500; font-size: 11px;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent);
}
.article-card-desc { font-size: 14.5px; line-height: 1.6; color: var(--body); }
.article-card-link {
  margin-top: auto; padding-top: 10px;
  font-family: var(--mono); font-weight: 700; font-size: 11.5px;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent);
}

@media (max-width: 860px) {
  .article-body { padding: 26px 22px 30px; font-size: 15.5px; }
  .article-hero img { height: 220px; }
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .article-cta, .article-card { padding: 22px 20px; }
}

/* ==========================================================================
   HEADER — geometry identical to the locked homepage header.
   Same artboard unit (--hu = 1/1671 of the viewport) and the same
   coordinates the homepage uses, so both headers line up pixel for pixel.
   ========================================================================== */
@media (min-width: 1200px) {
  .site-header { --hu: calc(100vw / 1671); }
  .site-header-inner {
    position: relative;
    display: block;
    max-width: none;
    height: calc(104 * var(--hu));
    margin: 0;
    padding: 0;
  }
  .header-logo { position: absolute; inset-inline-start: calc(192.7 * var(--hu)); top: calc(30.7 * var(--hu)); }
  .header-logo img { height: calc(45.6 * var(--hu)); }
  .header-nav {
    position: absolute;
    top: calc(49.2 * var(--hu));
    left: calc(764 * var(--hu));
    transform: translateX(-50%);
    margin: 0;
    gap: calc(38 * var(--hu));
  }
  .header-nav a { font-size: calc(11.2 * var(--hu)); letter-spacing: 0.12em; line-height: 1; }
  .header-tools { display: contents; }
  .header-search {
    position: absolute; display: block;
    inset-inline-start: calc(1148 * var(--hu)); top: calc(45 * var(--hu));
    width: calc(18.5 * var(--hu)); height: calc(18.5 * var(--hu));
  }
  .header-divider {
    position: absolute; display: block;
    inset-inline-start: calc(1283 * var(--hu)); top: calc(40 * var(--hu));
    height: calc(29 * var(--hu));
  }
  .header-lang {
    position: absolute;
    inset-inline-start: calc(1297 * var(--hu)); top: calc(50.2 * var(--hu));
    font-size: calc(10.4 * var(--hu)); line-height: 1;
  }
  .header-quote {
    position: absolute;
    inset-inline-start: calc(1375 * var(--hu)); top: calc(34 * var(--hu));
    width: calc(169 * var(--hu)); height: calc(39 * var(--hu));
    padding: 0; justify-content: center;
    font-size: calc(10.5 * var(--hu));
  }
  [dir="rtl"] .header-nav { left: auto; right: calc(764 * var(--hu)); transform: translateX(50%); }
  .header-social {
    position: absolute; display: flex;
    inset-inline-start: calc(1184 * var(--hu)); top: calc(47.75 * var(--hu));
    gap: calc(10 * var(--hu));
  }
  .header-social a { width: calc(13 * var(--hu)); height: calc(13 * var(--hu)); }
}


/* ==========================================================================
   ARABIC / RTL
   ========================================================================== */
@font-face {
  font-family: "Cairo";
  src: url("cairo-variable.woff2") format("woff2-variations"),
       url("cairo-variable.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF,
                 U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
[dir="rtl"] {
  /* Arabic glyphs render in Cairo; Latin codes (GID-001, UL 555, λ values)
     keep Archivo / JetBrains Mono so technical strings stay technical. */
  --sans: "Cairo", "Archivo", "Helvetica Neue", Arial, sans-serif;
  /* there is no monospaced Arabic: mono labels switch to Cairo in RTL,
     while pure technical strings (cert pills, spec values) keep JetBrains Mono */
  --mono: "Cairo", "Archivo", "Helvetica Neue", Arial, sans-serif;
}
[dir="rtl"] .product-certs li, [dir="rtl"] .product-specs .fx, [dir="rtl"] .pcard-tags li {
  font-family: "JetBrains Mono", "Cairo", ui-monospace, monospace;
}
[dir="rtl"] .page-sub, [dir="rtl"] .page-eyebrow, [dir="rtl"] .product-eyebrow { text-transform: none; }
/* Arabic script is joined — tracking breaks the letterforms */
[dir="rtl"] .header-nav a, [dir="rtl"] .header-lang, [dir="rtl"] .header-quote,
[dir="rtl"] .breadcrumb, [dir="rtl"] .page-eyebrow, [dir="rtl"] .page-sub, [dir="rtl"] .catalog-meta,
[dir="rtl"] .product-eyebrow, [dir="rtl"] .product-certs li, [dir="rtl"] .product-media-badge,
[dir="rtl"] .pcard-link, [dir="rtl"] .pcard-tags li, [dir="rtl"] .btn, [dir="rtl"] .downloads-note,
[dir="rtl"] .footer-col h2, [dir="rtl"] .footer-compliance, [dir="rtl"] .footer-contact li,
[dir="rtl"] .form-section > h2, [dir="rtl"] .product-line-num, [dir="rtl"] .add-line, [dir="rtl"] .trust-row,
[dir="rtl"] .stat-label, [dir="rtl"] .project-loc, [dir="rtl"] .project-tags li, [dir="rtl"] .contact-card h2,
[dir="rtl"] .map-link, [dir="rtl"] .why-tag, [dir="rtl"] .article-meta, [dir="rtl"] .article-card-kicker,
[dir="rtl"] .article-card-meta, [dir="rtl"] .article-card-link, [dir="rtl"] .callout > strong,
[dir="rtl"] .data-table th, [dir="rtl"] .related-card-sub {
  letter-spacing: 0;
}
[dir="rtl"] .page-title { font-weight: 900; line-height: 1.2; }
[dir="rtl"] .page-sub { font-family: var(--sans); font-size: 15px; line-height: 1.8; }
[dir="rtl"] .product-specs li, [dir="rtl"] .pcard-sub, [dir="rtl"] .article-body { line-height: 1.85; }
[dir="rtl"] .product-name, [dir="rtl"] .pcard-name, [dir="rtl"] .block-title { font-weight: 800; }
[dir="rtl"] .header-nav a { font-size: calc(13 * var(--hu, 1px)); font-weight: 600; }
@media (max-width: 1199px) { [dir="rtl"] .header-nav a { font-size: 13px; } }

/* directional icons point the reading way */
[dir="rtl"] .arrow, [dir="rtl"] .breadcrumb svg { transform: scaleX(-1); }

/* mirror the architectural frame: window light on the right, smoke from the left */
[dir="rtl"] body::before { transform: scaleX(-1); }
[dir="rtl"] .page-smoke { right: auto; left: -4%; transform: scaleX(-1); }
@media (max-width: 1199px) { [dir="rtl"] .page-smoke { left: 0; } }

/* phone / email / codes stay left-to-right inside Arabic sentences */
[dir="rtl"] [dir="ltr"] { unicode-bidi: isolate; }

[dir="rtl"] .breadcrumb, [dir="rtl"] .page-eyebrow, [dir="rtl"] .product-eyebrow, [dir="rtl"] .downloads-note,
[dir="rtl"] .pcard-link, [dir="rtl"] .product-media-badge, [dir="rtl"] .catalog-meta, [dir="rtl"] .footer-col h2,
[dir="rtl"] .footer-compliance, [dir="rtl"] .btn { font-size: 13px; }


/* ==========================================================================
   SOCIAL ICONS — header + contact page
   ========================================================================== */
@media (max-width: 1199px) { .header-social { display: none; } }
.social-link {
  display: block;
  color: var(--accent);
  opacity: .75;
  transition: opacity .2s ease, color .2s ease;
}
.social-link:hover, .social-link:focus-visible { opacity: 1; color: var(--ink); }
.social-link svg { display: block; width: 100%; height: 100%; }

.contact-social {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 16px 24px; margin-top: 24px; padding: 22px 26px;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius);
}
.contact-social h2 {
  margin: 0; font-family: var(--mono); font-weight: 500; font-size: 11.5px;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent);
}
.contact-social ul { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.contact-social .social-link { width: 22px; height: 22px; }
[dir="rtl"] .contact-social h2 { letter-spacing: 0; font-size: 13px; }

/* ==========================================================================
   WHATSAPP — outlined industrial button (global) + contact-page variant
   ========================================================================== */
.btn--wa {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  font-family: var(--mono); font-weight: 700; font-size: 12px;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease;
}
.btn--wa svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.btn--wa:hover { background: var(--canvas); }
.wa-float {
  position: fixed;
  z-index: 40;
  inset-inline-end: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: rgba(243, 243, 241, .94);
  backdrop-filter: blur(6px);
  border: 1px solid var(--accent);
  border-radius: 2px;
  box-shadow: 0 10px 30px -18px rgba(17, 17, 17, .45);
  font-family: var(--mono); font-weight: 700; font-size: 11.5px;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  transition: background-color .2s ease;
}
.wa-float svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.wa-float:hover { background: #FFFFFF; }
.wa-float:focus-visible, .btn--wa:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[dir="rtl"] .wa-float, [dir="rtl"] .btn--wa { letter-spacing: 0; font-size: 13px; }
@media (max-width: 600px) {
  .wa-float { inset-inline-end: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); padding: 11px 14px; }
  .wa-float span { display: none; }   /* icon-only on phones, full label kept for screen readers via aria-label */
}

/* ==========================================================================
   MOBILE HEADER — logo box identical to the homepage (20px / 20px / 36px)
   ========================================================================== */
@media (max-width: 1199px) {
  .site-header-inner { height: 76px; padding-inline: 20px; max-width: none; }
  .header-logo img { height: 36px; }
}

/* About image: 3:2 frame, crisp and responsive */
.split-media picture { display: block; height: 100%; }
.split-media img { aspect-ratio: 3 / 2; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 40%; }
@media (max-width: 1100px) { .split-media img { height: auto; } }

/* search icon stays available on tablet / mobile (opens the search panel) */
@media (max-width: 1199px) {
  .header-search { display: grid !important; place-items: center; width: 44px; height: 44px; order: 2; }
  .header-search svg { width: 20px; height: 20px; }
  .header-lang { order: 1; }
  .header-quote { order: 3; }
}



/* ==========================================================================
   COMPACT HEADER (phones + tablets, ≤1199px): logo · EN/AR · search · quote · menu
   ========================================================================== */
@media (max-width: 1199px) {
  .site-header-inner { gap: 8px; }
  .header-tools { gap: 6px; }
  .header-lang { order: 1; }
  .header-lang a { display: inline-block; padding: 12px 6px; }
  .header-quote { order: 3; height: 40px; }
  .tw-menu-btn { order: 4; }
}
@media (max-width: 520px) {
  .header-lang { display: none; }                 /* language switch lives in the menu */
  .header-quote .req-word { display: none; }
}
@media (max-width: 360px) {
  .header-quote { display: none; }                /* quote lives in the menu + floating WhatsApp */
}

/* ==========================================================================
   TOUCH TARGETS (≥ 24px, WCAG 2.5.8) — spacing kept visually identical
   ========================================================================== */
.footer-col a { display: inline-block; padding: 5px 0; }
.footer-col ul { gap: 2px; }
.footer-contact a { display: inline-block; padding: 3px 0; }
.breadcrumb { padding: 8px 0; margin-top: -8px; }
.map-link { padding: 8px 0; }
.contact-social ul { gap: 4px; }
.contact-social .social-link { width: 44px; height: 44px; padding: 11px; }
.pcard-link, .article-card-link { padding-block: 4px; }
a.sr-only:focus, a.sr-only:focus-visible {
  position: fixed; top: 8px; inset-inline-start: 8px; z-index: 2000;
  width: auto; height: auto; margin: 0; clip: auto; overflow: visible; white-space: normal;
  padding: 12px 16px; background: #111; color: #fff; border-radius: 4px; text-decoration: none;
}
.contact-card a { display: inline-block; padding: 6px 0; }

/* desktop header: larger invisible hit areas, identical visuals */
@media (min-width: 1200px) {
  .header-nav a { padding: 8px 2px; margin: -8px -2px; }
  .header-lang a { display: inline-block; padding: 9px 7px; margin: -9px -7px; }
  .header-search { box-sizing: content-box; padding: 6px; margin: -6px; }
  .header-social a { box-sizing: content-box; padding: 8px 5px; margin: -8px -5px; }
}

/* footer social row — 44px touch targets */
.footer-social { display: flex; gap: 4px; margin-top: 18px; margin-inline-start: -11px; }
.footer-social .social-link { width: 44px; height: 44px; padding: 12px; }

/* article cards: 16:9 cover above the text */
.article-card-img { aspect-ratio: 16 / 9; background: var(--media); overflow: hidden; border-bottom: 1px solid var(--line); }
.article-card-img picture { display: block; width: 100%; height: 100%; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1); transition: transform .4s ease; }
.article-card:hover .article-card-img img { transform: scale(1.03); }
.article-card > :not(.article-card-img) { margin-inline: 26px; }
.article-card-kicker { margin-top: 22px; }
@media (max-width: 860px) {
  .article-card { padding: 0 0 22px; }
  .article-card > :not(.article-card-img) { margin-inline: 20px; }
}
@media (max-width: 860px) { .article-hero img { height: auto; } }
