/* AWTAAD Solutions · website UI kit · component-scoped styles
   Loaded after colors_and_type.css. */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }

/* ---------- Nav ---------- */
.aw-nav {
  position: sticky; top: 0; z-index: 50;
  height: 72px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.aw-nav__inner {
  max-width: var(--container-2xl);
  height: 100%;
  margin-inline: auto;
  padding-inline: 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.aw-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.aw-brand img { height: 34px; width: auto; display: block; }
.aw-brand__mark { font-weight: 700; font-size: 15px; letter-spacing: .04em; color: var(--ink-800); }
.aw-nav__links { display: flex; gap: 28px; margin-left: 12px; }
.aw-nav__links a {
  font-size: 14px; font-weight: 500; color: var(--fg); text-decoration: none;
  transition: color var(--dur-fast) var(--ease-standard);
  cursor: pointer;
  padding: 6px 0;
}
.aw-nav__links a:hover { color: var(--awtaad-600); }
.aw-nav__links a.is-active { color: var(--awtaad-700); font-weight: 600; }
.aw-nav__spacer { flex: 1; }
.aw-lang {
  font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted);
  padding: 6px 10px; border-radius: 4px; cursor: pointer;
  border: 1px solid transparent;
}
.aw-lang:hover { background: var(--bg-muted); }

/* ---------- Buttons ---------- */
.aw-btn {
  font-family: var(--font-sans); font-weight: 600; font-size: 14px;
  padding: 10px 18px; border-radius: 6px; border: 1px solid transparent;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast), box-shadow var(--dur-fast);
  line-height: 1; text-decoration: none;
}
.aw-btn--lg { padding: 14px 22px; font-size: 15px; }
.aw-btn--primary { background: var(--awtaad-500); color: #fff; }
.aw-btn--primary:hover { background: var(--awtaad-600); }
.aw-btn--secondary { background: transparent; color: var(--fg-strong); border-color: var(--border-strong); }
.aw-btn--secondary:hover { background: var(--bg-muted); }
.aw-btn--on-dark { background: #fff; color: var(--ink-900); }
.aw-btn--on-dark:hover { background: var(--slate-100); }
.aw-btn--ghost-on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,0.22); }
.aw-btn--ghost-on-dark:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); }

/* ---------- Hero ---------- */
.aw-hero {
  position: relative;
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(32,64,176,.35), transparent 60%),
    radial-gradient(800px 400px at 0% 110%, rgba(40,199,232,.06), transparent 70%),
    linear-gradient(180deg, #0B1745 0%, #060A18 100%);
  color: #fff;
  overflow: hidden;
}
.aw-hero__inner {
  max-width: var(--container-2xl);
  margin-inline: auto;
  padding: 120px 32px 96px;
  position: relative;
  z-index: 1;
}
.aw-hero__watermark {
  position: absolute;
  right: -40px; top: -40px;
  width: 560px; height: 560px;
  opacity: .07;
  pointer-events: none;
}
.aw-hero__watermark img { width: 100%; height: 100%; object-fit: contain; }

.aw-hero__grid {
  position: absolute; inset: 0;
  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: 56px 56px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  pointer-events: none;
}

.aw-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--awtaad-300);
}
.aw-eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--awtaad-300);
}

.aw-hero h1 {
  font-size: 72px; line-height: 1.04; letter-spacing: -0.025em;
  font-weight: 600; margin: 20px 0 22px; max-width: 1100px;
  color: #fff;
}
.aw-hero h1 em { font-style: normal; color: var(--awtaad-300); }
.aw-hero__sub {
  font-size: 19px; line-height: 1.55; color: rgba(255,255,255,.78);
  max-width: 640px; margin: 0 0 36px;
}
.aw-hero__ctas { display: flex; gap: 12px; align-items: center; }

.aw-hero__metabar {
  margin-top: 88px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 24px;
}
.aw-hero__metabar > div { display: flex; flex-direction: column; gap: 6px; padding-right: 24px; border-right: 1px solid rgba(255,255,255,.06); }
.aw-hero__metabar > div:last-child { border-right: 0; }
.aw-hero__metabar .v { font-size: 38px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.aw-hero__metabar .l { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--awtaad-300); }
.aw-hero__metabar .s { font-size: 12px; color: rgba(255,255,255,.55); font-family: var(--font-mono); }

