/* ==========================================================================
   TAQUDI · تعاقدي — Institutional identity v2
   Deep navy + a single disciplined teal accent. Flat, calm, trustworthy.
   ========================================================================== */

:root {
  /* Core */
  --navy-900: #0B1320;
  --navy-800: #16233b;
  --navy-700: #1e3350;
  --navy-600: #274160;

  --teal-600: #009486;
  --teal-500: #00B8A3;
  --teal-400: #2fd4c4;

  --gold: #c9a24b;          /* used only as a thin premium detail */
  --blue-500: #3e8ff2;
  --violet-500: #8b7cf6;
  --amber-500: #e0a339;
  --rose-500: #f0637e;

  --paper: #0a1526;
  --card: #101f34;
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.07);
  --line-dark: rgba(255, 255, 255, 0.09);

  --ink: #f2f6fa;
  --text: #cdd8e4;
  --text-soft: #94a5b8;
  --text-invert: #eef3f9;
  --text-invert-soft: #9fb0c2;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .18), 0 6px 20px rgba(0, 0, 0, .16);
  --shadow-md: 0 10px 34px rgba(0, 0, 0, .28);
  --maxw: 1140px;
  --gap: clamp(16px, 2.6vw, 26px);
  --font: "IBM Plex Sans Arabic", "Tajawal", system-ui, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); background: var(--paper); color: var(--text);
  line-height: 1.8; font-size: 17px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.32; font-weight: 700; margin: 0 0 .5em; letter-spacing: -.015em; color: var(--ink); }
p { margin: 0 0 1em; }

.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 3px; color: var(--teal-600);
  text-transform: uppercase; margin-bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--teal-500); display: inline-block; }
.eyebrow.on-dark { color: var(--teal-400); }
.eyebrow.on-dark::before { background: var(--teal-400); }
.muted { color: var(--text-soft); }

/* ---------- Logo ---------- */
.brand { display: flex; align-items: center; gap: 12px; color: var(--text-invert); }
.brand-mark { width: 40px; height: 34px; flex: none; }
.brand-mark svg, .brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 19px; letter-spacing: 1px; font-weight: 700; }
.brand-text span { font-size: 10.5px; color: var(--text-invert-soft); letter-spacing: .3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; border: 1.5px solid transparent;
  transition: transform .14s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal-500); color: #04231f; box-shadow: 0 6px 18px rgba(20, 184, 166, .26); }
.btn-primary:hover { background: var(--teal-400); box-shadow: 0 10px 26px rgba(20, 184, 166, .34); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--teal-500); color: var(--teal-600); }
.btn-ghost.on-dark { color: var(--text-invert); border-color: var(--line-dark); background: transparent; }
.btn-ghost.on-dark:hover { border-color: var(--teal-400); color: var(--teal-400); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(10, 24, 38, .85);
  backdrop-filter: blur(16px); border-bottom: 1px solid var(--line-dark);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-invert-soft); font-size: 15px; font-weight: 500; position: relative; padding: 4px 0; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active::after { content: ""; position: absolute; inset-inline: 0; bottom: -3px; height: 2px; background: var(--teal-400); border-radius: 2px; }
