/* ============================================================
   XLLENZA Technologies LLC — "Midnight Oud"
   Onyx base · warm gold signal accent · Gulf-luxury, hi-tech, sober
   ============================================================ */

:root {
  /* Surfaces — onyx */
  --bg:            #0B0B0D;   /* onyx */
  --bg-elev:       #131316;   /* elevated section */
  --bg-elev-2:     #17171B;   /* cards */
  --bg-tint:       #202026;   /* warm fill */

  /* Deepest bands */
  --ink:           #0E0E11;
  --ink-2:         #08080A;

  --line:          #2A2A31;   /* warm dark hairline */
  --line-soft:     #1E1E23;

  --text:          #F4F1EA;   /* warm white */
  --text-muted:    #A39E93;   /* warm gray */
  --text-dim:      #757169;

  /* Brushed-onyx metal surfaces */
  --metal:         linear-gradient(135deg, #1A1A1F 0%, #2A2A31 48%, #141417 100%);
  --metal-soft:    linear-gradient(135deg, #16161A 0%, #232329 50%, #121215 100%);
  --metal-dark:    linear-gradient(135deg, #0E0E11 0%, #16161A 50%, #0A0A0C 100%);
  --metal-line:    #33333B;

  /* Warm gold signal accent */
  --gold-1:        #A87D24;   /* deep gold */
  --gold-2:        #E3C673;   /* bright gold */
  --accent:        #C9A24B;   /* gold */
  --accent-hover:  #E3C673;
  --accent-soft:   rgba(201, 162, 75, 0.14);
  --accent-gradient: linear-gradient(135deg, #A87D24 0%, #E3C673 48%, #C9A24B 100%);
  --on-gold:       #1A1304;   /* text on gold */
  --ember:         #B5552B;   /* rare warm secondary */

  /* On-dark text */
  --on-dark:       #F4F1EA;
  --on-dark-muted: #A39E93;

  /* Official XLLENZA brand gradient (logo only) */
  --brand-from:    #8360c3;
  --brand-to:      #2ebf91;
  --brand-gradient: linear-gradient(90deg, var(--brand-from) 0%, var(--brand-to) 100%);

  /* Type */
  --font-body: 'Inter', 'Tajawal', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-ar: 'Tajawal', 'Inter', sans-serif;
  --font-display: 'Poppins', var(--font-body);
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-brand: 'Comfortaa', var(--font-display);

  /* Layout */
  --maxw: 1180px;
  --gutter: 24px;
  --radius: 8px;
  --radius-lg: 14px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .2s;
  --shadow-sm: 0 1px 2px rgba(60, 45, 15, .05), 0 2px 6px rgba(60, 45, 15, .06);
  --shadow-md: 0 16px 40px -18px rgba(60, 45, 15, .22);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body);
  background: var(--bg); color: var(--text);
  line-height: 1.6; font-size: 16px;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; font-feature-settings: "kern" 1; font-kerning: normal;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -0.02em; font-weight: 700; }
[dir="rtl"], [lang="ar"] { font-family: var(--font-ar); }

/* ---------- Helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.text-accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .76rem; font-weight: 500;
  letter-spacing: .05em; text-transform: uppercase; color: var(--accent-hover); margin: 0 0 20px;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-gradient); }
.section-eyebrow {
  font-family: var(--font-mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px;
}
.section-eyebrow.centered { text-align: center; color: var(--text-dim); }
.section-title { font-size: clamp(1.6rem, 3.4vw, 2.45rem); margin-bottom: 14px; }
.section-lead { color: var(--text-muted); max-width: 58ch; font-size: 1.05rem; }
.section-head { max-width: 700px; margin-bottom: 48px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: .95rem; letter-spacing: -.005em;
  padding: 12px 22px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-primary { background: var(--accent-gradient); color: var(--on-gold); font-weight: 700; box-shadow: 0 8px 22px -10px rgba(138,90,16,.7); }
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(138,90,16,.8); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-hover); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 13, 0.78);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--accent-gradient); opacity: .6;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 86px; gap: 20px; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; flex: 0 0 auto; line-height: 1; border-radius: var(--radius); }
.brand:focus-visible { outline: 2px solid var(--brand-from); outline-offset: 4px; }
.brand-logo { height: 46px; width: auto; display: block; transition: transform var(--dur) var(--ease); }
.brand:hover .brand-logo { transform: translateY(-1px); }
.brand-wordmark {
  font-family: var(--font-brand); font-weight: 700; font-size: 1.5rem; letter-spacing: .04em;
  text-transform: uppercase; line-height: 1;
  background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.brand-tagline {
  display: block; font-family: var(--font-brand); font-weight: 500;
  font-size: .5rem; letter-spacing: .2em; text-transform: uppercase;
  white-space: nowrap; color: var(--text-dim);
}
.brand-name { font-family: var(--font-brand); font-weight: 700; font-size: 1.25rem; letter-spacing: .02em; }
.brand-accent { color: var(--brand-to); }
.footer-logo { height: 40px; width: auto; display: block; margin-bottom: 16px; }

.main-nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; flex-wrap: nowrap; gap: 2px; }
.nav-link {
  position: relative; padding: 9px 12px; border-radius: var(--radius);
  font-size: .92rem; font-weight: 500; color: var(--text-muted); white-space: nowrap;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-link:hover { color: var(--text); background: var(--bg-tint); }
.nav-link.is-active { color: var(--text); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px;
  height: 2px; background: var(--accent-gradient); border-radius: 2px;
}
.nav-cta-item { margin-left: 10px; }
.nav-cta { padding: 10px 18px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--dur); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(80px, 12vw, 150px) 0 clamp(60px, 8vw, 110px); }
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(50% 55% at 80% 0%, rgba(201,162,75,.20), transparent 70%),
    radial-gradient(45% 50% at 10% 15%, rgba(138,90,16,.10), transparent 70%),
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: auto, auto, 60px 60px, 60px 60px;
  mask-image: radial-gradient(125% 85% at 50% 0%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(125% 85% at 50% 0%, #000 35%, transparent 100%);
  opacity: .9;
}
.hero-canvas {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: .8;
  mask-image: radial-gradient(120% 90% at 60% 10%, #000 45%, transparent 100%);
  -webkit-mask-image: radial-gradient(120% 90% at 60% 10%, #000 45%, transparent 100%);
}
/* thin gold horizon line (dune / skyline motif) */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: clamp(40px, 9vw, 90px); height: 1px; z-index: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(227,198,115,.55) 35%, rgba(227,198,115,.8) 50%, rgba(227,198,115,.55) 65%, transparent 100%);
  box-shadow: 0 0 24px rgba(227,198,115,.35);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 900px; }
.hero-title { font-size: clamp(2.4rem, 6vw, 4.1rem); margin-bottom: 22px; letter-spacing: -0.025em; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--text-muted); max-width: 60ch; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-mono { font-family: var(--font-mono); font-size: .76rem; color: var(--text-dim); margin: 0 0 48px; display: inline-flex; align-items: center; gap: 10px; }
.hero-mono .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(168,118,27,.5); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(168,118,27,.5); }
  70% { box-shadow: 0 0 0 8px rgba(168,118,27,0); }
  100% { box-shadow: 0 0 0 0 rgba(168,118,27,0); }
}
.hero-stats { display: flex; flex-wrap: wrap; gap: 48px; margin: 0; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats dt { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.hero-stats dd { margin: 4px 0 0; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--text-dim); }

/* ---------- Partners ---------- */
.partners { padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-elev); }
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 28px; }
.partner-logo {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  color: var(--text-dim); padding: 18px 10px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--bg-elev-2); letter-spacing: -.01em;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.partner-logo:hover { color: var(--accent-hover); border-color: var(--accent); box-shadow: var(--shadow-sm); }

