/* ==========================================================================
   RAM Orbit Operational Solutions — website styles
   Palette: Olive #3C473B · Cream #F1EBD3 · Beige #EFE9D1 · Ink #191919 · White #FFFFFF
   Typeface: Thmanyah (Sans / Serif Display). Logical properties → RTL & LTR from one stylesheet.
   ========================================================================== */

@font-face { font-family: "Thmanyah Sans"; src: url("../fonts/thmanyahsans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("../fonts/thmanyahsans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("../fonts/thmanyahsans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Thmanyah Serif Display"; src: url("../fonts/thmanyahserifdisplay-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Thmanyah Serif Display"; src: url("../fonts/thmanyahserifdisplay-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Thmanyah Serif Display"; src: url("../fonts/thmanyahserifdisplay-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --olive: #3C473B;
  --olive-800: #2B332A;
  --olive-700: #333D32;
  --olive-600: #4B5849;
  --olive-400: #6F7B6C;
  --olive-300: #A3AB9B;
  --olive-200: #CBD0C2;
  --olive-100: #E2E5DA;
  --olive-50: #F0F1EA;
  --cream: #F1EBD3;
  --beige: #EFE9D1;
  --paper: #FAF8F1;
  --white: #FFFFFF;
  --ink: #191919;
  --ink-2: #3E423C;
  --muted: #62675F;
  --line: rgba(60, 71, 59, .14);
  --line-strong: rgba(60, 71, 59, .26);
  --sand: #B7A685;
  --danger: #9B2C22;
  --success: #3C6B3F;

  --font-sans: "Thmanyah Sans", "Segoe UI", Tahoma, Arial, sans-serif;
  --font-display: "Thmanyah Serif Display", "Thmanyah Sans", Georgia, serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(25, 25, 25, .04), 0 2px 8px rgba(60, 71, 59, .05);
  --shadow: 0 2px 6px rgba(25, 25, 25, .04), 0 18px 40px -18px rgba(60, 71, 59, .22);
  --shadow-lg: 0 30px 70px -30px rgba(43, 51, 42, .38);
  --container: 1240px;
  --gutter: clamp(20px, 4.2vw, 44px);
  --section: clamp(72px, 10vw, 136px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-sans); font-size: 17px; line-height: 1.75; color: var(--ink); background: var(--paper); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
html[dir="ltr"] body { line-height: 1.65; }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.3; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--olive); color: var(--cream); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200; background: var(--olive); color: var(--white); padding: 10px 18px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--white { background: var(--white); }
.section--cream { background: var(--cream); }
.section--beige { background: var(--beige); }
.section--paper { background: var(--paper); }
.section--olive { background: var(--olive); color: var(--cream); }
.grid { display: grid; gap: clamp(18px, 2.2vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split--wide-start { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.stack > * + * { margin-top: 1rem; }

/* ---------- Typography ---------- */
.display { font-family: var(--font-display); font-weight: 500; letter-spacing: -.005em; }
.h1 { font-family: var(--font-display); font-size: clamp(2.35rem, 5.4vw, 4.6rem); line-height: 1.18; font-weight: 500; }
.h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.24; font-weight: 500; }
.h3 { font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.35; font-weight: 500; }
.h4 { font-size: 1.12rem; font-weight: 700; line-height: 1.45; }
html[dir="ltr"] .h1 { line-height: 1.06; letter-spacing: -.02em; }
html[dir="ltr"] .h2 { line-height: 1.14; letter-spacing: -.015em; }
.lead { font-size: clamp(1.06rem, 1.35vw, 1.24rem); color: var(--ink-2); line-height: 1.8; }
html[dir="ltr"] .lead { line-height: 1.65; }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .86rem; font-weight: 500; letter-spacing: .02em; color: var(--olive); margin-bottom: 18px; }
html[dir="ltr"] .eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .55; }
.section--olive .eyebrow { color: var(--cream); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lead { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head--row > div { max-width: 720px; }

/* ---------- Buttons ---------- */
.btn { --b-bg: var(--olive); --b-fg: var(--white); --b-bd: var(--olive); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--b-bg); color: var(--b-fg); border: 1px solid var(--b-bd); font-weight: 500; font-size: 1rem; line-height: 1; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); white-space: nowrap; }
.btn:hover { --b-bg: var(--olive-800); --b-bd: var(--olive-800); box-shadow: 0 14px 30px -14px rgba(43, 51, 42, .6); }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
html[dir="rtl"] .btn .icon.flip { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .icon.flip { transform: scaleX(-1) translateX(4px); }
.btn .icon.prev-icon, .btn:hover .icon.prev-icon { transform: scaleX(-1); }
html[dir="rtl"] .btn .icon.prev-icon, html[dir="rtl"] .btn:hover .icon.prev-icon { transform: none; }
.btn--outline { --b-bg: transparent; --b-fg: var(--olive); --b-bd: var(--line-strong); }
.btn--outline:hover { --b-bg: var(--olive); --b-fg: var(--white); --b-bd: var(--olive); }
.btn--light { --b-bg: var(--cream); --b-fg: var(--olive-800); --b-bd: var(--cream); }
.btn--light:hover { --b-bg: var(--white); --b-fg: var(--olive-800); --b-bd: var(--white); }
.btn--ghost-light { --b-bg: transparent; --b-fg: var(--cream); --b-bd: rgba(241, 235, 211, .4); }
.btn--ghost-light:hover { --b-bg: rgba(241, 235, 211, .12); --b-fg: var(--white); --b-bd: var(--cream); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .93rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--olive); font-weight: 500; }
.link-arrow .icon { width: 17px; height: 17px; transition: transform .3s var(--ease); }
html[dir="rtl"] .link-arrow .icon { transform: scaleX(-1); }
.link-arrow:hover .icon { transform: translateX(4px); }
html[dir="rtl"] .link-arrow:hover .icon { transform: scaleX(-1) translateX(4px); }
.icon { width: 22px; height: 22px; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250, 248, 241, .86); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(250, 248, 241, .94); box-shadow: 0 10px 30px -24px rgba(43, 51, 42, .35); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 46px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-size: 1.28rem; font-weight: 500; color: var(--olive-800); }
.brand-sub { font-size: .74rem; color: var(--muted); letter-spacing: .01em; }
html[dir="ltr"] .brand-sub { letter-spacing: .08em; text-transform: uppercase; font-size: .62rem; }
.main-nav { margin-inline-start: auto; }
.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; height: 44px; padding: 0 12px; white-space: nowrap; border-radius: 999px; font-size: .97rem; color: var(--ink-2); background: none; border: 0; cursor: pointer; transition: color .2s, background .2s; }
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link.is-active { color: var(--olive); background: rgba(60, 71, 59, .06); }
.nav-link .icon { width: 15px; height: 15px; transition: transform .25s; }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.has-mega { position: relative; }
.mega { position: absolute; top: calc(100% + 14px); inset-inline-start: 50%; transform: translateX(50%) translateY(8px); width: min(760px, 92vw); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 26px; opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
html[dir="ltr"] .mega { transform: translateX(-50%) translateY(8px); }
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translateX(50%) translateY(0); }
html[dir="ltr"] .has-mega.is-open .mega { transform: translateX(-50%) translateY(0); }
.mega::before { content: ""; position: absolute; inset-inline: 0; top: -16px; height: 16px; }
.mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.mega-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; transition: background .2s; }
.mega-item:hover { background: var(--paper); }
.mega-item .icon-badge { width: 40px; height: 40px; border-radius: 12px; }
.mega-item .icon-badge .icon { width: 19px; height: 19px; }
.mega-item strong { display: block; font-weight: 500; font-size: .98rem; color: var(--ink); }
.mega-item span { display: block; font-size: .84rem; color: var(--muted); line-height: 1.55; margin-top: 2px; }
.mega-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .92rem; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .92rem; color: var(--olive); transition: border-color .2s, background .2s; }
.lang-switch:hover { border-color: var(--olive); background: var(--white); }
.lang-switch .icon { width: 17px; height: 17px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); align-items: center; justify-content: center; cursor: pointer; color: var(--olive); }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(25, 25, 25, .32); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(420px, 100%); background: var(--paper); transform: translateX(-100%); transition: transform .35s var(--ease); display: flex; flex-direction: column; overflow-y: auto; }
html[dir="ltr"] .drawer-panel { transform: translateX(100%); }
.drawer.is-open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-nav { padding: 12px 22px 28px; flex: 1; }
.drawer-nav details { border-bottom: 1px solid var(--line); }
.drawer-nav summary, .drawer-nav > a { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-size: 1.08rem; cursor: pointer; list-style: none; border-bottom: 1px solid var(--line); }
.drawer-nav details > summary { border-bottom: 0; }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav summary .icon { width: 18px; height: 18px; transition: transform .25s; }
.drawer-nav details[open] summary .icon { transform: rotate(180deg); }
.drawer-sub { display: grid; gap: 2px; padding-bottom: 14px; }
.drawer-sub a { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-size: .97rem; }
.drawer-sub a:hover { background: var(--white); }
.drawer-foot { padding: 20px 22px 28px; display: grid; gap: 10px; border-top: 1px solid var(--line); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 110px); overflow: hidden; background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-copy { position: relative; z-index: 2; padding-block: 20px; }
.hero-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.5rem, 5.2vw, 4.5rem); line-height: 1.16; color: var(--olive-800); margin-bottom: 26px; }
html[dir="ltr"] .hero-title { line-height: 1.04; letter-spacing: -.025em; font-size: clamp(2.3rem, 4.3vw, 3.8rem); }
html[dir="ltr"] .nav-link { font-size: .92rem; padding: 0 10px; }
.hero-title span { display: block; }
.hero-title .accent { color: var(--olive-400); }
.hero .lead { max-width: 560px; margin-bottom: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); list-style: none; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: .93rem; color: var(--ink-2); }
.hero-points .icon { width: 18px; height: 18px; color: var(--olive); }
.hero-media { position: relative; }
.hero-frame { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 4.3; box-shadow: var(--shadow-lg); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; transform: scale(1.02); }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(60, 71, 59, 0) 55%, rgba(43, 51, 42, .32) 100%); }
.hero-card { position: absolute; z-index: 3; inset-inline-start: -36px; bottom: 34px; width: min(300px, 72%); background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .7); border-radius: 20px; padding: 20px 22px; box-shadow: var(--shadow); }
.hero-card-title { font-size: .8rem; color: var(--muted); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.hero-card-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5E8A5A; box-shadow: 0 0 0 4px rgba(94, 138, 90, .18); }
.hero-card ul { list-style: none; display: grid; gap: 10px; }
.hero-card li { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 500; }
.hero-card li .bar { flex: 1; height: 6px; border-radius: 6px; background: var(--olive-100); overflow: hidden; }
.hero-card li .bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--olive-400), var(--olive)); transform-origin: left center; animation: barGrow 1.6s var(--ease) both; }
html[dir="rtl"] .hero-card li .bar i { transform-origin: right center; margin-inline-start: 0; }
html[dir="rtl"] .hero-card li .bar i { background: linear-gradient(270deg, var(--olive-400), var(--olive)); }
.hero-card li .label { width: 108px; flex: none; color: var(--ink-2); font-weight: 400; font-size: .85rem; }
@keyframes barGrow { from { transform: scaleX(0); } }
.orbit-deco { position: absolute; pointer-events: none; z-index: 1; color: var(--sand); }
.orbit-deco path, .orbit-deco ellipse { fill: none; stroke: currentColor; }
.hero .orbit-deco { width: 120%; inset-inline-start: -10%; top: 18%; opacity: .32; }
.orbit-draw { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: orbitDraw 3.2s .3s var(--ease) forwards; }
@keyframes orbitDraw { to { stroke-dashoffset: 0; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 96px); background: linear-gradient(180deg, var(--paper), var(--cream)); overflow: hidden; }
.page-hero .orbit-deco { width: 70%; inset-inline-end: -12%; top: -10%; opacity: .45; }
.page-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.page-hero-grid--single { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 4.6vw, 3.9rem); font-weight: 500; line-height: 1.2; color: var(--olive-800); margin-bottom: 20px; }
html[dir="ltr"] .page-hero h1 { line-height: 1.08; letter-spacing: -.02em; }
.page-hero .lead { max-width: 640px; }
.page-hero-actions { margin-top: 30px; }
.page-hero-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 11; box-shadow: var(--shadow); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-icon { width: 64px; height: 64px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; color: var(--olive); margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.page-hero-icon .icon { width: 28px; height: 28px; }
.breadcrumb { margin-bottom: 26px; font-size: .88rem; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; opacity: .45; }
.breadcrumb a:hover { color: var(--olive); }
.wide-media { margin-top: calc(-1 * clamp(36px, 5vw, 64px)); position: relative; z-index: 3; }
.wide-media figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 8; box-shadow: var(--shadow); }
.wide-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cards ---------- */
.icon-badge { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--olive-50); color: var(--olive); border: 1px solid var(--olive-100); flex: none; transition: background .3s, color .3s; }
.icon-badge .icon { width: 25px; height: 25px; }
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 2.6vw, 36px); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; display: flex; flex-direction: column; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card--link:hover .icon-badge { background: var(--olive); color: var(--cream); border-color: var(--olive); }
.card h3 { margin-block: 22px 12px; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 22px; }
.card .link-arrow { margin-top: auto; }
.card-num { position: absolute; inset-inline-end: clamp(24px, 2.6vw, 34px); top: clamp(24px, 2.6vw, 34px); font-family: var(--font-display); font-size: .95rem; color: var(--olive-300); }
.card--cream { background: var(--paper); }
.card-stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card { min-height: 100%; }

