/* =========================================================
   سداد موثوق — Sedad Mawthooq · Design System v1.0
   Navy × Gold · RTL-first · Premium financial services
   ========================================================= */

:root {
  /* Brand — sampled from the company profile */
  --navy-990: #010a15;
  --navy-950: #020f1f;
  --navy-900: #041c33;
  --navy-850: #062540;
  --navy-800: #082e50;
  --navy-700: #143858;
  --navy-600: #1d4a73;
  --navy-500: #2a5d8f;
  --gold-700: #8f6224;
  --gold-600: #a9772f;
  --gold-500: #c99a3d;
  --gold-400: #d9b05a;
  --gold-300: #e7c77f;
  --gold-200: #f2ddb0;
  --ivory: #f8f5ee;
  --ivory-2: #efe9dc;
  --white: #ffffff;
  --ink: #0b1b2e;
  --ink-soft: #3c4c60;
  --muted: #6b7a8c;
  --line-dark: rgba(201, 154, 61, 0.28);
  --line-light: rgba(4, 28, 51, 0.1);
  --success: #2e9e6b;

  --grad-gold: linear-gradient(135deg, #f2ddb0 0%, #d9b05a 30%, #c99a3d 55%, #8f6224 100%);
  --grad-gold-text: linear-gradient(100deg, #f5e3b8 0%, #d9b05a 40%, #c99a3d 60%, #f2ddb0 100%);
  --grad-navy: linear-gradient(160deg, #082e50 0%, #041c33 55%, #020f1f 100%);

  --font-head: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Alexandria", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 10px 30px -12px rgba(2, 15, 31, 0.25);
  --shadow-deep: 0 30px 60px -20px rgba(1, 10, 21, 0.6);
  --shadow-gold: 0 12px 34px -10px rgba(201, 154, 61, 0.55);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 136px);
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(15.5px, 1.05vw, 17px);
  line-height: 1.85;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { line-height: 1.7; }
main, .site-footer, .trust-strip { overflow-x: clip; }
.trust-strip { overflow: visible; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.3; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.01em; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold-500); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 999; background: var(--gold-500); color: var(--navy-950); padding: 10px 18px; border-radius: 10px; font-weight: 700; transition: top .3s; }
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--dark { background: var(--navy-900); color: #dfe7f0; }
.section--deep { background: var(--grad-navy); color: #dfe7f0; }
.section--ivory { background: var(--ivory); }
.section--white { background: var(--white); }
.section--dark h2, .section--dark h3, .section--deep h2, .section--deep h3 { color: var(--white); }
.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)); }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Section heading (PDF motif: gold bar + tracked latin eyebrow) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-500);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--grad-gold); border-radius: 2px; }
html[lang="ar"] .eyebrow { letter-spacing: 0.04em; font-size: 0.9rem; }
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); color: var(--navy-900); }
.sec-head p { font-size: 1.08em; color: var(--ink-soft); max-width: 640px; }
.sec-head--center p { margin-inline: auto; }
.section--dark .sec-head p, .section--deep .sec-head p { color: #a9b9cc; }
.section--dark .sec-head h2, .section--deep .sec-head h2, .section--dark .bar-title, .section--deep .bar-title { color: var(--white) !important; }
.gold-text { padding-block: .08em .22em; -webkit-box-decoration-break: clone; box-decoration-break: clone; background: var(--grad-gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% auto; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: 200% center; } }
.bar-title { position: relative; padding-inline-start: 22px; }
.bar-title::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.2em; bottom: 0.2em; width: 5px; border-radius: 3px; background: var(--grad-gold); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--grad-gold); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 0; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  background: var(--bg); color: var(--navy-950); box-shadow: var(--shadow-gold); overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); z-index: -1; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(201,154,61,.7); }
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
html[dir="rtl"] .btn .i-arrow { transform: scaleX(-1); }
.btn:hover .i-arrow { transform: translateX(4px); }
html[dir="rtl"] .btn:hover .i-arrow { transform: scaleX(-1) translateX(4px); }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(231,199,127,.55); }
.btn--ghost:hover { background: rgba(201,154,61,.12); box-shadow: inset 0 0 0 1.5px var(--gold-300); }
.btn--navy { background: var(--navy-900); color: var(--white); box-shadow: var(--shadow-soft); }
.btn--navy:hover { background: var(--navy-800); box-shadow: var(--shadow-deep); }
.btn--sm { padding: 10px 20px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--gold-600); font-size: 0.95rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
html[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }
.link-arrow:hover svg { transform: translateX(4px); }
html[dir="rtl"] .link-arrow:hover svg { transform: scaleX(-1) translateX(4px); }
.section--dark .link-arrow, .section--deep .link-arrow { color: var(--gold-300); }