/* ---------- Cards / Expertise ---------- */
.expertise { padding: clamp(64px, 9vw, 110px) 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; background: var(--bg-elev-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px; overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--accent-gradient); transition: width var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: rgba(201,162,75,.45); box-shadow: 0 18px 40px -22px rgba(0,0,0,.7); }
.card:hover::before { width: 100%; }
.card-icon {
  width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 20px;
  border-radius: var(--radius); background: var(--accent-soft); color: var(--accent-hover);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.card:hover .card-icon { background: var(--accent-gradient); color: var(--on-gold); }
.card-icon svg { width: 24px; height: 24px; }
.svc-code {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent-hover);
  margin: 0 0 10px;
}

/* ---------- Floating quick-contact buttons ---------- */
.quick-contact {
  position: fixed; left: 22px; bottom: 22px; z-index: 60;
  display: flex; flex-direction: column; gap: 12px;
}
.qc-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 8px 22px -8px rgba(0,0,0,.65); border: 1px solid rgba(255,255,255,.12);
  transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.qc-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.qc-btn svg { width: 22px; height: 22px; }
.qc-wa { background: #25D366; color: #fff; }
.qc-call, .qc-mail { background: var(--accent-gradient); color: var(--on-gold); }
@media (max-width: 560px) { .quick-contact { left: 16px; bottom: 16px; gap: 10px; } .qc-btn { width: 42px; height: 42px; } }

/* ---------- Back-to-top button ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent-gradient); color: var(--on-gold);
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 10px 26px -8px rgba(201,162,75,.6);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.to-top svg { width: 20px; height: 20px; }
.to-top:hover { filter: brightness(1.08); }
.to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
@media (max-width: 560px) { .to-top { right: 16px; bottom: 16px; } }

/* ---------- Tech Blog: partner feeds ---------- */
.feed-loading { color: var(--text-muted); font-size: .95rem; grid-column: 1 / -1; }
.feed-card { display: flex; flex-direction: column; }
.feed-list { display: grid; gap: 14px; margin: 0 0 18px; }
.feed-item { display: grid; gap: 3px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.feed-item:last-child { border-bottom: 0; padding-bottom: 0; }
.feed-item a { color: var(--text); font-weight: 600; font-size: .95rem; line-height: 1.4; transition: color var(--dur) var(--ease); }
.feed-item a:hover { color: var(--accent-hover); }
.feed-meta { font-family: var(--font-mono); font-size: .72rem; color: var(--text-dim); }
.feed-card .card-link { margin-top: auto; }

/* ---------- Article (blog post) ---------- */
.article-wrap { max-width: 760px; }
.article-lead { font-size: 1.2rem; color: var(--text); margin: 18px 0 8px; line-height: 1.55; }
.article h2 { font-size: 1.45rem; margin: 38px 0 14px; }
.article p { color: var(--text-muted); margin: 0 0 16px; font-size: 1.05rem; }
.article strong { color: var(--text); }
.article a { color: var(--accent-hover); }
.article .feature-list li { color: var(--text-muted); }
.card-title { font-size: 1.2rem; margin-bottom: 12px; }
.card-body { color: var(--text-muted); font-size: .97rem; margin: 0 0 20px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-hover); font-weight: 600; font-size: .92rem; }
.card-link span { transition: transform var(--dur) var(--ease); }
.card-link:hover span { transform: translateX(4px); }

/* ---------- About ---------- */
.about { padding: clamp(64px, 9vw, 110px) 0; border-top: 1px solid var(--line); background: var(--bg-elev); }
.about-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.about-points { margin-top: 26px; display: grid; gap: 12px; }
.about-points li { position: relative; padding-left: 26px; color: var(--text); }
.about-points li::before { content: ""; position: absolute; left: 0; top: 8px; width: 11px; height: 11px; border-radius: 3px; background: var(--accent-gradient); }
.about-panel {
  height: 300px; border: 1px solid var(--metal-line); border-radius: var(--radius-lg);
  background: var(--metal);
  display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 32px; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), var(--shadow-md);
}
.panel-line { height: 12px; border-radius: 6px; background: rgba(255,255,255,.10); }
.panel-line:nth-child(1) { width: 80%; }
.panel-line:nth-child(2) { width: 55%; background: var(--accent-gradient); }
.panel-line:nth-child(3) { width: 68%; }