.sector-tile { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s; min-height: 170px; }
.sector-tile .icon-badge { width: 46px; height: 46px; border-radius: 14px; }
.sector-tile .icon-badge .icon { width: 22px; height: 22px; }
.sector-tile strong { font-weight: 500; font-size: 1.04rem; line-height: 1.45; }
.sector-tile .arrow { margin-top: auto; color: var(--olive-300); transition: color .3s, transform .3s var(--ease); }
html[dir="rtl"] .sector-tile .arrow { transform: scaleX(-1); }
.sector-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.sector-tile:hover .arrow { color: var(--olive); }
.sector-tile:hover .icon-badge { background: var(--olive); color: var(--cream); border-color: var(--olive); }

.model-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.model-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.model-card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.model-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.model-card:hover .model-card-media img { transform: scale(1.05); }
.model-card-body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.model-card-body .tag { align-self: flex-start; margin-bottom: 16px; }
.model-card-body h3 { margin-bottom: 12px; }
.model-card-body p { color: var(--muted); font-size: .98rem; }
.tag .icon { width: 15px; height: 15px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--olive-50); color: var(--olive); font-size: .8rem; font-weight: 500; border: 1px solid var(--olive-100); }
html[dir="ltr"] .tag { letter-spacing: .02em; }

.article-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); position: relative; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--beige); }
.article-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.article-card:hover .article-card-media img { transform: scale(1.05); }
.article-card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: .84rem; color: var(--muted); margin-bottom: 14px; }
.article-card h3 { font-family: var(--font-display); font-size: 1.32rem; font-weight: 500; line-height: 1.4; margin-bottom: 12px; }
.article-card p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.article-card .link-arrow { margin-top: auto; }

