/* ===========================================================
   Prime AD — Local Enhancement Prototype (light / enterprise theme)
   Not connected to production. For local preview only.
=========================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f6fb;
  --bg-deep: #10122a;
  --bg-deep-2: #181b3d;
  --surface: #ffffff;
  --surface-2: #f5f6fb;
  --border: rgba(16,19,48,0.10);
  --border-strong: rgba(16,19,48,0.18);
  --text: #12142a;
  --text-muted: #575c76;
  --text-faint: #8a8ea8;
  --on-dark: #f6f7fc;
  --on-dark-muted: #aab0d4;
  --primary: #ff5b2e;
  --primary-2: #ffb020;
  --navy: #12142a;
  --accent-blue: #3959ff;
  --success: #16a673;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --max-width: 1240px;
  --header-h: 84px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Dark mode ---------- */
html[data-theme="dark"] {
  --bg: #0d0f1f;
  --bg-soft: #12142a;
  --bg-deep: #06070f;
  --bg-deep-2: #0a0c1f;
  --surface: #151833;
  --surface-2: #1c1f42;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.18);
  --text: #eef0fa;
  --text-muted: #a8adc9;
  --text-faint: #6b7093;
  --navy: #f5f6fb;
}
html[data-theme="dark"] .back-to-top,
html[data-theme="dark"] .index-row:hover .idx-arrow,
html[data-theme="dark"] .filter-tab.active {
  background: var(--primary); border-color: var(--primary);
}
html[data-theme="dark"] .bg-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
}
html[data-theme="dark"] .hero-photo::after,
html[data-theme="dark"] .page-hero .photo-bg::after {
  background: linear-gradient(180deg, rgba(6,7,15,0.55) 0%, rgba(13,15,31,0.94) 92%, var(--bg) 100%);
}
html[data-theme="dark"] .case-card .backdrop {
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 30%, rgba(13,15,31,0.95) 96%);
}
html[data-theme="dark"] .form-field input,
html[data-theme="dark"] .form-field select,
html[data-theme="dark"] .form-field textarea,
html[data-theme="dark"] .notify-box input[type="email"] {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-color: var(--border-strong);
}
html[data-theme="dark"] header.site-header.scrolled { background: rgba(13,15,31,0.82); }
html[data-theme="dark"] .mobile-drawer { background: rgba(13,15,31,0.98); }
html[data-theme="dark"] .photo-card::after { background: linear-gradient(180deg, rgba(13,15,31,0.05) 40%, rgba(13,15,31,0.9) 100%); }

/* ---------- Theme toggle button ---------- */
.theme-toggle {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-strong);
  background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: border-color 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--navy); border-color: var(--navy); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 6px 14px;
  border: 1px solid rgba(255,91,46,0.3);
  border-radius: 999px;
  background: rgba(255,91,46,0.06);
}
.eyebrow.on-dark {
  color: var(--primary-2);
  border-color: rgba(255,176,32,0.35);
  background: rgba(255,176,32,0.08);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(255,91,46,0.7);
}

.gradient-text {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.06; color: var(--navy); }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.015em; line-height: 1.12; color: var(--navy); }
h3 { font-size: 21px; font-weight: 700; color: var(--navy); }
p.lead { font-size: 19px; color: var(--text-muted); max-width: 600px; }
p { color: var(--text-muted); }

.section {
  position: relative;
  padding: 100px 0;
}
.section--tight { padding: 64px 0; }
.section--deep { background: var(--bg-deep); color: var(--on-dark); }
.section--deep h2, .section--deep h3 { color: var(--on-dark); }
.section--deep p { color: var(--on-dark-muted); }
.section--soft { background: var(--bg-soft); }

.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(255,91,46,0.55);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.035); box-shadow: 0 20px 40px -10px rgba(255,91,46,0.7); }
.btn-primary:active { transform: translateY(-1px) scale(0.97); }
.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--navy);
}
.btn-ghost:hover { background: rgba(16,19,48,0.04); transform: translateY(-2px); }
.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Background system ---------- */
#scene3d-canvas { position: fixed; inset: 0; z-index: -4; pointer-events: none; width: 100%; height: 100%; }

