/* ============================================================
   TNXBD IT SOLUTION — Design System
   Inspired by Claude.com · Stripe · Linear
============================================================ */

:root {
  --bg:        #FAF8F4;
  --bg-alt:    #F2EDE4;
  --bg-sec:    #F6F1E9;
  --card:      #FFFFFF;
  --text:      #1C1917;
  --text-2:    #57534E;
  --text-3:    #A8A29E;
  --accent:    #B95320;
  --accent-h:  #D46B38;
  --border:    #E7E2D8;
  --border-2:  #D4CFC4;

  --f-serif:  'Playfair Display', Georgia, serif;
  --f-sans:   'DM Sans', system-ui, -apple-system, sans-serif;

  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
  --tf:       150ms;
  --tn:       260ms;
  --ts:       420ms;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 22px; border-radius: 7px;
  font-family: var(--f-sans); font-size: 15px; font-weight: 500;
  border: 1.5px solid transparent;
  transition: all var(--tn) var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-primary:hover { background: #2E2A25; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(28,25,23,0.18); }
.btn-outline  { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-outline:hover  { border-color: var(--text); transform: translateY(-1px); }
.btn-accent   { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover   { background: var(--accent-h); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(185,83,32,0.32); }

/* ---- Hero entrance: transform-only so text is always visible ---- */
@keyframes hero-slide {
  from { transform: translateY(14px); }
  to   { transform: translateY(0); }
}
@keyframes hero-fade {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge  { animation: hero-slide 0.7s var(--ease) 0.08s both; }
.hero-title  { animation: hero-slide 0.75s var(--ease) 0.18s both; }
.hero-sub    { animation: hero-slide 0.7s var(--ease) 0.28s both; }
.hero-cta    { animation: hero-slide 0.7s var(--ease) 0.36s both; }
.hero-visual { animation: hero-fade 0.9s var(--ease) 0.12s both; }

/* ---- Lucide icon defaults ---- */
[data-lucide] { display: inline-block; vertical-align: middle; }
.dd-icon [data-lucide]      { width: 16px; height: 16px; stroke-width: 1.8; color: var(--accent); }
.svc-icon [data-lucide]     { width: 22px; height: 22px; stroke-width: 1.8; color: var(--accent); }
.fcard-icon [data-lucide]   { width: 17px; height: 17px; stroke-width: 1.8; color: var(--text-2); }
.why-ico [data-lucide]      { width: 20px; height: 20px; stroke-width: 1.8; color: var(--accent); }
.footer-contact [data-lucide] { width: 14px; height: 14px; stroke-width: 1.8; }
.svc-link [data-lucide]     { width: 13px; height: 13px; stroke-width: 2; }

/* ---- Service card illustration ---- */
.svc-illus {
  margin: -32px -32px 22px;
  background: var(--bg-sec);
  border-radius: 14px 14px 0 0;
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.svc-illus img {
  max-height: 160px; max-width: 88%;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}
.svc-card:hover .svc-illus img { transform: scale(1.04) translateY(-2px); }

/* ---- Why illustration ---- */
.why-illus {
  margin-top: 32px;
}
.why-illus img {
  max-width: 100%; max-height: 200px;
  object-fit: contain;
  display: block;
}

/* ---- Eyebrow ---- */
.eyebrow {
  display: inline-block;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--accent);
}

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
}
.site-header .inner {
  max-width: 1160px; margin: 0 auto; padding: 0 40px;
  height: 66px; display: flex; align-items: center; gap: 32px;
  position: relative; z-index: 1;
}
.site-header::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(250,248,244,0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: all var(--tn) var(--ease);
}
.site-header.scrolled::before {
  background: rgba(250,248,244,0.92);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--f-sans); font-weight: 700; font-size: 16px;
  color: var(--text); flex-shrink: 0; white-space: nowrap;
}
.logo-mark {
  width: 30px; height: 30px;
  background: var(--text); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
}

/* Nav */
.site-nav {
  display: flex; align-items: center;
  margin-left: 8px;
}
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 13px; border-radius: 6px;
  font-size: 14.5px; font-weight: 500; color: var(--text-2);
  transition: color var(--tf), background var(--tf);
}
.nav-link:hover, .nav-item.active .nav-link { color: var(--text); background: rgba(28,25,23,0.055); }
.nav-chevron {
  width: 13px; height: 13px; opacity: 0.45;
  transition: transform var(--tf);
}
.nav-item.active .nav-chevron { transform: rotate(180deg); }

/* Dropdowns */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: -10px;
  background: var(--card);
  border: 1px solid var(--border); border-radius: 14px;
  padding: 6px;
  box-shadow: 0 8px 40px rgba(28,25,23,0.10), 0 2px 8px rgba(28,25,23,0.05);
  min-width: 196px;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all var(--tn) var(--ease);
  pointer-events: none;
}
.dropdown.wide   { min-width: 460px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dropdown.wider  { min-width: 600px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2px; }
.nav-item.active .dropdown {
  opacity: 1; visibility: visible;
  transform: translateY(0); pointer-events: all;
}
.dd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: 8px;
  transition: background var(--tf);
}
.dd-item:hover { background: var(--bg); }
.dd-icon {
  width: 31px; height: 31px; border-radius: 7px;
  background: var(--bg-sec);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.dd-name { font-size: 13.5px; font-weight: 600; color: var(--text); line-height: 1.3; }
.dd-desc { font-size: 11.5px; color: var(--text-3); margin-top: 1px; line-height: 1.3; }

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

/* Mobile hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; background: none; border: none;
  cursor: pointer; margin-left: auto;
}
.hamburger span {
  display: block; width: 22px; height: 1.8px;
  background: var(--text); border-radius: 2px;
  transition: transform var(--tn), opacity var(--tn);
}

/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 66px; overflow: hidden; position: relative;
  background: var(--bg);
}

/* ── Custom cursor glow ── */
#cursor-glow {
  position: fixed; pointer-events: none; z-index: 9999;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185,83,32,0.10) 0%, rgba(185,83,32,0.04) 35%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  mix-blend-mode: multiply;
  will-change: transform;
}

