/* Najah Al-Omran — navy #0b2149 · red #d7261e */
:root {
  --navy: #0b2149;
  --red: #d7261e;
  --red-dark: #b81d16;
  --bg: #ffffff;
  --tint: #f5f3ef;
  --ink: #0e1a2e;
  --muted: #5b6579;
  --line: #e6e2da;
  --font: "Archivo", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --r: 14px;
}
html[lang="ar"] { --font: "IBM Plex Sans Arabic", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2 { margin: 0; line-height: 1.05; letter-spacing: -.03em; font-weight: 800; }
html[lang="ar"] h1, html[lang="ar"] h2 { letter-spacing: 0; line-height: 1.3; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

html[lang="ar"] .en-only, html:not([lang="ar"]) .ar-only { display: none; }
.show-sm { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 10px; font-weight: 700; font-size: 16px; border: 2px solid transparent; transition: background .2s, color .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 9px 16px; font-size: 15px; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--line { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--line:hover { background: #fff; color: var(--navy); }
.btn--white { background: #fff; color: var(--red); }

/* Header */
.header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo img { height: 48px; width: auto; }
.nav { display: flex; gap: 28px; margin-inline-start: auto; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--navy); }
.header__end { display: flex; align-items: center; gap: 10px; }
.lang { border: 1.5px solid var(--line); background: none; border-radius: 10px; height: 40px; min-width: 52px; padding: 0 12px; font: 700 15px "IBM Plex Sans Arabic", var(--font); color: var(--navy); cursor: pointer; }
.lang:hover { border-color: var(--navy); }

/* Hero */
.hero { background: var(--navy); color: #fff; overflow: hidden; border-bottom: 8px solid var(--red); }
.hero__in { display: grid; grid-template-columns: 1.35fr .9fr; align-items: center; gap: 48px; min-height: 560px; }
.hero__text { padding-block: 72px; }
.tag { display: inline-block; font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--red); padding: 6px 12px; border-radius: 6px; margin-bottom: 24px; }
html[lang="ar"] .tag { letter-spacing: 0; }
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); }
.hero h1 span { color: var(--red); }
.hero__sub { font-size: 19px; color: rgba(255,255,255,.75); max-width: 520px; margin: 24px 0 36px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__img { align-self: end; width: 100%; height: 520px; object-fit: cover; object-position: center 55%; border-radius: var(--r) var(--r) 0 0; }

/* Sections */
.sec { padding-block: 96px; }
.sec--tint { background: var(--tint); }
.head { display: flex; justify-content: space-between; align-items: end; gap: 16px 40px; flex-wrap: wrap; margin-bottom: 32px; }
.head h2, .about h2, .profile h2 { font-size: clamp(34px, 4.6vw, 52px); color: var(--navy); }
.head p { color: var(--muted); max-width: 420px; }
.head--center { flex-direction: column; align-items: center; text-align: center; }

/* Products */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tab { border: 1.5px solid var(--line); background: #fff; color: var(--muted); padding: 9px 16px; border-radius: 999px; font: 600 15px var(--font); cursor: pointer; transition: all .2s; }
.tab:hover { border-color: var(--navy); color: var(--navy); }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.item { background: var(--tint); border-radius: var(--r); overflow: hidden; transition: transform .25s, box-shadow .25s; animation: in .35s ease both; }
.item:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(11,33,73,.45); }
.item figure { margin: 0; aspect-ratio: 1; display: grid; place-items: center; padding: 18px; }
.item img { max-height: 100%; width: auto; object-fit: contain; }
.item__txt { padding: 0 14px 14px; }
.item h3 { margin: 0; font-size: 15.5px; color: var(--navy); }
.item small { display: block; color: var(--muted); font-size: 13px; direction: ltr; unicode-bidi: isolate; }
html[lang="ar"] .item small { text-align: right; }
.note { margin-top: 28px; color: var(--muted); text-align: center; }
@keyframes in { from { opacity: 0; transform: translateY(8px); } }

/* About */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.about h2 { margin-bottom: 20px; }
.about > div > p { color: var(--muted); font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; font-weight: 600; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.reg { font-size: 14px !important; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.facts div { background: #fff; border-radius: var(--r); padding: 26px; border-bottom: 4px solid var(--red); }
.facts dt { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 44px; line-height: 1; color: var(--navy); }
.facts dd { margin: 8px 0 0; color: var(--muted); font-weight: 500; }

/* Profile band */
.profile { background: var(--red); color: #fff; }
.profile__in { display: flex; align-items: center; gap: 48px; padding-block: 56px; }
.profile img { width: 150px; border-radius: 6px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.45); transform: rotate(-4deg); }
html[lang="ar"] .profile img { transform: rotate(4deg); }
.profile h2 { color: #fff; }
.profile p { margin: 10px 0 24px; font-size: 18px; color: rgba(255,255,255,.88); }

/* Contact */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 32px 20px; border: 1.5px solid var(--line); border-radius: var(--r); transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--navy); transform: translateY(-3px); }
.card .ic { width: 48px; height: 48px; padding: 12px; border-radius: 12px; background: var(--navy); color: #fff; margin-bottom: 8px; }
.card strong { font-size: 20px; color: var(--navy); }
.card span { color: var(--muted); word-break: break-word; }
.card--wa { background: #25d366; border-color: #25d366; }
.card--wa .ic { background: rgba(255,255,255,.2); }
.card--wa strong, .card--wa span { color: #fff; }
.card--wa:hover { border-color: #1fb457; }
.loc { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 28px; color: var(--muted); }

/* Footer */
.footer { background: var(--navy); color: rgba(255,255,255,.6); font-size: 15px; }
.footer__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 28px; flex-wrap: wrap; }
.footer img { height: 56px; width: auto; }

/* Responsive */
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) {
  .nav { display: none; }
  .header__end { margin-inline-start: auto; }
  .hero__in, .about { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .hero__text { padding-block: 56px 40px; }
  .hero__img { height: 300px; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .about { gap: 40px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .logo img { height: 42px; }
  .sec { padding-block: 64px; }
  .hero__btns .btn { flex: 1 1 100%; }
  .hero__sub { font-size: 17px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .item figure { padding: 16px; }
  .item__txt { padding: 0 12px 14px; }
  .item h3 { font-size: 15px; }
  .item small { font-size: 12.5px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
  .tab { flex: none; }
  .checks { grid-template-columns: 1fr; }
  .facts dt { font-size: 34px; }
  .facts div { padding: 20px; }
  .profile__in { flex-direction: column; text-align: center; gap: 28px; }
  .profile img { width: 120px; }
  .cards { grid-template-columns: 1fr; }
  .card { flex-direction: row; text-align: start; padding: 18px; gap: 4px 14px; display: grid; grid-template-columns: auto 1fr; }
  .card .ic { grid-row: span 2; margin: 0; }
  .footer__in { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
