@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Almarai:wght@400;700;800&display=swap');

:root {
  --cobalt: #1E4FA8;
  --navy: #12263F;
  --navy-2: #18375C;
  --ivory: #EDE4D3;
  --white: #FFFFFF;
  --paper: #F6F1E8;
  --ink: #12263F;
  --slate: #7A8699;
  --muted: #7A8699;
  --gold: #B88A3B;
  --gold-soft: #D8BE86;
  --border: rgba(18, 38, 63, 0.16);
  --border-soft: rgba(18, 38, 63, 0.1);
  --radius: 8px;
  --font-en: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-ar: "Almarai", Tahoma, Arial, sans-serif;
  --font-ar-display: "Amiri", serif;
  color-scheme: light;
  font-family: var(--font-en);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-en);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
}

html[lang="ar"] body,
html[lang="ar"] *,
[dir="rtl"],
.arabic {
  font-family: var(--font-ar);
}

html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

.arabic {
  direction: rtl;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.text-gold {
  color: var(--gold);
  font-weight: 600;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.15rem, 3.7vw, 3.35rem);
  margin-bottom: 1.05rem;
  max-width: 14.5ch;
}

h2 {
  font-size: clamp(1.62rem, 2.45vw, 2.45rem);
  margin-bottom: 0.9rem;
  max-width: 16ch;
}

