/* ATLAS SECUGARD — Gardiennage · Surveillance · Sûreté
   Brand: logo red, charcoal, white; a thin Moroccan green accent. */

:root {
  --red: #c8102e;
  --red-600: #a80d26;
  --red-800: #7c0a1c;
  --red-soft: #fbe9ec;
  --ink: #16181d;
  --ink-2: #1f2229;
  --ink-3: #2a2e37;
  --paper: #ffffff;
  --mist: #f5f4f2;
  --line: #e7e3df;
  --text: #1c1f25;
  --muted: #5b606b;
  --green: #0b7a45;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(22, 24, 29, .06), 0 12px 32px -12px rgba(22, 24, 29, .18);
  --shadow-lg: 0 30px 60px -24px rgba(22, 24, 29, .45);
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}
[lang="ar"] {
  --font: "Cairo", "Barlow", system-ui, sans-serif;
  --display: "Cairo", "Barlow Condensed", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text);
  background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
[dir="rtl"] .icon.flip { transform: scaleX(-1); }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.35em; border-radius: 10px; border: 2px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; letter-spacing: .01em;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--red { --bg: var(--red); box-shadow: 0 10px 24px -10px rgba(200, 16, 46, .7); }
.btn--red:hover { --bg: var(--red-600); }
.btn--ghost { --bg: rgba(255, 255, 255, .06); --bd: rgba(255, 255, 255, .28); }
.btn--ghost:hover { --bg: rgba(255, 255, 255, .14); }
.btn--white { --bg: #fff; --fg: var(--red-600); }
.btn--outline-white { --bg: transparent; --bd: rgba(255, 255, 255, .7); }
.btn--outline-white:hover { --bg: rgba(255, 255, 255, .12); }
.btn--sm { padding: .6em 1.05em; font-size: .92rem; }
.btn--lg { padding: .95em 1.6em; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Typography helpers ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .6em; margin: 0 0 .9rem;
  font-weight: 700; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green);
}
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--red); }
.kicker--light { color: #fff; }
[lang="ar"] .kicker { letter-spacing: 0; font-size: .95rem; }
.h2 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .005em;
  font-size: clamp(2rem, 4.2vw, 3.1rem); color: var(--red-800); line-height: 1.02;
}
[lang="ar"] .h2 { text-transform: none; line-height: 1.35; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.section { padding-block: clamp(64px, 9vw, 112px); position: relative; }
.section__head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__lead { color: var(--muted); font-size: 1.1rem; margin: 1rem 0 0; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: .86rem; }
.topbar__in { display: flex; align-items: center; gap: 24px; min-height: 38px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: .5em; text-decoration: none; white-space: nowrap; }
.topbar .icon { color: var(--red); width: 1.05em; height: 1.05em; }
.topbar__tel { margin-inline-start: auto; color: #fff; font-weight: 700; }
.topbar__tel:hover { color: #ff8a9b; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(0, 0, 0, .4); }
.header.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
.header__in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand img { height: 50px; width: auto; }
.nav { margin-inline-start: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__link { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-3); position: relative; }
.nav__link::after { content: ""; position: absolute; inset-inline: 12px; bottom: 3px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .25s; }
.nav__link:hover, .nav__link.is-active { color: var(--red); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__foot { display: none; }
.header__actions { display: flex; align-items: center; gap: 14px; }
.langs { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.langs a { padding: 3px 10px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .8rem; color: var(--muted); }
.langs a[lang="ar"] { font-family: "Cairo", "Geeza Pro", "Segoe UI", Tahoma, sans-serif; font-size: .95rem; line-height: 1.2; }
.langs a[aria-current] { background: var(--ink); color: #fff; }
.langs a:not([aria-current]):hover { color: var(--red); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--ink); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 15% 10%, rgba(200, 16, 46, .22), transparent 60%), linear-gradient(180deg, #1b1e24 0%, #121418 100%); }
.hero__slash { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: 46%; background: linear-gradient(160deg, var(--red) 0%, var(--red-800) 100%); clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
[dir="rtl"] .hero__slash { clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%); }
.hero__slash::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 22px); }
.hero__ridge { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: 150px; }
.hero__ridge path { fill: rgba(255, 255, 255, .03); }
.hero__ridge .ridge__line { fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 120px); }
.hero h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.9rem, 7vw, 5.6rem); line-height: .94; letter-spacing: -.005em; margin-bottom: 1.4rem; }
.hero h1 span { display: block; }
.hero__accent { color: #ff3b57; }
[lang="ar"] .hero h1 { text-transform: none; line-height: 1.2; font-size: clamp(2.6rem, 6vw, 4.6rem); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .78); max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0 2.4rem; }
.goals { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.goals li { display: inline-flex; align-items: center; gap: .6em; font-weight: 600; font-size: .95rem; color: rgba(255, 255, 255, .9); text-transform: uppercase; letter-spacing: .06em; }
[lang="ar"] .goals li { letter-spacing: 0; text-transform: none; }
.goals .icon { color: #ff3b57; width: 1.4em; height: 1.4em; }
.hero__media { margin: 0; position: relative; justify-self: end; width: min(100%, 470px); }
.hero__media::before { content: ""; position: absolute; inset-block: 6% -4%; inset-inline-start: -18px; width: 7px; border-radius: 6px; background: #fff; opacity: .9; }
.hero__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 475 / 600; object-fit: cover; object-position: top; }
.hero__card { position: absolute; inset-inline-start: -32px; bottom: 32px; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--text); padding: 14px 18px 14px 14px; border-radius: 14px; box-shadow: var(--shadow-lg); max-width: 290px; }
.hero__card-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--red); color: #fff; flex: none; }
.hero__card-icon .icon { width: 24px; height: 24px; }
.hero__card strong { display: block; font-size: 1rem; }
.hero__card small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.35; }