/* Solutions dropdown */
.nav-dd { position: relative; display: inline-flex; }
.nav-dd-toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; color: var(--text-invert-soft); font-size: 15px; font-weight: 500; font-family: inherit; padding: 4px 0; cursor: pointer; transition: color .2s; }
.nav-dd-toggle:hover, .nav-dd.open .nav-dd-toggle { color: #fff; }
.nav-dd-toggle svg { transition: transform .2s; }
.nav-dd.open .nav-dd-toggle svg { transform: rotate(180deg); }
.nav-dd-menu { position: absolute; top: calc(100% + 14px); inset-inline-start: 50%; transform: translateX(50%) translateY(6px); min-width: 280px; background: var(--navy-800); border: 1px solid var(--line-dark); border-radius: 14px; padding: 8px; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s; z-index: 60; }
html[dir="ltr"] .nav-dd-menu { transform: translateX(-50%) translateY(6px); }
.nav-dd.open .nav-dd-menu { opacity: 1; visibility: visible; transform: translateX(50%) translateY(0); }
html[dir="ltr"] .nav-dd.open .nav-dd-menu { transform: translateX(-50%) translateY(0); }
.nav-dd-menu a { display: block; padding: 10px 14px; border-radius: 9px; color: var(--text-invert-soft); font-size: 14.5px; font-weight: 500; transition: background .15s, color .15s; }
.nav-dd-menu a:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-dd-menu .nav-dd-all { margin-top: 4px; border-top: 1px solid var(--line-dark); color: var(--teal-400); font-weight: 600; border-radius: 0 0 9px 9px; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 9px 18px; font-size: 14px; }
.lang-pill { color: var(--text-invert-soft); font-size: 13px; border: 1px solid var(--line-dark); padding: 7px 12px; border-radius: 999px; background: transparent; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; padding: 6px; }

@media (max-width: 900px) {
  .nav-links, .nav-cta .lang-pill { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; position: absolute; inset-inline: 12px; top: 70px; flex-direction: column; align-items: stretch; gap: 4px; background: var(--navy-800); padding: 12px; border-radius: 14px; border: 1px solid var(--line-dark); box-shadow: var(--shadow-md); }
  .nav-links.open a { padding: 12px 14px; border-radius: 10px; }
  .nav-links.open a:hover { background: rgba(255,255,255,.06); }
  .nav-dd { display: block; }
  .nav-dd-toggle { width: 100%; justify-content: space-between; padding: 12px 14px; font-size: 15px; }
  .nav-dd-menu { position: static; transform: none !important; opacity: 1; visibility: visible; min-width: 0; background: rgba(255,255,255,.03); border: none; box-shadow: none; padding: 2px 0 6px 12px; margin: 0; display: none; }
  .nav-dd.open .nav-dd-menu { display: block; }
  .nav-dd-menu a { font-size: 14px; padding: 9px 14px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--text-invert);
  background:
    radial-gradient(900px 420px at 88% -20%, rgba(20,184,166,.16), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  padding: clamp(60px, 9vw, 108px) 0 clamp(64px, 10vw, 116px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(700px 500px at 80% 0%, #000, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(33px, 5.2vw, 55px); line-height: 1.2; margin-bottom: 20px; color: #fff; }
.hero h1 .accent { color: var(--teal-400); }
.hero p.lead { font-size: clamp(16px, 1.9vw, 19px); color: var(--text-invert-soft); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.quick-paths { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.quick-paths .qp-label { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-invert-soft); margin-inline-end: 4px; }
.qp-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.03); color: var(--text-invert); font-size: 14px; font-weight: 500; transition: border-color .18s, color .18s, background .18s; }
.qp-chip svg { width: 17px; height: 17px; color: var(--teal-400); flex: none; }
.qp-chip:hover { border-color: var(--teal-400); color: #fff; background: rgba(45,212,191,.08); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-tags span { font-size: 13px; color: var(--text-invert-soft); border: 1px solid var(--line-dark); padding: 7px 14px; border-radius: 999px; font-family: var(--mono); letter-spacing: .3px; }
.hero-visual { position: relative; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { order: -1; max-width: 440px; } }

/* ---------- Trust strip ---------- */
.trust-strip { border-top: 1px solid var(--line-dark); background: var(--navy-900); }
.trust-strip .container { display: flex; align-items: center; gap: clamp(18px, 4vw, 44px); flex-wrap: wrap; padding: 20px 0; }
.trust-strip .label { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--text-invert-soft); text-transform: uppercase; }
.trust-strip .item { display: flex; align-items: center; gap: 9px; color: #cdd8e4; font-size: 14px; }
.trust-strip .item svg { width: 18px; height: 18px; color: var(--teal-400); flex: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(58px, 9vw, 104px) 0; }
.section.alt { background: var(--card); }
.section-head { max-width: 700px; margin-bottom: clamp(32px, 5vw, 54px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(27px, 3.6vw, 39px); }
.section-head p { color: var(--text-soft); font-size: 18px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(45,212,191,.35); }
.card .kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--teal-600); text-transform: uppercase; }
.card .num { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--teal-600); display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 11px; margin-bottom: 16px; }
.card h3 { font-size: 20px; margin-top: 4px; }
.card p { color: var(--text-soft); font-size: 15.5px; margin: 0; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.card ul li { position: relative; padding-inline-start: 24px; margin-bottom: 9px; font-size: 15px; color: var(--text-soft); }
.card ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 10px; width: 12px; height: 12px; border-radius: 4px; background: rgba(20,184,166,.16); border: 1px solid var(--teal-500); }
.card-icon { width: 50px; height: 50px; border-radius: 13px; margin-bottom: 18px; display: grid; place-items: center; background: rgba(20,184,166,.10); color: var(--teal-400); border: 1px solid rgba(20,184,166,.18); }
.card-icon svg { width: 24px; height: 24px; }
.card-icon.icon-blue { background: rgba(62,143,242,.12); color: var(--blue-500); border-color: rgba(62,143,242,.22); }
.card-icon.icon-violet { background: rgba(139,124,246,.12); color: var(--violet-500); border-color: rgba(139,124,246,.22); }
.card-icon.icon-amber { background: rgba(224,163,57,.12); color: var(--amber-500); border-color: rgba(224,163,57,.22); }
.card-icon.icon-rose { background: rgba(240,99,126,.12); color: var(--rose-500); border-color: rgba(240,99,126,.22); }
.link-arrow { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--teal-600); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Process flow (how it works) ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.process::before { content: ""; position: absolute; top: 34px; inset-inline: 9%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(47,212,196,.5) 0 10px, transparent 10px 18px); }
.process .step { position: relative; text-align: center; padding: 0 6px; }
.process .step-node { position: relative; z-index: 1; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 20px;
  display: grid; place-items: center; background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); color: var(--teal-400); }
.process .step-node svg { width: 30px; height: 30px; }
.process .step-num { position: absolute; top: -8px; inset-inline-end: -8px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal-500); color: #04231f; font-family: var(--mono); font-size: 12px; font-weight: 700;
  display: grid; place-items: center; border: 2px solid var(--paper); }