h3 {
  font-size: 1.02rem;
  margin-bottom: 0.55rem;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .hero-title,
html[lang="ar"] .section-title,
html[lang="ar"] .main-heading {
  font-family: var(--font-ar-display) !important;
  font-weight: 700;
  letter-spacing: 0 !important;
  line-height: 1.18;
  text-shadow: none !important;
}

html[lang="ar"] h2,
html[lang="ar"] h3 {
  font-weight: 700;
}

html[lang="ar"] p {
  font-family: var(--font-ar) !important;
  font-weight: 400;
  line-height: 1.8;
}

html[lang="ar"] body,
html[lang="ar"] a,
html[lang="ar"] .nav-link,
html[lang="ar"] .card-text,
html[lang="ar"] .small-text,
html[lang="ar"] .product-card p,
html[lang="ar"] .brand-card,
html[lang="ar"] .site-footer,
html[lang="ar"] footer,
html[lang="ar"] .footer,
html[lang="ar"] .language-switcher,
html[lang="ar"] input,
html[lang="ar"] textarea,
html[lang="ar"] select {
  font-family: var(--font-ar) !important;
  font-weight: 400;
}

html[lang="ar"] .primary-nav a,
html[lang="ar"] .product-menu a,
html[lang="ar"] button,
html[lang="ar"] .button,
html[lang="ar"] .btn,
html[lang="ar"] label,
html[lang="ar"] .eyebrow,
html[lang="ar"] .hero__kicker,
html[lang="ar"] small {
  font-family: var(--font-ar) !important;
  font-weight: 700;
}

html[lang="ar"] .eyebrow,
html[lang="ar"] .hero__kicker,
html[lang="ar"] .section-label {
  letter-spacing: 0.08em;
}

html[lang="ar"] .hero h1 {
  color: var(--navy);
  font-family: var(--font-ar-display) !important;
  font-size: clamp(2.5rem, 4.05vw, 4.05rem);
  font-weight: 700;
  line-height: 1.16;
  max-width: min(92vw, 820px);
  text-align: center;
  text-shadow: none !important;
}

html[lang="ar"] .hero h1 span {
  color: var(--navy) !important;
  font-family: var(--font-ar-display) !important;
}

html[lang="ar"] .arabic-text-accent {
  color: var(--gold) !important;
}

html[lang="ar"] .hero h1 .arabic-text-accent,
html[lang="ar"] .hero h1 span.arabic-text-accent,
html[lang="ar"] h2 .arabic-text-accent,
html[lang="ar"] h3 .arabic-text-accent {
  color: var(--gold) !important;
  font-family: var(--font-ar-display) !important;
  font-weight: 700;
}

html[lang="ar"] .hero-title-line {
  display: block;
  white-space: nowrap;
}

html[lang="ar"] .product-card h3,
html[lang="ar"] .subproduct-card h3,
html[lang="ar"] .team-grid h3,
html[lang="ar"] .brand-card strong,
html[lang="ar"] .stat-grid strong {
  font-family: var(--font-ar) !important;
  font-weight: 700;
}

:lang(ar),
[dir="rtl"] {
  font-family: var(--font-ar);
  line-height: 1.65;
}

.skip-link {
  background: var(--navy);
  color: var(--white);
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: 1rem;
  transform: translateY(-160%);
  transition: transform 180ms ease;
  z-index: 40;
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.site-header {
  align-items: center;
  background: rgba(18, 38, 63, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(184, 138, 59, 0.34);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  left: 0;
  min-height: 78px;
  padding: 0 4vw;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 30;
}

.header-brand-tools {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.75rem;
  min-width: 0;
}

.language-switcher {
  align-items: center;
  background: rgba(237, 228, 211, 0.06);
  border: 1px solid rgba(237, 228, 211, 0.18);
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
  overflow: hidden;
}

.language-switcher button {
  background: transparent;
  border: 0;
  color: rgba(237, 228, 211, 0.78);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1;
  min-height: 28px;
  padding: 0.36rem 0.52rem;
}

.language-switcher button + button {
  border-left: 1px solid rgba(237, 228, 211, 0.18);
}

.language-switcher button:hover,
.language-switcher button:focus-visible,
.language-switcher button.is-active {
  background: rgba(184, 138, 59, 0.16);
  color: var(--white);
}

html[dir="rtl"] .language-switcher button + button {
  border-left: 0;
  border-right: 1px solid rgba(237, 228, 211, 0.18);
}

.site-header.is-scrolled {
  background: rgba(18, 38, 63, 0.98);
  box-shadow: 0 12px 28px rgba(18, 38, 63, 0.08);
}

.brand {
  align-items: center;
  color: var(--navy);
  display: inline-flex;
  min-width: 0;
  text-decoration: none;
}

.brand-logo-img {
  display: block;
  filter: none;
  height: 64px;
  mix-blend-mode: normal;
  object-fit: contain;
  width: 226px;
}

html[lang="ar"] .brand-logo-img {
  height: 64px;
  object-fit: contain;
  object-position: center;
  width: 190px;
}

.primary-nav {
  align-items: center;
  display: flex;
  gap: 0.75rem;
}

.primary-nav > a,
.nav-item > a {
  align-items: center;
  color: rgba(237, 228, 211, 0.84);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration-color: transparent;
  text-underline-offset: 0.34rem;
}

.primary-nav > a:not(:last-child)::after,
.nav-item > a::after {
  color: rgba(237, 228, 211, 0.32);
  content: "|";
  font-weight: 400;
  margin-left: 0.75rem;
}

html[dir="rtl"] .primary-nav > a:not(:last-child)::after,
html[dir="rtl"] .nav-item > a::after {
  margin-left: 0;
  margin-right: 0.75rem;
}

.primary-nav > a:hover,
.primary-nav > a:focus-visible,
.nav-item > a:hover,
.nav-item > a:focus-visible {
  color: var(--white);
  text-decoration-color: var(--gold);
}

.nav-item {
  position: relative;
}

.product-menu {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border-soft);
  border-top: 2px solid var(--gold);
  box-shadow: 0 22px 56px rgba(18, 38, 63, 0.14);
  display: grid;
  gap: 0;
  left: -1rem;
  min-width: 330px;
  opacity: 0;
  padding: 0.65rem;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 1.35rem);
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

html[dir="rtl"] .product-menu {
  left: auto;
  right: -1rem;
}

.product-menu::before {
  content: "";
  height: 1.45rem;
  left: 0;
  position: absolute;
  right: 0;
  top: -1.45rem;
}

.nav-item:hover .product-menu,
.nav-item:focus-within .product-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.product-menu a {
  align-items: center;
  border-bottom: 1px solid var(--border-soft);
  color: var(--navy);
  display: flex;
  font-size: 0.92rem;
  font-weight: 500;
  justify-content: space-between;
  padding: 0.82rem 0.9rem;
  text-decoration: none;
}

.product-menu a::after {
  color: var(--cobalt);
  content: "›";
  font-size: 1.35rem;
  line-height: 1;
}

html[dir="rtl"] .product-menu a::after {
  content: "‹";
}

.product-menu a:last-child {
  border-bottom: 0;
}

.product-menu a:hover,
.product-menu a:focus-visible {
  background: rgba(30, 79, 168, 0.1);
}

.menu-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--ivory);
  cursor: pointer;
  display: none;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  background: currentColor;
  content: "";
  display: block;
  height: 2px;
  width: 18px;
}