/* ---------- CTA (charcoal feature band) ---------- */
.cta { padding: clamp(64px, 9vw, 110px) 0; }
.cta-inner {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid #34373E; border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px) 24px; background: var(--metal-dark);
}
.cta-inner::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent-gradient); }
.cta-inner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 120% at 50% 0%, rgba(201,162,75,.16), transparent 70%);
}
.cta-title { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 14px; color: var(--on-dark); position: relative; }
.cta-sub { color: var(--on-dark-muted); margin: 0 auto 30px; max-width: 52ch; position: relative; }
.cta-inner .btn { position: relative; }

/* ---------- Footer (charcoal) ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--metal-dark); color: var(--on-dark); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: 36px; padding: 56px var(--gutter); align-items: start; }
.footer-brand p { color: var(--on-dark-muted); margin: 0 0 16px; max-width: 42ch; font-size: .92rem; }
.footer-logo { filter: none; }
.footer-li { color: var(--gold-2); font-weight: 600; font-size: .9rem; }
.footer-li:hover { color: #E6C77E; }
.footer-col h4 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 16px; font-weight: 500; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: var(--on-dark-muted); font-size: .92rem; transition: color var(--dur) var(--ease); }
.footer-links a:hover { color: var(--on-dark); }
.footer-col address { font-style: normal; color: var(--on-dark-muted); font-size: .9rem; line-height: 1.8; }
.footer-col address a { color: var(--on-dark-muted); transition: color var(--dur) var(--ease); }
.footer-col address a:hover { color: var(--gold-2); }
.footer-base { border-top: 1px solid rgba(255,255,255,.08); }
.footer-base-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 18px; }
.footer-base-inner small { color: var(--on-dark-muted); }

/* ============================================================
   Inner-page components
   ============================================================ */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--bg-elev); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--metal-dark); color: var(--on-dark); border-block: 1px solid #34373E; }