/* ---------- Icons ---------- */
[data-icon] { display: inline-flex; }
.ico { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico-badge {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(145deg, rgba(201,154,61,.18), rgba(201,154,61,.04)); color: var(--gold-500);
  box-shadow: inset 0 0 0 1px rgba(201,154,61,.35);
}
.ico-badge .ico { width: 28px; height: 28px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .5s var(--ease), box-shadow .5s var(--ease), height .4s var(--ease), transform .45s var(--ease);
}
.site-header.is-scrolled { background: rgba(2, 15, 31, 0.82); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 1px 0 rgba(201,154,61,.2), 0 20px 40px -24px rgba(0,0,0,.6); height: 72px; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); flex-shrink: 0; }
.brand img { width: 50px; height: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.brand-mark { width: 52px; height: 52px; border-radius: 14px; background: var(--white); display: grid; place-items: center; padding: 5px; box-shadow: 0 6px 20px -6px rgba(0,0,0,.5), inset 0 0 0 1px rgba(201,154,61,.4); }
.brand-mark img { width: 100%; filter: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.28rem; }
.brand-tag { font-size: 0.72rem; color: var(--gold-300); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav a.nav-link, .nav button.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; background: none; border: 0; cursor: pointer;
  color: rgba(255,255,255,.86); font-family: var(--font-head); font-size: 0.9rem; font-weight: 500; position: relative; transition: color .3s; white-space: nowrap;
}
@media (min-width: 1181px) and (max-width: 1360px) { .nav a.nav-link, .nav button.nav-link { padding-inline: 9px; font-size: .86rem; } .site-header .brand-tag { display: none; } }
.btn, .lang-switch { white-space: nowrap; }
.nav a.nav-link::after, .nav button.nav-link::after { content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 2px; background: var(--grad-gold); transform: scaleX(0); transition: transform .4s var(--ease); border-radius: 2px; }
.nav .nav-link:hover, .nav .nav-link[aria-current="page"] { color: var(--gold-300); }
.nav .nav-link:hover::after, .nav .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav .chev { width: 14px; height: 14px; transition: transform .3s; }
.has-drop:hover .chev, .has-drop:focus-within .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); inset-inline-start: -20px; width: 560px; padding: 14px; border-radius: 20px;
  background: rgba(4, 28, 51, 0.97); backdrop-filter: blur(20px); box-shadow: var(--shadow-deep), inset 0 0 0 1px rgba(201,154,61,.25);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .35s var(--ease);
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown--sm { width: 300px; grid-template-columns: 1fr; }
.dropdown a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; color: #dfe7f0; transition: background .25s; }
.dropdown a:hover { background: rgba(201,154,61,.1); }
.dropdown a .ico { color: var(--gold-400); flex-shrink: 0; margin-top: 3px; }
.dropdown strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--white); }
.dropdown small { display: block; font-size: .78rem; color: #93a5ba; line-height: 1.5; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; color: var(--white); font-family: var(--font-head); font-size: .85rem; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); transition: box-shadow .3s, color .3s; }
.lang-switch:hover { color: var(--gold-300); box-shadow: inset 0 0 0 1px var(--gold-400); }
.lang-switch .ico { width: 17px; height: 17px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 0; background: rgba(255,255,255,.08); color: var(--white); cursor: pointer; place-items: center; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: background .3s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; inset-inline: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.header-cta { }
@media (max-width: 1180px) {
  .menu-toggle { display: grid; }
  .header-cta { display: none; }
  .main-nav { position: fixed; inset: 0; top: 0; z-index: -1; background: var(--grad-navy); padding: calc(var(--header-h) + 20px) var(--gutter) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
  body.menu-open .main-nav { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
  .nav { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a.nav-link, .nav button.nav-link { font-size: 1.15rem; padding: 14px 6px; width: 100%; justify-content: space-between; border-bottom: 1px solid rgba(201,154,61,.14); border-radius: 0; }
  .nav a.nav-link::after, .nav button.nav-link::after { display: none; }
  .dropdown { position: static; width: auto; opacity: 1; visibility: visible; transform: none; grid-template-columns: 1fr; display: none; background: rgba(255,255,255,.03); margin: 6px 0 10px; box-shadow: none; }
  .has-drop.is-open .dropdown { display: grid; }
  .has-drop:hover .chev { transform: none; } .has-drop.is-open .chev { transform: rotate(180deg); }
  .main-nav .mobile-cta { display: flex; margin-top: 26px; }
}
.main-nav .mobile-cta { display: none; }
@media (max-width: 480px) { .brand-tag { display: none; } .brand-name { font-size: 1.1rem; } .brand-mark { width: 44px; height: 44px; } .lang-switch span { display: none; } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate;
  background: var(--navy-950); color: var(--white); padding-block: calc(var(--header-h) + 50px) 90px;
}
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform: scale(1.08); animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.18) translate(-1.5%, -1%); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(90deg, rgba(2,15,31,.25) 0%, rgba(2,15,31,.72) 45%, rgba(2,15,31,.96) 75%),
  linear-gradient(0deg, rgba(2,15,31,1) 0%, rgba(2,15,31,0) 35%); }
html[dir="ltr"] .hero::before { background: linear-gradient(270deg, rgba(2,15,31,.25) 0%, rgba(2,15,31,.72) 45%, rgba(2,15,31,.96) 75%), linear-gradient(0deg, rgba(2,15,31,1) 0%, rgba(2,15,31,0) 35%); }
.hero-lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-lines path { fill: none; stroke-linecap: round; }
.ribbon path { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 3.2s var(--ease) forwards; }
.ribbon path:nth-child(2) { animation-delay: .25s; } .ribbon path:nth-child(3) { animation-delay: .5s; } .ribbon path:nth-child(4) { animation-delay: .75s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(30px, 5vw, 70px); align-items: center; width: 100%; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(201,154,61,.35); backdrop-filter: blur(8px); font-size: .88rem; color: var(--gold-200); margin-bottom: 26px; }
html[dir="rtl"] .hero-badge { padding: 8px 8px 8px 16px; }
.hero-badge .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--grad-gold); display: grid; place-items: center; color: var(--navy-950); }
.hero-badge .dot .ico { width: 14px; height: 14px; stroke-width: 2.4; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 800; line-height: 1.22; margin-bottom: 24px; color: var(--white); }
html[lang="en"] .hero h1 { line-height: 1.08; }
.hero-lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: #c3d0de; max-width: 600px; margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 26px; padding-top: 28px; border-top: 1px solid rgba(201,154,61,.22); max-width: 620px; }
.hero-proof li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: #c3d0de; }
.hero-proof .ico { color: var(--gold-400); width: 20px; height: 20px; }
.scroll-cue { position: absolute; bottom: 26px; inset-inline-start: 50%; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 20px; box-shadow: inset 0 0 0 1.5px rgba(231,199,127,.5); }
html[dir="rtl"] .scroll-cue { transform: translateX(50%); }
.scroll-cue::after { content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-400); animation: cue 2s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Hero floating "case console" — signature element */
.console {
  position: relative; border-radius: var(--radius-lg); padding: 24px; color: #dfe7f0;
  background: linear-gradient(160deg, rgba(20,56,88,.72), rgba(4,28,51,.82)); backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: var(--shadow-deep), inset 0 0 0 1px rgba(201,154,61,.3), inset 0 1px 0 rgba(255,255,255,.08);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-12px); } }
