/* ============================================================
   TZEXPERTS DESIGN SYSTEM — shared across every page
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

:root {
  /* Brand */
  --primary: #4A55F6;
  --primary-600: #3A44E0;
  --primary-700: #2C35B8;
  --primary-200: #C7CBFF;
  --primary-100: #EDEEFF;
  --accent: #10B981;
  --accent-2: #FFB347;
  --success: #3DD68C;
  --warning: #FFB020;
  --error: #FF5470;

  /* Light theme (only theme) */
  --bg: #FBFBFE;
  --surface: #FFFFFF;
  --surface-2: #F5F6FA;
  --surface-3: #ECEDF6;
  --border: rgba(10,10,25,0.09);
  --border-strong: rgba(10,10,25,0.15);
  --text: #0A0A16;
  --text-muted: #53566B;
  --text-faint: #666A82;
  --on-primary: #FFFFFF;

  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 10px rgba(10,10,25,0.06);
  --shadow-md: 0 12px 40px rgba(10,10,25,0.1);
  --shadow-glow: 0 0 60px rgba(74,85,246,0.18);

  --container: 1280px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

/* Dark bookend sections (hero + closing CTA) — scoped override, rest of the
   site stays light. CSS variables cascade, so nested components inherit
   these automatically without any extra rules. */
.hero, .cta-section, .page-hero {
  --text: #FFFFFF;
  --text-muted: rgba(255,255,255,.78);
  --text-faint: rgba(255,255,255,.56);
  --border: rgba(255,255,255,.16);
  --border-strong: rgba(255,255,255,.28);
  --surface-2: rgba(255,255,255,.08);
  --surface-3: rgba(255,255,255,.12);
  background: linear-gradient(135deg, #05060F 0%, #12173F 45%, #070813 100%);
  color: #fff;
}

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

h1,h2,h3,h4,h5 { font-family: var(--font-heading); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 800; }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
p { color: var(--text-muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 920px; margin: 0 auto; padding: 0 24px; }
.eyebrow { display:inline-flex; align-items:center; gap:8px; font-size: .8rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color: var(--primary); margin-bottom: 16px; }
.hero .eyebrow, .cta-section .eyebrow, .page-hero .eyebrow { color: var(--primary-200); }
.eyebrow::before { content:''; width:20px; height:2px; background: var(--accent); display:inline-block; border-radius:2px; }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 88px) 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left:auto; margin-right:auto; text-align:center; }
.section-head p { font-size: 1.1rem; margin-top: 16px; }
.bg-surface { background: var(--surface-2); }