.menu-toggle__bars::before {
  transform: translateY(-7px);
}

.menu-toggle__bars::after {
  transform: translateY(5px);
}

.hero {
  background:
    radial-gradient(circle at 78% 46%, rgba(184, 138, 59, 0.2), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(237, 228, 211, 0.92) 54%, rgba(237, 228, 211, 1) 100%),
    var(--ivory);
  display: block;
  min-height: 92svh;
  overflow: hidden;
  padding: 72px 0 0;
  position: relative;
}

.hero__content {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(2.15rem, 3.8vw, 3.25rem) 5vw 0.6rem;
  position: relative;
  text-align: center;
  z-index: 1;
}

html[dir="rtl"] .hero__content,
html[dir="rtl"] .section__intro,
html[dir="rtl"] .about-copy,
html[dir="rtl"] .contact__intro {
  text-align: right;
}

html[dir="rtl"] .hero__content {
  text-align: center;
}

.hero__content::before {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
  height: 2px;
  left: 50%;
  position: absolute;
  top: clamp(1.55rem, 3vw, 2.15rem);
  transform: translateX(-50%);
  width: min(280px, 52vw);
}

.hero__kicker {
  color: var(--cobalt);
  font-size: clamp(0.74rem, 0.95vw, 0.84rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--navy);
  font-size: clamp(2.35rem, 4.3vw, 3.85rem);
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 auto 0.78rem;
  max-width: 22ch;
}

.hero h1 span {
  color: var(--gold);
  display: inline;
}

.hero__media {
  margin: -0.35rem auto 0;
  max-width: 1500px;
  min-height: 0;
  position: relative;
  width: min(100%, 1500px);
}

.hero__media::after {
  background:
    linear-gradient(180deg, transparent 70%, rgba(237, 228, 211, 0.96) 100%),
    linear-gradient(90deg, rgba(237, 228, 211, 0.58), transparent 24%, transparent 76%, rgba(237, 228, 211, 0.28));
  content: "";
  inset: 0;
  position: absolute;
  pointer-events: none;
}

.hero__media img {
  height: auto;
  object-fit: contain;
  object-position: center;
  position: relative;
  width: 100%;
}