/* ---------- Section ---------- */
.aw-section            { padding-block: 112px; }            /* = --section-y */
.aw-section--compact   { padding-block: 80px; }             /* vendor strip, CTA, case rows */
.aw-section--dark      { background: var(--ink-950); color: var(--dark-fg); }
.aw-section--subtle    { background: var(--bg-subtle); }
.aw-section__inner {
  max-width: var(--container-2xl);
  margin-inline: auto;
  padding-inline: 32px;
}
.aw-section__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; margin-bottom: 56px;
}
.aw-section__head h2 { font-size: 44px; letter-spacing: -.015em; max-width: 640px; }
.aw-section__head p  { color: var(--fg-muted); max-width: 360px; font-size: 15px; }
.aw-section--dark .aw-section__head h2 { color: #fff; }
.aw-section--dark .aw-section__head p  { color: var(--dark-fg-muted); }

/* ---------- Service grid ---------- */
.aw-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.aw-svc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px 26px;
  transition: border-color var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard),
              transform var(--dur-base) var(--ease-standard);
  cursor: pointer;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 280px;
}
.aw-svc:hover {
  border-color: var(--awtaad-200);
  box-shadow: var(--elev-2);
}
.aw-svc__num {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: var(--awtaad-600); letter-spacing: .1em;
}
.aw-svc__ico {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--awtaad-50); color: var(--awtaad-600);
  display: flex; align-items: center; justify-content: center;
}
.aw-svc h3 { font-size: 22px; font-weight: 600; color: var(--fg-strong); margin: 0; letter-spacing: -.005em; }
.aw-svc p { font-size: 14px; color: var(--fg-muted); line-height: 1.55; margin: 0; flex: 1; }
.aw-svc__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.aw-svc__tags span {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  color: var(--fg-subtle); border: 1px solid var(--border-strong);
  padding: 2px 7px; border-radius: 3px; letter-spacing: .02em;
}

/* ---------- Why us bullets ---------- */
.aw-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--dark-border); border: 1px solid var(--dark-border); border-radius: 12px; overflow: hidden; }
.aw-why__cell { background: var(--dark-surface); padding: 28px 24px; }
.aw-why__cell .ico { width: 36px; height: 36px; color: var(--awtaad-300); margin-bottom: 14px; }
.aw-why__cell h4 { font-size: 17px; font-weight: 600; color: #fff; margin: 0 0 6px; }
.aw-why__cell p { font-size: 13px; line-height: 1.55; color: var(--dark-fg-muted); margin: 0; }

/* ---------- Industries strip ---------- */
.aw-industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.aw-industry {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 22px 22px 20px;
  display: flex; align-items: center; gap: 16px;
  transition: border-color var(--dur-base);
  cursor: pointer;
}
.aw-industry:hover { border-color: var(--awtaad-200); }
.aw-industry__ico { width: 34px; height: 34px; color: var(--awtaad-600); flex-shrink: 0; }
.aw-industry h4 { margin: 0 0 2px; font-size: 15px; font-weight: 600; color: var(--fg-strong); }
.aw-industry p { margin: 0; font-size: 12px; color: var(--fg-muted); line-height: 1.45; }

/* ---------- Vendor strip ---------- */
.aw-vendors {
  display: grid; grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.aw-vendors > div {
  padding: 28px 12px; text-align: center; font-family: var(--font-sans);
  font-weight: 700; font-size: 15px; color: var(--slate-500);
  letter-spacing: .04em; border-right: 1px solid var(--divider);
  font-variant: small-caps;
}
.aw-vendors > div:last-child { border-right: 0; }

/* ---------- Featured case ---------- */
.aw-case {
  background: linear-gradient(135deg, #0B1745 0%, #060A18 100%);
  color: #fff; border-radius: 16px; padding: 56px 56px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px;
  position: relative; overflow: hidden;
}
.aw-case::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(32,64,176,.45), transparent 60%);
}
.aw-case__lhs { position: relative; }
.aw-case__lhs .label { font-family: var(--font-mono); font-size: 11px; color: var(--awtaad-300); letter-spacing: .12em; }
.aw-case__lhs blockquote {
  font-size: 28px; line-height: 1.35; font-weight: 500;
  letter-spacing: -.012em; margin: 18px 0 24px; color: #fff;
}
.aw-case__lhs .who { font-size: 14px; color: rgba(255,255,255,.7); }
.aw-case__lhs .who b { color: #fff; font-weight: 600; }
.aw-case__rhs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-content: start;
  position: relative;
}
.aw-case__rhs .stat { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); }
.aw-case__rhs .stat .v { font-size: 36px; font-weight: 600; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; }
.aw-case__rhs .stat .l { font-size: 12px; color: var(--awtaad-300); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-top: 6px; }
.aw-case__rhs .stat .s { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 4px; }

