/* ============================================================
   FDN FOR PUB SERVICES — Main Stylesheet
   Design system: dark slate + amber accent
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg: #0b0f1a;
  --bg-soft: #111827;
  --bg-card: #141d2e;
  --bg-elevated: #1a2438;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.28);

  --text: #e7ecf5;
  --text-muted: #9aa7bd;
  --text-dim: #6b7890;

  --accent: #f5a623;
  --accent-strong: #ffb84d;
  --accent-soft: rgba(245, 166, 35, 0.12);
  --accent-glow: rgba(245, 166, 35, 0.35);

  --indigo: #6366f1;
  --indigo-soft: rgba(99, 102, 241, 0.12);

  --grad-accent: linear-gradient(120deg, #f5a623 0%, #f97316 100%);
  --grad-brand: linear-gradient(120deg, #6366f1 0%, #8b5cf6 55%, #f5a623 130%);

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);

  --maxw: 1200px;
  --nav-h: 78px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

::selection {
  background: var(--accent);
  color: #0b0f1a;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 11px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: #2b3a55;
  border-radius: 8px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ---------- Utility ---------- */
.container {
  width: min(var(--maxw), 92%);
  margin-inline: auto;
}

.section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
}

.section-head.center .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  margin-bottom: 16px;
}

.section-title .grad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section-sub {
  color: var(--text-muted);
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
}

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.center {
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-accent {
  background: var(--grad-accent);
  color: #1a1205;
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.32);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: #0b0f1a;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn .arrow {
  transition: transform 0.25s ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Blur lives on a pseudo-element so the header itself never becomes the
   containing block for the fixed-position mobile nav overlay. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11, 15, 26, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.3s ease;
}

.site-header.scrolled::before {
  background: rgba(9, 12, 21, 0.92);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.4);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.brand-name span {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  position: relative;
  padding: 10px 15px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 12px;
}

.nav-cta .btn {
  padding: 12px 22px;
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  z-index: 1101;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 55% at 78% 22%, rgba(99, 102, 241, 0.22) 0%, transparent 62%),
    radial-gradient(50% 45% at 12% 80%, rgba(245, 166, 35, 0.14) 0%, transparent 60%),
    var(--bg);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(75% 70% at 50% 40%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 70% at 50% 40%, #000 0%, transparent 100%);
  opacity: 0.5;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  margin-bottom: 22px;
}

.hero-copy h1 .stroke {
  -webkit-text-stroke: 1.5px var(--text);
  color: transparent;
}

.hero-copy .lead {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 42px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  border-top: 1px solid var(--border);
  padding-top: 26px;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-meta-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.hero-meta-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
}

.hero-meta-label {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero-meta-value {
  font-weight: 600;
  font-size: 0.94rem;
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.visual-card {
  position: relative;
  background: linear-gradient(160deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.visual-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 65%;
  height: 80%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.18), transparent 70%);
  pointer-events: none;
}

.visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.visual-dots {
  display: flex;
  gap: 6px;
}

.visual-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2b3a55;
}

.visual-dots span:first-child {
  background: #ef4444;
}
.visual-dots span:nth-child(2) {
  background: #f59e0b;
}
.visual-dots span:nth-child(3) {
  background: #22c55e;
}

.visual-badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
}

.visual-screen {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: grid;
  gap: 12px;
}

.wave-bar {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.wave-bar i {
  flex: 1;
  height: 40%;
  background: var(--grad-accent);
  border-radius: 3px;
  animation: wave 1.6s ease-in-out infinite alternate;
}

.wave-bar i:nth-child(2n) {
  animation-delay: 0.18s;
  background: linear-gradient(180deg, #6366f1, #8b5cf6);
}
.wave-bar i:nth-child(3n) {
  animation-delay: 0.34s;
}
.wave-bar i:nth-child(4n) {
  animation-delay: 0.5s;
}
.wave-bar i:nth-child(5n) {
  animation-delay: 0.66s;
}

@keyframes wave {
  from {
    height: 18%;
  }
  to {
    height: 92%;
  }
}

.timeline-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.timeline-mini div {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
}

.timeline-mini .bar {
  height: 6px;
  border-radius: 3px;
  background: #2b3a55;
  margin-bottom: 8px;
  overflow: hidden;
  position: relative;
}

.timeline-mini .bar i {
  position: absolute;
  inset: 0;
  width: 65%;
  background: var(--grad-accent);
  border-radius: 3px;
}

.timeline-mini .bar.indigo i {
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.timeline-mini p {
  font-size: 0.68rem;
  color: var(--text-dim);
}

.visual-float {
  position: absolute;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  animation: floaty 5s ease-in-out infinite alternate;
}

.visual-float .f-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.visual-float .f-icon svg {
  width: 19px;
  height: 19px;
}

.f-icon.amber {
  background: var(--accent-soft);
}
.f-icon.amber svg {
  stroke: var(--accent);
}
.f-icon.indigo {
  background: var(--indigo-soft);
}
.f-icon.indigo svg {
  stroke: var(--indigo);
}

.visual-float strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.visual-float small {
  color: var(--text-dim);
  font-size: 0.74rem;
}

.float-1 {
  top: -22px;
  left: -30px;
  animation-delay: 0.4s;
}

.float-2 {
  bottom: -24px;
  right: -18px;
  animation-delay: 1.4s;
}

@keyframes floaty {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-12px);
  }
}

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-scroll .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-dim);
  border-radius: 14px;
  position: relative;
}