.bg-blobs { position: fixed; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }
.bg-blobs span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.14; will-change: transform; }
.bg-blobs .b1 { width: 620px; height: 620px; top: -220px; left: -160px; background: radial-gradient(circle at 30% 30%, var(--primary), transparent 70%); animation: float1 26s ease-in-out infinite; }
.bg-blobs .b2 { width: 560px; height: 560px; top: 20%; right: -220px; background: radial-gradient(circle at 60% 40%, var(--primary-2), transparent 70%); animation: float2 32s ease-in-out infinite; }
.bg-blobs .b3 { width: 480px; height: 480px; bottom: -200px; left: 30%; background: radial-gradient(circle at 50% 50%, var(--accent-blue), transparent 70%); animation: float3 30s ease-in-out infinite; }
@keyframes float1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.06); } }
@keyframes float2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-35px, 20px) scale(0.96); } }
@keyframes float3 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(20px, -25px) scale(1.04); } }

.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(16,19,48,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,19,48,0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  pointer-events: none;
}

#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }

/* ---------- Header ---------- */
header.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), height 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow .35s var(--ease);
  border-bottom: 1px solid transparent;
  background: rgba(255,255,255,0.0);
}
header.site-header.scrolled {
  height: 68px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px -16px rgba(16,19,48,0.25);
}
.nav-inner { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; color: var(--navy); }
.logo .mark { width: 34px; height: 34px; flex-shrink: 0; filter: drop-shadow(0 4px 12px rgba(255,91,46,0.35)); }
nav.primary-nav ul { display: flex; align-items: center; gap: 4px; }
nav.primary-nav a { position: relative; padding: 10px 16px; font-size: 14.5px; font-weight: 600; color: var(--text-muted); border-radius: 999px; transition: color 0.25s ease, background 0.25s ease; }
nav.primary-nav a:hover { color: var(--navy); background: rgba(16,19,48,0.05); }
nav.primary-nav a.active { color: var(--navy); }
nav.primary-nav a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  font-size: 13px; font-weight: 700; color: var(--text-muted); border: 1px solid var(--border-strong);
  border-radius: 999px; padding: 6px 12px; cursor: pointer; background: transparent;
}
.lang-toggle:hover { color: var(--navy); border-color: var(--navy); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 90px) 0 100px; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 { margin-top: 22px; }
.hero p.lead { margin-top: 22px; }
.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-trust { margin-top: 46px; display: flex; gap: 28px; flex-wrap: wrap; }
.hero-trust .item { display: flex; align-items: center; gap: 10px; }
.hero-trust .num { font-size: 22px; font-weight: 800; color: var(--navy); }
.hero-trust .label { font-size: 12.5px; color: var(--text-faint); max-width: 120px; line-height: 1.3; }

.hero-visual { position: relative; aspect-ratio: 1/1; }
.hero-visual-photo {
  position: absolute; inset: 8%; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(16,19,48,0.35);
  border: 1px solid var(--border);
}
.hero-visual-photo img { width: 100%; height: 100%; object-fit: cover; }
.orbit-card {
  position: absolute; background: rgba(255,255,255,0.85); border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px); border-radius: var(--radius); padding: 16px 18px;
  display: flex; align-items: center; gap: 12px; box-shadow: 0 20px 40px -20px rgba(16,19,48,0.35);
  animation: bob 8s ease-in-out infinite;
}
.orbit-card .ic { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), var(--primary-2)); flex-shrink: 0; }
.orbit-card strong { display: block; font-size: 13.5px; color: var(--navy); }
.orbit-card span { font-size: 12px; color: var(--text-faint); }
.orbit-card.c1 { top: 4%; left: -6%; animation-delay: 0s; }
.orbit-card.c2 { top: 42%; right: -10%; animation-delay: 1.2s; }
.orbit-card.c3 { bottom: 2%; left: 4%; animation-delay: 2.4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.hero-ring { position: absolute; inset: 8%; border-radius: 50%; border: 1px dashed var(--border-strong); animation: spin 40s linear infinite; }
.hero-ring::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1px dashed rgba(16,19,48,0.08); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(36px) scale(0.98); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
[data-reveal].in-view { opacity: 1; transform: translateY(0) scale(1); }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.4s; }
[data-reveal-delay="6"] { transition-delay: 0.48s; }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 24px 48px -28px rgba(16,19,48,0.28); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 14.5px; }
.card .tag {
  position: absolute; top: 22px; right: 22px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-faint); border: 1px solid var(--border); padding: 3px 8px; border-radius: 999px;
}

/* ---------- Editorial index list — numbered rows with hairline dividers ---------- */
.index-list { border-top: 1px solid var(--border); }
.index-row {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: start; gap: 22px;
  padding: 28px 4px; border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}
