:root {
  /* brand identity (from the company's design file) */
  --navy: #131c2d;           /* primary background in the identity */
  --navy-deep: #0f1826;      /* the darker triangle shade */
  --navy-2: #1a2539;         /* raised surfaces on navy */
  --navy-line: rgba(173, 153, 129, .18);
  --brand: #ad9981;          /* logo bronze */
  --brand-light: #d4c6b1;
  --brand-deep: #7a6750;     /* bronze for text on light backgrounds (AA) */
  --brand-soft: #f1ece4;
  --gold: linear-gradient(135deg, #d9cbb5 0%, #ad9981 48%, #8a7760 100%);
  --ink: #131c2d;
  --ink-2: #3a4252;
  --muted: #6b7180;
  --paper: #f8f8f8;          /* the identity's off-white */
  --surface: #ffffff;
  --line: #e6e2dc;
  --on-navy: #e9e4dc;
  --on-navy-muted: #a9a59f;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(19, 28, 45, .05), 0 12px 32px rgba(19, 28, 45, .08);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --font-body: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --font-head: "Noto Kufi Arabic", "IBM Plex Sans Arabic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.75; font-size: 1rem; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
/* icons from site/img/icons.svg: sized by the surrounding font-size, coloured by the text colour */
.bi { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; vertical-align: -.125em; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.35; margin: 0 0 .6rem; color: var(--ink); }
p { margin: 0 0 1rem; }
bdi { unicode-bidi: isolate; }
::selection { background: var(--brand); color: var(--navy); }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }

/* Buttons */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 1.5px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform 160ms var(--ease-out), box-shadow .25s ease; white-space: nowrap; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.btn:active { transform: scale(.97); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 6px 20px rgba(173, 153, 129, .28); }
/* a soft light sweep across the gold, on real hover only */
.btn-gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); pointer-events: none; }
.btn-ghost-light { border-color: rgba(212, 198, 177, .45); color: var(--on-navy); }
.btn-outline { border-color: var(--line); padding: .5rem 1rem; font-size: .88rem; }
.btn-light { background: #fff; color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--navy-2); box-shadow: 0 8px 22px rgba(19, 28, 45, .25); }
  .btn-gold:hover { box-shadow: 0 10px 28px rgba(173, 153, 129, .4); }
  .btn-gold:hover::after { transform: translateX(120%); transition: transform 700ms var(--ease-out); }
  .btn-ghost-light:hover { border-color: var(--brand); color: #fff; background: rgba(173, 153, 129, .1); }
  .btn-outline:hover { border-color: var(--brand); color: var(--brand-light); }
  .btn-light:hover { background: var(--brand-soft); }
}

/* Header: transparent over the navy hero, solid navy once scrolled */
.site-header { position: sticky; top: 0; z-index: 50; background: transparent; border-bottom: 1px solid transparent; color: var(--on-navy);
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease; margin-bottom: -73px; }
.site-header.is-solid { background: var(--navy-deep); margin-bottom: 0; }
.site-header.scrolled { background: rgba(19, 28, 45, .9); backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px); border-bottom-color: var(--navy-line); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand img { width: 46px; height: auto; }
.brand-text { display: flex; flex-direction: column; justify-content: center; line-height: 1.3; }
.brand-text strong { font-family: var(--font-head); font-size: 1.02rem; color: #fff; }
.brand-text small { color: var(--brand); font-size: .78rem; letter-spacing: .02em; }
.site-nav { margin-inline-start: auto; display: flex; align-items: center; gap: 1.6rem; font-weight: 500; font-size: .95rem; }
.site-nav > a:not(.btn) { color: var(--on-navy); position: relative; padding-block: .25rem; transition: color .2s ease; }
.site-nav > a:not(.btn)::after { content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 1.5px; background: var(--gold); transform: scaleX(0); transition: transform 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .site-nav > a:not(.btn):hover { color: #fff; }
  .site-nav > a:not(.btn):hover::after { transform: scaleX(1); }
}
.site-nav .btn-outline { border-color: var(--navy-line); color: var(--on-navy); }
.lang-switch { color: var(--brand) !important; }
.nav-toggle[aria-expanded="false"] .bi:last-child, .nav-toggle[aria-expanded="true"] .bi:first-child { display: none; }
.nav-toggle { display: none; margin-inline-start: auto; background: none; border: 1px solid var(--navy-line); border-radius: 10px; width: 44px; height: 44px; font-size: 1.4rem; color: var(--on-navy); cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 150px 0 130px; background: var(--navy); color: var(--on-navy); isolation: isolate; }
.hero-pattern {
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    linear-gradient(60deg, transparent 49.6%, rgba(15, 24, 38, .9) 49.6%, rgba(15, 24, 38, .9) 62%, transparent 62%) right -10% bottom -40% / 70% 120% no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='78' viewBox='0 0 90 78'%3E%3Cpath d='M45 6 L84 72 L6 72 Z' fill='none' stroke='%23ad9981' stroke-opacity='.09' stroke-width='1'/%3E%3C/svg%3E");
  mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
}
.hero-glow { position: absolute; z-index: -1; width: 640px; height: 640px; inset-inline-end: calc(50% - 600px); top: 50%; transform: translateY(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(173, 153, 129, .13), rgba(173, 153, 129, .04) 55%, transparent 75%); }
/* the dotted vertical rules from the identity's print pieces */
.hero-dots { position: absolute; z-index: -1; width: 2px; height: 160px; background: radial-gradient(circle, var(--brand) 1px, transparent 1.3px) 0 0 / 2px 7px repeat-y; opacity: .55; }
.hero-dots-a { top: 110px; inset-inline-start: 24px; }
.hero-dots-b { bottom: 70px; inset-inline-end: 24px; height: 110px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; color: var(--brand); font-weight: 600; font-size: .9rem; letter-spacing: .02em; margin-bottom: 1.4rem; }
.eyebrow::before { content: ""; width: 34px; height: 1.5px; background: var(--gold); }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 700; letter-spacing: -.01em; margin-bottom: 1.2rem; color: #fff; }
.hero .lead { font-size: 1.12rem; color: var(--on-navy-muted); max-width: 38em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-strip { display: flex; flex-wrap: wrap; gap: .4rem 0; margin: 2.6rem 0 0; color: var(--brand-light); font-size: .92rem; font-weight: 500; }
.hero-strip span { display: inline-flex; align-items: center; }
.hero-strip span:not(:last-child)::after { content: ""; width: 4px; height: 4px; transform: rotate(45deg); background: var(--brand); margin-inline: .9rem; opacity: .8; }
.hero-visual { display: flex; justify-content: center; }
.hero-mark { position: relative; width: min(100%, 420px); aspect-ratio: 400 / 360; display: grid; place-items: center; }
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero-lines path { fill: none; stroke: var(--brand); stroke-width: 1; opacity: .45; }
.hero-lines path:first-child { stroke-dasharray: .012 .02; }
.hero-mark img { position: relative; width: 62%; margin-top: 14%; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .35)); }

/* Pillars */
.pillars { margin-top: -56px; position: relative; z-index: 2; }
.pillars-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pillar { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: .35rem 1.1rem; padding: 28px 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: border-color .25s ease, transform 300ms var(--ease-out), box-shadow .3s ease; overflow: hidden; }
.pillar::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px; background: var(--gold); transform: scaleX(.18); transform-origin: var(--start, right); transition: transform 450ms var(--ease-out); }
[dir="ltr"] .pillar::before { --start: left; }
.pillar-icon { grid-row: span 2; width: 58px; height: 58px; border-radius: 14px; background: var(--navy); color: var(--brand); display: grid; place-items: center; font-size: 1.6rem; transition: transform 300ms var(--ease-out); }
.pillar-body { display: flex; flex-direction: column; }
.pillar-body strong { font-family: var(--font-head); font-size: 1.25rem; }
.pillar-body span { color: var(--muted); font-size: .95rem; }
.pillar-count { color: var(--brand-deep); font-weight: 600; font-size: .85rem; }
@media (hover: hover) and (pointer: fine) {
  .pillar:hover { border-color: rgba(173, 153, 129, .55); transform: translateY(-3px); box-shadow: 0 2px 4px rgba(19, 28, 45, .05), 0 20px 40px rgba(19, 28, 45, .12); }
  .pillar:hover::before { transform: scaleX(1); }
  .pillar:hover .pillar-icon { transform: translateY(-2px); }
}

/* Sections */
.section { padding: 104px 0; }
.section-kicker { color: var(--brand-deep); font-weight: 600; font-size: .9rem; letter-spacing: .02em; margin-bottom: .5rem; display: flex; align-items: center; gap: .7rem; }
.section-kicker::before { content: ""; width: 34px; height: 1.5px; background: var(--gold); transform-origin: var(--start, right); }
[dir="ltr"] .section-kicker::before { --start: left; }
.section h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p:last-child { color: var(--muted); }

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.about-text { font-size: 1.08rem; color: var(--ink-2); }
.values ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.values li { display: flex; align-items: center; gap: 1rem; padding: 17px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-weight: 500; transition: border-color .25s ease; }
.value-num { font-family: var(--font-head); font-weight: 700; font-size: 1rem; min-width: 2.2ch; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (hover: hover) and (pointer: fine) { .values li:hover { border-color: rgba(173, 153, 129, .55); } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  transition: border-color .25s ease, box-shadow .3s ease, transform 300ms var(--ease-out); }
.card-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--brand); font-size: 1.5rem; margin-bottom: 1.2rem; transition: transform 300ms var(--ease-out); }
.card h3 { font-size: 1.12rem; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { border-color: rgba(173, 153, 129, .6); box-shadow: var(--shadow); transform: translateY(-3px); }
  .card:hover .card-icon { transform: translateY(-2px) rotate(-4deg); }
}