.process .step h3 { font-size: 17px; margin: 0 0 6px; }
.process .step p { font-size: 14px; color: var(--text-soft); margin: 0; }
.process .step-node.c-blue { color: var(--blue-500); }
.process .step-node.c-violet { color: var(--violet-500); }
.process .step-node.c-amber { color: var(--amber-500); }
.process .step-node.c-rose { color: var(--rose-500); }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; gap: 0; text-align: start; }
  .process::before { top: 34px; bottom: 34px; inset-inline-start: 33px; inset-inline-end: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, rgba(47,212,196,.5) 0 10px, transparent 10px 18px); }
  .process .step { display: grid; grid-template-columns: 68px 1fr; gap: 18px; text-align: start; padding: 0 0 30px; align-items: start; }
  .process .step:last-child { padding-bottom: 0; }
  .process .step-node { margin: 0; }
  .process .step h3 { margin-top: 6px; }
}

/* ---------- Service / domain mini-illustration cards ---------- */
.card .mini-illus { width: 100%; height: 96px; margin: 4px 0 16px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(160deg, rgba(47,212,196,.05), rgba(62,143,242,.04)); border: 1px solid var(--line-2); }
.card .mini-illus svg { width: 100%; height: 100%; display: block; }

/* ---------- Abstract section illustration ---------- */
.illus-wrap { position: relative; }
.illus-wrap svg { width: 100%; height: auto; display: block; }
@media (max-width: 860px) { .join-illus { display: none; } }