.index-row:hover { background: var(--bg-soft); }
.index-row .idx-num {
  font-size: 13.5px; font-weight: 700; color: var(--text-faint); padding-top: 4px;
  font-variant-numeric: tabular-nums; transition: color 0.3s ease;
}
.index-row:hover .idx-num { color: var(--primary); }
.index-row .idx-body h3 {
  font-size: 18.5px; margin-bottom: 6px; display: inline-block;
  background-image: linear-gradient(var(--primary), var(--primary));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 2px;
  transition: background-size 0.45s var(--ease);
}
.index-row:hover .idx-body h3 { background-size: 100% 2px; }
.index-row, .pillar-flat-item { transition: background 0.3s ease, opacity 0.4s ease, filter 0.4s ease; }
.index-list.is-hovering .index-row:not(.is-active) { opacity: 0.4; filter: saturate(0.5); }
.pillar-flat-grid.is-hovering .pillar-flat-item:not(.is-active) { opacity: 0.4; filter: saturate(0.5); }
.index-row.is-active .idx-num { color: var(--primary); }
.pillar-flat-item.is-active .ghost-num { color: rgba(255,91,46,0.5); }
.index-row .idx-body p { font-size: 14px; margin: 0; max-width: 620px; }
.index-row .idx-tag {
  align-self: start; margin-top: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--primary); border: 1px solid rgba(255,91,46,0.3); background: rgba(255,91,46,0.06);
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.index-row .idx-arrow {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center; color: var(--navy);
  opacity: 0; transform: translateX(-6px); flex-shrink: 0; align-self: center;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.index-row .idx-arrow svg { width: 14px; height: 14px; }
.index-row:hover .idx-arrow { opacity: 1; transform: translateX(0); background: var(--navy); border-color: var(--navy); color: #fff; }

.index-list.cols-2 { column-count: 2; column-gap: 56px; border-top: none; }
.index-list.cols-2 .index-row { break-inside: avoid; border-top: 1px solid var(--border); border-bottom: none; }

/* ---------- Service pillars — flat divided grid, ghost numerals (no card chrome) ---------- */
.pillar-flat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border); border-left: 1px solid var(--border);
}
.pillar-flat-item { padding: 34px 28px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transition: background 0.3s ease; }
.pillar-flat-item:hover { background: var(--bg-soft); }
.pillar-flat-item .ghost-num {
  font-size: 44px; font-weight: 800; line-height: 1; color: var(--border-strong); margin-bottom: 16px; transition: color 0.35s ease;
}
.pillar-flat-item:hover .ghost-num { color: rgba(255,91,46,0.4); }
.pillar-flat-item h3 {
  font-size: 19px; margin-bottom: 10px; display: inline-block;
  background-image: linear-gradient(var(--primary), var(--primary));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 2px;
  transition: background-size 0.45s var(--ease);
}
.pillar-flat-item:hover h3 { background-size: 100% 2px; }
.pillar-flat-item p { font-size: 14px; margin-bottom: 18px; }
.pillar-flat-item ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.pillar-flat-item ul li { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.pillar-flat-item ul li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.pillar-flat-item .pillar-link { font-size: 13px; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.pillar-flat-item .pillar-link svg { width: 14px; height: 14px; transition: transform 0.3s ease; }
.pillar-flat-item:hover .pillar-link svg { transform: translateX(4px); }

/* ---------- Stats strip (dark band) ---------- */
.stats-strip { background: var(--bg-deep); color: var(--on-dark); }
.stats-strip .grid { grid-template-columns: repeat(4, 1fr); padding: 54px 0; text-align: center; }
.stats-strip .stat-num {
  font-size: 40px; font-weight: 800;
  background: linear-gradient(120deg, #ffffff, var(--primary-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stats-strip .stat-label { margin-top: 8px; font-size: 13.5px; color: var(--on-dark-muted); }

/* ---------- Industries marquee ---------- */
.marquee { overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: scroll-x 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.pill {
  display: flex; align-items: center; gap: 10px; padding: 14px 22px; border: 1px solid var(--border);
  border-radius: 999px; background: var(--surface); font-size: 14.5px; font-weight: 600; white-space: nowrap; color: var(--navy);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 8px rgba(255,91,46,0.6); }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; border-radius: var(--radius-lg); padding: 70px 60px; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-deep-2), var(--bg-deep));
  border: 1px solid rgba(255,255,255,0.08); text-align: center; color: var(--on-dark);
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: var(--on-dark-muted); }
.cta-banner .glow {
  position: absolute; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255,91,46,0.28), transparent 70%);
  top: -220px; left: 50%; transform: translateX(-50%); filter: blur(20px);
  opacity: 0.7;
}
.cta-banner h2 { position: relative; z-index: 1; }
.cta-banner p { position: relative; z-index: 1; margin: 16px auto 30px; }
.cta-banner .hero-cta { position: relative; z-index: 1; justify-content: center; }

