/* ===== Premium light design system ===== */
:root {
  --bg: #f8faff;
  --bg-muted: #f1f5fb;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --border: #e4eaf4;
  --border-light: #eef2f8;
  --text: #0b1220;
  --text-2: #334155;
  --muted: #64748b;
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-soft: #eef2ff;
  --accent: #0ea5e9;
  --accent-soft: #e0f2fe;
  --success: #10b981;
  --success-soft: #d1fae5;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --maxw: 1200px;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 4px 16px -6px rgba(15, 23, 42, 0.08);
  --shadow: 0 20px 50px -24px rgba(79, 70, 229, 0.28);
  --shadow-lg: 0 32px 64px -32px rgba(15, 23, 42, 0.18);
  --grad: linear-gradient(135deg, #4f46e5 0%, #6366f1 40%, #0ea5e9 100%);
  --grad-dark: linear-gradient(135deg, #312e81 0%, #1e3a8a 50%, #0c4a6e 100%);
  --font: "Vazirmatn", system-ui, sans-serif;
  --nav-h: 76px;
  --topbar-h: 42px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + var(--topbar-h) + 12px); }

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.ltr { direction: ltr; unicode-bidi: embed; }

/* ===== Ambient background ===== */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite;
}

.ambient-orb--1 {
  width: 560px; height: 560px;
  background: rgba(79, 70, 229, 0.14);
  top: -200px; right: -120px;
}

.ambient-orb--2 {
  width: 480px; height: 480px;
  background: rgba(14, 165, 233, 0.12);
  bottom: -160px; left: -100px;
  animation-delay: -8s;
}

.ambient-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(79, 70, 229, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 80%);
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-24px, 20px); }
}

/* ===== Topbar ===== */
.topbar {
  background: var(--text);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12.5px;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}

.topbar-group { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.topbar-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  transition: opacity 0.2s;
}

.topbar-link:hover { opacity: 0.85; }
.topbar-link svg { width: 14px; height: 14px; }
.topbar-muted { opacity: 0.65; }

/* ===== Navbar ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-glass);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-xs);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }

.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  font-size: 15px;
}

.brand-text small {
  color: var(--muted);
  font-weight: 600;
  font-size: 10.5px;
}

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

.nav-links a {
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active:not(.nav-cta) {
  color: var(--primary);
  background: var(--primary-soft);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-right: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--text);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid transparent;
  box-shadow: 0 4px 14px -6px rgba(11, 18, 32, 0.45);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.nav-cta svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.9;
}

.nav-cta:hover {
  background: var(--primary-dark);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(79, 70, 229, 0.5);
}

.nav-cta.active {
  background: var(--primary);
  color: #fff !important;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font);
  font-weight: 800;
  font-size: 13.5px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 10px 28px -12px rgba(79, 70, 229, 0.55);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(79, 70, 229, 0.45); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-lg { padding: 14px 26px; font-size: 14.5px; border-radius: 14px; }
.btn-sm { padding: 9px 16px; font-size: 13px; }

.btn-outline {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.btn-white {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.2);
}

.btn-white:hover { background: #f8fafc; }

.btn-ghost-white {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: none;
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ===== Hero ===== */
.hero {
  padding: 56px 0 40px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-2);
  margin-bottom: 22px;
  box-shadow: var(--shadow-xs);
}

.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px var(--success-soft);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--success-soft); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.15); }
}