/* ---- Animated gradient orbs ---- */
.hero-orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); will-change: transform;
  animation: orb-drift ease-in-out infinite;
}
.orb1 {
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(185,83,32,0.16) 0%, rgba(185,83,32,0.04) 55%, transparent 70%);
  top: -200px; right: -100px; animation-duration: 14s;
}
.orb2 {
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(96,165,250,0.09) 0%, rgba(96,165,250,0.03) 55%, transparent 70%);
  bottom: -100px; left: 5%; animation-duration: 19s; animation-delay: -7s;
}
.orb3 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(185,83,32,0.10) 0%, transparent 65%);
  top: 38%; left: -80px; animation-duration: 24s; animation-delay: -13s;
}
.orb4 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(96,165,250,0.06) 0%, transparent 65%);
  top: 20%; left: 38%; animation-duration: 31s; animation-delay: -9s;
}
@keyframes ring-spin-slow { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(32px, -22px) scale(1.05); }
  50%  { transform: translate(-22px, 26px) scale(0.96); }
  75%  { transform: translate(14px, -14px) scale(1.03); }
}

/* ---- Dot-grid background ---- */
.hero-dot-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(28,25,23,0.10) 1px, transparent 1px),
    linear-gradient(rgba(185,83,32,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185,83,32,0.018) 1px, transparent 1px);
  background-size: 36px 36px, 108px 108px, 108px 108px;
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 15%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 15%, transparent 100%);
}

/* ---- Globe outer ring decorations ---- */
.globe-ring-1, .globe-ring-2 {
  position: absolute; border-radius: 50%;
  border: 1px dashed rgba(185,83,32,0.12);
  pointer-events: none;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  animation: ring-spin-slow linear infinite;
}
.globe-ring-1 { width: 118%; height: 118%; animation-duration: 22s; }
.globe-ring-2 { width: 138%; height: 138%; border-style: dashed; border-color: rgba(96,165,250,0.08); animation-duration: 36s; animation-direction: reverse; }

