/* Techy Business Solutions: royal navy, gold and white */

:root {
  --navy-950: #060f2b;
  --navy-900: #0a1a45;
  --navy-800: #0f2459;
  --navy: #13297a;            /* the logo's royal navy */
  --navy-600: #2a4296;
  --navy-100: #e6eaf5;

  --gold: #c9a55c;
  --gold-deep: #a8843d;
  --gold-light: #e7d4a6;
  --gold-wash: #f6efdf;

  --ivory: #fbf8f2;
  --paper: #ffffff;
  --ink: #0e1733;
  --ink-soft: #4a5372;
  --ink-mute: #7a8199;
  --line: #e7e2d6;
  --line-navy: rgba(231, 212, 166, 0.18);

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', 'Segoe UI', system-ui, sans-serif;

  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 69, 0.06), 0 2px 8px rgba(10, 26, 69, 0.05);
  --shadow: 0 10px 30px -12px rgba(10, 26, 69, 0.22), 0 2px 6px rgba(10, 26, 69, 0.06);
  --shadow-lg: 0 30px 60px -24px rgba(10, 26, 69, 0.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --wrap: 1680px;             /* fluid: grows with the screen up to this */
  --gutter: clamp(16px, 4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-variant-numeric: lining-nums;
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-light); color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
/* Large screens: scale the type up a little so wider content keeps its proportions */
@media (min-width: 1600px) { html, body { font-size: 17px; } }
@media (min-width: 2200px) { html, body { font-size: 18px; } :root { --wrap: 1920px; } }

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--navy-900); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-variant-numeric: lining-nums;
  font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.55rem; }
p { margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.on-navy .eyebrow { color: var(--gold); }

.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 62ch; }
.on-navy .lead { color: rgba(255, 255, 255, 0.74); }
.gold-text { color: var(--gold); font-style: italic; }
.gold-rule { width: 64px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border: 0; margin: 22px 0; }

.section-head { display: grid; gap: 16px; margin-bottom: 52px; max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 0.92rem; letter-spacing: 0.02em; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep)); color: var(--navy-900); box-shadow: 0 8px 24px -10px rgba(201, 165, 92, 0.7); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(201, 165, 92, 0.85); }
.btn-ghost { border-color: rgba(231, 212, 166, 0.5); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-800); transform: translateY(-2px); }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 18px 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); padding: 10px 0; }
/* The frosted background lives on a pseudo-element: backdrop-filter on the header itself would make it the
   containing block for the fixed mobile menu, which then shrank to the header's height after scrolling. */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s var(--ease);
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.site-header.scrolled::before { opacity: 1; }