.eyebrow {
  color: var(--cobalt);
  font-size: clamp(0.74rem, 0.95vw, 0.84rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  margin: 0 0 0.9rem;
  text-transform: uppercase;
}

.hero__subhead,
.section__intro p,
.about-copy p,
.product-card p,
.contact p,
.site-footer p,
.team-grid p {
  color: var(--muted);
}

.section__intro .eyebrow,
.about-copy .eyebrow,
.contact .eyebrow {
  color: var(--cobalt);
}

.hero__subhead {
  color: var(--slate);
  font-size: clamp(0.98rem, 1.16vw, 1.08rem);
  margin-inline: auto;
  max-width: 760px;
}

html[dir="rtl"] .hero__subhead {
  direction: rtl;
}

.hero__actions,
.contact-actions,
.site-footer {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__actions {
  display: none;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.05rem;
  text-decoration: none;
}

.button--primary {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: var(--white);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #173F86;
  border-color: var(--gold);
}

.button--secondary {
  background: transparent;
  border-color: rgba(237, 228, 211, 0.52);
  color: var(--ivory);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: var(--cobalt);
  color: var(--white);
}

.section {
  scroll-margin-top: 78px;
  padding: clamp(3.7rem, 6vw, 5.6rem) 5vw;
}

.section__intro {
  max-width: 840px;
}

.section__intro h2 {
  max-width: 18ch;
}

.section__intro p {
  font-size: clamp(0.98rem, 1.18vw, 1.06rem);
  line-height: 1.68;
  max-width: 760px;
}

.products {
  background: var(--paper);
}

.products .section__intro h2 {
  font-size: clamp(1.5rem, 2.05vw, 2.05rem);
  max-width: 26ch;
}

.product-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.75rem auto 0;
  max-width: 1040px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(18, 38, 63, 0.052);
  color: inherit;
  display: block;
  overflow: hidden;
  padding: 0;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: rgba(30, 79, 168, 0.46);
  transform: translateY(-2px);
}

.product-card__image {
  aspect-ratio: 4 / 3;
  background: var(--ivory);
  height: auto;
  object-fit: cover;
  object-position: center;
  padding: 0;
  width: 100%;
}

.product-card__image--ink {
  object-position: center 58%;
}

.product-card__image--consumables {
  object-position: center;
}

.product-card__image--parts {
  object-position: center 46%;
}

.product-card__image--machinery {
  object-position: center 48%;
}

.product-card__image--lamination {
  background: var(--ivory);
  object-fit: cover;
  object-position: center;
  padding: 0;
}

#printing-inks .product-card__image {
  object-position: center 58%;
}

#plates-prepress .product-card__image {
  object-position: center 52%;
}

#printing-blankets .product-card__image,
#rubber-printing-rollers .product-card__image {
  object-position: center 50%;
}

#spare-parts-consumables .product-card__image {
  object-position: center 45%;
}

#printing-machinery .product-card__image {
  object-position: center 48%;
}

#thermal-lamination-film .product-card__image,
#hot-binding-adhesives .product-card__image,
#creasing-perforating-materials .product-card__image {
  object-position: center;
}

#thermal-lamination-film .product-card__image {
  background: linear-gradient(180deg, var(--white), var(--ivory));
  object-fit: contain;
  padding: clamp(0.5rem, 1.25vw, 0.8rem);
}

.product-card h3 {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 500;
  margin: 0.85rem 0.9rem 0.4rem;
}

.product-card h3::after {
  background: var(--gold);
  content: "";
  display: block;
  height: 2px;
  margin-top: 0.55rem;
  width: 34px;
}

html[dir="rtl"] .product-card h3::after,
html[dir="rtl"] .subproduct-card h3::after,
html[dir="rtl"] .team-grid h3::after {
  margin-left: auto;
  margin-right: 0;
}

.product-card p {
  font-size: 0.92rem;
  line-height: 1.58;
  margin: 0 0.9rem 0.9rem;
}

.brands {
  background: var(--ivory);
}