.services-contracting { background: var(--surface); border-block: 1px solid var(--line); }
.services-trading { position: relative; background: var(--navy); color: var(--on-navy); overflow: hidden; isolation: isolate; }
.services-trading::before { content: ""; position: absolute; z-index: -1; inset-inline-start: -120px; bottom: -160px; width: 520px; height: 450px; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 346'%3E%3Cpath d='M200 4 L396 342 L4 342 Z M200 90 L346 342 L54 342 Z' fill='none' stroke='%23ad9981' stroke-opacity='.25' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat; }
.services-trading h2, .services-trading h3 { color: #fff; }
.services-trading .section-kicker { color: var(--brand); }
.services-trading .section-head p:last-child { color: var(--on-navy-muted); }
.services-trading .card { background: var(--navy-2); border-color: var(--navy-line); }
.services-trading .card p { color: var(--on-navy-muted); }
.services-trading .card-icon { background: rgba(173, 153, 129, .12); color: var(--brand); }
@media (hover: hover) and (pointer: fine) { .services-trading .card:hover { border-color: rgba(173, 153, 129, .55); box-shadow: 0 18px 40px rgba(0, 0, 0, .3); } }

/* CTA: a bronze band, like the identity's accent pieces */
.cta { position: relative; background: var(--gold); padding: 64px 0; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='78' viewBox='0 0 90 78'%3E%3Cpath d='M45 6 L84 72 L6 72 Z' fill='none' stroke='%23131c2d' stroke-opacity='.08' stroke-width='1'/%3E%3C/svg%3E"); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--navy); margin-bottom: .3rem; }
.cta p { margin: 0; color: #2b3242; font-weight: 500; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.contact-grid.n5 { grid-template-columns: repeat(6, 1fr); }
.contact-grid.n5 > * { grid-column: span 2; }
.contact-grid.n5 > :nth-child(n+4) { grid-column: span 3; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s ease, transform 300ms var(--ease-out), box-shadow .3s ease; }
.contact-item > i { font-size: 1.3rem; color: var(--brand); width: 46px; height: 46px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; flex-shrink: 0; }
.contact-item span { display: flex; flex-direction: column; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.contact-item small { color: var(--muted); font-weight: 400; font-size: .82rem; }
.contact-item em { font-style: normal; color: var(--brand-deep); font-size: .85rem; margin-top: .2rem; }
@media (hover: hover) and (pointer: fine) { a.contact-item:hover { border-color: rgba(173, 153, 129, .6); transform: translateY(-2px); box-shadow: var(--shadow); } }

/* Quotation request form (becomes an opportunity in the CRM) */
.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; margin-bottom: 24px; position: relative; overflow: hidden; }
.quote-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--gold); }
.quote-head h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.quote-head p { color: var(--muted); margin-bottom: 1.2rem; }
.quote-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
.quote-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: .92rem; }
.quote-form label.wide, .quote-form .wide { grid-column: 1 / -1; }
.quote-form input, .quote-form select, .quote-form textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: .7rem .85rem;
  transition: border-color .2s ease, box-shadow .2s ease; width: 100%; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(173, 153, 129, .2); }