.brand { display: flex; align-items: center; gap: 12px; margin-inline-end: auto; }
.brand img { width: 46px; height: auto; }
.brand .logo-white { display: block; }
.brand .logo-navy { display: none; }
.scrolled .brand .logo-white { display: none; }
.scrolled .brand .logo-navy { display: block; }
.brand-text { display: grid; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-size: 1.32rem; font-weight: 700; color: #fff; letter-spacing: 0.01em; }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-top: 3px; }
.scrolled .brand-name { color: var(--navy); }
.scrolled .brand-sub { color: var(--gold-deep); }

.nav { display: flex; align-items: center; gap: 30px; order: 1; }
.nav a:not(.btn) {
  font-size: 0.9rem; font-weight: 600; color: rgba(255, 255, 255, 0.86); position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.scrolled .nav a:not(.btn) { color: var(--ink); }
.nav .btn { padding: 11px 22px; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: #fff; }
.nav-toggle svg { width: 26px; height: 26px; }
.scrolled .nav-toggle { color: var(--navy); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px); flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--navy-900); padding: 96px 28px 28px; transform: translateX(100%); transition: transform .4s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .nav.open { transform: none; }
  .nav a:not(.btn), .scrolled .nav a:not(.btn) { color: #fff; font-size: 1.05rem; padding: 14px 0; border-bottom: 1px solid var(--line-navy); }
  .nav .btn { margin-top: 20px; }
  .nav-close, .scrolled .nav-close { position: absolute; top: 24px; right: 20px; color: #fff; }
  .nav .btn { justify-content: center; }
  body.nav-open { overflow: hidden; }
  body.nav-open::after {
    content: ''; position: fixed; inset: 0; z-index: 40; background: rgba(6, 15, 43, 0.55);
    backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  }
}
@media (min-width: 961px) { .nav-close { display: none; } }

/* EN / AR language switch (added by main.js for GCC visitors only) */
.site-header .wrap > .nav-toggle { order: 3; }
.lang-switch { order: 2; flex: none; display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid rgba(231, 212, 166, 0.45); }
.lang-switch button {
  border: 0; background: none; cursor: pointer; min-width: 38px; padding: 7px 10px; border-radius: 999px;
  font-family: 'Manrope', system-ui, sans-serif; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; line-height: 1;
  color: rgba(255, 255, 255, 0.82); transition: background .25s var(--ease), color .25s var(--ease);
}
.lang-switch button:hover { color: var(--gold-light); }
.lang-switch button[aria-pressed="true"] { background: var(--gold); color: var(--navy-900); }
.scrolled .lang-switch { border-color: var(--line); }
.scrolled .lang-switch button { color: var(--ink-soft); }
.scrolled .lang-switch button:hover { color: var(--navy); }
.scrolled .lang-switch button[aria-pressed="true"] { color: var(--navy-900); }
/* On phones the switch shares the bar with the brand and menu button, so the brand steps down in size */
@media (max-width: 480px) {
  .has-lang .wrap { gap: 10px; }
  .has-lang .brand { gap: 8px; min-width: 0; }
  .has-lang .brand img { width: 34px; }
  .has-lang .brand-text { min-width: 0; }
  .has-lang .brand-name { font-size: 1rem; white-space: nowrap; }
  .has-lang .brand-sub { font-size: 0.5rem; letter-spacing: 0.18em; white-space: nowrap; }
  :root[lang="ar"] .has-lang .brand-sub { font-size: 0.62rem; }
  .has-lang > .wrap > .nav-toggle { width: 38px; }
  .lang-switch button { min-width: 30px; padding: 6px 7px; font-size: 0.7rem; }
}
@media (max-width: 374px) {
  .has-lang .brand-name { font-size: 0.9rem; }
  .has-lang .brand-sub { display: none; }
}
@media (max-width: 400px) {
  .brand { gap: 9px; min-width: 0; }
  .brand img { width: 38px; }
  .brand-name { font-size: 1.12rem; white-space: nowrap; }
  .brand-sub { font-size: 0.54rem; letter-spacing: 0.22em; white-space: nowrap; }
}

/* ---------- Navy surfaces ---------- */
.on-navy { background: var(--navy-900); color: #fff; position: relative; isolation: isolate; }
.on-navy::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(42, 66, 150, 0.55), transparent 60%),
    radial-gradient(700px 480px at 0% 100%, rgba(201, 165, 92, 0.12), transparent 60%);
}
.pattern::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(231, 212, 166, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 212, 166, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
}

/* ---------- Hero ---------- */
.hero { padding: 150px 0 0; overflow: hidden; }
.hero-grid { display: grid; gap: 56px; align-items: center; grid-template-columns: 1.15fr 0.85fr; }
.hero h1 { color: #fff; margin: 22px 0 24px; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero .lead { font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-tagline { margin-top: 30px; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold-light); }

.hero-emblem { position: relative; aspect-ratio: 1; max-width: clamp(300px, 32vw, 560px); justify-self: center; width: 100%; display: grid; place-items: center; }
.hero-emblem .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(231, 212, 166, 0.28); }
.hero-emblem .ring.r2 { inset: 11%; border-color: rgba(231, 212, 166, 0.18); border-style: dashed; animation: spin 80s linear infinite; }
.hero-emblem .ring.r3 { inset: 22%; background: radial-gradient(circle, rgba(42, 66, 150, 0.6), rgba(10, 26, 69, 0) 70%); border-color: rgba(231, 212, 166, 0.4); }
.hero-emblem img { width: 50%; position: relative; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35)); }
.hero-emblem .orbit-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); top: 50%; left: -5px; box-shadow: 0 0 18px var(--gold); }
.hero-emblem .orbit { position: absolute; inset: 0; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-stats {
  margin-top: 90px; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-navy);
}
.hero-stats div { padding: 30px 24px; border-inline-end: 1px solid var(--line-navy); }
.hero-stats div:last-child { border-inline-end: 0; }
.hero-stats strong { display: block; font-family: var(--serif); font-size: 2.8rem; font-weight: 600; color: var(--gold); line-height: 1; }
.hero-stats span { display: block; margin-top: 10px; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.66); }

