/* Almusaned International - site styles (draft 2026-11-12).
   Identity: the colours of the company's logo (navy #1B3366, orange #F7941D, grey #B4B4B4), on every page including Almusaned Tech
   (the President's choice, 12/11/2026). White text never sits on the orange: buttons carry navy text.
   Typeface: Readex Pro (SIL OFL 1.1, see ../fonts/OFL-Readex-Pro.txt), self-hosted. Nothing is loaded from other hosts.
   Light and dark follow the visitor's device setting (prefers-color-scheme). No JavaScript. */

@font-face { font-family: "Readex Pro"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/readex-pro-arabic-400.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-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; }
@font-face { font-family: "Readex Pro"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/readex-pro-arabic-500.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-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; }
@font-face { font-family: "Readex Pro"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/readex-pro-arabic-700.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-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; }
@font-face { font-family: "Readex Pro"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/readex-pro-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Readex Pro"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/readex-pro-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Readex Pro"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/readex-pro-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light dark;
  --steel: #1B3366;        /* logo navy: headings, header rule, hero */
  --steel-deep: #10213F;   /* hero background */
  --accent: #F7941D;       /* logo orange: bars, icons, buttons (navy text on it) */
  --accent-text: #A85300;  /* orange for text on light backgrounds (contrast AA) */
  --accent-on-dark: #FFA94D;
  --grey: #B4B4B4;         /* logo grey */
  --ink: #1C2A40;
  --muted: #5A6675;
  --line: #D6DCE2;
  --tint: #F2F4F6;
  --paper: #FFFFFF;
  --card: #FFFFFF;
  --head: #1B3366;
  --shadow: 0 1px 2px rgba(31,42,54,.06), 0 8px 24px rgba(31,42,54,.06);
  --radius: 12px;
  --wrap: 1120px;
  --font: "Readex Pro", system-ui, -apple-system, "Segoe UI", "SF Arabic", "Geeza Pro", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #F7941D;
    --accent-text: #FFB061;
    --ink: #E4E9EE;
    --muted: #A5B0BC;
    --line: #2E3C4B;
    --tint: #151E28;
    --paper: #0F161E;
    --card: #17212C;
    --head: #E8EDF2;
    --steel-deep: #0A1426;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font);
  font-size: 1.0625rem; line-height: 1.85; overflow-wrap: break-word;
}
html[lang="en"] body { line-height: 1.7; }
h1, h2, h3, h4 { color: var(--head); font-weight: 700; line-height: 1.45; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }

.skip { position: absolute; inset-inline-start: 16px; top: -100px; z-index: 20; background: var(--steel); color: #fff;
  padding: 10px 16px; border-radius: 6px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.site-header::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--steel) 0 70%, var(--accent) 70% 100%); }