/* Skip link */
.skip-link { position:absolute; left:-999px; top:0; background:var(--primary); color:#fff; padding:12px 20px; border-radius: 0 0 10px 0; z-index:9999; }
.skip-link:focus { left:0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; padding: 16px 30px; border-radius: var(--radius-full); font-weight:600; font-size: .98rem; border: 1px solid transparent; white-space:nowrap; position:relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease); }
.btn svg { width:18px; height:18px; transition: transform .3s var(--ease); }
.btn-primary { background: var(--primary); color:#fff; box-shadow: 0 10px 30px rgba(74,85,246,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(74,85,246,.5); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--primary); background: rgba(74,85,246,.08); }
.btn-sm { padding: 11px 20px; font-size: .88rem; }
.btn-block { width:100%; }

/* Nav */
.nav { position: fixed; top:0; left:0; right:0; z-index: 1000; padding: 18px 0; transition: all .35s var(--ease); }
.nav-inner { display:flex; align-items:center; justify-content:space-between; gap: 24px; padding: 12px 20px; border-radius: var(--radius-full); transition: all .35s var(--ease); background: rgba(255,255,255,.86); backdrop-filter: blur(16px) saturate(160%); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.nav.scrolled { padding: 12px 0; }
.nav.scrolled .nav-inner { background: rgba(255,255,255,.96); box-shadow: var(--shadow-md); }
.brand { display:flex; align-items:center; gap:10px; font-family: var(--font-heading); font-weight:800; font-size:1.2rem; color: var(--text); }
.brand img { height: 30px; width:auto; }
.nav-links { display:flex; align-items:center; gap: 4px; }
.nav-links a { padding: 10px 14px; border-radius: var(--radius-full); font-size: .92rem; font-weight:600; color: var(--text-muted); transition: all .25s var(--ease); position:relative; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-actions { display:flex; align-items:center; gap:12px; }
.menu-btn { display:none; width:44px; height:44px; border-radius:50%; background: var(--surface-2); border:1px solid var(--border-strong); align-items:center; justify-content:center; color: var(--text); }
.menu-btn svg { width:20px; height:20px; }

.mobile-menu { position: fixed; inset:0; background: var(--bg); z-index: 1200; display:flex; flex-direction:column; padding: 24px; transform: translateY(-100%); transition: transform .45s var(--ease); overflow-y:auto; }
.mobile-menu.open { transform: translateY(0); }
.mobile-menu-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:40px; }
.mobile-menu-top .menu-btn { background: var(--surface-2); border-color: var(--border-strong); color: var(--text); }
.mobile-menu nav { display:flex; flex-direction:column; gap:6px; }
.mobile-menu nav a { font-family: var(--font-heading); font-size: 1.7rem; font-weight:700; padding: 12px 4px; border-bottom:1px solid var(--border); }
.mobile-menu-footer { margin-top:auto; display:flex; gap:12px; flex-wrap:wrap; padding-top:24px; }

/* Hero (home) */
.hero { position: relative; min-height: 100vh; display:flex; align-items:center; padding-top: 140px; padding-bottom: 80px; overflow:hidden; }
.hero-bg { position:absolute; inset:0; z-index:0; overflow:hidden; }
.blob { position:absolute; border-radius:50%; filter: blur(90px); opacity:.55; will-change: transform; }
.blob-1 { width:560px; height:560px; background: radial-gradient(circle, var(--primary), transparent 70%); top:-140px; left:-120px; }
.blob-2 { width:480px; height:480px; background: radial-gradient(circle, var(--accent), transparent 70%); bottom:-160px; right:-100px; opacity:.3; }
.blob-3 { width:360px; height:360px; background: radial-gradient(circle, var(--accent-2), transparent 70%); top:40%; left:55%; opacity:.18; }
.grain { position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 3px 3px; pointer-events:none; }

/* ============================================================
   BRAND MARK DECORATION — the favicon glyph reused as a subtle
   premium pattern / floating accent across the site. Used
   sparingly: hero + a handful of section backgrounds only.
   ============================================================ */
.fav-pattern { position:absolute; inset:-15%; z-index:0; pointer-events:none; background-image:url('../images/favicon-mark-white.png'); background-repeat:repeat; background-size:110px 110px; opacity:.05; animation: favDrift 160s linear infinite; }
.fav-pattern.fav-pattern-light { background-image:url('../images/favicon-mark-primary.png'); opacity:.035; }
@keyframes favDrift { from { transform: translate3d(0,0,0) rotate(0deg); } to { transform: translate3d(-110px,-110px,0) rotate(4deg); } }

.fav-accent { position:absolute; z-index:0; pointer-events:none; opacity:.14; }
.fav-accent img { width:100%; height:100%; display:block; }
.fav-accent.spin { animation: favSpin 100s linear infinite; }
.fav-accent.drift { animation: favFloat 11s ease-in-out infinite; }
@keyframes favSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes favFloat { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-22px) rotate(6deg); } }

/* Abstract "premium tech" backdrop utilities — CSS-generated, brand-
   colored, no external images required. Grid = circuit/blueprint feel,
   dots = data/particle feel. Applied selectively for visual rhythm. */