/* ---------- Footer (dark mega-footer) ---------- */
footer.site-footer { background: var(--bg-deep); color: var(--on-dark-muted); padding: 72px 0 28px; position: relative; }
footer.site-footer .logo { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--on-dark-muted); margin-bottom: 18px; font-weight: 700; }
.footer-grid ul li { margin-bottom: 11px; }
.footer-grid ul a { font-size: 14px; color: rgba(246,247,252,0.72); transition: color 0.2s ease; }
.footer-grid ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between;
  align-items: center; font-size: 13px; color: var(--on-dark-muted); flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--on-dark-muted); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center; transition: border-color 0.2s ease, transform 0.2s ease;
}
.footer-bottom .socials a:hover { border-color: rgba(255,255,255,0.4); transform: translateY(-2px); }

/* ---------- Scroll progress + back to top ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: linear-gradient(90deg, var(--primary), var(--primary-2)); z-index: 200; }
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); border: 1px solid var(--border-strong); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease; z-index: 150;
  box-shadow: 0 12px 28px -12px rgba(16,19,48,0.5);
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--header-h) + 70px) 0 70px; text-align: center; position: relative; overflow: hidden; }
.page-hero .section-head { margin: 18px auto 0; }
.breadcrumb { font-size: 13px; color: var(--text-faint); position: relative; z-index: 1; }
.breadcrumb a:hover { color: var(--text-muted); }

/* ---------- Value props / process ---------- */
.process-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; padding-top: 4px; }
.process-row[data-reveal] { opacity: 1; transform: none; }
.process-step { position: relative; padding: 0 20px; text-align: left; z-index: 1; }
.process-step .num {
  font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-2));
  width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  position: relative; transform: scale(0); box-shadow: 0 0 0 0 rgba(255,91,46,0);
  transition: transform 0.55s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}
.process-row.in-view .process-step .num { transform: scale(1); }
.process-row.in-view .process-step:nth-child(1) .num { transition-delay: 0.05s; }
.process-row.in-view .process-step:nth-child(2) .num { transition-delay: 0.75s; }
.process-row.in-view .process-step:nth-child(3) .num { transition-delay: 1.45s; }
.process-row.in-view .process-step:nth-child(4) .num { transition-delay: 2.15s; }
.process-step:hover .num { transform: scale(1.18) !important; box-shadow: 0 10px 24px -8px rgba(255,91,46,0.55); }
.process-step h3 { font-size: 17.5px; margin-bottom: 8px; }
.process-step p { font-size: 14px; }

.process-track { position: absolute; top: 19px; left: 5%; right: 5%; height: 2px; display: flex; z-index: 0; }
.process-segment { position: relative; flex: 1; height: 100%; background: var(--border); overflow: visible; }
.process-segment .fill {
  position: absolute; inset: 0; width: 0%; overflow: hidden;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  transition: width 0.65s cubic-bezier(0.65,0,0.35,1);
}
.process-row.in-view .process-segment:nth-child(1) .fill { transition-delay: 0.15s; width: 100%; }
.process-row.in-view .process-segment:nth-child(2) .fill { transition-delay: 0.85s; width: 100%; }
.process-row.in-view .process-segment:nth-child(3) .fill { transition-delay: 1.55s; width: 100%; }
.process-arrow {
  position: absolute; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; left: 0;
  color: #fff; opacity: 0; animation: arrowFlow 2.2s ease-in-out infinite; animation-play-state: paused;
}
.process-arrow svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 3px rgba(0,0,0,0.25)); }
.process-row.in-view .process-arrow { animation-play-state: running; }
@keyframes arrowFlow {
  0% { left: 0%; opacity: 0; }
  12% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: calc(100% - 11px); opacity: 0; }
}

/* ---------- Photography (hero / page-hero / industries) ---------- */
.hero-photo, .page-hero .photo-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-photo img, .page-hero .photo-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.9; }
.hero-photo::after, .page-hero .photo-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,19,48,0.55) 0%, rgba(255,255,255,0.94) 92%, var(--bg) 100%);
}