html[dir="rtl"] .site-header::before { background: linear-gradient(270deg, var(--steel) 0 70%, var(--accent) 70% 100%); }
.site-header .wrap { display: flex; align-items: center; gap: 10px 28px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--head); flex: 0 0 auto; }
/* Main-site mark: the copper bar of the current identity beside the wordmark (no logo is invented). */
.brand-mark { width: 6px; height: 40px; flex: 0 0 6px; border-radius: 3px; background: linear-gradient(var(--accent) 0 55%, var(--steel) 55% 100%); }
.brand-logo { height: 42px; width: auto; display: block; }
@media (prefers-color-scheme: dark) { .brand-mark { background: linear-gradient(var(--accent) 0 55%, #5B6E82 55% 100%); } .brand-logo { background: #fff; border-radius: 6px; padding: 2px 4px; } }
.brand-mark.img { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 9px; }
.brand-mark.img { background: #fff; border: 1px solid var(--line); }
.brand-mark.img::before, .brand-mark.img::after { content: none; }
.brand-mark.img img { width: 30px; height: 30px; margin: 4px; }
.brand-text { display: grid; line-height: 1.25; }
.brand-name { font-weight: 700; font-size: 1.1rem; }
.brand-sub { font-size: 0.78rem; color: var(--muted); font-weight: 500; }
html[lang="ar"] .brand-sub { letter-spacing: .04em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; margin-inline-start: auto; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem; padding-block: 6px;
  border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--accent-text); border-bottom-color: var(--accent); }
.lang { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; padding: 4px 16px; color: var(--head);
  text-decoration: none; font-weight: 500; font-size: 0.92rem; }
.lang:hover { border-color: var(--accent); color: var(--accent-text); }
@media (max-width: 919px) {
  .site-header { position: static; }
  .site-header .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand lang" "nav nav"; padding-block: 12px 6px; }
  .brand { grid-area: brand; min-width: 0; }
  .lang { grid-area: lang; }
  .nav { grid-area: nav; margin: 4px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 8px;
    border-top: 1px solid var(--line); padding-top: 2px; }
  .nav a { text-align: center; padding-block: 9px; font-size: 0.9rem; }
}

/* Hero: navy plate with a fine blueprint grid and an orange stripe. Dark in both themes. */
.hero { position: relative; overflow: hidden; color: #fff; background-color: var(--steel-deep);
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px),
    radial-gradient(1200px 500px at 85% -10%, rgba(247,148,29,.16), transparent 60%),
    linear-gradient(160deg, #1B3366 0%, #10213F 70%);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px, auto, auto;
  padding-block: 88px 96px; }
.hero::after { content: ""; position: absolute; inset-inline-end: -120px; bottom: 56px; width: 520px; height: 14px;
  background: var(--accent); transform: rotate(-8deg); opacity: .9; border-radius: 3px; }
html[dir="ltr"] .hero::after { transform: rotate(8deg); }
.hero .wrap { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--accent-on-dark);
  font-weight: 500; font-size: 0.95rem; }
.eyebrow::before { content: ""; width: 36px; height: 4px; border-radius: 2px; background: var(--accent); }
html[lang="en"] .eyebrow { letter-spacing: .16em; text-transform: uppercase; font-size: 0.8rem; }
.hero h1 { color: #fff; margin: 0; max-width: 28ch; font-size: clamp(1.8rem, 4.6vw, 3rem); line-height: 1.4; }
html[lang="en"] .hero h1 { line-height: 1.2; max-width: 30ch; }
.hero .lead { margin-top: 20px; max-width: 58ch; font-size: 1.12rem; color: rgba(255,255,255,.86); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 8px; font-weight: 500;
  text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: #10213F; }
.btn-primary:hover { filter: brightness(1.06); color: #10213F; }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.facts-strip { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 1px; max-width: 760px;
  grid-template-columns: repeat(3, minmax(0, 1fr)); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); overflow: hidden; }
.facts-strip li { background: rgba(20,29,38,.86); padding: 14px 18px; }
.facts-strip strong { display: block; color: #fff; font-size: 1.15rem; }
.facts-strip span { color: rgba(255,255,255,.72); font-size: 0.88rem; }
@media (max-width: 639px) {
  .hero { padding-block: 56px 72px; }
  .hero::after { width: 300px; bottom: 28px; height: 10px; }
  .facts-strip { grid-template-columns: 1fr; }
}

/* Sections */
.section { padding-block: 80px; }
.section.tint { background: var(--tint); }
.section-head { max-width: 72ch; }
.kicker { color: var(--accent-text); font-weight: 500; font-size: 0.92rem; margin-bottom: 6px; }
html[lang="en"] .kicker { letter-spacing: .14em; text-transform: uppercase; font-size: 0.78rem; }
.section h2 { margin: 0; font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
.section h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--accent); margin-top: 14px; }
.section .intro { margin-top: 18px; max-width: 70ch; }
.section h3 { margin: 0 0 6px; font-size: 1.15rem; }
@media (max-width: 639px) { .section { padding-block: 56px; } }

.split { display: grid; gap: 28px 56px; margin-top: 32px; }
@media (min-width: 860px) { .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; } }
.prose p + p { margin-top: 14px; }
.facts { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 22px;
  box-shadow: var(--shadow); border-top: 4px solid var(--steel); }
.facts div { display: grid; grid-template-columns: minmax(0, 10.5rem) minmax(0, 1fr); gap: 2px 16px; padding-block: 12px;
  border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 0.9rem; }
.facts dd { margin: 0; font-weight: 500; }
@media (max-width: 479px) { .facts div { grid-template-columns: 1fr; gap: 0; } }

/* Service cards */
.grid { display: grid; gap: 20px; margin-top: 36px; }
.grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 639px) { .grid.four { gap: 12px; } .grid.four .card { padding: 18px 16px; } .grid.four h3 { font-size: 1.02rem; } }
.grid.two { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); position: relative; }
.card .icon { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 16px;
  background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-text); }