/* ---------- Intro / features ---------- */
.intro-media { position: relative; }
.intro-media figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 5.6; box-shadow: var(--shadow); }
.intro-media img { width: 100%; height: 100%; object-fit: cover; }
.intro-media .badge-float { position: absolute; inset-inline-end: -22px; top: 36px; background: var(--olive); color: var(--cream); border-radius: 20px; padding: 18px 22px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow); max-width: 250px; }
.intro-media .badge-float .icon { width: 30px; height: 30px; }
.intro-media .badge-float span { font-size: .9rem; line-height: 1.5; }
.feature-list { list-style: none; display: grid; gap: 0; margin-top: 34px; border-top: 1px solid var(--line); }
.feature-list li { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.feature-list .icon-badge { width: 46px; height: 46px; border-radius: 14px; }
.feature-list strong { display: block; font-weight: 500; font-size: 1.06rem; margin-bottom: 4px; }
.feature-list span { color: var(--muted); font-size: .96rem; }

.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.why-item { padding: 34px clamp(18px, 2.4vw, 34px) 38px; border-bottom: 1px solid var(--line-strong); position: relative; }
.why-item:not(:nth-child(3n)) { border-inline-end: 1px solid var(--line-strong); }
.why-item:nth-child(3n+1) { padding-inline-start: 0; }
.why-num { font-family: var(--font-display); color: var(--olive-300); font-size: 1rem; margin-bottom: 26px; display: block; }
.why-item h3 { font-family: var(--font-display); font-size: 1.36rem; font-weight: 500; margin-bottom: 10px; }
.why-item p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Methodology timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.timeline::before { content: ""; position: absolute; top: 27px; inset-inline: 28px; height: 1px; background: repeating-linear-gradient(90deg, var(--olive-300) 0 6px, transparent 6px 12px); }
.timeline-step { position: relative; }
.timeline-dot { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 1px solid var(--line-strong); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.1rem; color: var(--olive); margin-bottom: 22px; transition: background .3s, color .3s; }
.timeline-step:hover .timeline-dot { background: var(--olive); color: var(--cream); }
.timeline-step h3 { font-size: 1.06rem; font-weight: 700; margin-bottom: 8px; line-height: 1.45; }
.timeline-step p { font-size: .92rem; color: var(--muted); margin: 0; }

/* Tech */
.tech-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tech-list li { display: flex; gap: 14px; padding: 20px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.tech-list .icon-badge { width: 44px; height: 44px; border-radius: 13px; }
.tech-list .icon-badge .icon { width: 21px; height: 21px; }
.tech-list strong { display: block; font-weight: 500; margin-bottom: 3px; }
.tech-list span { font-size: .9rem; color: var(--muted); line-height: 1.6; display: block; }
.tech-media figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.8; box-shadow: var(--shadow); }
.tech-media img { width: 100%; height: 100%; object-fit: cover; }

/* Compare table */
.compare { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); }
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 20px clamp(16px, 2.2vw, 30px); text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); font-size: .98rem; }
.compare thead th { background: var(--paper); font-weight: 500; font-size: .9rem; color: var(--muted); }
.compare thead th.is-ours { background: var(--olive); color: var(--cream); }
.compare tbody th { font-weight: 500; width: 24%; color: var(--ink); }
.compare tbody td { color: var(--ink-2); }
.compare tbody td.is-ours { background: rgba(60, 71, 59, .045); color: var(--ink); }
.compare tbody td.is-ours::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--olive); margin-inline-end: 10px; vertical-align: middle; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 34px; background: var(--olive); color: var(--cream); padding: clamp(44px, 6vw, 84px) clamp(28px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 40px; align-items: center; }
.cta-band .orbit-deco { color: rgba(241, 235, 211, .22); width: 80%; inset-inline-end: -20%; top: -30%; }
.cta-band h2 { color: var(--white); font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 500; line-height: 1.25; margin-bottom: 14px; position: relative; z-index: 1; }
.cta-band p { color: rgba(241, 235, 211, .82); margin: 0; max-width: 600px; position: relative; z-index: 1; }
.cta-band .cta-note { font-size: .88rem; margin-top: 14px; color: rgba(241, 235, 211, .62); }
.cta-band .btn-row { position: relative; z-index: 1; flex-direction: column; align-items: stretch; }