@media (max-width: 960px) {
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-emblem { max-width: 300px; order: -1; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: 60px; }
  .hero-stats div:nth-child(2) { border-inline-end: 0; }
  .hero-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line-navy); }
}
@media (max-width: 480px) { .hero-stats strong { font-size: 2.2rem; } .hero-stats div { padding: 22px 14px; } }

/* ---------- Sections ---------- */
section { padding: 110px 0; scroll-margin-top: 70px; }
@media (max-width: 720px) { section { padding: 76px 0; } }
.bg-paper { background: var(--paper); }
.bg-wash { background: linear-gradient(180deg, var(--ivory), var(--gold-wash)); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.about-quote {
  font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.3; color: var(--navy);
  border-inline-start: 2px solid var(--gold); padding-inline-start: 28px; margin-top: 28px;
}
.about-copy { display: grid; gap: 20px; color: var(--ink-soft); font-size: 1.05rem; }
.about-list { display: grid; gap: 14px; margin: 12px 0 0; padding: 0; list-style: none; }
.about-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.about-list li::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: 9px; transform: rotate(45deg); background: var(--gold); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
  font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: all .25s var(--ease);
}
.filter:hover { border-color: var(--gold); color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter .count { margin-inline-start: 6px; color: var(--gold); font-weight: 700; }

/* Product cards */
/* Fills the row with cards of at least 290px, never more than four across, so wide screens get 4 + 3 */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(max(290px, calc((100% - 3 * 26px) / 4)), 1fr)); gap: 26px; }
@media (max-width: 400px) { .product-grid { grid-template-columns: 1fr; } }
.card {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px 28px;
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  transform: scaleX(0.18); transform-origin: left; transition: transform .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-light); }
.card:hover::before { transform: scaleX(1); }
.card[hidden] { display: none; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card-industry { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); }
.card h3 { color: var(--navy); font-size: 1.7rem; }
.card .edition { display: block; font-family: var(--sans); font-size: 0.8rem; font-weight: 600; color: var(--ink-mute); letter-spacing: 0.04em; margin-top: 4px; }
.card p { color: var(--ink-soft); font-size: 0.96rem; }
.card-features { list-style: none; margin: auto 0 0; padding: 16px 0; display: grid; gap: 9px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; line-height: 1.4; color: var(--ink); }
.card-features svg { flex: none; width: 17px; height: 17px; color: var(--gold-deep); margin-top: 1px; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.88rem; color: var(--navy); }
.card-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }
.card-link::after { content: ''; position: absolute; inset: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 0.72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--navy-100); color: var(--navy); }
.chip.gold { background: var(--gold-wash); color: var(--gold-deep); border: 1px solid var(--gold-light); }
.badge {
  flex: none; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: var(--gold-wash); color: var(--gold-deep); border: 1px solid var(--gold-light);
}
.card-mark { width: 38px; opacity: .9; }

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-navy); border: 1px solid var(--line-navy); border-radius: var(--radius); overflow: hidden; }
.industry {
  background: var(--navy-900); padding: 38px 32px; display: grid; gap: 14px; align-content: start;
  transition: background .35s var(--ease); cursor: pointer; text-align: start; border: 0; color: #fff;
}
.industry:hover { background: var(--navy-800); }
.industry .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; border: 1px solid rgba(231, 212, 166, 0.35); color: var(--gold); }
.industry .ico svg { width: 24px; height: 24px; }
.industry h3 { font-size: 1.45rem; color: #fff; }
.industry p { color: rgba(255, 255, 255, 0.62); font-size: 0.92rem; }
.industry .n { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
/* When the tile count doesn't fill the last row, the last tile widens to fill it */
@media (min-width: 901px) {
  .industry:last-child:nth-child(3n+1) { grid-column: span 3; }
  .industry:last-child:nth-child(3n+2) { grid-column: span 2; }
}
@media (max-width: 900px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 561px) and (max-width: 900px) { .industry:last-child:nth-child(2n+1) { grid-column: span 2; } }
@media (max-width: 560px) { .industry-grid { grid-template-columns: 1fr; } }

/* Pillars */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pillar { padding: 34px 30px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); position: relative; }
.pillar .num { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--gold-light); font-weight: 600; }
.pillar h3 { color: var(--navy); margin: 14px 0 10px; font-size: 1.45rem; }
.pillar p { color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 900px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pillar-grid { grid-template-columns: 1fr; } }