.hero-scroll .mouse::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 3px;
  background: var(--accent);
  animation: scrollwheel 1.8s ease-in-out infinite;
}

@keyframes scrollwheel {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  70% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 0;
  }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "◆";
  font-size: 0.6rem;
  color: var(--accent);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  transition: background 0.3s ease;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card:nth-child(3n + 2) .service-icon {
  background: var(--indigo-soft);
}
.service-card:nth-child(3n + 2) .service-icon svg {
  stroke: var(--indigo);
}

.service-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  flex: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.service-tags span {
  font-size: 0.72rem;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 11px;
}

.service-link {
  margin-top: 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s ease;
}

.service-link:hover {
  gap: 11px;
}

/* ---------- Stats ---------- */
.stats-band {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
  padding: clamp(48px, 7vw, 84px) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 8px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.3rem);
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1.1;
}

.stat-item.simple .stat-num {
  background: none;
  -webkit-text-fill-color: var(--text);
  color: var(--text);
}

.stat-num .suffix {
  font-size: 0.62em;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 8px;
}

/* ---------- About preview ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 76px);
  align-items: center;
}

.split-media {
  position: relative;
}

.split-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4;
  background:
    radial-gradient(70% 60% at 30% 20%, rgba(99, 102, 241, 0.3), transparent 60%),
    radial-gradient(60% 55% at 80% 85%, rgba(245, 166, 35, 0.22), transparent 60%),
    var(--bg-elevated);
  display: grid;
  place-items: center;
}

.split-frame .play {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.16);
  border: 1px solid var(--accent);
  display: grid;
  place-items: center;
  animation: pulse-ring 2.6s ease-in-out infinite;
}

.split-frame .play svg {
  width: 34px;
  height: 34px;
  fill: var(--accent);
  margin-left: 4px;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.45);
  }
  70% {
    box-shadow: 0 0 0 26px rgba(245, 166, 35, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 166, 35, 0);
  }
}

.frame-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(11, 15, 26, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.frame-label strong {
  display: block;
  color: var(--text);
  font-size: 0.94rem;
}

.split-copy .section-head {
  margin-bottom: 26px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 32px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: var(--text-muted);
  font-size: 0.97rem;
}

.check-list .tick {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.check-list .tick svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.process-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.process-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
}

.process-card::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(148, 163, 184, 0.35);
}

.process-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  padding-right: 44px;
}

.process-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- Work / portfolio ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.work-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.work-bg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.work-bg svg {
  width: 60px;
  height: 60px;
  stroke: rgba(255, 255, 255, 0.28);
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(8, 11, 19, 0.94) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.work-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.work-card h3 {
  font-size: 1.16rem;
}

.work-card small {
  color: var(--text-muted);
  font-size: 0.84rem;
  margin-top: 4px;
}

.w1 {
  background: linear-gradient(150deg, #312e81, #1e1b4b);
}
.w2 {
  background: linear-gradient(150deg, #78350f, #451a03);
}
.w3 {
  background: linear-gradient(150deg, #134e4a, #042f2e);
}
.w4 {
  background: linear-gradient(150deg, #701a75, #4a044e);
}
.w5 {
  background: linear-gradient(150deg, #1e3a8a, #172554);
}
.w6 {
  background: linear-gradient(150deg, #581c87, #3b0764);
}

/* ---------- Testimonials ---------- */
.testi-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.testi-slider {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.testi-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testi-slide {
  flex: 0 0 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 54px);
  position: relative;
}

.testi-slide .quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.35;
  margin-bottom: 8px;
}

.testi-text {
  font-size: clamp(1.02rem, 1.8vw, 1.25rem);
  color: var(--text);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 28px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-size: 0.98rem;
}

.testi-author small {
  color: var(--text-dim);
  font-size: 0.84rem;
}

.testi-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
}

.testi-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.testi-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.testi-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.testi-dots {
  display: flex;
  gap: 8px;
}