.photo-card {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  height: 200px; display: flex; align-items: flex-end; padding: 18px;
}
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.photo-card:hover img { transform: scale(1.06); }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,19,48,0.02) 40%, rgba(16,19,48,0.85) 100%); }
.photo-card span { position: relative; z-index: 1; font-weight: 700; font-size: 15px; color: #fff; }

.case-card .photo-bg { position: absolute; inset: 0; z-index: 0; }
.case-card .photo-bg .wipe-mask {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  transform: scaleX(1); transform-origin: left; transition: transform 0.9s cubic-bezier(0.76,0,0.24,1);
}
.case-card.in-view .photo-bg .wipe-mask { transform: scaleX(0); transform-origin: right; }
.case-card .photo-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.case-card .backdrop { z-index: 1; background: linear-gradient(180deg, rgba(16,19,48,0.15) 30%, rgba(255,255,255,0.97) 96%); }
.case-card .status, .case-card .industry-icon, .case-card h3, .case-card p { position: relative; z-index: 2; }

.avatar-img { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px; display: block; border: 2px solid var(--border-strong); }

.placeholder-tag {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-faint); border: 1px dashed var(--border-strong); padding: 3px 8px; border-radius: 999px; margin-top: 10px;
}

/* ---------- Portfolio (coming soon, honest empty state) ---------- */
.case-card {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  background: var(--surface); min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
}
.case-card .status {
  position: absolute; top: 20px; right: 20px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
  background: rgba(255,91,46,0.12); border: 1px solid rgba(255,91,46,0.35); color: #c2410c;
}
.case-card h3 { margin-bottom: 6px; }
.case-card p { position: relative; font-size: 13.5px; }
.case-card .industry-icon {
  position: relative; width: 46px; height: 46px; border-radius: 12px; background: #fff;
  border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--primary); box-shadow: 0 8px 20px -10px rgba(16,19,48,0.3);
}

.notify-box {
  margin-top: 60px; border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; background: var(--bg-soft);
}
.notify-box form { display: flex; gap: 10px; flex-wrap: wrap; }
.notify-box input[type="email"] {
  padding: 13px 18px; border-radius: 999px; border: 1px solid var(--border-strong); background: #fff;
  color: var(--text); min-width: 260px; font-size: 14.5px;
}
.notify-box input[type="email"]:focus { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ---------- Testimonials ---------- */
.testimonial-card { position: relative; }
.testimonial-card .quote-mark { font-size: 44px; line-height: 1; font-weight: 800; color: var(--primary); opacity: 0.6; margin-bottom: 6px; font-family: Georgia, serif; }
.testimonial-card p.quote { font-size: 15px; color: var(--text); margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--border-strong); }
.testimonial-author strong { display: block; font-size: 14px; color: var(--navy); }
.testimonial-author span { font-size: 12.5px; color: var(--text-faint); }

/* ---------- FAQ accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.faq-item .chev {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center; transition: transform 0.3s var(--ease), background 0.3s ease;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
.contact-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: var(--surface); display: flex; gap: 16px; margin-bottom: 16px; }
.contact-card .ic {
  width: 42px; height: 42px; border-radius: 11px; background: rgba(255,91,46,0.10); border: 1px solid rgba(255,91,46,0.25);
  color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-card strong { display: block; margin-bottom: 4px; color: var(--navy); }
.contact-card span { font-size: 14px; color: var(--text-muted); }

.form-card { border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 36px; background: var(--bg-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 700; color: var(--text-muted); }
.form-field input, .form-field select, .form-field textarea {
  padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: #fff;
  color: var(--text); font-family: inherit; font-size: 14.5px; resize: vertical;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,91,46,0.15);
}
.form-note { font-size: 12.5px; color: var(--text-faint); margin-top: 14px; }

.office-map {
  margin-top: 24px; border-radius: var(--radius); border: 1px solid var(--border); height: 320px;
  overflow: hidden; background: var(--bg-soft); z-index: 1;
}
@keyframes ping { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.office-map-pin-wrap { display: flex; align-items: center; justify-content: center; }
.office-map-pin { position: relative; display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(255,91,46,0.25); }
.office-map-pin::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid rgba(255,91,46,0.45); animation: ping 2.4s ease-out infinite; }
.office-map-tooltip.leaflet-tooltip {
  background: #fff !important; color: #12142a !important; border: none !important; font-size: 12px; font-weight: 700;
  padding: 5px 10px; border-radius: 999px; box-shadow: 0 8px 20px -6px rgba(16,19,48,0.4);
}
.office-map-tooltip.leaflet-tooltip::before { border-top-color: #fff !important; }

/* ---------- Notes panel (prototype-only helper — intentionally dark regardless of page theme) ---------- */
.notes-toggle {
  position: fixed; bottom: 28px; left: 28px; z-index: 150; display: flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px; background: var(--bg-deep-2); color: #fff; border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer; font-size: 13px; font-weight: 700; box-shadow: 0 12px 30px -10px rgba(0,0,0,0.5);
}
.notes-toggle .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); }
.notes-panel {
  position: fixed; bottom: 84px; left: 28px; z-index: 150; width: 360px; max-height: 60vh; overflow-y: auto;
  background: var(--bg-deep-2); color: var(--on-dark); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius);
  padding: 20px; box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6); display: none;
}
.notes-panel.open { display: block; }
.notes-panel h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--on-dark-muted); margin-bottom: 12px; }
.notes-panel ul { display: flex; flex-direction: column; gap: 10px; }
.notes-panel li { font-size: 13px; color: var(--on-dark-muted); padding-left: 16px; position: relative; }
.notes-panel li::before { content: "—"; position: absolute; left: 0; color: var(--primary-2); }
.notes-panel .badge { display: inline-block; font-size: 10px; margin-top: 14px; color: var(--on-dark-muted); border-top: 1px solid rgba(255,255,255,0.12); padding-top: 10px; }