/* Markets */
.markets { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.market-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.market {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 20px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line);
}
.market strong { font-family: var(--serif); font-size: 1.25rem; color: var(--navy); }
.market span { font-size: 0.76rem; color: var(--gold-deep); font-weight: 700; letter-spacing: 0.06em; text-align: end; white-space: nowrap; }
.regimes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (max-width: 900px) { .markets { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) { .market-list { grid-template-columns: 1fr; } }

/* Tech band */
.tech-band { padding: 64px 0; }
.tech-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; margin-top: 28px; }
.tech-row span { font-family: var(--serif); font-size: 1.5rem; color: rgba(255, 255, 255, 0.8); display: inline-flex; align-items: center; gap: 40px; }
.tech-row span:not(:last-child)::after { content: '◆'; font-size: 0.6rem; color: var(--gold); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.contact-info { display: grid; gap: 22px; }
.contact-info .row { display: flex; gap: 16px; align-items: flex-start; }
.contact-info .row .ico { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(231, 212, 166, 0.4); color: var(--gold); }
.contact-info .row .ico svg { width: 20px; height: 20px; }
.contact-info small { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.contact-info a, .contact-info p { color: #fff; font-size: 1.02rem; }
.contact-info p + a.tel { display: inline-block; margin-top: 4px; color: var(--gold-light); }
.contact-info .branch + .branch { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(231, 212, 166, 0.25); }
.contact-info .branch-name { display: block; margin-bottom: 2px; color: var(--gold-light); font-size: 0.9rem; font-weight: 600; }
.contact-info .branch + a.tel { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(231, 212, 166, 0.25); color: var(--gold-light); }

.form { background: var(--paper); color: var(--ink); border-radius: calc(var(--radius) + 4px); padding: 40px; box-shadow: var(--shadow-lg); display: grid; gap: 18px; }
.form h3 { color: var(--navy); font-size: 1.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); letter-spacing: 0.02em; }
.field label .req { color: var(--gold-deep); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1px solid var(--line); background: var(--ivory);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(201, 165, 92, 0.18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b3261e; }
.field .err { font-size: 0.78rem; color: #b3261e; display: none; }
.field.invalid .err { display: block; }
.form-note { font-size: 0.86rem; padding: 12px 16px; border-radius: 10px; display: none; }
.form-note.show { display: block; }
.form-note.ok { background: #eaf4ec; color: #1f5f2f; }
.form-note.warn { background: var(--gold-wash); color: #6b5222; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 560px) { .form { padding: 26px 20px; } .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.66); padding: 56px 0 18px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1.05fr 0.7fr 1.05fr; gap: 36px; }
.footer-brand img { width: 210px; margin-bottom: 20px; }
.footer-brand p { max-width: 38ch; }
.site-footer h4 { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { margin-top: 32px; padding-top: 12px; align-items: center; border-top: 1px solid rgba(231, 212, 166, 0.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.82rem; }
.footer-bottom em { font-family: var(--serif); color: var(--gold-light); font-size: 1rem; }
.footer-offices ul { gap: 16px; }
.footer-offices li { display: grid; gap: 1px; }
.footer-offices strong { color: #fff; font-weight: 600; font-size: 0.88rem; }
.footer-offices span { font-size: 0.84rem; }
.footer-offices a { color: var(--gold-light); font-size: 0.86rem; justify-self: start; }
.footer-offices a + span { margin-top: 6px; }
.footer-offices span + span { margin-top: 5px; }
@media (max-width: 1100px) and (min-width: 901px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-row: span 2; } }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Product page ---------- */
.p-hero { padding: 150px 0 80px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 28px; }
.crumbs a:hover { color: var(--gold-light); }
.crumbs span[aria-hidden] { color: var(--gold); }
.p-hero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 56px; align-items: end; }
.p-hero h1 { color: #fff; margin: 18px 0 8px; }
.p-edition { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--gold-light); }
.p-hero .lead { margin-top: 20px; }
.p-hero .chips { margin-top: 26px; }
.p-hero .chip { background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.14); }
.p-hero .badge { background: rgba(201, 165, 92, 0.16); color: var(--gold-light); border-color: rgba(231, 212, 166, 0.4); }
.p-stats { display: grid; gap: 1px; background: var(--line-navy); border: 1px solid var(--line-navy); border-radius: var(--radius); overflow: hidden; }
.p-stats div { background: rgba(10, 26, 69, 0.75); padding: 22px 26px; }
.p-stats strong { font-family: var(--serif); font-size: 2.3rem; color: var(--gold); line-height: 1; display: block; }
.p-stats span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.66); letter-spacing: 0.04em; }
@media (max-width: 900px) { .p-hero-grid { grid-template-columns: 1fr; } .p-hero { padding-top: 120px; } }

.p-overview { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
.p-overview .summary { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.4; color: var(--navy); margin-top: 22px; }
.highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.highlights li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.highlights li:first-child { border-top: 1px solid var(--line); }
.highlights .n { font-family: var(--serif); font-size: 1.3rem; color: var(--gold-deep); font-weight: 600; }
@media (max-width: 900px) { .p-overview { grid-template-columns: 1fr; gap: 36px; } }

/* "Built on four ideas" / "And the desks it runs" (products with ideas and desks) */
.p-ideas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.p-ideas-grid > div { display: flex; flex-direction: column; }
.idea-list, .desk-grid { display: grid; gap: 14px; margin-top: 22px; flex: 1; grid-auto-rows: 1fr; }
.desk-grid { grid-template-columns: 1fr 1fr; }
.idea {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-navy); border-inline-start: 3px solid var(--gold-deep);
  border-radius: 12px; transition: border-color .3s, background .3s;
}
.idea:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(231, 212, 166, 0.4); border-inline-start-color: var(--gold); }
.idea .ico { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid rgba(231, 212, 166, 0.35); color: var(--gold); background: rgba(201, 165, 92, 0.08); }
.idea .ico svg { width: 20px; height: 20px; }
.idea h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.35; }
.idea p { margin-top: 6px; font-size: 0.88rem; line-height: 1.55; color: rgba(255, 255, 255, 0.72); }
.desk p { color: rgba(231, 212, 166, 0.85); }
@media (max-width: 1080px) { .p-ideas-grid { grid-template-columns: 1fr; gap: 56px; } }
@media (max-width: 560px) { .desk-grid { grid-template-columns: 1fr; } .idea { padding: 18px; gap: 14px; } }

.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.module { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 24px; transition: border-color .3s, transform .3s var(--ease); }
.module:hover { border-color: var(--gold-light); transform: translateY(-3px); }
.module h3 { font-size: 1.3rem; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.module h3::before { content: ''; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); flex: none; }
.module p { margin-top: 8px; font-size: 0.9rem; color: var(--ink-soft); }

.panel { border-radius: var(--radius); padding: 38px; }
.panel.navy { background: var(--navy-900); color: #fff; }
.panel.light { background: var(--paper); border: 1px solid var(--line); }
.panel h3 { font-size: 1.7rem; margin-bottom: 20px; }
.panel.navy h3 { color: #fff; }
.panel.light h3 { color: var(--navy); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { flex: none; width: 20px; height: 20px; color: var(--gold); margin-top: 3px; }
.panel.navy .check-list li { color: rgba(255, 255, 255, 0.82); }
.editions { margin-top: 26px; }
.editions h4 { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
@media (min-width: 901px) { .panel.navy .check-list { grid-template-columns: 1fr 1fr; gap: 16px 40px; } }
@media (max-width: 900px) { .panel { padding: 28px 22px; } }

.p-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.p-nav a { padding: 26px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); transition: border-color .3s, box-shadow .3s; }
.p-nav a:hover { border-color: var(--gold-light); box-shadow: var(--shadow); }
.p-nav small { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.p-nav strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--navy); margin-top: 6px; }
.p-nav .next { text-align: end; }
@media (max-width: 600px) { .p-nav { grid-template-columns: 1fr; } .p-nav .next { text-align: start; } }

.cta { text-align: center; padding: 100px 0; }
.cta h2 { color: #fff; max-width: 20ch; margin: 18px auto 18px; }
.cta .lead { margin: 0 auto; }
.cta .hero-actions { justify-content: center; }

.not-found { padding: 200px 0 120px; text-align: center; }

/* ---------- Arabic, right to left ---------- */
:root[lang="ar"] {
  --serif: 'Amiri', 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'IBM Plex Sans Arabic', 'Manrope', 'Segoe UI', system-ui, sans-serif;
}
:root[lang="ar"] body { line-height: 1.85; }
/* Letter-spacing and italics break up joined Arabic script */
:root[lang="ar"] body * { letter-spacing: 0 !important; }
:root[lang="ar"] em, :root[lang="ar"] .gold-text, :root[lang="ar"] .hero-tagline,
:root[lang="ar"] .p-edition, :root[lang="ar"] .footer-bottom em { font-style: normal; }
:root[lang="ar"] h1, :root[lang="ar"] h2, :root[lang="ar"] h3, :root[lang="ar"] h4 { line-height: 1.45; font-weight: 700; }
:root[lang="ar"] h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
:root[lang="ar"] .brand-name { font-family: 'Cormorant Garamond', 'Times New Roman', serif; }
:root[lang="ar"] .brand-sub { font-size: 0.72rem; }

/* Arrows point the way the page reads */
[dir="rtl"] .btn svg, [dir="rtl"] .card-link svg { transform: scaleX(-1); }
[dir="rtl"] .btn:hover svg { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .card:hover .card-link svg { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .nav a:not(.btn)::after, [dir="rtl"] .card::before { transform-origin: right; }
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="tel"] { direction: ltr; text-align: right; }
@media (max-width: 960px) {
  [dir="rtl"] .nav { inset: 0 auto 0 0; transform: translateX(-100%); }
  [dir="rtl"] .nav.open { transform: none; }
  [dir="rtl"] .nav-close { right: auto; left: 20px; }
}

/* ---------- Wide screens: raised column ----------
   Once the screen is wider than the content column, every section's background still runs the full
   width, so the margins match the section beside them. A soft shadow falls outward from both edges of
   the content column, so the page area looks slightly raised. */
@media (min-width: 1700px) {
  body::before, body::after {
    content: ''; position: fixed; top: 0; bottom: 0; width: 56px; z-index: 49; pointer-events: none;
  }
  body::before {
    right: calc(50% + var(--wrap) / 2);
    background: linear-gradient(to left, rgba(10, 26, 69, 0.06), rgba(10, 26, 69, 0.02) 35%, transparent);
  }
  body::after {
    left: calc(50% + var(--wrap) / 2);
    background: linear-gradient(to right, rgba(10, 26, 69, 0.06), rgba(10, 26, 69, 0.02) 35%, transparent);
  }
  /* A 10% shadow can't be seen on navy, so the navy sections and the footer draw their own, darker
     shadow in their background, at the same column edges */
  .on-navy, .site-footer {
    --edge-l: calc(50% - var(--wrap) / 2);
    --edge-r: calc(50% + var(--wrap) / 2);
    background-image: linear-gradient(to right,
      transparent calc(var(--edge-l) - 56px), rgba(0, 0, 0, 0.07) calc(var(--edge-l) - 36px), rgba(0, 0, 0, 0.24) var(--edge-l),
      transparent var(--edge-l), transparent var(--edge-r),
      rgba(0, 0, 0, 0.24) var(--edge-r), rgba(0, 0, 0, 0.07) calc(var(--edge-r) + 36px), transparent calc(var(--edge-r) + 56px));
  }
}

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