.console-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.console-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; color: var(--white); font-size: .95rem; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; color: #8fe3bb; padding: 4px 10px; border-radius: 999px; background: rgba(46,158,107,.14); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 0 rgba(61,220,151,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(61,220,151,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); } }
.console-kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.kpi { padding: 14px; border-radius: 14px; background: rgba(2,15,31,.45); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.kpi small { display: block; font-size: .75rem; color: #93a5ba; }
.kpi strong { font-family: var(--font-head); font-size: 1.45rem; color: var(--white); }
.kpi .up { font-size: .75rem; color: #8fe3bb; }
.spark { height: 40px; margin-top: 6px; }
.console-steps { display: grid; gap: 10px; }
.cstep { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; background: rgba(255,255,255,.03); font-size: .86rem; }
.cstep i.st { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: rgba(255,255,255,.06); color: #93a5ba; }
.cstep i.st .ico { width: 14px; height: 14px; stroke-width: 2.4; }
.cstep.done i.st { background: var(--grad-gold); color: var(--navy-950); }
.cstep.active { box-shadow: inset 0 0 0 1px rgba(201,154,61,.45); background: rgba(201,154,61,.08); }
.cstep.active i.st { background: transparent; box-shadow: inset 0 0 0 2px var(--gold-400); color: var(--gold-300); }
.cstep span { flex: 1; }
.cstep em { font-style: normal; font-size: .74rem; color: #93a5ba; }
.console-float { position: absolute; inset-inline-end: -26px; bottom: -26px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: var(--shadow-deep); font-size: .82rem; animation: float 6s ease-in-out infinite reverse; }
.console-float b { display: block; font-family: var(--font-head); font-size: .9rem; color: var(--navy-900); }
.console-float .ico-badge { width: 40px; height: 40px; border-radius: 12px; background: rgba(46,158,107,.12); color: var(--success); box-shadow: none; }
.console-float .ico-badge .ico { width: 20px; height: 20px; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .console { max-width: 520px; } }
@media (max-width: 560px) { .console-float { inset-inline-end: 10px; bottom: -30px; } .hero-proof { gap: 14px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-950); color: var(--white); padding: calc(var(--header-h) + clamp(60px, 9vw, 120px)) 0 clamp(70px, 8vw, 110px); }
.page-hero .ph-media { position: absolute; inset: 0; z-index: -3; }
.page-hero .ph-media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 20% 0%, rgba(201,154,61,.18), transparent 55%), linear-gradient(180deg, rgba(2,15,31,.6), rgba(2,15,31,.95)); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); font-weight: 800; color: var(--white); max-width: 900px; }
.page-hero p.lead { font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: #c3d0de; max-width: 720px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .86rem; color: #93a5ba; margin-bottom: 22px; }
.breadcrumb a { color: var(--gold-300); }
.breadcrumb .sep { opacity: .5; }

/* ---------- Converging gold lines motif (from the profile) ---------- */
.lines-motif { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(55%, 720px); z-index: -1; pointer-events: none; opacity: .5; }
.lines-motif line { stroke: var(--gold-500); stroke-width: .8; opacity: .45; }
.section .lines-motif { opacity: .35; }

/* ---------- Trust strip ---------- */
.trust-strip { position: relative; z-index: 3; margin-top: -54px; }
.trust-card { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 30px 60px -30px rgba(2,15,31,.35), 0 0 0 1px var(--line-light); overflow: hidden; }
.trust-item { display: flex; align-items: center; gap: 16px; padding: 28px 26px; position: relative; }
.trust-item + .trust-item::before { content: ""; position: absolute; inset-inline-start: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line-light); }
.trust-item strong { display: block; font-family: var(--font-head); color: var(--navy-900); font-size: 1rem; }
.trust-item small { color: var(--muted); font-size: .84rem; line-height: 1.6; display: block; }
@media (max-width: 1024px) { .trust-card { grid-template-columns: 1fr 1fr; } .trust-item:nth-child(3)::before { display: none; } }
@media (max-width: 560px) { .trust-card { grid-template-columns: 1fr; } .trust-item::before { display: none; } .trust-item + .trust-item { border-top: 1px solid var(--line-light); } }

/* ---------- Cards ---------- */
.card {
  position: relative; border-radius: var(--radius); padding: clamp(24px, 2.6vw, 34px); background: var(--white);
  box-shadow: 0 0 0 1px var(--line-light), var(--shadow-soft); transition: transform .5s var(--ease), box-shadow .5s var(--ease); overflow: hidden; isolation: isolate;
}
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -30%), rgba(201,154,61,.13), transparent 45%); opacity: 0; transition: opacity .4s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(201,154,61,.4), 0 26px 50px -24px rgba(2,15,31,.35); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 1.22rem; color: var(--navy-900); margin-top: 20px; }
.card p { color: var(--ink-soft); font-size: .96rem; }
.card .num { position: absolute; top: 22px; inset-inline-end: 26px; font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.card--dark { background: linear-gradient(160deg, rgba(20,56,88,.55), rgba(8,46,80,.25)); color: #c3d0de; box-shadow: inset 0 0 0 1px rgba(201,154,61,.28); }
.card--dark h3 { color: var(--gold-300); }
.card--dark p { color: #b6c4d4; }
.card--dark:hover { box-shadow: inset 0 0 0 1px rgba(201,154,61,.6), 0 30px 60px -30px rgba(0,0,0,.7); }
.card-list { margin-top: 16px; display: grid; gap: 9px; }
.card-list li, .check-list li { position: relative; padding-inline-start: 28px; font-size: .94rem; color: var(--ink-soft); line-height: 1.7; }
.card-list li::before, .check-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .42em; width: 17px; height: 17px; border-radius: 50%; background: rgba(201,154,61,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9772f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat; }
.section--dark .check-list li, .section--deep .check-list li, .card--dark .card-list li { color: #c3d0de; }

/* Service card (large) */
.svc-card { display: flex; flex-direction: column; min-height: 100%; }
.svc-card .link-arrow { margin-top: auto; padding-top: 14px; }

/* Value tiles (home & about) */
.value-tile { padding: 30px; border-radius: var(--radius); position: relative; background: linear-gradient(160deg, rgba(20,56,88,.5), rgba(4,28,51,.2)); box-shadow: inset 0 0 0 1px rgba(201,154,61,.24); transition: box-shadow .4s, transform .4s var(--ease); }
.value-tile:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(201,154,61,.6); }
.value-tile .num { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.value-tile h3 { color: var(--gold-300); font-size: 1.25rem; margin: 14px 0 8px; }
.value-tile p { color: #b6c4d4; font-size: .95rem; margin: 0; }

/* ---------- About teaser / image frame ---------- */
.frame { position: relative; border-radius: var(--radius-lg); }
.frame img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-deep); }
.frame::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1.5px var(--gold-500); z-index: -1; }
html[dir="rtl"] .frame::before { inset: 22px 22px -22px -22px; }
.frame-badge { position: absolute; bottom: 28px; inset-inline-start: -28px; background: var(--navy-900); color: var(--white); border-radius: 20px; padding: 20px 24px; box-shadow: var(--shadow-deep), inset 0 0 0 1px rgba(201,154,61,.35); max-width: 260px; }
.frame-badge strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--gold-300); margin-bottom: 4px; }
.frame-badge span { font-size: .86rem; color: #b6c4d4; line-height: 1.6; display: block; }
@media (max-width: 560px) { .frame-badge { inset-inline-start: 12px; bottom: 12px; } }
.quote-block { position: relative; padding: 26px 30px; border-radius: var(--radius); background: var(--ivory-2); margin: 28px 0; font-family: var(--font-head); font-size: 1.12rem; color: var(--navy-900); line-height: 1.8; }
.quote-block::before { content: "”"; position: absolute; top: -18px; inset-inline-start: 22px; font-size: 5rem; line-height: 1; color: var(--gold-500); font-family: Georgia, serif; }
html[dir="ltr"] .quote-block::before { content: "“"; }

/* ---------- Vision / Mission panels ---------- */
.vm-card { position: relative; padding: clamp(30px, 3.5vw, 48px); border-radius: var(--radius-lg); background: var(--navy-900); color: #c3d0de; overflow: hidden; isolation: isolate; box-shadow: inset 0 0 0 1px rgba(201,154,61,.3); }
.vm-card::after { content: ""; position: absolute; width: 340px; height: 340px; inset-inline-end: -120px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(201,154,61,.28), transparent 65%); z-index: -1; }
.vm-card .tag { font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vm-card h3 { color: var(--white); font-size: 1.6rem; margin: 18px 0 12px; }
.vm-card p.big { font-family: var(--font-head); font-size: 1.18rem; color: var(--gold-200); line-height: 1.85; }

/* ---------- Process timeline ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.process::before { content: ""; position: absolute; top: 34px; inset-inline: 10%; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-500) 12%, var(--gold-500) 88%, transparent); opacity: .5; }
.process .pline { position: absolute; top: 34px; inset-inline-start: 10%; height: 2px; width: 0; background: var(--grad-gold); box-shadow: 0 0 14px rgba(201,154,61,.8); transition: width 2.2s var(--ease); }
.process.in-view .pline { width: 80%; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-dot { width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--navy-950); background: var(--grad-gold); box-shadow: 0 0 0 8px var(--navy-900), 0 0 0 9px rgba(201,154,61,.4), var(--shadow-gold); }
.section--ivory .step-dot, .section--white .step-dot { box-shadow: 0 0 0 8px var(--ivory), 0 0 0 9px rgba(201,154,61,.4), var(--shadow-gold); }
.step h3 { font-size: 1.08rem; color: var(--gold-300); margin-bottom: 8px; }
.section--ivory .step h3, .section--white .step h3 { color: var(--navy-900); }
.step p { font-size: .92rem; color: #b6c4d4; margin: 0; }
.section--ivory .step p, .section--white .step p { color: var(--ink-soft); }
@media (max-width: 980px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process::before, .process .pline { top: 0; bottom: 0; inset-inline-start: 34px; width: 2px; height: auto; inset-inline-end: auto; background: linear-gradient(180deg, var(--gold-500), var(--gold-500)); }
  .process .pline { display: none; }
  .step { display: grid; grid-template-columns: 68px 1fr; gap: 20px; text-align: start; padding: 0 0 30px; }
  .step-dot { margin: 0; }
}

/* Detailed methodology step (methodology page) */
.mstep { display: grid; grid-template-columns: 120px 1fr; gap: clamp(20px, 4vw, 56px); padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line-light); }
.mstep:last-child { border-bottom: 0; }
.mstep .big-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mstep h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); color: var(--navy-900); }
.mstep .meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
@media (max-width: 640px) { .mstep { grid-template-columns: 1fr; } }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: .84rem; background: rgba(201,154,61,.12); color: var(--gold-700); font-weight: 500; }
.chip .ico { width: 16px; height: 16px; }
.section--dark .chip, .section--deep .chip { background: rgba(201,154,61,.14); color: var(--gold-300); }