.quote-form button { justify-content: center; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-msg { display: flex; gap: .5rem; align-items: center; padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; font-weight: 500; }
.form-msg.is-ok { background: #e9f6ee; color: #1a6b3c; }
.form-msg.is-err { background: #fdecea; color: #a12a1f; }
@media (max-width: 640px) { .quote-form { grid-template-columns: 1fr; } .quote-card { padding: 20px; } }

/* Footer */
.site-footer { position: relative; background: var(--navy-deep); color: var(--on-navy-muted); padding-top: 72px; font-size: .95rem; }
.site-footer::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--brand), transparent); opacity: .6; }
.footer-grid { display: grid; grid-template-columns: auto 1.2fr 1fr; gap: 48px; align-items: start; padding-bottom: 44px; }
.footer-brand img { width: 120px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: .8rem; }
.site-footer p { margin-bottom: .4rem; }
.footer-meta { font-size: .88rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-links a { transition: color .2s ease; }
@media (hover: hover) and (pointer: fine) { .footer-links a:hover { color: var(--brand); } }
.footer-bottom { border-top: 1px solid var(--navy-line); padding-block: 20px; font-size: .85rem; color: #7d8291; }

.wa-float { position: fixed; inset-inline-end: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); z-index: 60; transition: transform 200ms var(--ease-out); }
.wa-float:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { transform: scale(1.06); } }