.card .icon svg { width: 26px; height: 26px; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card.service { border-top: 4px solid var(--steel); }
@media (prefers-color-scheme: dark) { .card.service { border-top-color: var(--accent); } }
.services-note { margin-top: 24px; color: var(--muted); }

/* Iron & steel: description and product chips (from the company's earlier site, 2024) */
.steel-block { margin-top: 36px; display: grid; gap: 20px 32px; background: var(--card); border: 1px solid var(--line);
  border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
@media (min-width: 860px) { .steel-block { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); padding: 32px 36px; } }
.steel-block h3 { margin: 0 0 8px; font-size: 1.3rem; }
.steel-block p { color: var(--muted); margin: 0; }
.steel-block .chips-label { font-weight: 500; color: var(--accent-text); margin-bottom: 10px; font-size: 0.92rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; background: var(--tint); font-size: 0.94rem; font-weight: 500; }
.steel-block + .grid { margin-top: 20px; }

/* Featured: Almusaned Tech */
.feature { margin-top: 24px; display: grid; gap: 24px; align-items: center; border-radius: var(--radius); overflow: hidden;
  background: var(--steel-deep); color: #fff; padding: 32px; position: relative;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px; }
@media (min-width: 860px) { .feature { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); padding: 40px 44px; } }
.feature h3 { color: #fff; font-size: 1.4rem; margin: 0 0 4px; }
.feature .tag { color: var(--accent-on-dark); font-weight: 500; font-size: 0.92rem; }
.feature p { color: rgba(255,255,255,.85); margin-top: 12px; }
.feature ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feature li { padding: 10px 14px; border: 1px solid rgba(255,255,255,.16); border-inline-start: 4px solid var(--accent); border-radius: 8px;
  background: rgba(255,255,255,.04); font-weight: 500; }
.feature .btn-primary { margin-top: 22px; }
@media (prefers-color-scheme: dark) { .feature { border: 1px solid var(--line); background-color: #12203A; } }

/* Group relationship */
.group-box { margin-top: 32px; display: grid; gap: 20px 32px; align-items: center; background: var(--card);
  border: 1.5px dashed var(--muted); border-radius: var(--radius); padding: 28px; }
@media (min-width: 760px) { .group-box { grid-template-columns: auto minmax(0, 1fr) auto; } }
.group-badge { display: inline-block; padding: 4px 14px; border-radius: 999px; border: 1px dashed var(--muted); color: var(--muted);
  font-size: 0.88rem; font-weight: 500; white-space: nowrap; }
.group-box h3 { margin: 0; }
.group-box p { margin-top: 6px; }

/* Lists */
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .checks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; } }
.checks li { position: relative; padding-inline-start: 26px; }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 10px; height: 10px;
  background: var(--accent); transform: rotate(45deg); border-radius: 1px; }
html[lang="en"] .checks li::before { top: .55em; }
.checks strong { color: var(--head); }

/* Steps (tech: how we work) */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 16px; counter-reset: step;
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; font-weight: 500; box-shadow: var(--shadow); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 10px; }

/* Tech service groups */
.group-card { border-top: 4px solid var(--accent); }
.group-card ul { list-style: none; padding: 0; margin: 10px 0 0; }
.group-card li { padding: 8px 0; border-top: 1px dashed var(--line); font-size: 0.97rem; }
.group-card li:first-child { border-top: 0; }

/* Tech hero with photo */
.hero.photo { background-image: linear-gradient(180deg, rgba(10,20,38,.78), rgba(10,20,38,.9)), url("../tech/assets/tech-hero.jpg");
  background-size: cover; background-position: center; }
html[dir="rtl"] .hero.photo { background-position: 30% center; }
.hero-logo { width: 260px; max-width: 70%; margin-bottom: 26px; }

/* Contact */
.contact { display: grid; gap: 16px; margin: 36px 0 0; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.contact div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.contact dt { color: var(--muted); font-size: 0.9rem; margin-bottom: 4px; }
.contact dd { margin: 0; font-weight: 700; font-size: 1.1rem; overflow-wrap: anywhere; }
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; }

/* Footer */
.site-footer { background: var(--steel-deep); color: rgba(255,255,255,.78); padding-block: 40px 32px; font-size: 0.92rem; }
.site-footer::before { content: ""; display: block; height: 0; }
.footer-grid { display: grid; gap: 24px 40px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); } }
.site-footer h2 { color: #fff; font-size: 1rem; margin: 0 0 8px; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer .rule { border: 0; height: 1px; background: rgba(255,255,255,.14); margin: 28px 0 16px; }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: rgba(255,255,255,.6); }
.footer-bar { height: 4px; width: 72px; border-radius: 2px; background: var(--accent); margin-bottom: 14px; }