.brand-panel {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.brand-card {
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(18, 38, 63, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(18, 38, 63, 0.045);
  color: var(--navy);
  display: flex;
  flex-direction: column;
  height: 172px;
  justify-content: center;
  padding: 1.05rem 1rem 0.9rem;
  position: relative;
  text-align: center;
}

.brand-card img {
  filter: saturate(0.94) contrast(1.03);
  height: 86px;
  margin-bottom: 0.55rem;
  object-fit: contain;
  width: min(100%, 220px);
}

.brand-card--large-logo img {
  height: 102px;
  width: min(100%, 248px);
}

.brand-card--wide-logo img {
  height: 96px;
  width: min(100%, 260px);
}

.brand-card strong {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
}

html[lang="ar"] .site-header {
  gap: 1rem;
}

html[lang="ar"] .primary-nav {
  direction: rtl;
  flex-direction: row;
  gap: 0.5rem;
}

html[lang="ar"] .primary-nav > a,
html[lang="ar"] .nav-item > a {
  font-size: 0.82rem;
  font-weight: 700;
}

html[lang="ar"] .primary-nav > a:not(:last-child)::after,
html[lang="ar"] .nav-item > a::after {
  color: rgba(237, 228, 211, 0.18);
  margin-left: 0;
  margin-right: 0.5rem;
}

html[lang="ar"] .hero {
  min-height: 84svh;
}

html[lang="ar"] .hero__content {
  padding-bottom: 0;
  text-align: center;
}

html[lang="ar"] .hero__kicker {
  color: var(--cobalt);
  letter-spacing: 0;
  margin-bottom: 0.5rem;
  text-align: center;
}

html[lang="ar"] .hero__subhead {
  font-size: clamp(0.96rem, 1.08vw, 1.04rem);
  line-height: 1.85;
  margin-inline: auto;
  max-width: 700px;
  text-align: center;
}

html[lang="ar"] .hero__media {
  margin-top: -0.8rem;
  max-width: 1500px;
  width: min(100%, 1500px);
}

html[lang="ar"] .section__intro,
html[lang="ar"] .about-copy,
html[lang="ar"] .contact__intro {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

html[lang="ar"] .section__intro h2,
html[lang="ar"] .about-copy h2,
html[lang="ar"] .contact__intro h2 {
  max-width: 18ch;
}

html[lang="ar"] .products .section__intro h2 {
  font-size: clamp(2rem, 3.15vw, 3.05rem);
}

html[lang="ar"] .product-card {
  text-align: right;
}

html[lang="ar"] #printing-inks .product-card__image,
html[lang="ar"] #rubber-printing-rollers .product-card__image,
html[lang="ar"] #thermal-lamination-film .product-card__image {
  background: linear-gradient(180deg, var(--white), var(--ivory));
  object-fit: contain;
  padding: clamp(0.42rem, 1.4vw, 0.7rem);
}

html[lang="ar"] #printing-inks .product-card__image,
html[lang="ar"] #rubber-printing-rollers .product-card__image {
  padding: 0;
}

html[lang="ar"] .product-card h3 {
  font-family: var(--font-ar) !important;
}

html[lang="ar"] .product-card h3::after {
  height: 2px;
  margin-left: auto;
  margin-right: 0;
  width: 38px;
}

html[lang="ar"] .product-card p {
  font-size: 0.88rem;
  line-height: 1.72;
}

html[lang="ar"] .brand-card small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
}

html[lang="ar"] .brand-card span {
  background: rgba(184, 138, 59, 0.08);
  border: 1px solid rgba(184, 138, 59, 0.55);
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  margin-top: 0.35rem;
  padding: 0.28rem 0.52rem;
  position: static;
  text-transform: none;
}

.product-detail-hero {
  background:
    linear-gradient(120deg, rgba(237, 228, 211, 0.96), rgba(237, 228, 211, 0.82)),
    var(--ivory);
  padding: calc(72px + clamp(3rem, 6vw, 5rem)) 5vw clamp(2.5rem, 5vw, 4.5rem);
}

.product-detail-hero__inner {
  display: grid;
  gap: clamp(1.8rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.58fr);
  margin: 0 auto;
  max-width: 1180px;
}

.product-detail-hero h1 {
  font-size: clamp(2rem, 3.25vw, 3.05rem);
  max-width: 14ch;
}

.product-detail-hero p {
  color: var(--slate);
  font-size: clamp(0.98rem, 1.18vw, 1.08rem);
  line-height: 1.68;
  max-width: 720px;
}

.product-detail-hero img {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  height: auto;
  object-fit: cover;
  width: 100%;
}

.product-detail-hero .product-detail-hero__image--lamination {
  background: var(--white);
  object-fit: contain;
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.product-detail {
  background: var(--paper);
}

.subproduct-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.75rem auto 0;
  max-width: 980px;
}