/* ---------- Content pages ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.content-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.aside-card--olive { background: var(--olive); color: var(--cream); border-color: var(--olive); }
.aside-card--olive h3 { color: var(--white); }
.aside-card.aside-card--olive p { color: rgba(241, 235, 211, .86); }
.aside-card h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 10px; }
.aside-card p { font-size: .94rem; color: var(--muted); }
.aside-card .btn { width: 100%; margin-top: 8px; }
.aside-links { list-style: none; display: grid; }
.aside-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--ink-2); transition: color .2s; }
.aside-links li:last-child a { border-bottom: 0; }
.aside-links a:hover, .aside-links a[aria-current="page"] { color: var(--olive); }
.aside-links .icon { width: 16px; height: 16px; opacity: .5; }
html[dir="rtl"] .aside-links .icon { transform: scaleX(-1); }

.prose { font-size: 1.06rem; color: var(--ink-2); }
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.25em; }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--ink); margin: 1.8em 0 .7em; line-height: 1.35; }
.prose h3 { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin: 1.6em 0 .6em; }
.prose ul, .prose ol { padding-inline-start: 1.3em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .55em; padding-inline-start: .3em; }
.prose ul li::marker { color: var(--olive); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--olive); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-inline-start: 3px solid var(--olive); background: var(--paper); border-radius: 0 12px 12px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: start; }

.block { margin-top: clamp(48px, 6vw, 72px); }
.block-title { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.block-title h2 { font-family: var(--font-display); font-size: clamp(1.45rem, 2.3vw, 1.9rem); font-weight: 500; }
.block-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.item-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.item { padding: 24px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.item-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.item-head .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--olive-50); border: 1px solid var(--olive-100); color: var(--olive); display: grid; place-items: center; flex: none; }
.item-head .dot .icon { width: 15px; height: 15px; }
.item strong { font-weight: 500; font-size: 1.04rem; }
.item p { margin: 0; font-size: .95rem; color: var(--muted); }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { width: 20px; height: 20px; color: var(--olive); margin-top: 4px; }
.check-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li { padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .93rem; color: var(--ink-2); display: inline-flex; gap: 8px; align-items: center; }
.pill-list .icon { width: 16px; height: 16px; color: var(--olive); }
.steps-list { list-style: none; display: grid; gap: 0; counter-reset: s; }
.steps-list li { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding-bottom: 30px; }
.steps-list li::before { counter-increment: s; content: counter(s, decimal-leading-zero); width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--white); display: grid; place-items: center; font-family: var(--font-display); color: var(--olive); font-size: 1.05rem; position: relative; z-index: 1; }
.steps-list li:not(:last-child)::after { content: ""; position: absolute; top: 58px; bottom: 0; inset-inline-start: 28px; width: 1px; background: var(--line-strong); }
.steps-list strong { display: block; font-weight: 700; font-size: 1.1rem; margin: 12px 0 6px; }
.steps-list p { margin: 0; color: var(--muted); }
.resp-table { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--white); }
.resp-table table { width: 100%; border-collapse: collapse; }
.resp-table th, .resp-table td { padding: 16px 20px; text-align: start; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
.resp-table thead th { background: var(--paper); font-weight: 500; color: var(--muted); font-size: .86rem; }
.resp-table tbody th { font-weight: 500; }
.resp-table tbody tr:last-child > * { border-bottom: 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.vm-card { padding: 32px; border-radius: 22px; background: var(--olive); color: var(--cream); }
.vm-card:nth-child(2) { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.vm-card h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 12px; }
.vm-card p { margin: 0; opacity: .9; }

/* Legal */
.legal-notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: 16px; background: #FBF4DE; border: 1px solid #E8D9A8; color: #5B4A1A; font-size: .95rem; margin-bottom: 36px; }
.legal-notice .icon { color: #8A6D1F; margin-top: 3px; }

/* Insights filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filters a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: .93rem; color: var(--ink-2); transition: all .2s; }
.filters a:hover { border-color: var(--olive); color: var(--olive); }
.filters a[aria-current="true"] { background: var(--olive); border-color: var(--olive); color: var(--white); }

/* Article page */
.article-hero { padding-block: clamp(36px, 5vw, 64px) 0; background: linear-gradient(180deg, var(--paper), var(--white)); }
.article-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 500; line-height: 1.25; color: var(--olive-800); margin: 18px 0 20px; }
html[dir="ltr"] .article-hero h1 { line-height: 1.12; letter-spacing: -.015em; }
.article-cover { margin: clamp(32px, 4vw, 48px) 0 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 9; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding-block: clamp(48px, 6vw, 80px); background: var(--white); }