.testi-dots button {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: var(--border-strong);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.testi-dots button.active {
  width: 26px;
  background: var(--accent);
}

/* ---------- CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
}

.cta-box {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(44px, 7vw, 80px);
  background:
    radial-gradient(70% 90% at 15% 10%, rgba(245, 166, 35, 0.2), transparent 55%),
    radial-gradient(60% 80% at 90% 90%, rgba(99, 102, 241, 0.25), transparent 55%),
    var(--bg-soft);
  border: 1px solid var(--border-strong);
  text-align: center;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, transparent 30%, rgba(245, 166, 35, 0.5) 50%, transparent 70%);
  opacity: 0.25;
  animation: shimmer 6s linear infinite;
}

@keyframes shimmer {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

.cta-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  position: relative;
}

.cta-box p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 34px;
  position: relative;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  position: relative;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #080b13;
  border-top: 1px solid var(--border);
  padding-top: clamp(52px, 7vw, 84px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 18px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.footer-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.newsletter p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px;
  overflow: hidden;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text);
  min-width: 0;
}

.newsletter-form input::placeholder {
  color: var(--text-dim);
}

.newsletter-form button {
  border: none;
  cursor: pointer;
  background: var(--grad-accent);
  color: #1a1205;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.newsletter-form button:hover {
  opacity: 0.88;
}

.newsletter-note {
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-top: 10px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-bottom p {
  color: var(--text-dim);
  font-size: 0.84rem;
}

.footer-bottom a {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(48px, 8vw, 90px)) 0 clamp(44px, 6vw, 72px);
  overflow: hidden;
}

.page-hero .hero-grid {
  opacity: 0.35;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 14px;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 640px;
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Services detail page ---------- */
.service-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 38px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.detail-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.detail-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 10px;
  padding: 8px 12px;
  flex-shrink: 0;
}

.detail-card h2 {
  font-size: 1.32rem;
}

.detail-card > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.detail-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 13px;
}

.detail-list li svg {
  width: 15px;
  height: 15px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---------- About page ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
}

.value-card .v-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin: 0 auto 16px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
}

.value-card .v-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card:nth-child(2n) .v-icon {
  background: var(--indigo-soft);
}
.value-card:nth-child(2n) .v-icon svg {
  stroke: var(--indigo);
}

.value-card h3 {
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--indigo), transparent);
}

.timeline-item {
  position: relative;
  padding-left: 74px;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 14px;
  top: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  display: grid;
  place-items: center;
}

.timeline-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline-item h3 {
  font-size: 1.12rem;
  margin-bottom: 6px;
}

.timeline-item .tl-year {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.contact-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.contact-card .c-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-card .c-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-card p,
.contact-card a {
  color: var(--text-muted);
  font-size: 0.92rem;
  word-break: break-word;
}

.contact-card a:hover {
  color: var(--accent);
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
}

.form-field label .req {
  color: var(--accent);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239aa7bd' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.14);
}

.form-field input.error,
.form-field textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.field-msg {
  font-size: 0.78rem;
  color: #f87171;
  display: none;
}

.field-msg.show {
  display: block;
}

.form-submit {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.form-success {
  display: none;
  align-items: flex-start;
  gap: 14px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-top: 20px;
  color: #86efac;
  font-size: 0.92rem;
}

.form-success.show {
  display: flex;
}

.form-success svg {
  width: 22px;
  height: 22px;
  stroke: #4ade80;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---------- 404 ---------- */
.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px 20px 60px;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 11rem);
  font-weight: 800;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.error-page h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 12px 0;
}

.error-page p {
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto 30px;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 {
  transition-delay: 0.1s;
}
.reveal-d2 {
  transition-delay: 0.2s;
}
.reveal-d3 {
  transition-delay: 0.3s;
}
.reveal-d4 {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Back to top ---------- */
.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-accent);
  border: none;
  color: #1a1205;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 10px 26px rgba(245, 166, 35, 0.4);
  z-index: 900;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  transform: translateY(-3px);
}

.back-top svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 560px;
  }

  .services-grid,
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-cta .btn {
    display: none;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(8, 11, 19, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 1.3rem;
    padding: 14px 20px;
  }

  .nav-links a::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 0.88rem;
    border-radius: 10px;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .brand-name span {
    font-size: 0.54rem;
    letter-spacing: 0.13em;
  }

  .nav-wrap {
    gap: 12px;
  }

  .nav-cta {
    margin-left: auto;
  }

  .services-grid,
  .work-grid,
  .process-grid,
  .values-grid,
  .contact-grid,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .detail-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    gap: 16px;
  }

  .float-1 {
    left: -8px;
  }

  .float-2 {
    right: -6px;
  }

  .hero-scroll {
    display: none;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}