.subproduct-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.subproduct-card img {
  aspect-ratio: 4 / 3;
  background: var(--ivory);
  object-fit: cover;
  width: 100%;
}

.subproduct-card h3 {
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 500;
  margin: 0.82rem 0.86rem 0.38rem;
}

.subproduct-card h3::after {
  background: var(--gold);
  content: "";
  display: block;
  height: 2px;
  margin-top: 0.5rem;
  width: 32px;
}

.subproduct-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.58;
  margin: 0 0.86rem 0.86rem;
}

.back-link {
  color: var(--cobalt);
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 1.5rem;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.3rem;
}

.brand-card small {
  color: var(--slate);
  display: block;
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.2;
}

.brand-card span {
  background: rgba(30, 79, 168, 0.1);
  border: 1px solid rgba(30, 79, 168, 0.28);
  color: var(--cobalt);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.18rem 0.4rem;
  position: absolute;
  right: 0.55rem;
  text-transform: uppercase;
  top: 0.55rem;
}

.about {
  background: var(--white);
}

.about-layout {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
}

.about-copy p {
  font-size: clamp(0.98rem, 1.18vw, 1.08rem);
  line-height: 1.68;
  max-width: 720px;
}

.stat-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-grid article {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  min-height: 128px;
  padding: 1rem;
}

.stat-grid strong {
  color: var(--cobalt);
  display: block;
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 0.6rem;
}

.stat-grid span {
  color: var(--slate);
  display: block;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team {
  background: var(--paper);
}

.team-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 2rem auto 0;
  max-width: 980px;
}

.team-grid article {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 0.7rem 0.7rem 0.85rem;
}