.tech-grid-bg { position:absolute; inset:0; z-index:0; pointer-events:none; opacity:.5;
  background-image:
    linear-gradient(rgba(74,85,246,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,85,246,.09) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 40%, transparent 85%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 40%, transparent 85%);
}
.tech-dot-bg { position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image: radial-gradient(rgba(74,85,246,.16) 1.6px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, #000 30%, transparent 80%);
}

/* Section "intro + supporting screenshot" split layout, used to break
   up long stretches of icon-card grids with a real project visual. */
.visual-split { display:grid; grid-template-columns: 1fr .82fr; gap:56px; align-items:center; margin-bottom:48px; }
.visual-split .section-head { margin-bottom:0; }
.visual-split-media { position:relative; }
.showcase-frame { position:relative; border-radius: var(--radius-lg); overflow:hidden; border:1px solid var(--border); box-shadow: var(--shadow-md), var(--shadow-glow); }
.showcase-frame img { width:100%; height:100%; object-fit:cover; display:block; }
.showcase-glow { position:absolute; inset:-16%; z-index:-1; background: radial-gradient(circle at 40% 30%, rgba(74,85,246,.28), transparent 60%); filter: blur(40px); border-radius:50%; }
.visual-split-media.sticky { position:sticky; top:120px; align-self:start; }
@media (min-width: 1081px) {
  .visual-split .why-grid { grid-template-columns: repeat(2,1fr); }
  .visual-split .services-grid { grid-template-columns: repeat(2,1fr); }
}

/* Browser-chrome device frame for wrapping real screenshots in a
   "software product" presentation instead of a bare <img>. */
.browser-frame { border-radius: var(--radius-lg); overflow:hidden; border:1px solid var(--border-strong); box-shadow: var(--shadow-md); background: var(--surface); }
.browser-frame .browser-bar { display:flex; align-items:center; gap:6px; padding:12px 16px; background: var(--surface-2); border-bottom:1px solid var(--border); }
.browser-frame .browser-bar span { width:10px; height:10px; border-radius:50%; background: var(--border-strong); }
.browser-frame .browser-bar span:nth-child(1) { background:#FF5F56; }
.browser-frame .browser-bar span:nth-child(2) { background:#FFBD2E; }
.browser-frame .browser-bar span:nth-child(3) { background:#27C93F; }
.browser-frame img { width:100%; height:100%; display:block; object-fit:cover; }
.hero-content { position:relative; z-index:2; display:grid; grid-template-columns: 1.15fr .85fr; gap:48px; align-items:center; }
.hero-text h1 { margin-bottom:24px; }
.hero-text h1 .grad { background: linear-gradient(100deg, var(--primary), var(--accent) 90%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero-text p.lead { font-size: 1.2rem; max-width: 520px; margin-bottom:34px; }
.hero-cta { display:flex; gap:16px; flex-wrap:wrap; margin-bottom: 48px; }
.hero-trust { display:flex; gap:28px; flex-wrap:wrap; }
.hero-trust .item { display:flex; align-items:center; gap:10px; font-size:.85rem; color:var(--text-muted); font-weight:600; }
.hero-trust svg { width:18px; height:18px; color: var(--accent); }

.hero-visual { position:relative; height: 560px; }
.float-card { position:absolute; background: rgba(8,9,20,.72); border:1px solid rgba(255,255,255,.16); border-radius: var(--radius-md); padding: 18px 20px; box-shadow: 0 12px 40px rgba(0,0,0,.35); backdrop-filter: blur(14px) saturate(160%); }
.float-card .fc-label { font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; color:rgba(255,255,255,.65); font-weight:700; }
.float-card .fc-value { font-family: var(--font-heading); font-size: 1.6rem; font-weight:800; margin-top:4px; color:#fff; }
.fc-1 { top:6%; left:2%; width: 200px; }
.fc-2 { top:38%; right:0%; width: 220px; }
.fc-3 { bottom: 8%; left: 14%; width: 210px; }
.hero-visual-frame { position:absolute; inset: 8% 10%; border-radius: var(--radius-lg); overflow:hidden; border:1px solid var(--border-strong); box-shadow: var(--shadow-glow); }
.hero-visual-frame img { width:100%; height:100%; object-fit:cover; }

.scroll-cue { position:absolute; bottom: 28px; left:50%; transform:translateX(-50%); display:flex; flex-direction:column; align-items:center; gap:8px; color:var(--text-faint); font-size:.75rem; letter-spacing:.1em; text-transform:uppercase; z-index:2; }
.scroll-cue .line { width:1px; height:40px; background: linear-gradient(var(--text-faint), transparent); animation: scrollcue 2s infinite var(--ease); }
@keyframes scrollcue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Page hero (interior pages) */
.page-hero { position:relative; padding: 160px 0 90px; overflow:hidden; }
.page-hero .container { position:relative; z-index:2; }
.breadcrumbs { display:flex; align-items:center; gap:8px; font-size:.85rem; color: var(--text-faint); margin-bottom:20px; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color:#fff; }
.page-hero h1 { max-width: 780px; }
.page-hero .lead { font-size:1.15rem; max-width:620px; margin-top:18px; }

/* Marquee */
.marquee-wrap { border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding: 28px 0; overflow:hidden; }
.marquee-track { display:flex; gap: 64px; width:max-content; animation: marquee 32s linear infinite; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item { display:flex; align-items:center; gap:10px; font-family: var(--font-heading); font-weight:700; font-size:1.1rem; color: var(--text-faint); white-space:nowrap; }
.marquee-item svg { width:20px; height:20px; color: var(--primary); }

/* Cards grid generic */
.grid { display:grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

.card { background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md); padding: 32px; }
/* Safety-net default so any icon-wrap not covered by a more specific rule below
   still renders at a sane size instead of an unconstrained, oversized SVG. */
.icon-wrap svg { width:24px; height:24px; flex-shrink:0; }
.card .icon-wrap { width:52px; height:52px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--primary-700)); display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.card .icon-wrap svg { width:24px; height:24px; color:#fff; }
.card h3 { margin-bottom:10px; }
.card p { font-size: .95rem; }

/* Why choose us */
.why-grid { grid-template-columns: repeat(4, 1fr); }

/* Featured Projects / Portfolio cards */
.proj-filter { display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 36px; }
.chip { padding: 9px 18px; border-radius: var(--radius-full); border:1px solid var(--border-strong); font-size:.85rem; font-weight:600; color:var(--text-muted); transition: all .25s var(--ease); background:transparent; }
.chip.active, .chip:hover { background: var(--primary); border-color: var(--primary); color:#fff; }
.proj-grid { grid-template-columns: repeat(3, 1fr); }
.proj-card { display:flex; flex-direction:column; border-radius: var(--radius-md); overflow:hidden; border:1px solid var(--border); background: var(--surface); }
.proj-thumb { aspect-ratio: 4/3.1; overflow:hidden; cursor: zoom-in; }
.proj-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.proj-body { padding: 22px 24px 26px; display:flex; flex-direction:column; flex:1; }
.proj-tag { align-self:flex-start; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color: var(--primary); margin-bottom:10px; }
.proj-body h3 { font-size:1.15rem; margin-bottom:8px; }
.proj-body p { font-size:.9rem; margin-bottom: 16px; }
.proj-link { display:inline-flex; align-items:center; gap:6px; color: var(--text); font-weight:600; font-size:.85rem; margin-top:auto; }
.proj-link svg { width:16px; height:16px; }
.proj-more { text-align:center; margin-top: 44px; }

/* Portfolio page extras */
.portfolio-toolbar { display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; margin-bottom:28px; }
.portfolio-search { display:flex; align-items:center; gap:10px; background: var(--surface-2); border:1px solid var(--border); border-radius: var(--radius-full); padding: 11px 18px; min-width:240px; }
.portfolio-search svg { width:16px; height:16px; color:var(--text-faint); flex-shrink:0; }
.portfolio-search input { flex:1; background:transparent; border:none; color:var(--text); font-size:.9rem; }
.portfolio-search input:focus { outline:none; }
.results-count { font-size:.85rem; color:var(--text-faint); margin-bottom:20px; }
.load-more-wrap { text-align:center; margin-top:44px; }
.proj-card.is-hidden { display:none; }

/* Lightbox modal */
.lightbox { position:fixed; inset:0; background:rgba(5,5,12,.92); z-index:2000; display:none; align-items:center; justify-content:center; padding:40px; }
.lightbox.open { display:flex; }
.lightbox-inner { max-width:900px; width:100%; }
.lightbox-inner img { width:100%; border-radius: var(--radius-md); max-height:70vh; object-fit:contain; background:#000; }
.lightbox-caption { color:#fff; text-align:center; margin-top:18px; }
.lightbox-caption h3 { color:#fff; margin-bottom:6px; }
.lightbox-close { position:absolute; top:24px; right:24px; width:46px; height:46px; border-radius:50%; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2); color:#fff; display:flex; align-items:center; justify-content:center; }

/* Process timeline */
.process-track { position:relative; }
.process-track::before { content:''; position:absolute; top:0; bottom:0; left: 27px; width:2px; background: var(--border); }
.process-step { display:grid; grid-template-columns: 56px 1fr; gap: 26px; padding-bottom: 48px; position:relative; }
.process-step:last-child { padding-bottom:0; }
.process-num { width:56px; height:56px; border-radius:50%; background: var(--surface-2); border:1px solid var(--border-strong); display:flex; align-items:center; justify-content:center; font-family: var(--font-heading); font-weight:800; color: var(--primary); position:relative; z-index:1; }
.process-body h3 { margin-bottom:8px; }
.process-body p { max-width:600px; margin-bottom:14px; }
.process-body ul.deliverables { display:flex; flex-wrap:wrap; gap:8px; }
.process-body ul.deliverables li { font-size:.78rem; font-weight:600; color:var(--text-muted); background:var(--surface-2); border:1px solid var(--border); padding:6px 12px; border-radius:var(--radius-full); }

/* Services */
.services-grid { grid-template-columns: repeat(3,1fr); }
.service-card { display:flex; flex-direction:column; }
.service-card .arrow { margin-top:16px; display:inline-flex; align-items:center; gap:6px; font-weight:600; font-size:.85rem; color: var(--primary); }
.service-card .arrow svg { width:16px; height:16px; }

/* Service detail blocks (services.html) */
.service-detail { padding: clamp(56px,7vw,96px) 0; border-top:1px solid var(--border); scroll-margin-top:110px; }
.service-detail:first-of-type { border-top:none; }
.service-detail-head { display:flex; align-items:center; gap:18px; margin-bottom:28px; flex-wrap:wrap; }
.service-detail-head .icon-wrap { width:56px; height:56px; border-radius:14px; background: linear-gradient(135deg, var(--primary), var(--primary-700)); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.service-detail-head .icon-wrap svg { width:26px; height:26px; color:#fff; }
.service-detail-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap:48px; align-items:start; }
.service-detail-grid h4 { font-family:var(--font-heading); font-size:.85rem; text-transform:uppercase; letter-spacing:.08em; color:var(--text-faint); margin: 26px 0 12px; }
.service-detail-grid h4:first-child { margin-top:0; }
.check-list li { display:flex; align-items:flex-start; gap:10px; margin-bottom:10px; font-size:.95rem; color:var(--text-muted); }
.check-list svg { width:18px; height:18px; color: var(--accent); flex-shrink:0; margin-top:2px; }
.service-side-card { background: var(--surface-2); border:1px solid var(--border); border-radius: var(--radius-md); padding:28px; position:sticky; top:110px; }
.service-side-card h4 { margin-bottom:14px; }
.service-jump { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px; }
.service-jump a { font-size:.78rem; font-weight:600; padding:8px 14px; border-radius:var(--radius-full); background:var(--surface-2); border:1px solid var(--border-strong); color:var(--text-muted); }
.service-jump a:hover { color:var(--text); border-color:var(--primary); }

/* Stats */
.stats-band { background: linear-gradient(135deg, var(--primary-700), var(--primary) 60%, var(--primary-600)); border-radius: var(--radius-lg); padding: clamp(40px,6vw,72px); color:#fff; position:relative; overflow:hidden; }
.stats-band::after { content:''; position:absolute; inset:0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 0h40v40H0z' fill='none'/%3E%3Cpath d='M0 0h1v40H0zM0 0h40v1H0z' fill='%23ffffff' opacity='.06'/%3E%3C/svg%3E"); }
.stats-grid { grid-template-columns: repeat(4,1fr); position:relative; z-index:1; }
.stat-item { text-align:center; }
.stat-number { font-family: var(--font-heading); font-size: clamp(2.4rem,5vw,3.6rem); font-weight:800; display:flex; align-items:baseline; justify-content:center; gap:2px; }
.stat-label { margin-top:8px; font-size:.9rem; color: rgba(255,255,255,.8); font-weight:600; }
.stat-plain { text-align:center; }
.stat-plain .stat-number { color: var(--primary); }
.stat-plain .stat-label { color: var(--text-faint); }

/* Technologies */
.tech-groups { display:flex; flex-direction:column; gap: 40px; }
.tech-group h4 { font-family: var(--font-heading); margin-bottom: 18px; color: var(--text-faint); text-transform:uppercase; font-size:.78rem; letter-spacing:.1em; }
.tech-row { display:flex; flex-wrap:wrap; gap:12px; }
.tech-pill { display:flex; align-items:center; gap:10px; padding: 12px 20px; border-radius: var(--radius-full); background: var(--surface-2); border:1px solid var(--border); font-weight:600; font-size:.9rem; transition: all .3s var(--ease); }
.tech-pill:hover { border-color: var(--primary); transform: translateY(-3px); background: var(--surface-3); }
.tech-pill span.dot { width:8px; height:8px; border-radius:50%; background: var(--accent); }
.tech-card-grid { grid-template-columns: repeat(4,1fr); }
.tech-card { text-align:center; padding:28px 18px; transition: transform .3s var(--ease), border-color .3s var(--ease); }
.tech-card:hover { transform: translateY(-4px) scale(1.02); border-color: var(--primary); }
.tech-card .icon-wrap { margin:0 auto 16px; background: var(--surface-3); }
.tech-card .icon-wrap svg { color: var(--primary); }
.tech-card h3 { font-size:1rem; }

/* Testimonials */
.test-wrap { position:relative; }
.test-track { display:flex; overflow:hidden; }
.test-card { flex: 0 0 100%; width:100%; box-sizing:border-box; background: var(--surface-2); border:1px solid var(--border); border-radius: var(--radius-lg); padding: 44px; display:grid; grid-template-columns: auto 1fr; gap:32px; align-items:center; }
.test-avatar { width:76px; height:76px; border-radius:50%; background: linear-gradient(135deg,var(--primary),var(--accent)); display:flex; align-items:center; justify-content:center; font-family:var(--font-heading); font-weight:800; font-size:1.4rem; color:#fff; flex-shrink:0; }
.test-stars { display:flex; gap:3px; margin-bottom:14px; color: var(--accent-2); }
.test-stars svg { width:16px; height:16px; }
.test-quote { font-size:1.15rem; font-family: var(--font-heading); font-weight:500; margin-bottom:18px; line-height:1.5; }
.test-name { font-weight:700; }
.test-role { font-size:.85rem; color:var(--text-faint); }
.test-nav { display:flex; justify-content:center; gap:12px; margin-top:28px; }
.test-dot { width:9px; height:9px; border-radius:50%; background: var(--border-strong); transition: all .3s; }
.test-dot.active { background: var(--primary); width:24px; border-radius:6px; }
.test-arrows { display:flex; gap:10px; position:absolute; top:-90px; right:0; }
.test-arrow-btn { width:46px; height:46px; border-radius:50%; border:1px solid var(--border-strong); display:flex; align-items:center; justify-content:center; background: var(--surface-2); }
.test-arrow-btn svg { width:18px; height:18px; }

/* Testimonials page grid */
.test-grid { grid-template-columns: repeat(3,1fr); }
.test-mini { background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md); padding:28px; display:flex; flex-direction:column; }
.test-mini .test-stars { margin-bottom:12px; }
.test-mini p { font-size:.92rem; margin-bottom:18px; }
.test-mini-foot { display:flex; align-items:center; gap:12px; margin-top:auto; }
.test-mini-foot .test-avatar { width:44px; height:44px; font-size:.95rem; }
.video-testimonial { position:relative; border-radius: var(--radius-md); overflow:hidden; aspect-ratio:16/10; background: linear-gradient(135deg, var(--surface-3), var(--surface-2)); display:flex; align-items:center; justify-content:center; border:1px solid var(--border); }
.video-testimonial .play-btn { width:64px; height:64px; border-radius:50%; background: var(--primary); color:#fff; display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-md); }
.video-testimonial .play-btn svg { width:24px; height:24px; }
.video-testimonial .vt-label { position:absolute; bottom:18px; left:18px; color: var(--text); font-weight:700; font-size:.85rem; background: var(--surface); padding:6px 14px; border-radius: var(--radius-full); border:1px solid var(--border); }
.client-logo-row { display:flex; flex-wrap:wrap; gap:14px; justify-content:center; }
.client-logo-chip { padding:14px 24px; border-radius: var(--radius-md); background: var(--surface-2); border:1px solid var(--border); font-family: var(--font-heading); font-weight:700; color: var(--text-faint); }

/* Industries */
.ind-grid { grid-template-columns: repeat(4,1fr); }
.ind-card { text-align:left; position:relative; }
.ind-card .icon-wrap { background: var(--surface-3); }
.ind-card .icon-wrap svg { color: var(--primary); }
.ind-detail { padding: 40px 0; border-top:1px solid var(--border); }
.ind-detail:first-of-type { border-top:none; }
.ind-detail > div:first-child { max-width: 680px; }
.ind-detail .icon-wrap { width:60px; height:60px; margin:0 0 20px; border-radius:14px; background: linear-gradient(135deg, var(--primary), var(--primary-700)); display:flex; align-items:center; justify-content:center; }
.ind-detail .icon-wrap svg { width:28px; height:28px; color:#fff; }
.ind-detail-stats { display:flex; gap:28px; margin: 28px 0 0; flex-wrap:wrap; padding-top:24px; border-top:1px solid var(--border); }
.ind-detail-stats div { font-family:var(--font-heading); font-weight:800; color:var(--primary); font-size:1.3rem; }
.ind-detail-stats span { display:block; font-family:var(--font-body); font-weight:600; font-size:.75rem; color:var(--text-faint); text-transform:uppercase; letter-spacing:.06em; }

/* FAQ */
.faq-wrap { max-width: 820px; margin:0 auto; }
.faq-search { display:flex; align-items:center; gap:12px; background: var(--surface-2); border:1px solid var(--border); border-radius: var(--radius-full); padding: 14px 22px; margin-bottom: 32px; }
.faq-search svg { width:18px; height:18px; color:var(--text-faint); }
.faq-search input { flex:1; background:transparent; border:none; color:var(--text); font-size:.95rem; }
.faq-search input:focus { outline:none; }
.faq-cats { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:28px; justify-content:center; }
.faq-group { margin-bottom: 44px; }
.faq-group-title { font-family:var(--font-heading); font-size:1.1rem; font-weight:700; margin-bottom:6px; }
.faq-item { border-bottom:1px solid var(--border); }
.faq-q { width:100%; display:flex; align-items:center; justify-content:space-between; gap:20px; padding: 22px 4px; text-align:left; background:transparent; border:none; color:var(--text); font-family:var(--font-heading); font-size:1.05rem; font-weight:600; }
.faq-q svg { width:20px; height:20px; flex-shrink:0; transition: transform .35s var(--ease); color: var(--primary); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height:0; overflow:hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 4px 24px; font-size:.96rem; max-width: 680px; }
.faq-item.hidden, .faq-group.hidden { display:none; }

/* About page */
.about-story-grid { display:grid; grid-template-columns: 1fr 1fr; gap:56px; align-items:center; }
.about-story-grid img { border-radius: var(--radius-lg); border:1px solid var(--border); }
.value-grid { grid-template-columns: repeat(3,1fr); }
.timeline-h { display:flex; overflow-x:auto; gap:0; padding-bottom:20px; }
.timeline-h-item { min-width:240px; padding-right:32px; position:relative; }
.timeline-h-item::before { content:''; position:absolute; top:10px; left:0; right:32px; height:2px; background:var(--border); }
.timeline-h-item::after { content:''; position:absolute; top:4px; left:0; width:14px; height:14px; border-radius:50%; background:var(--primary); }
.timeline-h-item .th-year { font-family:var(--font-heading); font-weight:800; color:var(--primary); margin:26px 0 8px; display:block; }
.team-grid { grid-template-columns: repeat(4,1fr); }
.team-card { text-align:center; }
.team-avatar { width:88px; height:88px; border-radius:50%; margin:0 auto 16px; background: linear-gradient(135deg,var(--primary),var(--accent)); display:flex; align-items:center; justify-content:center; font-family:var(--font-heading); font-weight:800; font-size:1.6rem; color:#fff; }
.team-card h3 { font-size:1.05rem; margin-bottom:4px; }
.team-card .role { font-size:.85rem; color:var(--primary); font-weight:600; }
.award-row { grid-template-columns: repeat(4,1fr); }
.award-card { text-align:center; }
.award-card .icon-wrap { margin:0 auto 16px; }

/* Contact page */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap:48px; align-items:start; }
.contact-form { display:flex; flex-direction:column; gap:16px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-field label { display:block; font-size:.82rem; font-weight:600; margin-bottom:8px; color:var(--text); }
.form-field input, .form-field select, .form-field textarea { width:100%; padding:14px 16px; border-radius:12px; border:1px solid var(--border-strong); background:var(--surface-2); color:var(--text); font-size:.92rem; }
.form-field textarea { resize:vertical; min-height:120px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline:none; border-color:var(--primary); }
.contact-info-card { background: var(--surface-2); border:1px solid var(--border); border-radius: var(--radius-md); padding:28px; margin-bottom:20px; }
.contact-info-row { display:flex; gap:14px; align-items:flex-start; padding:14px 0; border-bottom:1px solid var(--border); }
.contact-info-row:last-child { border-bottom:none; }
.contact-info-row .icon-wrap { width:40px; height:40px; margin:0; flex-shrink:0; }
.contact-info-row .icon-wrap svg { width:18px; height:18px; }
.contact-info-row h4 { font-size:.95rem; margin-bottom:2px; }
.contact-info-row p { font-size:.88rem; }
.map-placeholder { border-radius: var(--radius-md); overflow:hidden; border:1px solid var(--border); aspect-ratio:16/9; background: repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 10px, var(--surface-3) 10px, var(--surface-3) 20px); display:flex; align-items:center; justify-content:center; color:var(--text-faint); font-weight:600; gap:8px; }
.calendly-placeholder { border-radius: var(--radius-md); border:1px dashed var(--border-strong); padding:36px; text-align:center; background: var(--surface-2); }
.calendly-placeholder svg { width:32px; height:32px; color:var(--primary); margin:0 auto 12px; }
.form-success { display:none; background: rgba(16,185,129,.1); border:1px solid var(--accent); color: var(--text); padding:16px 20px; border-radius:12px; font-size:.9rem; font-weight:600; }
.form-success.show { display:block; }

/* CTA */
.cta-section { position:relative; border-radius: var(--radius-lg); overflow:hidden; padding: clamp(56px,9vw,110px) clamp(24px,6vw,80px); text-align:center; border: 1px solid var(--border); }
.cta-section .blob-1 { top:-200px; left: 10%; }
.cta-section .blob-2 { bottom:-220px; right:10%; }
.cta-section h2 { max-width:760px; margin: 0 auto 20px; position:relative; z-index:1; }
.cta-section p { max-width:560px; margin: 0 auto 36px; font-size:1.1rem; position:relative; z-index:1; }
.cta-actions { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; position:relative; z-index:1; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 72px 0 28px; }
.footer-top { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-brand p { margin: 16px 0 22px; max-width:280px; font-size:.92rem; }
.footer-social { display:flex; gap:10px; }
.footer-social a { width:38px; height:38px; border-radius:50%; border:1px solid var(--border-strong); display:flex; align-items:center; justify-content:center; }
.footer-social svg { width:16px; height:16px; }
.footer-col h5 { font-family: var(--font-heading); font-size:.85rem; text-transform:uppercase; letter-spacing:.08em; color:var(--text-faint); margin-bottom:18px; }
.footer-col ul { display:flex; flex-direction:column; gap:12px; }
.footer-col a { font-size:.92rem; color: var(--text-muted); transition: color .25s; }
.footer-col a:hover { color: var(--text); }
.newsletter-form { display:flex; gap:8px; margin-top:16px; }
.newsletter-form input { flex:1; padding: 12px 16px; border-radius: var(--radius-full); border:1px solid var(--border-strong); background: var(--surface-2); color:var(--text); font-size:.88rem; }
.newsletter-form input:focus { outline:none; border-color: var(--primary); }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; padding-top: 28px; border-top:1px solid var(--border); flex-wrap:wrap; gap:16px; }
.footer-bottom p { font-size:.85rem; }
.back-top { width:44px; height:44px; border-radius:50%; border:1px solid var(--border-strong); display:flex; align-items:center; justify-content:center; background: var(--surface-2); }
.back-top svg { width:18px; height:18px; }

/* Floating buttons */
.float-actions { position: fixed; bottom: 26px; right: 26px; display:flex; flex-direction:column; gap:12px; z-index: 900; }
.fab { width:58px; height:58px; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-md); }
.fab svg { width:24px; height:24px; }
.fab-whatsapp { background:#25D366; color:#fff; }
.fab-consult { background: var(--primary); color:#fff; }

/* Reveal */
[data-reveal] { opacity:0; transform: translateY(36px); }
.gsap-ready [data-reveal] { transition: none; }

/* Utility */
.text-center { text-align:center; }
.mt-8 {margin-top:8px;}
.badge-row { display:flex; gap:12px; flex-wrap:wrap; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { height: 420px; order:-1; }
  .why-grid, .services-grid, .ind-grid, .proj-grid, .value-grid, .team-grid, .award-row, .tech-card-grid, .test-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); row-gap: 32px; }
  .footer-top { grid-template-columns: repeat(3,1fr); }
  .about-story-grid, .service-detail-grid, .contact-grid, .visual-split { grid-template-columns: 1fr; }
  .service-side-card { position:static; }
  .visual-split-media { max-width:440px; margin:0 auto; }
}
@media (max-width: 860px) {
  .nav-links { display:none; }
  .menu-btn { display:flex; }
  .test-card { grid-template-columns: 1fr; text-align:center; }
  .test-avatar { margin:0 auto; }
  .test-arrows { display:none; }
}
@media (max-width: 640px) {
  .why-grid, .services-grid, .ind-grid, .proj-grid, .grid-2, .value-grid, .team-grid, .award-row, .tech-card-grid, .test-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: repeat(2,1fr); }
  .hero-visual { display:none; }
  .hero { padding-top:120px; }
  .hero-cta { flex-direction:column; align-items:stretch; }
  .hero-cta .btn { width:100%; }
  .fc-1,.fc-2,.fc-3 { display:none; }
  .cta-actions { flex-direction:column; }
  .cta-actions .btn { width:100%; }
  .form-row { grid-template-columns:1fr; }
  .page-hero { padding-top:130px; }
}