.hero h1 {
  font-size: clamp(32px, 4.8vw, 52px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}

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

.hero-lead {
  color: var(--muted);
  font-size: clamp(15px, 2vw, 17px);
  max-width: 480px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-metrics {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 6px 8px;
  box-shadow: var(--shadow-sm);
}

.metric {
  padding: 12px 20px;
  text-align: center;
}

.metric strong {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
}

.metric span {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}

.metric-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ===== Dashboard mockup ===== */
.hero-visual { position: relative; }

.dashboard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.dashboard:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }

.dashboard-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #fca5a5; }
.dot-y { background: #fcd34d; }
.dot-g { background: #6ee7b7; }

.dashboard-title {
  margin-right: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.dashboard-body { display: flex; min-height: 280px; }

.dash-sidebar {
  width: 56px;
  background: var(--bg-muted);
  border-left: 1px solid var(--border);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-nav {
  height: 8px;
  border-radius: 4px;
  background: var(--border);
}

.dash-nav.active { background: var(--grad); height: 24px; }

.dash-main { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 14px; }

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

.dash-card {
  background: var(--bg-muted);
  border-radius: 10px;
  padding: 10px;
  border: 1px solid var(--border-light);
}

.dash-card span { display: block; font-size: 9px; color: var(--muted); font-weight: 600; }
.dash-card strong { font-size: 16px; font-weight: 900; color: var(--text); }
.dash-card.accent { background: var(--primary-soft); border-color: rgba(79, 70, 229, 0.15); }
.dash-card.accent strong { color: var(--primary); }

.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  padding: 10px;
  background: var(--bg-muted);
  border-radius: 10px;
  border: 1px solid var(--border-light);
}

.bar {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: var(--grad);
  opacity: 0.75;
  animation: growBar 1.2s ease forwards;
}

@keyframes growBar {
  from { height: 0; }
  to { height: var(--h); }
}

.dash-rows { display: flex; flex-direction: column; gap: 8px; }

.dash-row { display: flex; align-items: center; gap: 8px; }

.dash-tag { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dash-tag.green { background: var(--success); }
.dash-tag.blue { background: var(--accent); }
.dash-tag.purple { background: var(--primary); }

.dash-line { height: 8px; border-radius: 4px; background: var(--border); }
.dash-line.w80 { width: 80%; }
.dash-line.w60 { width: 60%; }
.dash-line.w70 { width: 70%; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow);
  animation: floatCard 4s ease-in-out infinite;
}

.float-card svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; }
.float-card strong { display: block; font-size: 12.5px; font-weight: 800; line-height: 1.3; }
.float-card span { font-size: 10.5px; color: var(--muted); }

.float-card--1 { top: 20px; left: -24px; animation-delay: 0s; }
.float-card--2 { bottom: 32px; right: -20px; animation-delay: -2s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== Marquee ===== */
.marquee-section {
  padding: 28px 0 36px;
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.marquee-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

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

.marquee-track span {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-2);
  white-space: nowrap;
  opacity: 0.55;
}

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

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-muted { background: var(--bg-muted); }

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-tag--light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }

.section-header h2,
.about-content h2 {
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--muted);
  font-size: 15px;
  max-width: 520px;
}

.section-header.center .section-desc { margin: 0 auto; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-visual { position: relative; }

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.about-card--main { padding: 28px; }

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

.about-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--grad);
  border-radius: 14px;
  color: #fff;
}

.about-icon svg { width: 26px; height: 26px; }

.about-card-head h3 { font-size: 17px; font-weight: 900; }
.about-card-head p { font-size: 12.5px; color: var(--muted); font-weight: 600; }

.about-card-text {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.about-highlights {
  list-style: none;
  display: grid;
  gap: 10px;
}

.about-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
}

.about-highlights svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; }

.about-card--stat {
  position: absolute;
  bottom: -20px;
  left: -20px;
  padding: 20px 24px;
  text-align: center;
  background: var(--grad);
  color: #fff;
  border: none;
  box-shadow: var(--shadow);
}

.about-card--stat strong {
  display: block;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.about-card--stat span { font-size: 12px; opacity: 0.9; font-weight: 600; }

.legal-table {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.legal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}

.legal-row:last-child { border-bottom: none; }
.legal-row span { color: var(--muted); font-weight: 600; font-size: 13px; }
.legal-row strong { font-weight: 800; }
.status-active { color: var(--success); }

/* ===== Services grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: stretch;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 280px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition:
    transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.75s ease,
    border-color 0.6s ease,
    background 0.6s ease;
}

.service-card-shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(99, 102, 241, 0.05), transparent 58%);
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: rgba(99, 102, 241, 0.35);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px -22px rgba(79, 70, 229, 0.14);
    border-color: rgba(99, 102, 241, 0.16);
    background: linear-gradient(180deg, #ffffff 0%, #f9faff 100%);
  }

  .service-card:hover::after { transform: scaleX(1); }
  .service-card:hover .service-card-shine { opacity: 1; }
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--primary-soft);
  color: var(--primary);
  transition:
    transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    background 0.6s ease,
    color 0.6s ease;
}

.service-icon svg { width: 26px; height: 26px; }

@media (hover: hover) {
  .service-card:hover .service-icon {
    transform: scale(1.04);
    background: #e8ecff;
    color: var(--primary-dark);
  }

  .service-card:hover .service-tags span {
    background: #f3f5ff;
    border-color: rgba(99, 102, 241, 0.12);
  }
}

.service-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

.service-card h3 {
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.45;
}

.service-card p {
  flex: 1;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.service-tags span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-2);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  padding: 5px 11px;
  border-radius: 999px;
  transition: background 0.55s ease, border-color 0.55s ease;
}

.services-grid .reveal {
  transform: translateY(14px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.services-grid .reveal:nth-child(1) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(2) { transition-delay: 0.2s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.3s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.4s; }

/* ===== Process ===== */
.process-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.process-step {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  text-align: center;
  padding: 24px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s, box-shadow 0.3s;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.process-num {
  width: 44px; height: 44px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  background: var(--grad);
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  border-radius: 14px;
}

.process-step h4 { font-size: 15px; font-weight: 900; margin-bottom: 6px; }
.process-step p { font-size: 13px; color: var(--muted); line-height: 1.65; }

.process-arrow {
  align-self: center;
  color: var(--border-strong, #cbd5e1);
  font-size: 20px;
  font-weight: 300;
  padding-top: 20px;
}

/* ===== Projects ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
}

.project-card::after {
  content: "";
  position: absolute;
  bottom: 0; right: 0; left: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.project-card:hover::after { transform: scaleX(1); }

.project-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.project-card h3 { font-size: 15px; font-weight: 900; margin-bottom: 8px; }
.project-card p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ===== Stats ===== */
.stats-section {
  padding: 64px 0;
  background: var(--grad-dark);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.stat-box {
  text-align: center;
  padding: 28px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}

.stat-box strong {
  display: block;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
}

.stat-box span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

/* ===== Locations ===== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.location-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.location-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(79, 70, 229, 0.2);
}

.location-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.location-type {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.location-city {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}

.location-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.location-phone {
  display: inline-block;
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  padding: 8px 14px;
  background: var(--primary-soft);
  border-radius: 10px;
  transition: background 0.2s;
}

.location-phone:hover { background: #dce4ff; }

/* ===== Contact ===== */
.contact-section {
  padding-bottom: 88px;
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

@media (hover: hover) {
  .contact-info-item:hover {
    border-color: rgba(99, 102, 241, 0.16);
    box-shadow: var(--shadow-sm);
  }
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
}

.contact-info-icon svg { width: 18px; height: 18px; }

.contact-info-item strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text);
}

.contact-info-item span,
.contact-info-item a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.6;
}

.contact-info-item a:hover { color: var(--primary); }

.contact-cta {
  border-radius: var(--radius-xl);
  background: var(--grad);
  box-shadow: 0 20px 50px -28px rgba(79, 70, 229, 0.35);
  overflow: hidden;
}

.contact-cta-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 32px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 15%, rgba(255, 255, 255, 0.14), transparent 45%),
    radial-gradient(circle at 10% 85%, rgba(255, 255, 255, 0.06), transparent 40%);
}