.section-dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.section-dark .card-title { color: var(--on-dark); }
.section-dark .card-body { color: var(--on-dark-muted); }
.section-dark .card-icon { background: rgba(227,197,114,.16); color: var(--gold-2); }
.section-dark .catalog thead th { background: rgba(255,255,255,.05); color: var(--on-dark-muted); border-color: rgba(255,255,255,.12); }
.section-dark .table-wrap { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.12); }
.section-dark .catalog tbody td, .section-dark .catalog tbody th { color: var(--on-dark-muted); border-color: rgba(255,255,255,.08); }
.section-dark .catalog td:nth-child(2) { color: var(--on-dark); }
.section-dark .catalog tbody tr:hover { background: rgba(255,255,255,.04); }
.section-dark .callout { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); color: var(--on-dark-muted); }
.section-dark .callout strong { color: var(--on-dark); }
.section-dark .chip { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: var(--on-dark-muted); }
.section-dark .chip:hover { color: var(--gold-2); border-color: var(--gold-2); background: rgba(227,197,114,.12); }
.section-dark .process li { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.section-dark .process h3 { color: var(--on-dark); }
.section-dark .process p { color: var(--on-dark-muted); }
.section-dark .fineprint { color: var(--on-dark-muted); }
.section-dark .subhead { color: var(--on-dark); }
.section-dark .section-title { color: var(--on-dark); }
.section-dark .section-lead { color: var(--on-dark-muted); }
.section-dark .section-eyebrow { color: var(--gold-2); }
.prose { color: var(--text-muted); margin-top: 16px; max-width: 62ch; }

.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 110px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero-inner { position: relative; z-index: 1; max-width: 780px; }
.page-title { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 18px; letter-spacing: -0.025em; }
.page-lead { color: var(--text-muted); font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: 60ch; margin: 0; }

.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--text-dim); margin-bottom: 22px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }

.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; }
.stat-band div { padding: 8px 0; }
.stat-band dt { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.stat-band dd { margin: 6px 0 0; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--text-dim); }

.card-icon.lg { width: 72px; height: 72px; border-radius: var(--radius-lg); }
.card-icon.lg svg { width: 34px; height: 34px; }

.service-row { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-row.reverse .service-media { order: 2; }
.service-media {
  display: grid; place-items: center; min-height: 200px;
  border: 1px solid var(--metal-line); border-radius: var(--radius-lg);
  background: var(--metal-soft);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}

.feature-list { margin-top: 22px; display: grid; gap: 12px; }
.feature-list li { position: relative; padding-left: 28px; color: var(--text); }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px;
  border-radius: 3px; background: var(--accent-gradient);
}

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 0; padding: 0; }
.process.five { grid-template-columns: repeat(5, 1fr); }
.process li { list-style: none; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-elev-2); }
.process-num { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--accent); }
.process h3 { font-size: 1.12rem; margin: 12px 0 8px; }
.process p { margin: 0; color: var(--text-muted); font-size: .95rem; }

.tier { margin-bottom: 40px; }
.tier:last-child { margin-bottom: 0; }
.tier-title { font-size: 1.05rem; color: var(--text-muted); font-family: var(--font-body); font-weight: 600; letter-spacing: .01em; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }

/* Chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px;
  font-size: .88rem; font-weight: 600; color: var(--text-muted);
  background: var(--bg-elev-2); border: 1px solid var(--line);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.chip:hover { color: var(--accent-hover); border-color: var(--accent); background: var(--accent-soft); }

/* Callout */
.callout {
  margin-top: 28px; padding: 20px 22px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); border-left: 3px solid var(--accent);
  background: var(--bg-elev-2); color: var(--text-muted); font-size: .98rem;
}
.callout strong { color: var(--text); }
.callout.warn { border-left-color: var(--ember); background: rgba(181,85,43,.10); }
.callout.warn strong { color: #E59B6B; }

.subhead { font-family: var(--font-display); font-size: 1.2rem; margin: 44px 0 18px; }
.fineprint { margin-top: 20px; font-size: .82rem; color: var(--text-dim); max-width: 90ch; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); -webkit-overflow-scrolling: touch; background: var(--bg-elev-2); }
.catalog { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 720px; }
.catalog thead th {
  text-align: left; font-family: var(--font-body); font-weight: 700;
  font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--text-dim);
  padding: 14px 18px; background: var(--bg-tint); border-bottom: 1px solid var(--line); white-space: nowrap;
}
.catalog tbody td, .catalog tbody th { padding: 14px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: top; color: var(--text-muted); }
.catalog tbody tr:last-child td, .catalog tbody tr:last-child th { border-bottom: 0; }
.catalog tbody tr { transition: background var(--dur) var(--ease); }
.catalog tbody tr:hover { background: var(--bg-elev); }
.catalog td:nth-child(2) { color: var(--text); font-weight: 600; }
.catalog .sku { font-family: var(--font-mono); font-weight: 500; font-size: .82rem; color: var(--accent-hover); white-space: nowrap; }
.catalog.facts { min-width: 0; }
.catalog.facts th { width: 38%; text-transform: none; letter-spacing: 0; font-size: .92rem; color: var(--text); font-weight: 600; background: transparent; white-space: normal; }
.catalog.facts td { color: var(--text-muted); }

/* Forms */
.consult-form { max-width: 640px; margin: 30px auto 0; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.consult-form label { display: flex; flex-direction: column; gap: 7px; font-size: .85rem; font-weight: 600; color: var(--on-dark-muted); }
.consult-form .form-full { margin-bottom: 18px; }
.consult-form input, .consult-form select, .consult-form textarea {
  font-family: inherit; font-size: .95rem; color: var(--text);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius);
  padding: 12px 14px; width: 100%; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.consult-form select option { background: #17171B; color: var(--text); }
.consult-form input:focus, .consult-form select:focus, .consult-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.consult-form textarea { resize: vertical; }
.form-note { font-size: .8rem; color: var(--on-dark-muted); margin-top: 14px; }
.form-note a { color: var(--gold-2); }
.consult-form .req { color: var(--gold-2); }
.consult-form input[type="file"] { padding: 10px 12px; color: var(--text-muted); cursor: pointer; }
.consult-form input[type="file"]::file-selector-button {
  font-family: inherit; font-weight: 600; font-size: .85rem; color: var(--on-gold);
  background: var(--accent-gradient); border: 0; border-radius: var(--radius);
  padding: 8px 14px; margin-right: 12px; cursor: pointer; transition: filter var(--dur) var(--ease);
}
.consult-form input[type="file"]::file-selector-button:hover { filter: brightness(1.06); }
.form-note code { background: var(--bg-tint); padding: 2px 6px; border-radius: 4px; border: 1px solid var(--line); color: var(--text); }

/* CTA form on dark band keeps labels readable */
.cta .consult-form label { color: var(--on-dark-muted); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .process.five { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 1fr; gap: 28px; }
  .service-row.reverse .service-media { order: 0; }
  .service-media { min-height: 160px; }
}
@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 86px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg-elev); border-bottom: 1px solid var(--line);
    padding: 14px var(--gutter) 22px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
    box-shadow: var(--shadow-md);
  }
  .nav-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-link { padding: 12px 14px; }
  .nav-cta-item { margin: 6px 0 0; }
  .nav-cta { width: 100%; }
}
@media (max-width: 560px) {
  .card-grid, .card-grid.four { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .process, .process.five { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-base-inner { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; animation: none !important; }
}