/* FAQ accordion */
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: var(--white); transition: box-shadow .3s; }
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-weight: 500; font-size: 1.04rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--olive); transition: transform .3s var(--ease), background .3s; }
.faq-item summary .plus .icon { width: 16px; height: 16px; }
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--olive-50); }
.faq-item .faq-answer { padding: 0 26px 24px; color: var(--muted); }

/* Jobs */
.job-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 26px 30px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; transition: box-shadow .3s, transform .3s var(--ease); position: relative; }
.job-row:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.job-row h3 { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 8px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .9rem; }
.job-meta span { display: inline-flex; gap: 6px; align-items: center; }
.job-meta .icon { width: 16px; height: 16px; }
.empty-state { padding: 40px; border-radius: 22px; border: 1px dashed var(--line-strong); text-align: center; color: var(--muted); background: var(--paper); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 22px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .field > .label { font-size: .93rem; font-weight: 500; color: var(--ink); }
.field .req { color: var(--danger); margin-inline-start: 3px; }
.field .hint { font-size: .82rem; color: var(--muted); }
.input, .select, .textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--paper); font-size: 1rem; transition: border-color .2s, background .2s, box-shadow .2s; }
.textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233C473B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 16px center; padding-inline-end: 42px; }
html[dir="ltr"] .select { background-position: right 16px center; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--olive); background: var(--white); box-shadow: 0 0 0 4px rgba(60, 71, 59, .1); }
input[type="date"].input { direction: ltr; text-align: start; }
html[dir="rtl"] input[type="date"].input, html[dir="rtl"] input[type="email"].input, html[dir="rtl"] input[type="tel"].input, html[dir="rtl"] input[type="url"].input { text-align: right; }
.is-invalid .input, .is-invalid .select, .is-invalid .textarea, .input.is-invalid { border-color: var(--danger); background: #FDF6F4; }
.field-error { font-size: .84rem; color: var(--danger); }
.choice-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--paper); font-size: .93rem; transition: all .2s; cursor: pointer; }
.choice span::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--olive-300); background: var(--white); transition: all .2s; flex: none; }
.choice input[type="radio"] + span::before { border-radius: 50%; }
.choice input:checked + span { border-color: var(--olive); background: var(--olive-50); color: var(--olive-800); }
.choice input:checked + span::before { background: var(--olive); border-color: var(--olive); box-shadow: inset 0 0 0 3px var(--white); }
.choice input:focus-visible + span { outline: 2px solid var(--olive); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--olive); flex: none; }
.consent a { color: var(--olive); text-decoration: underline; text-underline-offset: 3px; }
.file-drop { position: relative; display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 16px; border: 1.5px dashed var(--line-strong); background: var(--paper); transition: border-color .2s, background .2s; }
.file-drop:hover, .file-drop.is-drag { border-color: var(--olive); background: var(--olive-50); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop .icon-badge { width: 46px; height: 46px; }
.file-drop strong { display: block; font-weight: 500; font-size: .96rem; }
.file-drop small { color: var(--muted); font-size: .84rem; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-radius: 14px; margin-bottom: 24px; font-size: .96rem; }
.alert .icon { width: 20px; height: 20px; margin-top: 3px; }
.alert--error { background: #FBEDEA; color: var(--danger); border: 1px solid #F0CFC8; }
.alert--success { background: #EEF4EC; color: var(--success); border: 1px solid #CFE0CB; }

/* Stepper */
.stepper { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 36px; }
.stepper li { position: relative; display: flex; align-items: center; gap: 12px; padding-bottom: 16px; font-size: .95rem; color: var(--muted); }
.stepper li::after { content: ""; position: absolute; bottom: 0; inset-inline: 0; height: 3px; border-radius: 3px; background: var(--olive-100); }
.stepper li::before { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; height: 3px; width: 0; border-radius: 3px; background: var(--olive); transition: width .5s var(--ease); z-index: 1; }
.stepper li.is-active::before, .stepper li.is-done::before { width: 100%; }
.stepper .n { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); font-size: .88rem; background: var(--white); transition: all .3s; }
.stepper li.is-active, .stepper li.is-done { color: var(--ink); }
.stepper li.is-active .n { background: var(--olive); color: var(--white); border-color: var(--olive); }
.stepper li.is-done .n { background: var(--olive-50); color: var(--olive); border-color: var(--olive-200); }
.form-step[hidden] { display: none; }
.js .form-step { animation: stepIn .45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } }
.step-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 6px; }
.step-sub { color: var(--muted); font-size: .93rem; margin-bottom: 26px; }