/* ---------- Values ticker ---------- */
.values { background: var(--red); color: #fff; overflow: hidden; }
.values__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
[dir="rtl"] .values__track { animation-name: marquee-rtl; }
.values__list { display: flex; }
.values__list li { display: inline-flex; align-items: center; gap: .7em; padding: 18px 36px; font-family: var(--display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
[lang="ar"] .values__list li { letter-spacing: 0; font-size: 1.2rem; }
.values__list li::after { content: ""; width: 7px; height: 7px; background: rgba(255, 255, 255, .55); transform: rotate(45deg); margin-inline-start: 36px; }
.values__list .icon { width: 1.2em; height: 1.2em; opacity: .9; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- About ---------- */
.about__in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.about__media { margin: 0; position: relative; }
.about__media::before { content: ""; position: absolute; inset-block: 8% -5%; inset-inline-start: -16px; width: 7px; border-radius: 6px; background: var(--red); }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 514 / 690; object-fit: cover; }
.about__badge { position: absolute; inset-inline-end: -20px; top: 28px; max-width: 220px; background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 12px; font-weight: 600; font-size: .92rem; line-height: 1.35; box-shadow: var(--shadow-lg); border-inline-start: 4px solid var(--red); }
.about__text > p { color: var(--muted); }
.about__text .h2 { margin-bottom: 1.3rem; }
.quote { margin: 1.8rem 0; padding: 20px 24px; background: var(--mist); border-inline-start: 4px solid var(--red); border-radius: 0 12px 12px 0; }
[dir="rtl"] .quote { border-radius: 12px 0 0 12px; }
.quote p { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.45rem; line-height: 1.2; color: var(--ink); }
[lang="ar"] .quote p { line-height: 1.5; font-size: 1.3rem; }
.quote cite { display: block; margin-top: .5rem; font-style: normal; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.pillars { display: grid; gap: 14px; }
.pillars li { display: flex; gap: 16px; align-items: flex-start; }
.pillar__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e0203d, var(--red-800)); color: #fff; flex: none; box-shadow: 0 8px 18px -8px rgba(200, 16, 46, .7); }
.pillars h3 { font-size: 1.1rem; margin: 2px 0 2px; }
.pillars p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Services ---------- */
.services { background: var(--mist); }
.services::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 62%, rgba(200, 16, 46, .05) 62%); pointer-events: none; }
[dir="rtl"] .services::before { background: linear-gradient(245deg, transparent 62%, rgba(200, 16, 46, .05) 62%); }
.svc { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; position: relative; }
.svc-tabs { display: grid; gap: 8px; position: sticky; top: calc(var(--header-h) + 20px); }
.svc-tab { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; text-align: start; font-weight: 700; font-size: 1rem; color: var(--ink); transition: background-color .2s, color .2s, border-color .2s, transform .2s; position: relative; }
.svc-tab:hover { border-color: rgba(200, 16, 46, .4); transform: translateX(4px); }
[dir="rtl"] .svc-tab:hover { transform: translateX(-4px); }
.svc-tab__num { font-family: var(--display); font-size: .9rem; color: var(--red); min-width: 1.6em; }
.svc-tab__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red-soft); color: var(--red); flex: none; transition: background-color .2s, color .2s; }
.svc-tab__label { line-height: 1.25; }
.svc-tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.svc-tab[aria-selected="true"] .svc-tab__num { color: #ff5b72; }
.svc-tab[aria-selected="true"] .svc-tab__icon { background: var(--red); color: #fff; }
.svc-tab[aria-selected="true"]::after { content: ""; position: absolute; inset-inline-end: -9px; top: 50%; width: 16px; height: 16px; background: var(--ink); transform: translateY(-50%) rotate(45deg); border-radius: 2px; }
.svc-panels { display: grid; gap: 28px; }
.no-js .svc { grid-template-columns: 1fr; }
.no-js .svc-tabs { display: none; }
.svc-panel { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; min-height: 460px; outline-offset: 4px; }
.js .svc-panel[data-hidden] { display: none; }
.js .svc-panel { animation: panel-in .45s ease both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }
.svc-panel__media { position: relative; background: var(--ink); min-height: 300px; }
.svc-panel__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.svc-panel__media::after { content: ""; position: absolute; inset-block: 0; inset-inline-end: 0; width: 6px; background: var(--red); }
.svc-panel__body { padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; align-items: flex-start; }
.svc-panel__icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e0203d, var(--red-800)); color: #fff; margin-bottom: 18px; box-shadow: 0 12px 22px -10px rgba(200, 16, 46, .7); }
.svc-panel__icon .icon { width: 30px; height: 30px; }
.svc-panel h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--red-800); line-height: 1.02; }
[lang="ar"] .svc-panel h3 { text-transform: none; line-height: 1.35; }
.svc-panel__lead { font-weight: 600; font-size: 1.08rem; margin: .9rem 0 1.2rem; color: var(--ink); }
.svc-points { width: 100%; margin-bottom: 1.6rem; }
.svc-points li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.svc-points li:last-child { border-bottom: 0; }
.svc-points span { font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--red); min-width: 1.6em; }
.svc-panel .btn { margin-top: auto; }