/* ---------- AI spotlight chat mockup ---------- */
.chat-mock { background: var(--bg-deep); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(16,19,48,0.35); border: 1px solid rgba(255,255,255,0.08); }
.chat-mock-header { display: flex; align-items: center; gap: 10px; padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.chat-mock-header .live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: livepulse 1.6s ease-in-out infinite; flex-shrink: 0; }
.chat-mock-header strong { color: #fff; font-size: 14px; display: block; }
.chat-mock-header span { color: var(--on-dark-muted); font-size: 12px; }
@keyframes livepulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.chat-mock-body { padding: 26px 22px; display: flex; flex-direction: column; gap: 14px; }
.chat-bubble { max-width: 80%; padding: 12px 16px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; }
.chat-bubble.in { align-self: flex-start; background: rgba(255,255,255,0.08); color: var(--on-dark); border-bottom-left-radius: 4px; }
.chat-bubble.out { align-self: flex-end; background: linear-gradient(120deg, var(--primary), var(--primary-2)); color: #fff; border-bottom-right-radius: 4px; }
.chat-bubble.system { align-self: center; background: rgba(34,197,94,0.15); color: #4ade80; border: 1px solid rgba(34,197,94,0.3); font-weight: 700; font-size: 12px; padding: 8px 16px; }
.chat-mock-footer { padding: 16px 22px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; gap: 10px; }
.chat-mock-footer .fake-input { flex: 1; height: 38px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); }
.chat-mock-footer .send-btn { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(120deg, var(--primary), var(--primary-2)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

@keyframes bubbleIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.chat-bubble { animation: bubbleIn 0.35s var(--ease); }
.chat-options { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; animation: bubbleIn 0.35s var(--ease); }
.chat-option-btn {
  max-width: 80%; text-align: right; padding: 10px 16px; border-radius: 14px; border-bottom-right-radius: 4px;
  border: 1px solid rgba(255,91,46,0.4); background: rgba(255,91,46,0.1); color: #ffd7c2;
  font-size: 13px; font-family: inherit; cursor: pointer; transition: background 0.25s ease, transform 0.2s ease, border-color 0.25s ease;
}
.chat-option-btn:hover { background: rgba(255,91,46,0.22); border-color: rgba(255,91,46,0.7); transform: translateX(-2px); }
.chat-restart-btn {
  align-self: center; margin-top: 4px; max-width: none; text-align: center; color: var(--on-dark-muted);
  border-color: rgba(255,255,255,0.16); background: rgba(255,255,255,0.05);
}
.chat-restart-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); color: #fff; transform: none; }
.chat-typing { display: flex; gap: 4px; align-self: flex-start; padding: 12px 16px; animation: bubbleIn 0.25s var(--ease); }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.5); animation: typingDot 1.1s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingDot { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text-muted); }
.check-list li .check-ic {
  width: 20px; height: 20px; border-radius: 50%; background: rgba(255,91,46,0.12); color: var(--primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}

/* ---------- Footer newsletter ---------- */
.footer-newsletter {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 30px 0; border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 40px;
}
.footer-newsletter h4 { color: #fff; font-size: 16px; margin-bottom: 4px; text-transform: none; letter-spacing: normal; }
.footer-newsletter p { font-size: 13.5px; color: var(--on-dark-muted); margin: 0; }
.footer-newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-newsletter input[type="email"] {
  padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06);
  color: #fff; min-width: 240px; font-size: 14px;
}
.footer-newsletter input[type="email"]::placeholder { color: var(--on-dark-muted); }
.footer-newsletter input[type="email"]:focus { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ---------- Page transition overlay ---------- */
.page-transition-overlay {
  position: fixed; inset: 0; z-index: 9999; background: var(--bg);
  opacity: 1; pointer-events: none; transition: opacity 0.32s ease;
}
.page-transition-overlay.hide { opacity: 0; }
.page-transition-overlay.leaving { opacity: 1; pointer-events: all; }

/* ---------- FAQ (JS-controlled smooth accordion) ---------- */
.faq-summary {
  all: unset; box-sizing: border-box; width: 100%; cursor: pointer;
  padding: 20px 24px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; font-weight: 700; font-size: 15.5px; color: var(--navy);
}
.faq-body { height: 0; overflow: hidden; transition: height 0.35s var(--ease); }
.faq-body-inner { padding: 0 24px 20px; font-size: 14.5px; color: var(--text-muted); }
.faq-item.open .faq-summary .chev { transform: rotate(45deg); background: rgba(255,91,46,0.15); }

/* ---------- Testimonial carousel ---------- */
.testi-carousel { position: relative; max-width: 700px; margin: 0 auto; overflow: hidden; }
.testi-track { display: flex; transition: transform 0.5s var(--ease); }
.testi-slide { flex: 0 0 100%; padding: 0 4px; }
.testi-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 28px; }
.testi-arrow {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface);
  display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--navy);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.testi-arrow:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.testi-dots { display: flex; gap: 8px; }
.testi-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); cursor: pointer; transition: background 0.25s ease, transform 0.25s ease; border: none; padding: 0; }
.testi-dots .dot.active { background: var(--primary); transform: scale(1.3); }