/* Thank you */
.thanks { text-align: center; max-width: 680px; margin-inline: auto; }
.thanks .seal { width: 92px; height: 92px; border-radius: 50%; background: var(--olive); color: var(--cream); display: grid; place-items: center; margin: 0 auto 30px; box-shadow: 0 0 0 12px var(--olive-50); }
.thanks .seal .icon { width: 40px; height: 40px; }
.ref-box { display: inline-flex; flex-direction: column; gap: 4px; padding: 18px 34px; margin: 26px 0; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.ref-box span { font-size: .85rem; color: var(--muted); }
.ref-box strong { font-size: 1.5rem; letter-spacing: .06em; direction: ltr; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; color: var(--olive-800); }

/* Contact */
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.contact-list .label { display: block; font-size: .84rem; color: var(--muted); }
.contact-list a, .contact-list strong { font-weight: 500; direction: ltr; unicode-bidi: plaintext; }
.quick-links { display: grid; gap: 12px; margin-top: 18px; }
.quick-link { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; background: var(--olive); color: var(--cream); transition: background .25s; }
.quick-link:hover { background: var(--olive-800); }
.quick-link strong { display: block; color: var(--white); font-weight: 500; }
.quick-link span { font-size: .86rem; opacity: .8; }
.quick-link .icon.end { margin-inline-start: auto; width: 18px; height: 18px; }
html[dir="rtl"] .quick-link .icon.end { transform: scaleX(-1); }

/* ---------- Footer ---------- */
.site-footer { background: var(--beige); border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 104px); position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 60px); padding-bottom: clamp(48px, 6vw, 72px); }
.footer-brand p { color: var(--ink-2); font-size: .96rem; max-width: 380px; margin: 22px 0 26px; }
.footer-brand .tagline { font-family: var(--font-display); font-size: 1.3rem; color: var(--olive); margin: 0 0 6px; }
.footer-col h3 { font-size: .92rem; font-weight: 700; color: var(--olive); margin-bottom: 18px; }
html[dir="ltr"] .footer-col h3 { text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--ink-2); font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: var(--olive); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.footer-contact .icon { width: 18px; height: 18px; color: var(--olive); margin-top: 5px; }
.footer-contact a { direction: ltr; unicode-bidi: plaintext; }
.social { display: flex; gap: 10px; margin-top: 8px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--olive); transition: all .2s; }
.social a:hover { background: var(--olive); color: var(--cream); border-color: var(--olive); }
.social .icon { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--line-strong); padding-block: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .87rem; color: var(--muted); }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover, .footer-bottom button:hover { color: var(--olive); }
.footer-bottom button { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font-size: inherit; }
.footer-mark { position: absolute; inset-inline-end: -60px; bottom: -80px; width: 380px; opacity: .06; pointer-events: none; }