/* ---- Motion ----
   Marketing page, seen occasionally: an entrance on load and a one-time reveal as sections scroll in.
   Only opacity and transform animate; content is visible without JavaScript (the .js class gates it). */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes settle { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.js .hero-in { opacity: 0; animation: rise 800ms var(--ease-out) forwards; animation-delay: calc(120ms + var(--i, 0) * 90ms); }
.js .hero-mark img { opacity: 0; animation: settle 1000ms var(--ease-out) 350ms forwards; }
.js .hero-lines path:last-child { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1600ms var(--ease-in-out) 200ms forwards; }
.js .hero-lines path:first-child { opacity: 0; animation: fade 900ms ease 900ms forwards; }
.js .hero-dots, .js .hero-glow { opacity: 0; animation: fade 1400ms ease 300ms forwards; }
.js .hero-dots { animation-name: fade-dots; }
@keyframes fade-dots { to { opacity: .55; } }

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .section-head[data-reveal] .section-kicker::before { transform: scaleX(0); transition: transform 600ms var(--ease-out) 200ms; }
.js .section-head[data-reveal].is-visible .section-kicker::before { transform: scaleX(1); }
/* once revealed, hover lift must respond at hover speed, not with the reveal's delay */
.js .card[data-reveal].is-visible, .js .pillar[data-reveal].is-visible, .js .contact-item[data-reveal].is-visible { transition: border-color .25s ease, box-shadow .3s ease, transform 300ms var(--ease-out), opacity 700ms var(--ease-out); transition-delay: 0s; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 110px; }
  .hero-visual { order: -1; }
  .hero-mark { width: min(62%, 260px); }
  .about-grid { gap: 32px; }
  .cards, .cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid.n5 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid.n5 > *, .contact-grid.n5 > :nth-child(n+4) { grid-column: auto; }
  .contact-grid.n5 > :last-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-nav { position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); border-bottom: 1px solid var(--navy-line); padding: 8px 20px 20px; display: none; box-shadow: 0 16px 30px rgba(0, 0, 0, .3); }
  .site-nav.open { display: flex; animation: menu-in 220ms var(--ease-out); }
  .site-header:has(.site-nav.open) { background: var(--navy); }
  .site-nav > a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--navy-line); }
  .site-nav > a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 1rem; justify-content: center; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .pillars-grid, .cards, .cards.cols-4, .contact-grid.n5 { grid-template-columns: 1fr; }
  .pillar { padding: 22px; }
  .section { padding: 76px 0; }
  .brand-text small { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-actions, .cta-actions .btn { width: 100%; justify-content: center; }
  .hero { padding: 104px 0 96px; }
  .hero-visual { display: none; }
  .hero-dots-a { display: none; }
  .hero-strip { font-size: .85rem; }
  .wa-float { width: 48px; height: 48px; font-size: 1.45rem; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); inset-inline-end: 14px; }
  body:has(.wa-float) .site-footer { padding-bottom: 72px; }
  body:has(.wa-float) .section:last-of-type { padding-bottom: 96px; }
}
/* reduced motion: keep the fades that help reading, drop the movement */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-in, .js .hero-mark img { animation: fade 400ms ease forwards; animation-delay: 0s; }
  .js .hero-lines path:last-child { animation: none; stroke-dashoffset: 0; }
  .js [data-reveal] { transform: none; transition: opacity 400ms ease; transition-delay: 0s; }
  .btn-gold::after { display: none; }
  .btn, .card, .pillar, .contact-item, .card-icon, .pillar-icon, .wa-float { transition-property: background-color, color, border-color, box-shadow; }
  .site-nav.open { animation: none; }
}