/* ---------- Sectors ---------- */
.sector {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 22px 22px; border-radius: 18px; overflow: hidden;
  background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px rgba(201,154,61,.25); color: var(--white); transition: all .45s var(--ease);
}
.sector::after { content: ""; position: absolute; inset: 0; background: var(--grad-gold); opacity: 0; transition: opacity .45s var(--ease); z-index: -1; }
.sector { isolation: isolate; }
.sector:hover { transform: translateY(-4px); color: var(--navy-950); }
.sector:hover::after { opacity: 1; }
.sector .ico-badge { transition: all .45s var(--ease); }
.sector:hover .ico-badge { background: var(--navy-900); color: var(--gold-300); box-shadow: none; }
.sector strong { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; }
.sector-card { display: flex; flex-direction: column; }
.sector-card .ico-badge { width: 64px; height: 64px; }
.sector-card h3 { margin-top: 18px; }
.sector-card .challenge { padding: 14px 16px; border-radius: 12px; background: var(--ivory); font-size: .92rem; color: var(--ink-soft); margin: 6px 0 14px; border-inline-start: 3px solid var(--gold-500); }

/* ---------- Metrics ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(201,154,61,.28); }
.metric { padding: clamp(28px, 3.5vw, 44px) 24px; text-align: center; position: relative; }
.metric + .metric::before { content: ""; position: absolute; inset-inline-start: 0; top: 22%; bottom: 22%; width: 1px; background: rgba(201,154,61,.28); }
.metric .val { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 1.1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric .lbl { color: #b6c4d4; font-size: .95rem; margin-top: 8px; }
@media (max-width: 860px) { .metrics { grid-template-columns: 1fr 1fr; } .metric:nth-child(3)::before { display: none; } .metric:nth-child(n+3) { border-top: 1px solid rgba(201,154,61,.28); } }

/* ---------- Confidentiality feature ---------- */
.shield-visual { position: relative; aspect-ratio: 1; max-width: 440px; margin-inline: auto; display: grid; place-items: center; }
.shield-visual .ring { position: absolute; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(201,154,61,.35); animation: spin 40s linear infinite; }
.shield-visual .ring:nth-child(1) { inset: 0; border: 1px dashed rgba(201,154,61,.35); box-shadow: none; }
.shield-visual .ring:nth-child(2) { inset: 12%; animation-direction: reverse; animation-duration: 30s; }
.shield-visual .ring:nth-child(3) { inset: 24%; background: radial-gradient(circle, rgba(201,154,61,.2), transparent 70%); }
.shield-visual .ring i { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 14px var(--gold-400); }
@keyframes spin { to { transform: rotate(360deg); } }
.shield-core { width: 34%; aspect-ratio: 1; border-radius: 30%; background: var(--grad-gold); display: grid; place-items: center; color: var(--navy-950); box-shadow: var(--shadow-gold), 0 0 80px rgba(201,154,61,.35); position: relative; z-index: 1; }
.shield-core .ico { width: 46%; height: 46%; stroke-width: 1.8; }