/* ---------- Stats row ---------- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); text-align: center; }
@media (max-width: 720px) { .stats-row { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
.stat-item .num { font-family: var(--mono); font-size: clamp(30px, 4vw, 44px); font-weight: 700; color: var(--teal-400); line-height: 1; }
.stat-item .lbl { margin-top: 10px; font-size: 14.5px; color: var(--text-invert-soft); }

/* ---------- Skyline decorative band ---------- */
.skyline-band { position: relative; height: clamp(80px, 12vw, 140px); overflow: hidden; }
.skyline-band svg { width: 100%; height: 100%; display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; color: var(--text-invert); border-radius: 22px; text-align: center;
  background: radial-gradient(600px 260px at 80% 0%, rgba(20,184,166,.22), transparent 62%), linear-gradient(135deg, var(--navy-800), var(--navy-700));
  padding: clamp(40px, 6vw, 64px);
}
.cta-band h2 { color: #fff; font-size: clamp(25px, 3.4vw, 35px); }
.cta-band p { color: var(--text-invert-soft); max-width: 54ch; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(24px, 4vw, 44px); align-items: start; }
@media (max-width: 820px) { .form-wrap { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field input, .field textarea, .field select { width: 100%; padding: 13px 15px; font-family: inherit; font-size: 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(20,184,166,.14); background: var(--card); }
.field textarea { min-height: 130px; resize: vertical; }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.info-card .row { padding: 15px 0; border-bottom: 1px solid var(--line-2); }
.info-card .row:last-child { border-bottom: none; }
.info-card .row b { display: block; font-size: 13px; color: var(--teal-600); margin-bottom: 3px; }
.info-card .row span { color: var(--text-soft); font-size: 15px; }
.form-note { margin-top: 16px; font-size: 13.5px; color: var(--text-soft); background: rgba(20,184,166,.07); border: 1px solid rgba(20,184,166,.20); padding: 13px 16px; border-radius: var(--radius-sm); }
.form-status { margin-top: 14px; font-size: 15px; font-weight: 600; min-height: 22px; }
.form-status.ok { color: var(--teal-600); }
.form-status.err { color: #d64550; }

.role-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.role-tab { border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 600; color: var(--text-soft); transition: .18s; }
.role-tab.active { border-color: var(--teal-500); color: var(--teal-600); background: rgba(20,184,166,.08); }
.auth-card { max-width: 520px; margin-inline: auto; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-md); }
.auth-switch { text-align: center; margin-top: 18px; font-size: 15px; color: var(--text-soft); }
.auth-switch a { color: var(--teal-600); font-weight: 700; }

/* Onboarding progress + dashboard completion bar */
.onb-progress { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.onb-progress-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 14px; color: var(--text-soft); }
.onb-progress-head b { font-family: var(--mono); font-size: 18px; color: var(--teal-400); }
.onb-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.onb-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--teal-600), var(--teal-400)); transition: width .5s ease; }
.onb-check input { accent-color: var(--teal-500); }
.status-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); }
.status-pill.s-review { color: var(--amber-500); border-color: rgba(224,163,57,.4); background: rgba(224,163,57,.08); }
.status-pill.s-incomplete { color: var(--rose-500); border-color: rgba(240,99,126,.4); background: rgba(240,99,126,.08); }
.status-pill.s-ready { color: var(--teal-400); border-color: rgba(47,212,196,.4); background: rgba(47,212,196,.08); }

.auth-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--text-soft); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-google { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--text); font-weight: 600; font-size: 15px; cursor: not-allowed; opacity: .7; position: relative; }
.btn-google svg { width: 18px; height: 18px; flex: none; }
.btn-google .soon-tag { font-size: 11px; font-weight: 600; color: var(--text-soft); background: var(--paper); border: 1px solid var(--line); padding: 2px 9px; border-radius: 999px; margin-inline-start: 4px; }