/* Policy pages */
.legal .container { max-width: 820px; }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }
.legal li { margin-bottom: .5rem; }
.legal-updated { color: var(--muted); margin-top: 2rem; }

/* Online store */
[hidden] { display: none !important; }
.btn-sm { padding: .55rem 1.05rem; font-size: .88rem; }
.btn:disabled { opacity: .6; pointer-events: none; }
.cart-link { position: relative; order: 3; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--on-navy); font-size: 1.25rem; transition: background-color .2s ease, transform 160ms var(--ease-out); }
.cart-link:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .cart-link:hover { background: rgba(255, 255, 255, .08); } }
.cart-badge { position: absolute; top: 2px; inset-inline-end: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brand); color: var(--navy); font-size: .7rem; font-weight: 700; line-height: 18px; text-align: center; }
.cart-badge.bump { animation: bump 300ms var(--ease-out); }
@keyframes bump { 50% { transform: scale(1.25); } }
.shop { background: var(--paper); min-height: 60vh; }
.shop-hero { background: var(--navy-deep); color: var(--on-navy); padding: 40px 0 36px; }
.shop-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 1.2rem; }
.shop-search { display: flex; align-items: center; gap: .6rem; max-width: 520px; background: rgba(255, 255, 255, .07); border: 1px solid var(--navy-line); border-radius: 999px; padding: 0 1.1rem; color: var(--brand); transition: border-color .2s ease; }
.shop-search:focus-within { border-color: var(--brand); }
.shop-search input { flex: 1; min-width: 0; background: none; border: 0; color: #fff; font: inherit; font-size: 16px; padding: .8rem 0; outline: none; }
.shop-search input::placeholder { color: var(--on-navy-muted); }
.shop-body { padding-block: 32px 72px; }
.shop-cats { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: 6px; margin-bottom: 24px; scrollbar-width: none; }
.shop-cats a { flex-shrink: 0; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .9rem; font-weight: 500; transition: border-color .2s ease, background-color .2s ease; }
.shop-cats a.active { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (hover: hover) and (pointer: fine) { .shop-cats a:not(.active):hover { border-color: var(--brand); } }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.shop-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s ease, transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .shop-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); } }
.shop-card-img { display: block; aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--line); }
.shop-card-img img, .shop-product-img img, .cart-img img { width: 100%; height: 100%; object-fit: contain; }
.shop-noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--line); font-size: 3rem; background: var(--brand-soft); }
.shop-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.shop-card-cat { color: var(--brand-deep); font-size: .78rem; font-weight: 500; }
.shop-card h2 { font-size: 1rem; line-height: 1.5; margin: 0; }
.shop-price { margin: 0; color: var(--ink); }
.shop-price strong { font-size: 1.1rem; }
.shop-price span, .shop-price small { color: var(--muted); font-size: .82rem; }
.shop-add { margin-top: auto; padding-top: .6rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.shop-add .btn { width: 100%; justify-content: center; }
.shop-in-cart { color: #1a6b3c; font-size: .82rem; font-weight: 500; display: inline-flex; align-items: center; gap: .3rem; }
.shop-empty { text-align: center; padding: 56px 20px; color: var(--muted); }
.shop-empty .btn { margin-top: .6rem; }
.shop-vat-note { color: var(--muted); font-size: .85rem; margin-top: 18px; display: flex; gap: .4rem; align-items: center; }
.shop-title { font-size: 1.6rem; display: flex; align-items: center; gap: .6rem; margin-bottom: 22px; }
.shop-crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.shop-crumbs a { color: var(--brand-deep); font-weight: 500; }
.shop-crumbs .bi, .cart-actions .bi { vertical-align: -.15em; }
.shop-product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.shop-product-img { aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.shop-product-info h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.shop-product-info h2 { font-size: 1.1rem; margin-top: 2rem; }
.shop-sku { color: var(--muted); font-size: .85rem; }
.shop-price-lg strong { font-size: 1.7rem; }
.shop-buy { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4rem 0 .6rem; }
.shop-desc { color: var(--ink-2); }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); overflow: hidden; }
.qty-stepper button { width: 42px; height: 46px; border: 0; background: none; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background-color .15s ease; }
.qty-stepper button:active { background: var(--brand-soft); }
.qty-stepper input { width: 64px; border: 0; text-align: center; font: inherit; font-size: 16px; font-weight: 600; color: var(--ink); background: none; -moz-appearance: textfield; appearance: textfield; }
.qty-stepper input::-webkit-inner-spin-button, .qty-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm button { width: 34px; height: 38px; }
.qty-sm input { width: 52px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.cart-lines { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 20px; }
.cart-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto auto; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line-plain { grid-template-columns: minmax(0, 1fr) auto; }
.cart-img { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; }
.cart-info { display: flex; flex-direction: column; min-width: 0; }
.cart-info small { color: var(--muted); }
.cart-amount { white-space: nowrap; }
.cart-remove { border: 0; background: none; color: var(--muted); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: color .2s ease, background-color .2s ease; }
@media (hover: hover) and (pointer: fine) { .cart-remove:hover { color: #b42318; background: #fdecea; } }
.cart-actions { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-weight: 500; color: var(--brand-deep); }
.checkout { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.checkout h2 { font-size: 1.25rem; margin: 0; }
.checkout fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.checkout legend { font-weight: 600; color: var(--brand-deep); font-size: .9rem; margin-bottom: 4px; }
.checkout label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: .92rem; }
.checkout input:not([type=radio]), .checkout select, .checkout textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: .65rem .85rem; width: 100%; transition: border-color .2s ease, box-shadow .2s ease; }
.checkout input:focus, .checkout select:focus, .checkout textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(173, 153, 129, .2); }
.ship-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.checkout .ship-opt { flex-direction: row; align-items: center; gap: .5rem; border: 1px solid var(--line); border-radius: 12px; padding: .75rem .9rem; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.ship-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.ship-opt input { accent-color: var(--brand-deep); }
.ship-delivery { display: flex; flex-direction: column; gap: 12px; }
.ship-pickup, .shop-eta { color: var(--ink-2); font-size: .9rem; margin: 0; display: flex; gap: .45rem; align-items: baseline; }
.cart-totals { margin: 4px 0 0; border-top: 1px solid var(--line); padding-top: 10px; }
.cart-totals > div { display: flex; justify-content: space-between; padding: 4px 0; }
.cart-totals dt { color: var(--muted); }
.cart-totals dd { margin: 0; font-weight: 600; }
.cart-total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 10px !important; font-size: 1.12rem; }
.cart-total dt { color: var(--ink); font-weight: 600; }
.cart-total small { color: var(--muted); font-weight: 400; font-size: .75rem; }
.checkout .btn { justify-content: center; border: 0; cursor: pointer; font: inherit; font-weight: 600; width: 100%; }
.cart-lines .cart-totals { padding-bottom: 12px; }
.shop-done .done-head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.done-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #e9f6ee; color: #1a6b3c; font-size: 2rem; margin-bottom: 12px; }
.done-side { margin: 0; }
.done-side h2 { font-size: 1.1rem; margin-top: 1rem; }
.done-side p { display: flex; gap: .5rem; align-items: baseline; }
.done-payment { white-space: normal; background: var(--paper); border-radius: 10px; padding: 12px 14px; display: block !important; }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1rem; }
.shop-toast { position: fixed; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translate(-50%, 16px); background: var(--navy); color: #fff; padding: .7rem 1.2rem; border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); opacity: 0; pointer-events: none; z-index: 80; font-weight: 500; transition: opacity 200ms ease, transform 200ms var(--ease-out); }
.shop-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 860px) {
  .cart-link { margin-inline-start: auto; order: 0; }
  .cart-link ~ .nav-toggle { margin-inline-start: 0; }
  .shop-product, .cart-layout { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .shop-hero { padding: 28px 0 24px; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .shop-card-body { padding: 10px 12px 12px; }
  .shop-card h2 { font-size: .92rem; }
  .shop-add .btn { padding: .5rem .6rem; font-size: .82rem; }
  .cart-lines { padding: 4px 14px; }
  .cart-line { grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "img info remove" "img qty amount"; gap: 8px 12px; }
  .cart-line-plain { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: none; }
  .cart-img { grid-area: img; width: 52px; height: 52px; }
  .cart-line:not(.cart-line-plain) .cart-info { grid-area: info; }
  .cart-line .qty-stepper { grid-area: qty; justify-self: start; }
  .cart-line:not(.cart-line-plain) .cart-amount { grid-area: amount; }
  .cart-remove { grid-area: remove; }
}
@media (prefers-reduced-motion: reduce) { .shop-card, .shop-toast, .cart-badge.bump { transition: none; animation: none; } }
.shop-feature .shop-card h3 { font-size: 1rem; line-height: 1.5; margin: 0; }
.shop-feature .shop-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.shop-feature-more { text-align: center; margin: 32px 0 0; }
@media (max-width: 640px) { .shop-feature .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .shop-feature .shop-card h3 { font-size: .92rem; } }

/* The company name in its calligraphy (Arabic pages) */
.wordmark { display: block; height: auto; max-width: 100%; }
.brand .brand-text .wordmark { width: 150px; }
h2 .wordmark { margin-block: .2rem .4rem; }
@media (max-width: 640px) { .brand .brand-text .wordmark { width: 124px; } h2 .wordmark { width: 220px; } }