/* ---------- Contact CTA ---------- */
.aw-cta {
  background: var(--awtaad-500);
  color: #fff;
  border-radius: 16px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.aw-cta::after {
  content: ""; position: absolute; right: -100px; top: -100px;
  width: 380px; height: 380px;
  background: url("../../assets/icon-white.png") center/contain no-repeat;
  opacity: 0.1;
}
.aw-cta h2 { font-size: 44px; letter-spacing: -.018em; margin: 0 0 16px; color: #fff; }
.aw-cta p { color: rgba(255,255,255,.85); font-size: 16px; line-height: 1.6; max-width: 520px; }
.aw-cta__contact { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; position: relative; z-index: 1; }
.aw-cta__contact .row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.92); }
.aw-cta__contact .row svg { width: 16px; height: 16px; color: var(--awtaad-100); }
.aw-cta__contact .row a { color: #fff; text-decoration: none; }
.aw-cta__contact .row a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.aw-footer {
  background: var(--ink-950); color: var(--dark-fg-muted); padding: 72px 0 32px;
}
.aw-footer__inner { max-width: var(--container-2xl); margin-inline: auto; padding-inline: 32px; }
.aw-footer__cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--dark-border); }
.aw-footer__brand img { height: 40px; margin-bottom: 16px; }
.aw-footer__brand p { font-size: 13px; line-height: 1.6; color: var(--dark-fg-muted); max-width: 280px; margin: 0; }
.aw-footer h5 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--awtaad-300); font-weight: 600; margin: 0 0 18px; }
.aw-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.aw-footer a { color: var(--dark-fg-muted); text-decoration: none; font-size: 13px; cursor: pointer; }
.aw-footer a:hover { color: var(--dark-fg); }
.aw-footer__base { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; }
.aw-footer__base .legal { font-size: 12px; color: var(--dark-fg-subtle); }
.aw-footer__base .iso { display: flex; gap: 16px; align-items: center; font-family: var(--font-mono); font-size: 11px; color: var(--dark-fg-subtle); letter-spacing: .08em; }
.aw-footer__base .iso span::before { content: "▪ "; color: var(--awtaad-500); }

/* ---------- Responsive (just enough) ---------- */
@media (max-width: 1100px) {
  .aw-services, .aw-why { grid-template-columns: repeat(2, 1fr); }
  .aw-industries { grid-template-columns: repeat(2, 1fr); }
  .aw-hero h1 { font-size: 56px; }
  .aw-case, .aw-cta { grid-template-columns: 1fr; padding: 36px; }
  .aw-footer__cols { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================
   RTL / Arabic overrides
   ===================================================================== */
[dir="rtl"] body, [dir="rtl"] { font-family: var(--font-arabic); }
[dir="rtl"] .aw-nav__links { margin-left: 0; margin-right: 12px; }
[dir="rtl"] .aw-hero__watermark { right: auto; left: -40px; }
[dir="rtl"] .aw-hero__metabar > div { padding-right: 0; padding-left: 24px; border-right: 0; border-left: 1px solid rgba(255,255,255,.06); }
[dir="rtl"] .aw-hero__metabar > div:last-child { border-left: 0; }
[dir="rtl"] .aw-eyebrow { flex-direction: row-reverse; }
[dir="rtl"] .aw-eyebrow::before { /* inherits from LTR — flex-reverse moves dash to trailing (right) side */ }
[dir="rtl"] .aw-case::before { right: auto; left: -120px; }
[dir="rtl"] .aw-cta::after { right: auto; left: -100px; }
[dir="rtl"] .aw-vendors > div { border-right: 0; border-left: 1px solid var(--divider); }
[dir="rtl"] .aw-vendors > div:first-child { border-left: 1px solid var(--divider); }
[dir="rtl"] .aw-vendors > div:last-child { border-left: 0; }
[dir="rtl"] .aw-svc__num,
[dir="rtl"] .aw-footer__base .iso,
[dir="rtl"] .aw-hero__metabar .s,
[dir="rtl"] .aw-lang { direction: ltr; unicode-bidi: isolate; }

/* Arabic display sizing — Plex Arabic has a smaller x-height than Inter,
   so display text reads slightly small at the same px. Bump it. */
[dir="rtl"] .aw-hero h1 { font-size: 76px; line-height: 1.16; letter-spacing: 0; }
[dir="rtl"] .aw-hero__sub { font-size: 21px; line-height: 1.75; }
[dir="rtl"] .aw-section__head h2 { font-size: 48px; line-height: 1.25; letter-spacing: 0; }
[dir="rtl"] .aw-svc h3,
[dir="rtl"] .aw-cmp__col h4,
[dir="rtl"] .aw-cta h2 { letter-spacing: 0; line-height: 1.25; }
[dir="rtl"] .aw-eyebrow { letter-spacing: .06em; }