/* ---------- Portfolio filter tabs ---------- */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-tab {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--text-muted); font-size: 13.5px; font-weight: 700; cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.filter-tab:hover { transform: translateY(-2px); border-color: var(--primary); color: var(--navy); }
.filter-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.case-card { transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.case-card.filtered-out { opacity: 0; transform: scale(0.92); pointer-events: none; position: absolute; visibility: hidden; }

/* ---------- Click ripple (every button/link gets tactile feedback) ---------- */
.ripple-host { position: relative; isolation: isolate; }
.ripple-host:active { transform: scale(0.97); }
.ripple-clip { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; z-index: -1; }
.ripple { position: absolute; border-radius: 50%; background: currentColor; opacity: 0.28; transform: scale(0); animation: rippleAnim 600ms ease-out forwards; }
@keyframes rippleAnim { to { transform: scale(1); opacity: 0; } }
.index-row.ripple-host:active { transform: none; }

/* ---------- Sliding nav hover indicator ---------- */
nav.primary-nav ul { position: relative; }
nav.primary-nav a { position: relative; z-index: 1; }
.nav-pill {
  position: absolute; top: 4px; height: calc(100% - 8px); border-radius: 999px;
  background: rgba(16,19,48,0.06); z-index: 0; opacity: 0; pointer-events: none;
  transition: transform 0.4s var(--ease), width 0.4s var(--ease), opacity 0.25s ease;
}

/* ---------- Hero headline word reveal ---------- */
.word-mask { display: inline-block; overflow: hidden; vertical-align: top; }
.word-mask .reveal-word {
  display: inline-block; opacity: 0; transform: translateY(115%);
  animation: wordUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes wordUp { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .word-mask .reveal-word { animation: none; opacity: 1; transform: none; }
}

/* ---------- Image wipe reveal (photography) ---------- */
.reveal-wipe { position: relative; overflow: hidden; }
.reveal-wipe[data-reveal] { opacity: 1; transform: none; }
.reveal-wipe .wipe-mask {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  transform: scaleX(1); transform-origin: left; transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}
.reveal-wipe.in-view .wipe-mask { transform: scaleX(0); transform-origin: right; }
.reveal-wipe img { transform: scale(1.12); transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-wipe.in-view img { transform: scale(1); }

/* ---------- Button hover fill-sweep ---------- */
.btn-ghost { position: relative; overflow: hidden; z-index: 0; }
.btn-ghost::before {
  content: ""; position: absolute; inset: 0; background: rgba(16,19,48,0.06);
  transform: translateX(-100%); transition: transform 0.4s var(--ease); z-index: -1;
}
.btn-ghost:hover::before { transform: translateX(0); }

/* ---------- Lenis smooth scroll ---------- */
html.lenis { scroll-behavior: auto !important; }
html.lenis-smooth { scroll-behavior: auto !important; }

/* ---------- Split-word heading stagger (GSAP-driven) ---------- */
.split-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-word { display: inline-block; will-change: transform, opacity; }

/* ---------- Live-call waveform accent ---------- */
.waveform { display: flex; align-items: center; gap: 3px; height: 16px; }
.waveform span {
  width: 3px; border-radius: 2px; background: linear-gradient(180deg, var(--primary), var(--primary-2));
  animation: waveBar 1.1s ease-in-out infinite;
}
.waveform span:nth-child(1) { height: 40%; animation-delay: 0s; }
.waveform span:nth-child(2) { height: 90%; animation-delay: 0.12s; }
.waveform span:nth-child(3) { height: 60%; animation-delay: 0.24s; }
.waveform span:nth-child(4) { height: 100%; animation-delay: 0.36s; }
.waveform span:nth-child(5) { height: 55%; animation-delay: 0.48s; }
@keyframes waveBar { 0%, 100% { transform: scaleY(0.55); opacity: 0.65; } 50% { transform: scaleY(0.9); opacity: 0.9; } }
@media (prefers-reduced-motion: reduce) { .waveform span { animation: none; transform: scaleY(0.7); } }

/* ---------- Call-flow diagram (original SVG illustration) ---------- */
.flow-wrap { width: 100%; overflow: visible; }
.flow-diagram { width: 100%; height: auto; display: block; }
.flow-path { fill: none; stroke: var(--border-strong); stroke-width: 2; stroke-dasharray: 5 7; }
.flow-node { transform-box: fill-box; transform-origin: center; }
.flow-node-circle { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1.5; }
.flow-node-circle.flagship-fill { fill: url(#flowNodeGrad); stroke: none; filter: drop-shadow(0 8px 20px rgba(255,91,46,0.4)); }
.flow-node-circle.outcome-fill { fill: rgba(255,91,46,0.08); stroke: rgba(255,91,46,0.3); }
.flow-node-icon { stroke: var(--navy); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flow-node-icon.on-flagship { stroke: #fff; }
.flow-node-icon.on-outcome { stroke: var(--primary); }
.flow-label { font-size: 13.5px; font-weight: 700; fill: var(--navy); font-family: inherit; }
.flow-sublabel { font-size: 11px; fill: var(--text-faint); font-family: inherit; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-strip .grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .process-row { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process-track { display: none; }
  .pillar-flat-grid { grid-template-columns: repeat(2, 1fr); }
  .index-list.cols-2 { column-count: 1; }
}
@media (max-width: 720px) {
  nav.primary-nav, .lang-toggle { display: none; }
  .menu-toggle { display: flex; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 46px 26px; }
  .notify-box { flex-direction: column; align-items: stretch; }
  .footer-newsletter { flex-direction: column; align-items: stretch; }
  .footer-newsletter form { flex-direction: column; }
  .footer-newsletter input[type="email"] { min-width: 0; }
  .notes-panel { width: calc(100vw - 56px); }
  .form-row { grid-template-columns: 1fr; }
  .pillar-flat-grid { grid-template-columns: 1fr; }
  .index-row { grid-template-columns: 40px 1fr; }
  .index-row .idx-arrow { display: none; }
}

/* Mobile nav drawer */
.mobile-drawer {
  position: fixed; top: var(--header-h); left: 0; right: 0; background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); padding: 20px 32px 30px;
  display: none; flex-direction: column; gap: 4px; z-index: 99;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a { padding: 14px 6px; font-size: 16px; font-weight: 600; border-bottom: 1px solid var(--border); color: var(--text-muted); }

/* ---------- Arabic / RTL language mode ---------- */
html[dir="rtl"] body {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}
html[dir="rtl"] .lead,
html[dir="rtl"] p,
html[dir="rtl"] .index-row .idx-body p,
html[dir="rtl"] .faq-body-inner {
  letter-spacing: 0;
}
/* Flexbox/grid main-axis order already mirrors correctly under dir="rtl";
   only hand-drawn directional icons need an explicit flip. */
html[dir="rtl"] .idx-arrow svg,
html[dir="rtl"] .pillar-link svg,
html[dir="rtl"] .btn svg,
html[dir="rtl"] .testi-arrow svg {
  transform: scaleX(-1);
}
html[dir="rtl"] .check-list li,
html[dir="rtl"] .index-row,
html[dir="rtl"] .footer-bottom .socials { direction: rtl; }
html[dir="rtl"] .stat-label,
html[dir="rtl"] .section-head.center { text-align: center; }
html[dir="rtl"] .breadcrumb { direction: rtl; }
.mobile-drawer a.active { color: var(--navy); }

/* Original Prime AD logo, preserved without altering the image. */
.logo .brand-logo { display: block; width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 6px; flex-shrink: 0; }