.contact-cta-inner h3 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 10px;
}

.contact-cta-inner p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  margin-bottom: 24px;
}

.contact-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-cta-actions .btn-white {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.2);
}

.contact-cta-actions .btn-white:hover { background: #f8fafc; }

/* ===== Footer — light startup ===== */
.footer {
  position: relative;
  background: linear-gradient(180deg, #f4f7fd 0%, #eef2fa 100%);
  border-top: 1px solid var(--border);
  padding: 0 0 32px;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 200px;
  background:
    radial-gradient(ellipse 70% 60% at 15% 0%, rgba(79, 70, 229, 0.05), transparent 70%),
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(14, 165, 233, 0.04), transparent 65%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding-top: 64px;
}

.footer-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .brand { margin-bottom: 16px; }

.footer-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-social-row {
  display: flex;
  gap: 10px;
}

.footer-icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-xs);
}

.footer-icon-btn:hover {
  background: var(--primary-soft);
  border-color: rgba(79, 70, 229, 0.25);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.footer-icon-btn svg { width: 18px; height: 18px; }

.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.footer-nav {
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s, padding-right 0.2s;
}

.footer-nav a:hover {
  color: var(--primary);
  padding-right: 4px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  margin-bottom: 28px;
}

.footer-legal-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-size: 12.5px;
}

.footer-legal-item span {
  color: var(--muted);
  font-weight: 600;
}

.footer-legal-item strong {
  font-weight: 800;
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--muted);
}

.footer-bottom-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-bottom-nav a {
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.2s;
}

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

/* ===== FAB ===== */
.fab-group {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fab {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 28px -6px rgba(15, 23, 42, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.fab:hover { transform: scale(1.08); }
.fab svg { width: 22px; height: 22px; }

.fab-phone {
  background: var(--success);
  color: #fff;
}

/* ===== Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-content { text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-metrics { margin: 0 auto; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .float-card--1 { left: 0; }
  .float-card--2 { right: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-card--stat { position: relative; bottom: auto; left: auto; margin-top: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .process-arrow { display: none; }
  .process-grid { gap: 12px; }
  .process-step { max-width: none; }
  .footer-body { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --nav-h: 68px; }

  .topbar-inner { justify-content: center; }
  .topbar-group:last-child { display: none; }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    gap: 2px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%);
    transition: transform 0.35s ease;
    align-items: stretch;
  }

  .nav-links.open { transform: none; }
  .nav-links a { padding: 12px 14px; }
  .nav-links .nav-cta {
    width: 100%;
    justify-content: center;
    margin: 10px 0 0;
  }

  .burger { display: flex; }

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

  .hero { padding: 36px 0 28px; }
  .hero-metrics { flex-direction: column; width: 100%; padding: 8px; }
  .metric-divider { width: 80%; height: 1px; margin: 0 auto; }
  .metric { width: 100%; }

  .dashboard { transform: none; }
  .float-card { display: none; }

  .section { padding: 64px 0; }

  .projects-grid,
  .stats-row,
  .locations-grid { grid-template-columns: 1fr; }

  .contact-layout { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr; }
  .contact-section { padding-bottom: 56px; }
  .contact-cta-inner { padding: 28px 24px; }
  .contact-cta-actions { width: 100%; }

  .footer-body { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .fab-group { bottom: 16px; left: 16px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .contact-cta-actions { flex-direction: column; }
  .contact-cta-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; }
}