.media-item { display: flex; flex-direction: column; }
.media-item .tag { font-family: var(--mono); font-size: 12px; color: var(--teal-600); letter-spacing: 1px; margin-bottom: 12px; }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: var(--text-invert); padding: clamp(52px, 7vw, 92px) 0 clamp(44px, 6vw, 66px); }
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: .45; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(600px 400px at 85% 0%, #000, transparent 72%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(29px, 4.4vw, 47px); max-width: 20ch; }
.page-hero p { color: var(--text-invert-soft); font-size: clamp(16px, 2vw, 19px); max-width: 62ch; }

.value-row { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
@media (max-width: 820px){ .value-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--text-invert-soft); padding: clamp(40px, 5vw, 60px) 0 24px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: var(--gap); }
@media (max-width: 720px){ .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.footer-brand .brand { margin-bottom: 4px; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; }
.footer-logo img { width: 32px; height: 27px; object-fit: contain; flex: none; }
.footer-logo b { font-size: 17px; letter-spacing: .5px; color: #fff; font-weight: 700; display: inline-flex; align-items: baseline; gap: 6px; }
.footer-logo b span { font-size: 12px; font-weight: 500; color: var(--text-invert-soft); letter-spacing: 0; }
.site-footer h4 { color: #fff; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; opacity: .9; }
.footer-links a { display: block; padding: 6px 0; color: var(--text-invert-soft); font-size: 15px; transition: color .18s; }
.footer-links a:hover { color: var(--teal-400); }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #6b7a8c; }
.footer-bottom .mono { font-family: var(--mono); letter-spacing: 1px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--text-invert-soft); border: 1px solid var(--line-dark); transition: color .18s, border-color .18s, background .18s; }
.social a:hover { color: var(--teal-400); border-color: var(--teal-400); background: rgba(45,212,191,.08); }
.social a svg { width: 18px; height: 18px; }
.info-card .row a { color: var(--teal-600); font-size: 15px; }
.info-card .social { margin-top: 6px; }
.info-card .social a { color: var(--teal-600); border-color: var(--line); }
.info-card .social a:hover { color: var(--teal-500); border-color: var(--teal-500); background: rgba(20,184,166,.06); }
.dept-list { display: grid; gap: 2px; margin-top: 6px; }
.dept-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.dept-list a:last-child { border-bottom: none; }
.dept-list a span { color: var(--text); font-weight: 600; }
.dept-list a em { font-style: normal; font-family: var(--mono); font-size: 12.5px; color: var(--teal-600); }
.dept-list a:hover em { color: var(--teal-500); }
.why-contact { margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line-2); }
.why-contact b { display: block; font-size: 14px; color: var(--ink); margin-bottom: 12px; }
.reason-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.reason-chips span { font-size: 13px; color: var(--teal-700, #0c7d70); background: rgba(20,184,166,.08); border: 1px solid rgba(20,184,166,.2); padding: 6px 13px; border-radius: 999px; }

.connect-card { position: relative; overflow: hidden; border-radius: 12px; margin-bottom: 18px; border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(47,212,196,.05), rgba(62,143,242,.03)); }
.connect-card svg { width: 100%; height: auto; display: block; }

/* Reveal on scroll — only hidden when JS is active AND motion is allowed.
   Without the .js-anim class (no JS, or prefers-reduced-motion), content is
   fully visible by default and never depends on animation to appear. */
.js-anim .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js-anim .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- English (LTR) mode ---------- */
body.lang-en { font-family: "Inter", system-ui, "Segoe UI", sans-serif; }
body.lang-en .brand-text b,
body.lang-en .eyebrow,
body.lang-en .card .kicker,
body.lang-en .media-item .tag,
body.lang-en .footer-bottom .mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }
body.lang-en h1, body.lang-en h2, body.lang-en h3, body.lang-en h4 { letter-spacing: -.02em; }
#lang-toggle { cursor: pointer; }