/* ---- Globe popup overlay ---- */
.globe-overlay {
  position: absolute; inset: 0;
  pointer-events: none; overflow: visible; z-index: 10;
}
.globe-popup {
  position: absolute;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.95);
  border-radius: 12px;
  padding: 8px 12px 7px;
  box-shadow: 0 8px 32px rgba(28,25,23,0.12), 0 2px 8px rgba(28,25,23,0.06);
  white-space: nowrap; pointer-events: none;
  transform: translateX(-50%) translateY(0px);
  opacity: 0;
  transition: none;
  z-index: 20;
  min-width: 130px;
}
.globe-popup.gp-in {
  animation: gp-rise 0.45s cubic-bezier(.22,1,.36,1) forwards;
}
.globe-popup.gp-out {
  animation: gp-fade 0.5s ease forwards;
}
@keyframes gp-rise {
  from { opacity: 0; transform: translateX(-50%) translateY(8px) scale(0.88); }
  to   { opacity: 1; transform: translateX(-50%) translateY(-36px) scale(1); }
}
@keyframes gp-fade {
  from { opacity: 1; transform: translateX(-50%) translateY(-36px) scale(1); }
  to   { opacity: 0; transform: translateX(-50%) translateY(-52px) scale(0.92); }
}
.gp-top {
  display: flex; align-items: center; gap: 6px; margin-bottom: 3px;
}
.gp-stars { color: #F59E0B; font-size: 11px; letter-spacing: 1px; }
.gp-ico   { font-size: 13px; }
.gp-text  { font-size: 12px; font-weight: 600; color: var(--text); line-height: 1.3; }
.gp-city  { font-size: 10px; color: var(--text-3); font-weight: 500; letter-spacing: 0.02em; }
/* Type accent borders */
.gp-review  { border-left: 3px solid #F59E0B; }
.gp-message { border-left: 3px solid #3B82F6; }
.gp-project { border-left: 3px solid #B95320; }

/* ---- Gradient headline ---- */
.hero-hl {
  background: linear-gradient(135deg, #B95320 0%, #E8752A 40%, #C86030 75%, #B95320 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: hl-flow 5s linear infinite;
}
@keyframes hl-flow {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ---- Hero badge enhanced ---- */
.hero-badge {
  position: relative;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  animation: badge-glow 3.5s ease-in-out infinite;
}
.badge-ring {
  display: none;
}
@keyframes badge-glow {
  0%, 100% { box-shadow: 0 2px 16px rgba(28,25,23,0.07); }
  50%       { box-shadow: 0 2px 16px rgba(28,25,23,0.07), 0 0 24px rgba(185,83,32,0.18); }
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  max-width: 1160px; margin: 0 auto;
  padding: 80px 40px;
}

/* Hero text */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 100px; font-size: 13px; font-weight: 500; color: var(--text-2);
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: badge-pulse 2s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(0.75); }
}
.hero-title {
  font-family: var(--f-serif);
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 600; line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
/* Cycler line: fixed block so length changes NEVER reflow the headline */
.hero-cycler-line {
  display: block;
  min-height: 1.15em;       /* matches line-height — always same height */
  white-space: nowrap;      /* never wraps, no width-based reflow */
  overflow: visible;
}
.hero-sub {
  font-size: 18px; line-height: 1.68; color: var(--text-2);
  max-width: 460px; margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero visual */
.hero-visual {
  position: relative; display: flex;
  align-items: center; justify-content: center;
  height: 520px;
}
.globe-wrap {
  position: relative; width: 460px; height: 460px; flex-shrink: 0;
}
#globe-canvas { width: 100%; height: 100%; }

/* Floating cards — glassmorphism with glow */
.fcard {
  position: absolute;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.95);
  border-radius: 16px;
  padding: 11px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow:
    0 8px 40px rgba(28,25,23,0.10),
    0 2px 8px rgba(28,25,23,0.05),
    inset 0 1px 0 rgba(255,255,255,1),
    0 0 0 0 rgba(185,83,32,0);
  white-space: nowrap;
  animation: flt ease-in-out infinite, fcard-pulse ease-in-out infinite;
  will-change: transform;
  transition: box-shadow 0.3s;
}
@keyframes fcard-pulse {
  0%, 100% { box-shadow: 0 8px 40px rgba(28,25,23,0.10), 0 2px 8px rgba(28,25,23,0.05), inset 0 1px 0 rgba(255,255,255,1); }
  50%       { box-shadow: 0 12px 52px rgba(28,25,23,0.13), 0 2px 8px rgba(28,25,23,0.05), inset 0 1px 0 rgba(255,255,255,1), 0 0 20px rgba(185,83,32,0.08); }
}
/* ---- Blinking cursor after cycling word ---- */
.hero-cursor {
  display: inline-block; width: 3px; height: 0.75em;
  background: var(--accent); border-radius: 2px;
  margin: 0 3px; vertical-align: middle;
  animation: cur-blink 1s step-end infinite;
}
@keyframes cur-blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

/* ---- Live activity feed ---- */
.hero-activity {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px; padding: 8px 18px;
  background: rgba(255,255,255,0.82); backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: 100px;
  font-size: 13px;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.feed-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  animation: feed-pulse 1.8s ease-in-out infinite;
}
@keyframes feed-pulse { 0%,100% { transform:scale(1); opacity:1; } 50% { transform:scale(1.4); opacity:0.7; } }
.feed-text   { font-weight: 600; color: var(--text); }
.feed-detail { color: var(--text-3); margin-left: 4px; }

/* ---- fcard smooth swap ---- */
.fcard { transition: opacity 0.35s ease, transform 0.35s ease; }

.fcard-icon {
  width: 32px; height: 32px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.fcard-label { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.2; }
.fcard-sub   { font-size: 11px; color: var(--text-3); margin-top: 2px; }

@keyframes flt {
  0%, 100% { transform: translateY(0) rotate(var(--r,0deg)); }
  50%       { transform: translateY(-9px) rotate(var(--r,0deg)); }
}
.fc1 { top: 18px;  left: -38px;  animation-duration: 4.4s; --r: -2deg; }
.fc2 { top: 44px;  right: -60px; animation-duration: 5.1s; animation-delay: -1.6s; --r: 2.2deg; }
.fc3 { bottom: 96px; left: -18px; animation-duration: 4.1s; animation-delay: -0.7s; --r: -1.4deg; }
.fc4 { bottom: 22px; right: -48px; animation-duration: 5.4s; animation-delay: -2.6s; --r: 1.8deg; }
.fc5 { top: 50%;  right: -72px; margin-top: -28px; animation-duration: 4.7s; animation-delay: -3.1s; --r: 2.5deg; }

/* ============================================================
   TRUSTED
============================================================ */
.trusted-sec {
  padding: 52px 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.trusted-label {
  text-align: center;
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 28px;
}
.logos-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.logos-track {
  display: flex; align-items: center; gap: 60px;
  animation: scroll-l 28s linear infinite; width: max-content;
}
@keyframes scroll-l {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo-name {
  font-family: var(--f-sans); font-size: 16px; font-weight: 700;
  color: var(--text-3); letter-spacing: -0.02em; flex-shrink: 0;
  transition: color var(--tf);
}
.logo-name:hover { color: var(--text-2); }

/* ============================================================
   STATS
============================================================ */
.stats-sec { padding: 0 0 80px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
}
.stat-item {
  background: var(--bg); padding: 36px 28px; text-align: center;
}
.stat-num {
  font-family: var(--f-serif);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 600; line-height: 1; color: var(--text);
  display: flex; align-items: flex-end; justify-content: center; gap: 3px;
  margin-bottom: 8px;
}
.stat-suf {
  font-size: 0.58em; color: var(--accent);
  padding-bottom: 6px; font-weight: 700;
}
.stat-label { font-size: 13.5px; color: var(--text-3); font-weight: 500; }

/* ============================================================
   SECTION BASE
============================================================ */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.sec-hd {
  text-align: center; max-width: 620px;
  margin: 0 auto 72px;
}
.sec-hd .eyebrow { margin-bottom: 12px; }
.sec-hd h2 {
  font-family: var(--f-serif);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 600; line-height: 1.18;
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.sec-hd p { font-size: 17px; color: var(--text-2); line-height: 1.68; }

/* ============================================================
   SERVICES
============================================================ */
.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
.svc-card {
  background: var(--card);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 32px; cursor: default;
  transition: all var(--tn) var(--ease); position: relative; overflow: hidden;
}
.svc-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(185,83,32,0.03) 0%, transparent 60%);
  opacity: 0; transition: opacity var(--tn);
}
.svc-card:hover { border-color: var(--border-2); box-shadow: 0 8px 48px rgba(28,25,23,0.08); transform: translateY(-3px); }
.svc-card:hover::after { opacity: 1; }
.svc-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--bg-sec);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
  transition: background var(--tn);
}
.svc-card:hover .svc-icon { background: rgba(185,83,32,0.10); }
.svc-title {
  font-family: var(--f-serif); font-size: 19px;
  font-weight: 600; margin-bottom: 10px; line-height: 1.3;
}
.svc-desc { font-size: 14px; color: var(--text-2); line-height: 1.62; }
.svc-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  margin-top: 16px; transition: gap var(--tf);
}
.svc-link:hover { gap: 8px; }

/* ============================================================
   PRODUCTS
============================================================ */
.products-sec { padding: 96px 0; background: var(--bg-alt); }
.products-inner {
  display: grid; grid-template-columns: 320px 1fr; gap: 60px; align-items: start;
}
.products-sticky { position: sticky; top: 96px; }
.products-sticky .eyebrow { margin-bottom: 12px; }
.products-sticky h2 {
  font-family: var(--f-serif);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 600; line-height: 1.2;
  letter-spacing: -0.02em; margin-bottom: 14px;
}
.products-sticky p { font-size: 15px; color: var(--text-2); line-height: 1.65; margin-bottom: 28px; }

.prod-tabs { display: flex; flex-direction: column; gap: 6px; }
.prod-tab {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 15px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--tf);
}
.prod-tab:hover, .prod-tab.active {
  background: var(--card); border-color: var(--border);
}
.prod-tab.active { box-shadow: 0 2px 14px rgba(28,25,23,0.07); }
.pt-n {
  font-family: var(--f-serif); font-size: 19px; font-weight: 600;
  color: var(--text-3); width: 26px; flex-shrink: 0; line-height: 1;
}
.prod-tab.active .pt-n { color: var(--accent); }
.pt-name { font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.prod-tab.active .pt-name { color: var(--text); }

.prod-screens { position: relative; }
.prod-screen { display: none; }
.prod-screen.active { display: block; }
.screen-shell {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 80px rgba(28,25,23,0.11), 0 4px 16px rgba(28,25,23,0.06);
}
.screen-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 0 16px; height: 38px;
}
.sd { width: 10px; height: 10px; border-radius: 50%; }
.screen-title { font-size: 12px; color: rgba(255,255,255,0.5); margin-left: 10px; }
.screen-body { display: flex; height: 370px; }
.screen-sidebar { width: 185px; flex-shrink: 0; padding: 16px 12px; display: flex; flex-direction: column; gap: 6px; }
.screen-main { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.s-row { display: grid; gap: 8px; }
.s-box { border-radius: 6px; display: flex; flex-direction: column; justify-content: flex-end; }
.s-stat { background: rgba(255,255,255,0.9); border-radius: 7px; padding: 10px 12px; }
.s-num { font-size: 22px; font-weight: 700; line-height: 1; }
.s-lbl { font-size: 10px; color: #888; margin-bottom: 4px; }
.s-table { flex: 1; background: rgba(255,255,255,0.9); border-radius: 7px; padding: 10px 12px; min-height: 0; overflow: hidden; }
.s-row-item { font-size: 11px; padding: 5px 7px; border-radius: 4px; display: flex; justify-content: space-between; }
.si-btn {
  height: 28px; border-radius: 5px;
  display: flex; align-items: center; padding: 0 10px;
  font-size: 12px; margin-bottom: 4px;
}

/* ============================================================
   WHY CHOOSE US
============================================================ */
.why-layout {
  display: grid; grid-template-columns: 360px 1fr;
  gap: 80px; align-items: start;
}
.why-content h2 {
  font-family: var(--f-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600; line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 12px 0 14px;
}
.why-content p { font-size: 16px; color: var(--text-2); line-height: 1.7; max-width: 320px; }
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
}
.why-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px; border-radius: 14px;
  transition: background var(--tf);
}
.why-item:hover { background: var(--bg-alt); }
.why-ico {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(28,25,23,0.06);
}
.why-txt h4 { font-family: var(--f-serif); font-size: 16px; font-weight: 600; margin-bottom: 5px; }
.why-txt p  { font-size: 13.5px; color: var(--text-2); line-height: 1.6; }

/* ============================================================
   TECH STACK — 2-row bidirectional marquee
============================================================ */
.tech-sec {
  background: var(--bg); padding: 80px 0 88px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tech-sec .sec-hd h2         { color: var(--text); }
.tech-sec .sec-hd p          { color: var(--text-2); }
.tech-sec .eyebrow           { color: var(--accent); background: rgba(185,83,32,0.1); border-color: rgba(185,83,32,0.25); }
.tech-sec .sec-hd h2 strong  { color: var(--accent); }

/* Marquee wrapper */
.tm-track-wrap {
  margin-top: 52px;
  display: flex; flex-direction: column; gap: 18px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.tm-track { overflow: hidden; width: 100%; }

/* Inner scroll strip */
.tm-inner {
  display: flex; gap: 16px;
  width: max-content;
  animation: tm-scroll-fwd 38s linear infinite;
}
.tm-inner--rev {
  animation: tm-scroll-rev 44s linear infinite;
}
@keyframes tm-scroll-fwd {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}
@keyframes tm-scroll-rev {
  0%   { transform: translateX(-33.333%); }
  100% { transform: translateX(0); }
}
.tm-track:hover .tm-inner,
.tm-track:hover .tm-inner--rev { animation-play-state: paused; }

/* Individual badge */
.tm-badge {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 20px 11px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  white-space: nowrap;
  font-size: 14px; font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.01em;
  cursor: default;
  box-shadow: 0 1px 4px rgba(28,25,23,0.06);
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.tm-badge:hover {
  background: rgba(185,83,32,0.07);
  border-color: rgba(185,83,32,0.35);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(185,83,32,0.14);
}
.tm-logo {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(185,83,32,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.tm-logo svg { width: 26px; height: 26px; }
.tm-logo img { width: 26px; height: 26px; object-fit: contain; }

/* ── Tech Stack Popup ──────────────────────────────────────────── */
/*
 * Popup is created & appended to <body> by JS so it is never
 * inside a transformed/overflow-hidden ancestor.
 * Uses display:none → block + opacity/transform for animation.
 */
.tp {
  display: none;           /* JS sets to block */
  position: fixed;
  z-index: 99999;
  width: 300px;
  pointer-events: none;   /* doesn't block page interaction */
}
.tp-body {
  background: #fff;
  background: var(--card, #fff);
  border: 1px solid #E7E2D8;
  border: 1px solid var(--border, #E7E2D8);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(28,25,23,0.04),
    0 12px 40px rgba(28,25,23,0.16),
    0 0 0 1px rgba(28,25,23,0.04);
  /* animate on entry */
  opacity: 0;
  transform: translateY(10px) scale(0.93);
  transform-origin: bottom center;
  transition:
    opacity   0.20s cubic-bezier(0.16,1,0.3,1),
    transform 0.24s cubic-bezier(0.16,1,0.3,1);
}
.tp.tp--below .tp-body {
  transform-origin: top center;
  transform: translateY(-10px) scale(0.93);
}
.tp.tp--in .tp-body {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ── Hero ── */
.tp-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px 14px;
  overflow: hidden;
  border-bottom: 1px solid var(--border, #E7E2D8);
}
.tp-hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.tp-logo-big {
  width: 58px; height: 58px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative; z-index: 1;
}
.tp-logo-big img {
  width: 36px; height: 36px;
  object-fit: contain;
  display: block;
}
.tp.tp--in .tp-logo-big img {
  animation: tpLogoSpin .32s cubic-bezier(.16,1,.3,1) both;
}
@keyframes tpLogoSpin {
  from { transform: scale(.6) rotate(-8deg); opacity: 0; }
  to   { transform: scale(1)  rotate(0deg);  opacity: 1; }
}
.tp-hero-text { position: relative; z-index: 1; flex: 1; min-width: 0; }
.tp-name {
  font-size: 17px; font-weight: 800;
  color: #1C1917; color: var(--text, #1C1917);
  letter-spacing: -.02em; line-height: 1.1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tp-cat-pill {
  display: inline-block; margin-top: 5px;
  font-size: 10px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px; border: 1px solid transparent;
  white-space: nowrap;
}

/* ── Sections ── */
.tp-section       { padding: 11px 16px 4px; }
.tp-section--why  { padding-top: 6px; padding-bottom: 10px;
                    border-top: 1px solid var(--border,#E7E2D8); }
.tp-section-label {
  font-size: 9px; font-weight: 800; letter-spacing: .10em;
  text-transform: uppercase;
  color: #A8A29E; color: var(--text-3,#A8A29E);
  margin-bottom: 5px;
  display: flex; align-items: center; gap: 5px;
}
.tp-why-dot {
  width: 6px; height: 6px;
  border-radius: 50%; flex-shrink: 0; display: inline-block;
}
.tp-section-text {
  font-size: 12px; line-height: 1.65; margin: 0;
  color: #57534E; color: var(--text-2,#57534E);
}

/* ── Tags ── */
.tp-tags {
  display: flex; flex-wrap: wrap; gap: 5px;
  padding: 9px 16px 13px;
  border-top: 1px solid var(--border,#E7E2D8);
}
.tp-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .03em;
  padding: 3px 9px; border-radius: 100px;
  border: 1px solid transparent;
}
.tp.tp--in .tp-tag { animation: tpTagIn .22s cubic-bezier(.16,1,.3,1) both; }
@keyframes tpTagIn {
  from { transform: scale(.75); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* ── Arrow ── */
.tp-arrow {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: -9px; width: 0; height: 0;
}
.tp-arrow::before, .tp-arrow::after {
  content: ''; position: absolute;
  left: 50%; transform: translateX(-50%);
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
}
.tp-arrow::before { top: 0;   border-top: 9px solid #E7E2D8; border-top-color: var(--border,#E7E2D8); }
.tp-arrow::after  { top: -1px; border-top: 8px solid #fff;   border-top-color: var(--card,#fff); }
.tp.tp--below .tp-arrow { bottom: auto; top: -9px; }
.tp.tp--below .tp-arrow::before { border-top: none; border-bottom: 9px solid var(--border,#E7E2D8); }
.tp.tp--below .tp-arrow::after  { top: 1px; border-top: none; border-bottom: 8px solid var(--card,#fff); }

/* Keep old selectors below as stubs (unused but harmless) */
.tech-badge {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 100px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.72);
  transition: all var(--tf);
}
.tech-badge:hover { background: rgba(255,255,255,0.11); border-color: rgba(255,255,255,0.2); color: #fff; transform: translateY(-2px); }
.t-ico {
  width: 22px; height: 22px; border-radius: 5px;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; font-family: monospace; flex-shrink: 0;
}

/* ============================================================
   PROCESS
============================================================ */
.process-track {
  display: grid; grid-template-columns: repeat(6,1fr);
  position: relative;
}
.process-track::before {
  content: ''; position: absolute;
  top: 27px; left: 10%; right: 10%; height: 1px;
  background: var(--border);
}
.proc-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 10px;
}
.proc-num {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-serif); font-size: 19px; font-weight: 600;
  color: var(--text-2); margin-bottom: 16px;
  position: relative; z-index: 1;
  transition: all var(--tn) var(--ease);
}
.proc-step:hover .proc-num {
  background: var(--text); color: var(--bg);
  border-color: var(--text); transform: scale(1.1);
}
.proc-title { font-size: 14.5px; font-weight: 600; margin-bottom: 5px; }
.proc-desc  { font-size: 12.5px; color: var(--text-3); line-height: 1.55; }

/* ============================================================
   TESTIMONIALS
============================================================ */
.testi-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
.testi-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 30px;
  transition: all var(--tn) var(--ease);
}
.testi-card:hover { box-shadow: 0 10px 50px rgba(28,25,23,0.09); transform: translateY(-3px); }
.tc-stars { color: #E8922A; font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.tc-quote { font-size: 15px; line-height: 1.68; color: var(--text-2); font-style: italic; margin-bottom: 22px; }
.tc-author { display: flex; align-items: center; gap: 12px; }
.tc-av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  font-size: 13.5px; font-weight: 700; color: var(--accent); flex-shrink: 0;
}
.tc-name { font-size: 14px; font-weight: 600; }
.tc-role { font-size: 12px; color: var(--text-3); }

/* ============================================================
   CTA
============================================================ */
.cta-sec {
  padding: 120px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-sec::before {
  content: ''; position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(185,83,32,0.055) 0%, transparent 62%);
  pointer-events: none;
}
.cta-title {
  font-family: var(--f-serif);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 600; line-height: 1.1;
  letter-spacing: -0.025em; max-width: 680px; margin: 0 auto 18px;
}
.cta-sub { font-size: 17px; color: var(--text-2); margin-bottom: 36px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
============================================================ */
/* ─── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--text);
  padding: 0;
  position: relative;
}
.site-footer::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 35%, rgba(185,83,32,.4) 65%, transparent 100%);
}
.site-footer > .container { padding-top: 64px; }

/* Brand + cols side-by-side on desktop */
.footer-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-brand { max-width: 280px; }
.footer-brand .logo { color: #fff; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.footer-brand .logo-mark { background: rgba(255,255,255,0.14); }
.footer-brand p {
  font-size: 13.5px; color: rgba(255,255,255,.44);
  line-height: 1.72; margin: 0 0 16px;
}
.footer-trust-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.11);
  border-radius: 100px; padding: 5px 12px; margin-bottom: 20px;
}
.footer-trust-badge svg { color: #86efac; flex-shrink: 0; }
.footer-trust-badge span { font-size: 11.5px; color: rgba(255,255,255,.58); font-weight: 500; }

.footer-contact { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; }
.footer-contact a {
  font-size: 13px; color: rgba(255,255,255,.44);
  display: flex; align-items: center; gap: 8px;
  transition: color .2s; text-decoration: none; min-height: 36px;
}
.footer-contact a:hover { color: rgba(255,255,255,.82); }
.footer-contact [data-lucide] { width: 14px; height: 14px; flex-shrink: 0; opacity: .6; }

/* Auto-flowing link columns */
.footer-cols-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 36px 28px;
  align-content: start;
}
.footer-col h5 {
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.85);
  margin: 0 0 16px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col li a {
  font-size: 13.5px; color: rgba(255,255,255,.44);
  transition: color .2s; display: flex; align-items: center; gap: 7px;
  text-decoration: none;
}
.footer-col li a::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,255,255,.18); flex-shrink: 0; transition: background .22s;
}
.footer-col li a:hover { color: rgba(255,255,255,.88); }
.footer-col li a:hover::before { background: var(--accent); }

/* Footer bottom */
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  padding: 22px 0 32px;
  font-size: 12.5px; color: rgba(255,255,255,.3);
}
.footer-bottom-links {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.footer-bottom-links > span {
  color: rgba(255,255,255,.3); font-size: 12.5px;
}
.footer-bottom-links a {
  color: rgba(255,255,255,.4); font-size: 12px;
  text-decoration: none; transition: color .2s; white-space: nowrap;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,.82); }
.ft-sep { color: rgba(255,255,255,.15); font-size: 11px; user-select: none; }

.socials { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }
.soc-link {
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45);
  transition: all .22s;
}
.soc-link:hover {
  background: var(--accent); color: #fff;
  border-color: var(--accent); transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(185,83,32,.38);
}

/* ============================================================
   SCROLL REVEAL
============================================================ */
[data-r] {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
[data-r].vis { opacity: 1; transform: translateY(0); }
[data-r][data-d="1"] { transition-delay: 0.10s; }
[data-r][data-d="2"] { transition-delay: 0.20s; }
[data-r][data-d="3"] { transition-delay: 0.30s; }
[data-r][data-d="4"] { transition-delay: 0.40s; }
[data-r][data-d="5"] { transition-delay: 0.50s; }
[data-r][data-d="6"] { transition-delay: 0.60s; }

/* ============================================================
   MOBILE DRAWER
============================================================ */
.mob-overlay {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(28,25,23,0.45);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.mob-overlay.open { opacity: 1; pointer-events: all; }

.mob-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(340px, 92vw);
  background: var(--bg);
  z-index: 999;
  display: flex; flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.40s cubic-bezier(.22,1,.36,1);
  box-shadow: -20px 0 80px rgba(28,25,23,0.14);
  border-left: 1px solid var(--border);
  overflow-y: auto; overflow-x: hidden;
}
.mob-drawer.open { transform: translateX(0); }

.mob-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 15px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0; position: sticky; top: 0;
  background: var(--bg); z-index: 2;
}
.mob-close {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--bg-alt); border: 1px solid var(--border); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2); transition: all var(--tf);
}
.mob-close:hover { background: var(--bg-sec); color: var(--text); }
.mob-close svg { width: 16px; height: 16px; }

.mob-nav {
  flex: 1; padding: 8px 0;
  display: flex; flex-direction: column;
}
.mob-link {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  font-size: 15px; font-weight: 500; color: var(--text);
  text-decoration: none; transition: background var(--tf);
  border-radius: 0;
}
.mob-link:hover { background: var(--bg-2); color: var(--accent); }
.mob-link svg { width: 16px; height: 16px; opacity: 0.55; flex-shrink: 0; }

/* Accordion */
.mob-acc { border-bottom: 1px solid var(--border); }
.mob-acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; background: none; border: none; cursor: pointer;
  font-size: 15px; font-weight: 500; color: var(--text); text-align: left;
  transition: background var(--tf);
}
.mob-acc-btn:hover { background: var(--bg-alt); }
.mob-acc-btn span { display: flex; align-items: center; gap: 10px; }
.mob-acc-btn span svg { width: 16px; height: 16px; opacity: 0.55; }
.mob-acc-icon { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.45; transition: transform 0.28s var(--ease); }
.mob-acc.open .mob-acc-icon { transform: rotate(180deg); }
.mob-acc-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.36s cubic-bezier(.22,1,.36,1);
  background: var(--bg-alt);
  will-change: max-height;
}
.mob-acc.open > .mob-acc-body { max-height: 600px !important; }
.mob-acc-body a {
  display: block; padding: 10px 22px 10px 48px;
  font-size: 14px; color: var(--text-2);
  text-decoration: none; transition: color var(--tf), background var(--tf);
  border-left: 2px solid transparent;
}
.mob-acc-body a:hover { color: var(--accent); background: var(--bg-sec); border-left-color: var(--accent); }

.mob-drawer-foot {
  padding: 18px 22px 32px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px;
  flex-shrink: 0;
}
.mob-phone {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 500; color: var(--text-2);
  text-decoration: none; padding: 8px 0;
}
.mob-phone:hover { color: var(--accent); }
.mob-phone svg { width: 15px; height: 15px; }

/* Hamburger → X animation */
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hamburger span { transition: transform 0.28s var(--ease), opacity 0.2s; }

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
============================================================ */
@media (max-width: 1024px) {
  /* Hero */
  .hero-inner   { grid-template-columns: 1fr; text-align: center; gap: 48px; padding-top: 60px; }
  .hero-content { max-width: 640px; margin: 0 auto; }
  .hero-cta     { justify-content: center; }
  .hero-sub     { margin-left: auto; margin-right: auto; }
  .hero-visual  { height: 460px; display: flex; justify-content: center; }
  .globe-wrap   { width: 420px; height: 420px; }
  .fcard        { transform: scale(0.88); transform-origin: center; }

  /* Sections */
  .services-grid         { grid-template-columns: repeat(2, 1fr); }
  .process-track         { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .process-track::before { display: none; }
  .products-inner        { grid-template-columns: 1fr; }
  .products-sticky       { position: static; }
  .why-layout            { grid-template-columns: 1fr; gap: 40px; }
  .testi-grid            { grid-template-columns: repeat(2, 1fr); }

  /* Footer — tablet: stack brand on top, 3 equal link columns */
  .footer-grid      { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
  .footer-brand     { max-width: 520px; }
  .footer-cols-wrap { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
============================================================ */
@media (max-width: 768px) {
  :root { --section-pad: 60px; }
  .container  { padding: 0 18px; }

  /* Nav */
  .site-nav            { display: none; }
  .nav-cta .btn-outline { display: none; }
  .nav-cta .btn-primary { display: none; }
  .hamburger           { display: flex; }

  /* Hero */
  .hero         { padding: 100px 0 60px; }
  .hero-inner   { padding: 20px 0 40px; gap: 36px; }
  .hero-title   { font-size: clamp(34px, 9vw, 48px); }
  .hero-cycler-line { min-height: 1.2em; }
  .hero-sub     { font-size: 16px; }
  .hero-visual  { height: 360px; }
  .globe-wrap   { width: 320px; height: 320px; }
  .globe-ring-1,
  .globe-ring-2 { display: none; }
  .fcard        { display: none; }
  .hero-activity { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 12px; }

  /* Logos carousel */
  .logos-strip  { gap: 28px; }

  /* Stats */
  .stats-grid   { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-num     { font-size: 36px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }

  /* Products */
  .prod-tabs    { flex-wrap: wrap; gap: 6px; }
  .prod-tab     { font-size: 13px; padding: 8px 14px; }

  /* Process */
  .process-track { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }

  /* Why */
  .why-grid     { grid-template-columns: 1fr; }
  .why-visual   { display: none; }

  /* Testimonials */
  .testi-grid   { grid-template-columns: 1fr; }

  /* CTA */
  .cta-heading  { font-size: clamp(28px, 7vw, 40px); }
  .cta-sub      { font-size: 15px; }

  /* Footer — mobile: single column, cols 2-up */
  .site-footer > .container { padding-top: 44px; }
  .footer-grid      { gap: 24px; padding-bottom: 32px; }
  .footer-brand     { max-width: 100%; }
  .footer-cols-wrap { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .footer-col h5    { margin-bottom: 12px; padding-bottom: 8px; }
  .footer-bottom    { flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 20px 0 28px; }
  .footer-bottom-links { justify-content: center; gap: 6px; }
  .socials          { justify-content: center; }

  /* Tech marquee */
  .tm-badge     { padding: 9px 14px 9px 9px; font-size: 12px; }
  .tm-logo      { width: 30px; height: 30px; }
  .tm-logo svg,
  .tm-logo img  { width: 20px; height: 20px; }

  /* Section headings */
  .section-label { font-size: 11px; }
  .section-title { font-size: clamp(26px, 7vw, 36px); }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
============================================================ */
@media (max-width: 480px) {
  .container    { padding: 0 14px; }
  .hero         { padding: 90px 0 50px; }
  .hero-title   { font-size: clamp(28px, 8.5vw, 38px); letter-spacing: -0.02em; }
  .hero-sub     { font-size: 15px; }
  .hero-badge   { font-size: 12px; padding: 6px 12px; }
  .hero-visual  { height: 300px; }
  .globe-wrap   { width: 260px; height: 260px; }

  /* Buttons */
  .hero-cta     { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 280px; justify-content: center; }

  /* Stats */
  .stats-grid   { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-num     { font-size: 30px; }
  .stat-label   { font-size: 12px; }

  /* Process */
  .process-track { grid-template-columns: 1fr; }

  /* Product tabs scroll */
  .prod-tabs    { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
                  padding-bottom: 4px; scrollbar-width: none; }
  .prod-tabs::-webkit-scrollbar { display: none; }
  .prod-tab     { flex-shrink: 0; }

  /* Cards full width */
  .services-grid { max-width: 100%; }
  .svc-card     { padding: 22px 18px; }

  /* Footer — small mobile: 2-col grid, tighter spacing */
  .site-footer > .container { padding-top: 36px; }
  .footer-brand p   { font-size: 13px; }
  .footer-cols-wrap { grid-template-columns: repeat(2, 1fr); gap: 18px 10px; }
  .footer-col h5    { font-size: 10px; margin-bottom: 10px; padding-bottom: 8px; }
  .footer-col li a  { font-size: 13px; gap: 5px; }
  .footer-col li a::before { width: 3px; height: 3px; }
  .footer-contact a { font-size: 12.5px; }
  .footer-bottom    { padding: 16px 0 24px; gap: 10px; }
  .footer-bottom-links > span { font-size: 11.5px; }
  .footer-bottom-links a { font-size: 11px; }
  .soc-link         { width: 30px; height: 30px; border-radius: 8px; }
}