/* ---------- Feature list rows ---------- */
.feature-row { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line-light); }
.feature-row:last-child { border-bottom: 0; }
.feature-row h3, .feature-row h4 { font-size: 1.08rem; color: var(--navy-900); margin-bottom: 4px; }
.feature-row p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.section--dark .feature-row, .section--deep .feature-row { border-color: rgba(201,154,61,.18); }
.section--dark .feature-row h3, .section--deep .feature-row h3, .section--dark .feature-row h4, .section--deep .feature-row h4 { color: var(--white); }
.section--dark .feature-row p, .section--deep .feature-row p { color: #b6c4d4; }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 14px; }
.faq-item { border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line-light); transition: box-shadow .35s; }
.faq-item[open] { box-shadow: 0 0 0 1px rgba(201,154,61,.5), var(--shadow-soft); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; font-family: var(--font-head); font-weight: 600; color: var(--navy-900); font-size: 1.04rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; position: relative; background: rgba(201,154,61,.14); transition: background .3s, transform .4s var(--ease); }
.faq-item summary .pm::before, .faq-item summary .pm::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--gold-600); border-radius: 2px; transition: transform .4s var(--ease); }
.faq-item summary .pm::after { transform: rotate(90deg); }
.faq-item[open] summary .pm { background: var(--grad-gold); transform: rotate(180deg); }
.faq-item[open] summary .pm::before, .faq-item[open] summary .pm::after { background: var(--navy-950); }
.faq-item[open] summary .pm::after { transform: rotate(0); }
.faq-body { padding: 0 26px 24px; color: var(--ink-soft); }
.faq-body p:last-child { margin: 0; }
.faq-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.faq-cats button { padding: 10px 20px; border-radius: 999px; border: 0; cursor: pointer; background: var(--white); box-shadow: 0 0 0 1px var(--line-light); font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--ink-soft); transition: all .3s; }
.faq-cats button.is-active, .faq-cats button:hover { background: var(--navy-900); color: var(--gold-300); box-shadow: none; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 80px); background: var(--grad-navy); color: var(--white); box-shadow: var(--shadow-deep), inset 0 0 0 1px rgba(201,154,61,.3); display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23c99a3d' stroke-opacity='.12'%3E%3Cpath d='M40 4l10.6 25.4L76 40 50.6 50.6 40 76 29.4 50.6 4 40l25.4-10.6z'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3C/g%3E%3C/svg%3E"); -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); mask-image: linear-gradient(90deg, #000, transparent 70%); }
html[dir="rtl"] .cta-band::before { -webkit-mask-image: linear-gradient(270deg, #000, transparent 70%); mask-image: linear-gradient(270deg, #000, transparent 70%); }
.cta-band::after { content: ""; position: absolute; width: 480px; height: 480px; inset-inline-end: -140px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(201,154,61,.35), transparent 65%); z-index: -1; }
.cta-band h2 { color: var(--white); font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-bottom: 12px; }
.cta-band p { color: #b6c4d4; margin: 0; max-width: 620px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Clients / logo wall ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.logo-slot { aspect-ratio: 16/9; border-radius: 14px; display: grid; place-items: center; background: var(--white); box-shadow: 0 0 0 1px var(--line-light); color: #9aa7b6; font-size: .78rem; font-family: var(--font-head); text-align: center; padding: 10px; filter: grayscale(1); transition: all .35s; }
.logo-slot:hover { filter: none; box-shadow: 0 0 0 1px rgba(201,154,61,.5); color: var(--gold-600); }
@media (max-width: 860px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track .logo-slot { width: 190px; }
html[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }
.case { display: grid; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--line-light), var(--shadow-soft); }
.case-head { padding: 26px 30px; background: var(--navy-900); color: var(--white); display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.case-head h3 { margin: 0; color: var(--white); font-size: 1.2rem; }
.case-body { display: grid; grid-template-columns: repeat(3, 1fr); }
.case-body > div { padding: 26px 30px; }
.case-body > div + div { border-inline-start: 1px solid var(--line-light); }
.case-body h4 { font-size: .85rem; letter-spacing: .06em; color: var(--gold-600); margin-bottom: 8px; }
.case-body p { margin: 0; font-size: .94rem; color: var(--ink-soft); }
@media (max-width: 860px) { .case-body { grid-template-columns: 1fr; } .case-body > div + div { border-inline-start: 0; border-top: 1px solid var(--line-light); } }
.note { font-size: .82rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.note .ico { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; color: var(--gold-600); }

/* ---------- Forms ---------- */
.form-card { border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 48px); background: var(--white); box-shadow: 0 0 0 1px var(--line-light), 0 40px 80px -40px rgba(2,15,31,.35); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--navy-900); }
.field label .req { color: var(--gold-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid #dde3ea; background: #fbfbfa; font-size: .98rem; color: var(--ink);
  transition: border-color .3s, box-shadow .3s, background .3s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9772f' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: left 14px center; padding-inline-end: 42px; }
html[dir="ltr"] .field select { background-position: right 14px center; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); background: var(--white); box-shadow: 0 0 0 4px rgba(201,154,61,.15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d0574b; }
.field .err { font-size: .8rem; color: #c0392b; display: none; }
.field.has-error .err { display: block; }
.file-drop { position: relative; border: 1.5px dashed rgba(201,154,61,.6); border-radius: 14px; padding: 24px; text-align: center; background: rgba(201,154,61,.05); color: var(--ink-soft); font-size: .92rem; cursor: pointer; transition: background .3s; }
.file-drop:hover { background: rgba(201,154,61,.1); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop .ico { margin: 0 auto 8px; color: var(--gold-600); width: 30px; height: 30px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); }
.consent input { width: 20px; height: 20px; accent-color: var(--gold-600); margin-top: 4px; flex-shrink: 0; }
.tabs { display: inline-flex; padding: 6px; border-radius: 999px; background: var(--ivory-2); margin-bottom: 28px; gap: 4px; flex-wrap: wrap; }
.tabs button { border: 0; cursor: pointer; padding: 11px 22px; border-radius: 999px; background: none; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink-soft); transition: all .35s var(--ease); }
.tabs button.is-active { background: var(--navy-900); color: var(--gold-300); box-shadow: var(--shadow-soft); }
.tab-panel[hidden] { display: none; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success .ico-badge { margin: 0 auto 16px; width: 72px; height: 72px; border-radius: 50%; background: rgba(46,158,107,.12); color: var(--success); box-shadow: none; }
form.is-sent { display: none; }
form.is-sent + .form-success { display: block; }

/* ---------- Contact cards ---------- */
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(201,154,61,.25); color: #c3d0de; }
.contact-card strong { display: block; font-family: var(--font-head); color: var(--white); margin-bottom: 4px; }
.contact-card a:hover { color: var(--gold-300); }
.map-box { border-radius: var(--radius-lg); overflow: hidden; min-height: 360px; background: var(--navy-850); position: relative; box-shadow: inset 0 0 0 1px rgba(201,154,61,.3); }
.map-box iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: 1.45rem; color: var(--navy-900); margin-top: 2em; }
.prose h3 { font-size: 1.15rem; color: var(--navy-900); margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { list-style: disc; padding-inline-start: 1.4em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-990); color: #93a5ba; padding-top: clamp(64px, 8vw, 100px); font-size: .94rem; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 56px; }
.footer-brand p { margin: 20px 0 22px; max-width: 340px; line-height: 1.9; }
.footer-slogan { font-family: var(--font-head); color: var(--gold-300); font-size: 1rem; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 28px; height: 2px; background: var(--grad-gold); border-radius: 2px; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { transition: color .3s, padding .3s; }
.footer-links a:hover { color: var(--gold-300); padding-inline-start: 6px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.footer-contact .ico { color: var(--gold-400); width: 20px; height: 20px; flex-shrink: 0; margin-top: 4px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(201,154,61,.3); color: var(--gold-300); transition: all .3s; }
.socials a:hover { background: var(--grad-gold); color: var(--navy-950); box-shadow: none; }
.socials .ico { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--gold-300); }
.footer-watermark { position: absolute; bottom: -40px; inset-inline-end: -40px; width: 380px; opacity: .04; z-index: -1; pointer-events: none; filter: grayscale(1) brightness(3); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating actions ---------- */
.fab-stack { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; box-shadow: var(--shadow-deep); transition: transform .35s var(--ease), opacity .35s; }
.fab:hover { transform: scale(1.08); }
.fab .ico { width: 26px; height: 26px; }
.fab--wa { background: #25d366; color: #fff; }
.fab--wa .ico { fill: currentColor; stroke: none; }
.fab--top { background: var(--navy-900); color: var(--gold-300); box-shadow: var(--shadow-deep), inset 0 0 0 1px rgba(201,154,61,.4); opacity: 0; pointer-events: none; }
.fab--top.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- Cookie bar ---------- */
.cookie { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 95; max-width: 420px; padding: 20px 22px; border-radius: 18px; background: rgba(4,28,51,.97); color: #c3d0de; box-shadow: var(--shadow-deep), inset 0 0 0 1px rgba(201,154,61,.3); font-size: .88rem; display: none; }
.cookie.is-visible { display: block; animation: rise .6s var(--ease); }
.cookie p { margin-bottom: 14px; }
.cookie .cookie-actions { display: flex; gap: 10px; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
@media (max-width: 560px) { .cookie { inset-inline: 12px; bottom: 90px; } }

/* ---------- Toast ---------- */
.toast { position: fixed; top: 96px; left: 50%; transform: translate(-50%, -20px); z-index: 200; padding: 14px 22px; border-radius: 14px; background: var(--navy-900); color: var(--white); box-shadow: var(--shadow-deep), inset 0 0 0 1px rgba(201,154,61,.4); opacity: 0; pointer-events: none; transition: all .45s var(--ease); display: flex; gap: 10px; align-items: center; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast .ico { color: #3ddc97; }

/* ---------- Scroll progress ---------- */
.progress-bar { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 120; background: var(--grad-gold); transform-origin: 0 50%; transform: scaleX(0); }
html[dir="rtl"] .progress-bar { transform-origin: 100% 50%; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-fade { opacity: 0; transition: opacity 1.2s var(--ease); transition-delay: var(--d, 0s); }
.reveal-fade.in-view { opacity: 1; }
.hero .reveal { transition-duration: 1.2s; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }
.lead { font-size: 1.12em; color: var(--ink-soft); }
.muted { color: var(--muted); }
.divider-gold { width: 80px; height: 3px; border-radius: 3px; background: var(--grad-gold); margin: 22px 0; }
.stack > * + * { margin-top: 16px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-fade { opacity: 1; transform: none; }
  .ribbon path { stroke-dashoffset: 0; }
}

/* ---------- Print ---------- */
@media print { .site-header, .fab-stack, .cookie, .progress-bar, .hero-lines { display: none !important; } body { background: #fff; } }

/* ---------- Home refinements (maestro) ---------- */
.sector > span:not(.ico-badge) { display: flex; flex-direction: column; }
.sector-sub { font-size: .8rem; color: #93a5ba; line-height: 1.5; margin-top: 2px; transition: color .45s var(--ease); }
.sector:hover .sector-sub { color: var(--navy-800); }
.metrics .metric .val { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
@media (max-width: 860px) { .split > [style*="sticky"] { position: static !important; } }
/* Contrast: gold eyebrow on light backgrounds (WCAG) */
.section--ivory .eyebrow, .section--white .eyebrow { color: var(--gold-700); }
.section--ivory .link-arrow, .section--white .link-arrow { color: var(--gold-700); }
/* Consolidated (maestro): readable gold accents on light backgrounds + balanced headings */
.page-hero h1, .sec-head h2, .cta-band h2, .hero h1 { text-wrap: balance; }
.section--white .gold-text, .section--ivory .gold-text { background-image: linear-gradient(100deg, var(--gold-700) 0%, var(--gold-500) 45%, var(--gold-700) 70%, var(--gold-600) 100%); background-size: 200% auto; }
.section--white .cta-band .gold-text, .section--ivory .cta-band .gold-text { background-image: var(--grad-gold-text); }
.section--deep .note, .section--dark .note { color: #93a5ba; }
.section--deep .note .ico, .section--dark .note .ico { color: var(--gold-400); }
/* Consolidated (maestro): EN header fit, consent errors, anchor offset */
html { scroll-padding-top: 96px; }
@media (min-width: 1181px) { html[lang="en"] .site-header .container { max-width: 1400px; } }
@media (min-width: 1361px) { html[lang="en"] .nav a.nav-link, html[lang="en"] .nav button.nav-link { padding-inline: 11px; } }
@media (min-width: 1181px) and (max-width: 1439px) { html[lang="en"] .brand-tag { display: none; } }
@media (min-width: 1181px) and (max-width: 1279px) { html[lang="en"] .header-cta { display: none; } }
.consent { flex-wrap: wrap; }
.consent .err { flex-basis: 100%; display: none; color: #c0392b; font-size: .8rem; }
.consent.has-error .err { display: block; }

/* Consolidated (maestro): frame outline, LTR motif, deep gold on light */
.frame { isolation: isolate; }
html[dir="ltr"] .lines-motif svg { transform: scaleX(-1); }
.section--ivory .mstep .big-num, .section--white .mstep .big-num { background-image: linear-gradient(135deg, #d9b05a 0%, #c99a3d 45%, #8f6224 100%); }
.case-head .chip { background: rgba(201,154,61,.18); color: var(--gold-300); }/* Staff webmail link (footer) */
.footer-bottom .staff-mail { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(201,154,61,.35); color: var(--gold-300); }
.footer-bottom .staff-mail .ico { width: 15px; height: 15px; }
.footer-bottom .staff-mail:hover { background: rgba(201,154,61,.12); }
/* Header webmail button */
.mail-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; color: var(--gold-300); font-family: var(--font-head); font-size: .85rem; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(201,154,61,.45); transition: background .3s, color .3s; white-space: nowrap; }
.mail-btn:hover { background: rgba(201,154,61,.14); color: var(--gold-200); }
.mail-btn .ico { width: 17px; height: 17px; }
@media (max-width: 1600px) { .mail-btn span { display: none; } .mail-btn { padding: 0; width: 38px; height: 38px; justify-content: center; } }
/* Header fit (both languages) after adding the mail button */
@media (min-width: 1181px) { .site-header .container { max-width: 1400px; } }
@media (min-width: 1181px) and (max-width: 1439px) { .site-header .brand-tag { display: none; } .header-actions { gap: 8px; } }
@media (min-width: 1181px) and (max-width: 1299px) { .header-cta { display: none; } }