.team-photo-frame {
  align-items: center;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(180deg, rgba(237, 228, 211, 0.78), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(18, 38, 63, 0.1);
  border-radius: 6px;
  display: flex;
  justify-content: center;
  margin-bottom: 0.9rem;
  overflow: hidden;
}

.team-photo {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.team-grid h3 {
  font-size: 0.98rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  padding-bottom: 0.55rem;
  position: relative;
}

.team-grid h3::after {
  background: var(--cobalt);
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 34px;
}

html[dir="rtl"] .team-grid h3::after {
  left: auto;
  right: 0;
}

.team-grid p {
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 0;
}

.contact {
  background: linear-gradient(120deg, var(--navy), var(--navy-2));
  color: var(--white);
  padding-block: clamp(3rem, 5vw, 4.6rem);
}

.contact .contact__intro {
  max-width: 900px;
}

.contact h2,
.contact h3 {
  color: var(--white);
}

.contact h2 {
  font-size: clamp(1.65rem, 2.45vw, 2.3rem);
}

.contact p {
  color: rgba(237, 228, 211, 0.8);
}

.contact-actions {
  margin: 1.25rem 0 1.55rem;
}

html[dir="rtl"] .contact-actions {
  justify-content: flex-start;
}

.contact address {
  border-top: 1px solid rgba(237, 228, 211, 0.18);
  display: grid;
  font-style: normal;
  gap: 0.38rem;
  max-width: 760px;
  padding-top: 1rem;
}

html[dir="rtl"] .contact address {
  justify-items: start;
}

.contact address strong {
  color: var(--white);
  font-weight: 500;
}

.contact address span,
.contact address a {
  color: rgba(237, 228, 211, 0.8);
}

.contact address .map-link {
  align-items: flex-start;
  display: inline-flex;
  gap: 0.45rem;
  text-decoration-color: rgba(184, 138, 59, 0.65);
  text-underline-offset: 0.28rem;
}

.contact address .map-link span {
  color: var(--gold);
  flex: 0 0 auto;
  font-size: 1rem;
  line-height: 1.5;
}

html[dir="rtl"] .contact address .map-link {
  direction: rtl;
  flex-direction: row;
  text-align: right;
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  justify-content: space-between;
  padding: 1.7rem 5vw;
}

html[dir="rtl"] .site-footer {
  text-align: right;
}

.site-footer .brand-logo-img {
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
}

.site-footer p {
  margin-bottom: 0;
  max-width: 520px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.site-footer a {
  font-weight: 500;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 0.3rem;
}

:focus-visible {
  outline: 3px solid rgba(30, 79, 168, 0.58);
  outline-offset: 4px;
}

@media (max-width: 1080px) {
  body {
    font-size: 16.5px;
  }

  .product-grid,
  .brand-panel,
  .subproduct-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__content {
    padding-top: clamp(3.1rem, 7vw, 4.5rem);
  }

  .hero__content::before {
    top: clamp(2.15rem, 5vw, 3rem);
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .product-detail-hero__inner {
    grid-template-columns: 1fr;
  }

  .product-detail-hero img {
    max-width: 560px;
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    align-items: stretch;
    background: var(--navy);
    border-bottom: 1px solid rgba(184, 138, 59, 0.28);
    box-shadow: 0 22px 52px rgba(18, 38, 63, 0.13);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    max-height: 100svh;
    overflow-y: auto;
    padding: 5rem 5vw 1rem;
    position: fixed;
    right: 0;
    top: 0;
    z-index: -1;
  }

  .header-brand-tools {
    gap: 0.55rem;
  }

  .brand-logo-img {
    height: 56px;
    width: 198px;
  }

  html[lang="ar"] .brand-logo-img {
    height: 56px;
    width: 168px;
  }

  body.nav-open .primary-nav {
    display: flex;
  }

  .primary-nav a,
  .nav-item > a {
    border-top: 1px solid rgba(237, 228, 211, 0.12);
    font-size: 0.95rem;
    padding: 0.9rem 0;
  }

  .primary-nav a::after,
  .nav-item > a::after {
    display: none;
  }

  .product-menu {
    background: rgba(255, 255, 255, 0.04);
    border: 0;
    border-left: 2px solid var(--gold);
    box-shadow: none;
    display: grid;
    left: auto;
    margin: 0 0 0.5rem 0.75rem;
    min-width: 0;
    opacity: 1;
    padding: 0.25rem 0 0.25rem 0.8rem;
    pointer-events: auto;
    position: static;
    transform: none;
  }

  html[dir="rtl"] .product-menu {
    margin: 0 0.75rem 0.5rem 0;
    padding: 0.25rem 0.8rem 0.25rem 0;
  }

  .product-menu::before {
    display: none;
  }

  .product-menu a {
    border: 0;
    color: rgba(237, 228, 211, 0.76);
    font-size: 0.88rem;
    padding: 0.38rem 0;
  }

  .product-menu a::after {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 74px;
  }

  .brand-logo-img {
    height: 50px;
    width: 176px;
  }

  html[lang="ar"] .brand-logo-img {
    height: 50px;
    width: 150px;
  }

  .header-brand-tools {
    gap: 0.42rem;
  }

  .language-switcher button {
    font-size: 0.64rem;
    min-height: 26px;
    padding: 0.3rem 0.42rem;
  }

  .hero {
    padding-top: 72px;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.45rem);
    max-width: 13ch;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 10vw, 3.15rem);
    max-width: 12ch;
  }

  html[lang="ar"] .hero h1 {
    font-size: clamp(1.78rem, 8.2vw, 2.72rem);
    line-height: 1.24;
    max-width: 94vw;
  }

  .hero__content {
    padding-inline: 1.25rem;
  }

  .hero__media {
    margin-top: 0.75rem;
    width: 138%;
    transform: translateX(-19%);
  }

  html[lang="ar"] .hero__media {
    margin-top: 0.15rem;
    width: 138%;
    transform: translateX(-19%);
  }

  h2 {
    font-size: clamp(1.55rem, 7vw, 2.05rem);
  }

  .product-grid,
  .brand-panel,
  .subproduct-grid,
  .team-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-hero {
    padding-top: calc(72px + 2.8rem);
  }

  .button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