/* Cookie banner */
.cookie-banner { position: fixed; z-index: 120; inset-inline: 20px; bottom: 20px; max-width: 520px; margin-inline-start: auto; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 24px; transform: translateY(20px); opacity: 0; visibility: hidden; transition: all .4s var(--ease); }
.cookie-banner.is-visible { transform: none; opacity: 1; visibility: visible; }
.cookie-banner h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.cookie-banner p { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.cookie-banner a { color: var(--olive); text-decoration: underline; }

/* Error page */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: var(--section); }
.error-code { font-family: var(--font-display); font-size: clamp(5rem, 14vw, 9rem); color: var(--olive-200); line-height: 1; margin-bottom: 10px; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1260px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-inline-start: auto; }
  .header-actions .btn { display: none; }
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .timeline::before { display: none; }
}
@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .hero-grid, .split, .split--wide-start, .page-hero-grid, .content-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-media { order: -1; }
  .hero-frame { aspect-ratio: 16 / 11; }
  .hero-card { inset-inline-start: 16px; bottom: 16px; }
  .grid-3, .grid-4, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-item:nth-child(n) { border-inline-end: 0; padding-inline: 0 24px; }
  .why-item:nth-child(odd) { border-inline-end: 1px solid var(--line-strong); }
  .why-item:nth-child(even) { padding-inline-start: 24px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .content-aside { position: static; }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .cta-band .btn-row { flex-direction: row; }
  .intro-media .badge-float { inset-inline-end: 16px; }
  .tech-media { order: -1; }
  .tech-media figure { aspect-ratio: 16 / 10; }
  .intro-media figure { aspect-ratio: 16 / 11; }
  .wide-media figure { aspect-ratio: 16 / 9; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .grid-5, .related-grid, .item-grid, .vm-grid, .tech-list, .form-grid, .check-cols { grid-template-columns: minmax(0, 1fr); }
  .grid-5.sectors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sector-tile { min-height: 150px; padding: 18px; }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-item:nth-child(n) { border-inline-end: 0; padding-inline: 0; }
  .timeline { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .brand-sub { display: none; }
  .brand img { width: 40px; }
  .lang-switch span { display: none; }
  .lang-switch { padding: 0 11px; }
  .compare { overflow-x: auto; }
  .compare table { min-width: 620px; }
  .stepper li span.t { display: none; }
  .job-row { grid-template-columns: minmax(0, 1fr); }
  .hero-card { display: none; }
  .cta-band .btn-row { flex-direction: column; }
  .form-actions .btn { flex: 1; }
  .resp-table { overflow-x: auto; }
  .resp-table table { min-width: 560px; }
  .steps-list li { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
  .steps-list li::before { width: 48px; height: 48px; }
  .steps-list li:not(:last-child)::after { inset-inline-start: 24px; top: 50px; }
}


/* Knowledge center: search bar, featured, pagination, archive, article nav */
.insights-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 22px; }
.insights-bar .search-box { position: relative; flex: 1 1 280px; }
.insights-bar .search-box .icon { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--olive-400); pointer-events: none; }
.insights-bar .search-box .input { padding-inline-start: 46px; border-radius: 999px; }
.insights-bar .select { width: auto; min-width: 190px; border-radius: 999px; }
.featured-article { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0; margin-bottom: 36px; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.featured-article .fa-media { min-height: 340px; }
.featured-article .fa-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-article .fa-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.featured-article .fa-body .btn { align-self: flex-start; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 44px; }
.page-num { min-width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--white); font-size: .95rem; transition: all .2s; }
.page-num:hover { border-color: var(--olive); color: var(--olive); }
.page-num[aria-current="page"] { background: var(--olive); border-color: var(--olive); color: var(--white); }
.archive-year + .archive-year { margin-top: 48px; }
.archive-y { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: var(--olive-200); line-height: 1; margin-bottom: 18px; }
.archive-month { padding: 22px 0; border-top: 1px solid var(--line); }
.archive-month h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.archive-month h3 a:hover { color: var(--olive); }
.archive-month ul { list-style: none; display: grid; gap: 4px; }
.archive-month li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 8px 10px; border-radius: 12px; }
.archive-month li:hover { background: var(--paper); }
.archive-month time { font-family: var(--font-display); color: var(--olive-400); font-size: 1.05rem; text-align: center; }
.archive-month li a { color: var(--ink); line-height: 1.6; }
.archive-month li a:hover { color: var(--olive); }
.article-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-nav a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--paper); transition: border-color .2s; }
.article-nav a:hover { border-color: var(--olive); }
.article-nav small { color: var(--muted); font-size: .82rem; }
.article-nav strong { font-weight: 500; line-height: 1.5; }
.article-nav .an-next { text-align: end; }
@media (max-width: 980px) { .featured-article { grid-template-columns: minmax(0, 1fr); } .featured-article .fa-media { min-height: 220px; aspect-ratio: 16 / 9; } }
@media (max-width: 680px) { .archive-month li { grid-template-columns: 30px minmax(0, 1fr); } .archive-month li .tag { display: none; } .article-nav { grid-template-columns: minmax(0, 1fr); } .insights-bar .select, .insights-bar .btn { flex: 1 1 auto; } }

@media print {
  .site-header, .site-footer, .cookie-banner, .cta-band, .content-aside { display: none !important; }
  body { background: #fff; }
}