/* Illustrated panels (access log / report) */
.svc-panel__media:has(.mock) { display: grid; place-items: center; padding: 28px; background: linear-gradient(150deg, var(--ink-3), var(--ink) 70%); }
.svc-panel__media:has(.mock)::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 55%, rgba(200, 16, 46, .35) 55%); }
.mock { position: relative; width: 100%; max-width: 380px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; font-size: .88rem; }
.mock__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.mock__head strong { display: block; font-size: .98rem; }
.mock__head small { display: block; color: var(--muted); font-size: .78rem; }
.mock__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--red); color: #fff; flex: none; }
.mock__tag { margin-inline-start: auto; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--line); padding: 3px 7px; border-radius: 6px; }
.mock__rows li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 11px 16px; border-bottom: 1px solid #f0edea; }
.mock__rows time { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .8rem; color: var(--muted); }
.mock__rows span { line-height: 1.3; }
.pill { font-style: normal; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.pill--ok { background: #e3f4ea; color: var(--green); }
.pill--wait { background: #fff3dc; color: #946200; }
.pill--alert { background: var(--red-soft); color: var(--red-600); }
.mock__foot { padding: 12px 16px; background: var(--mist); }
.mock__foot img { height: 26px; width: auto; }

/* ---------- Why / approach ---------- */
.why { background: var(--ink); color: #fff; overflow: hidden; }
.why__ridge { position: absolute; inset-inline: 0; top: 0; width: 100%; height: 110px; transform: scaleY(-1); }
.why__ridge path { fill: var(--mist); }
.why__ridge .ridge__line { fill: none; stroke: var(--red); stroke-width: 2; vector-effect: non-scaling-stroke; }
.why__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: start; padding-top: 40px; }
.why .h2 { color: #fff; }
.why__lead { font-size: 1.25rem; font-weight: 600; color: rgba(255, 255, 255, .85); margin: 1.2rem 0 2rem; }
.why__list li { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.why__list li:first-child { padding-top: 0; }
.why__num { font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: .9; color: var(--red); min-width: 1.4em; }
.why__list h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.45rem; letter-spacing: .02em; margin-bottom: .35rem; }
[lang="ar"] .why__list h3 { text-transform: none; letter-spacing: 0; }
.why__list li:nth-child(even) h3 { color: #ff5b72; }
.why__list p { margin: 0; color: rgba(255, 255, 255, .7); }
.method { margin-top: clamp(56px, 7vw, 88px); padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08); }
.method__title { font-family: var(--display); text-transform: uppercase; font-size: 1.3rem; letter-spacing: .08em; margin-bottom: 28px; color: rgba(255, 255, 255, .9); }
[lang="ar"] .method__title { text-transform: none; letter-spacing: 0; }
.method__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.method__steps::before { content: ""; position: absolute; top: 22px; inset-inline: 22px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .25) 0 8px, transparent 8px 16px); }
.method__steps li { position: relative; }
.step__dot { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.3rem; margin-bottom: 16px; box-shadow: 0 0 0 6px var(--ink-2); position: relative; }
.method h4 { font-size: 1.08rem; margin-bottom: .35rem; }
.method p { margin: 0; color: rgba(255, 255, 255, .65); font-size: .95rem; }

/* ---------- Team ---------- */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role { position: relative; padding: 28px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.role::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 4px; background: var(--red); transform: scaleX(.18); transform-origin: left; transition: transform .35s; }
[dir="rtl"] .role::before { transform-origin: right; }
.role:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.role:hover::before { transform: scaleX(1); }
.role__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e0203d, var(--red-800)); color: #fff; margin-bottom: 18px; }
.role__icon .icon { width: 28px; height: 28px; }
.role h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.35rem; color: var(--ink); margin-bottom: .4rem; letter-spacing: .01em; }
[lang="ar"] .role h3 { text-transform: none; line-height: 1.4; }
.role p { margin: 0; color: var(--muted); }

/* ---------- Sectors ---------- */
.sectors { background: var(--mist); padding-bottom: clamp(80px, 10vw, 128px); }
.sectors__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sector { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 26px 22px; min-height: 150px; background: #fff; border-radius: var(--radius); border-bottom: 4px solid var(--red); font-weight: 700; font-size: 1.05rem; line-height: 1.3; color: var(--ink); transition: background-color .25s, color .25s, transform .25s; }
.sector .icon { width: 38px; height: 38px; color: var(--red); stroke-width: 1.5; transition: color .25s; }
.sector:hover { background: var(--ink); color: #fff; transform: translateY(-4px); }
.sector:hover .icon { color: #ff5b72; }

/* ---------- Zone band ---------- */
.zone { position: relative; background: linear-gradient(120deg, var(--red-800), var(--red) 60%, #e11d3f); color: #fff; overflow: hidden; }
.zone::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 26px); }
.zone::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: -8%; width: 38%; background: rgba(0, 0, 0, .14); transform: skewX(-18deg); }
.zone__in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-block: clamp(48px, 7vw, 80px); }
.zone__title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1; margin-bottom: .8rem; }
.zone__title span { color: rgba(255, 255, 255, .75); }
[lang="ar"] .zone__title { text-transform: none; line-height: 1.35; }
.zone p { margin: 0; font-size: 1.1rem; color: rgba(255, 255, 255, .88); }
.zone__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; }
.contact__card { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; }
.contact__card::after { content: ""; position: absolute; inset-inline-end: -30%; bottom: -30%; width: 80%; aspect-ratio: 1; background: radial-gradient(circle, rgba(200, 16, 46, .35), transparent 65%); }
.contact__logo { width: 210px; margin-bottom: 28px; }
.contact__list { display: grid; gap: 20px; position: relative; z-index: 1; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list .icon { width: 42px; height: 42px; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #ff5b72; }
.contact__list .icon--fill { padding: 10px; }
.contact__list small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .55); font-weight: 700; }
[lang="ar"] .contact__list small { letter-spacing: 0; }
.contact__list a, .contact__list span { font-weight: 700; font-size: 1.08rem; text-decoration: none; }
.contact__list a.ltr { font-size: 1.5rem; font-family: var(--display); letter-spacing: .02em; }
.contact__list a:hover { color: #ff8a9b; }
.contact__slogan { margin: 32px 0 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: rgba(255, 255, 255, .85); position: relative; z-index: 1; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form__title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.6rem; color: var(--ink); margin-bottom: 22px; }
[lang="ar"] .form__title { text-transform: none; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .92rem; color: var(--ink-3); padding: 0; margin-bottom: 0; }
.field legend { margin-bottom: 8px; }
.field b { color: var(--red); }
.field small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fcfbfa; transition: border-color .2s, box-shadow .2s, background-color .2s; font-size: 1rem; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(200, 16, 46, .12); }
.field.has-error input { border-color: var(--red); background: #fff7f8; }
.field__err { margin: 0; color: var(--red-600); font-size: .84rem; min-height: 0; }
.field__err:empty { display: none; }
[dir="rtl"] #f-phone { text-align: right; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .92rem; cursor: pointer; transition: all .2s; user-select: none; }
.chip span:hover { border-color: var(--red); color: var(--red); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.form__note { margin: 14px 0 0; font-size: .85rem; color: var(--muted); text-align: center; }

.faq { margin-top: clamp(48px, 6vw, 72px); max-width: 860px; }
.faq__title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.6rem; color: var(--red-800); margin-bottom: 16px; }
[lang="ar"] .faq__title { text-transform: none; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--red-soft); color: var(--red); flex: none; transition: transform .25s, background-color .25s, color .25s; }
.faq__item[open] .faq__plus { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq__item p { color: var(--muted); padding-bottom: 18px; margin: 0; max-width: 720px; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--ink); color: rgba(255, 255, 255, .7); padding-top: 110px; font-size: .95rem; }
.footer__ridge { position: absolute; inset-inline: 0; top: 0; width: 100%; height: 90px; transform: scaleY(-1); }
.footer__ridge path { fill: #fff; }
.footer__ridge .ridge__line { fill: none; stroke: var(--red); stroke-width: 2; vector-effect: non-scaling-stroke; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 36px; padding-bottom: 48px; }
.footer__brand img { width: 220px; margin-bottom: 18px; }
.footer__slogan { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: #fff; text-transform: uppercase; }
[lang="ar"] .footer__slogan { text-transform: none; }
.footer__slogan span { color: #ff5b72; }
.footer h4 { color: #fff; font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: 1rem; margin-bottom: 16px; }
[lang="ar"] .footer h4 { letter-spacing: 0; }
.footer ul { display: grid; gap: 9px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.langs--footer { border-color: rgba(255, 255, 255, .15); }
.langs--footer a { color: rgba(255, 255, 255, .6); }
.langs--footer a[aria-current] { background: var(--red); }

.mobilebar { display: none; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .nav { position: fixed; inset: calc(var(--header-h) + 38px) 0 0 0; background: #fff; padding: 20px var(--gutter) 32px; display: flex; flex-direction: column; opacity: 0; transform: translateY(-10px); transition: opacity .25s ease, transform .25s ease, visibility .25s; visibility: hidden; overflow-y: auto; margin: 0; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { padding: 16px 4px; font-size: 1.2rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__foot { display: block; margin-top: 24px; }
  .nav__foot .btn { width: 100%; }
  .menu-toggle { display: inline-flex; }
  .header__actions { margin-inline-start: auto; }
}
@media (max-width: 980px) {
  .hero__in, .about__in, .why__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__slash { width: 100%; top: auto; height: 42%; clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%); }
  [dir="rtl"] .hero__slash { clip-path: polygon(0 0, 100% 30%, 100% 100%, 0 100%); }
  .hero__media { justify-self: center; width: min(100%, 420px); }
  .about__media { max-width: 460px; margin-inline: auto; }
  .svc { grid-template-columns: 1fr; }
  .svc-tabs { position: static; display: flex; overflow-x: auto; gap: 8px; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .svc-tabs::-webkit-scrollbar { display: none; }
  .svc-tab { width: auto; flex: none; scroll-snap-align: start; padding: 10px 14px; }
  .svc-tab:hover { transform: none; }
  .svc-tab__num { display: none; }
  .svc-tab__icon { width: 32px; height: 32px; }
  .svc-tab[aria-selected="true"]::after { display: none; }

  .roles { grid-template-columns: repeat(2, 1fr); }
  .sectors__grid { grid-template-columns: repeat(2, 1fr); }
  .method__steps { grid-template-columns: repeat(2, 1fr); }
  .method__steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 64px; }
  :root { --header-h: 66px; }
  .topbar .topbar__zone { display: none; }
  .topbar__in { font-size: .8rem; }
  .topbar__in { gap: 14px; }
  .brand img { height: 40px; }
  .header__cta { display: none; }
  .hero__card { inset-inline-start: 12px; bottom: 16px; }
  .hero__media::before { inset-inline-start: -10px; width: 5px; }
  .about__badge { inset-inline-end: 12px; }
  .svc-panel { grid-template-columns: 1fr; min-height: 0; }
  .svc-panel__media { min-height: 0; aspect-ratio: 4 / 3; }
  .svc-panel__media:has(.mock) { aspect-ratio: auto; padding: 24px 16px; }
  .svc-panel__media::after { inset-block: auto 0; inset-inline: 0; width: auto; height: 5px; }
  .roles { grid-template-columns: 1fr; }
  .sector { min-height: 0; padding: 20px 18px; font-size: .98rem; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .mobilebar { display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; inset-inline: 0; bottom: 0; z-index: 60; background: var(--ink); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .5); }
  .mobilebar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; }
  .mobilebar a + a { border-inline-start: 1px solid rgba(255, 255, 255, .1); }
  .mobilebar__main { background: var(--red); }
}
@media (max-width: 420px) {
  .method__steps { grid-template-columns: 1fr; }
  .sectors__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero__ctas .btn { width: 100%; }
  .langs a { padding: 3px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .values__track { animation: none; }
}
