/* ============================================================
   Teksmobile — Shared Stylesheet
   Mobile App Developer | iOS, Android, IoT, AI, AR/VR Experts
   Orange Theme · Light + Dark Mode
   ============================================================ */

/* ---------- THEME TOKENS ---------- */
:root,
[data-theme="light"] {
  /* Brand */
  --brand: #FF6B1A;
  --brand-dark: #E55A0F;
  --brand-light: #FFE4D1;
  --brand-soft: rgba(255, 107, 26, 0.08);
  --brand-glow: rgba(255, 107, 26, 0.18);
  --gold: #F59E0B;

  /* Surface */
  --bg: #FFFFFF;
  --bg2: #FAFAFC;
  --bg3: #F4F5F8;
  --bg-nav: rgba(255, 255, 255, 0.85);
  --bg-overlay: rgba(255, 255, 255, 0.6);

  /* Text */
  --text: #0F172A;
  --text-strong: #050B1A;
  --muted: #5B6478;
  --muted-light: #8892A0;

  /* Border / shadow */
  --border: rgba(15, 23, 42, 0.10);
  --border-soft: rgba(15, 23, 42, 0.06);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.12);
  --shadow-brand: 0 12px 36px rgba(255, 107, 26, 0.22);

  /* Misc */
  --radius: 14px;
  --radius-lg: 20px;
  --grid-line: rgba(15, 23, 42, 0.04);
  --hero-glow: radial-gradient(circle at 80% 20%, rgba(255, 107, 26, 0.10) 0%, transparent 60%);
}

[data-theme="dark"] {
  --brand: #FF8341;
  --brand-dark: #FF6B1A;
  --brand-light: #FFD3B0;
  --brand-soft: rgba(255, 131, 65, 0.10);
  --brand-glow: rgba(255, 131, 65, 0.25);
  --gold: #FFB800;

  --bg: #0B0D12;
  --bg2: #14171F;
  --bg3: #1C2029;
  --bg-nav: rgba(11, 13, 18, 0.85);
  --bg-overlay: rgba(11, 13, 18, 0.6);

  --text: #F1F4F9;
  --text-strong: #FFFFFF;
  --muted: #8E97A8;
  --muted-light: #6B7280;

  --border: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.04);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-brand: 0 12px 36px rgba(255, 131, 65, 0.28);

  --grid-line: rgba(255, 255, 255, 0.04);
  --hero-glow: radial-gradient(circle at 80% 20%, rgba(255, 131, 65, 0.12) 0%, transparent 60%);
}

/* Respect system preference if no manual setting */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
  }
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.3s ease, color 0.3s ease;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Exo 2', system-ui, sans-serif;
  line-height: 1.2;
  color: var(--text-strong);
  letter-spacing: -0.01em;
}
a { color: inherit; }

/* ---------- NAV ---------- */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%; height: 72px;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.logo {
  display: flex; align-items: center;
  text-decoration: none; line-height: 0;
}
.logo-img {
  height: 38px; width: auto; display: block;
  transition: opacity 0.2s ease;
}
.logo:hover .logo-img { opacity: 0.85; }
.logo-img.dark-only { display: none; }
[data-theme="dark"] .logo-img.light-only { display: none; }
[data-theme="dark"] .logo-img.dark-only { display: block; }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.01em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-strong); }
.nav-links a.active::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 2px; background: var(--brand); border-radius: 2px;
}

.nav-right { display: flex; align-items: center; gap: 0.85rem; }
.nav-cta {
  background: var(--brand); color: #fff; border: none;
  padding: 0.6rem 1.4rem; border-radius: 50px;
  font-family: 'Exo 2', sans-serif; font-weight: 700; font-size: 0.88rem;
  cursor: pointer; text-decoration: none; letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: var(--shadow-brand);
}
.nav-cta:hover { background: var(--brand-dark); transform: translateY(-1px); }

.theme-toggle {
  background: transparent; border: 1px solid var(--border);
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text); padding: 0;
  transition: all 0.2s ease;
}
.theme-toggle:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: rotate(15deg);
}
.theme-toggle svg { width: 18px; height: 18px; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.menu-toggle {
  display: none;
  background: transparent; border: 1px solid var(--border);
  width: 38px; height: 38px; border-radius: 9px;
  align-items: center; justify-content: center;
  cursor: pointer; color: var(--text);
}

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-block;
  background: var(--brand); color: #fff;
  padding: 0.95rem 2.2rem; border-radius: 50px;
  font-family: 'Exo 2', sans-serif; font-weight: 700;
  font-size: 0.95rem; text-decoration: none; letter-spacing: 0.03em;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(255, 107, 26, 0.32);
}
.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--border);
  color: var(--text); padding: 0.92rem 2rem;
  border-radius: 50px;
  font-family: 'Exo 2', sans-serif; font-weight: 700;
  font-size: 0.95rem; text-decoration: none; letter-spacing: 0.03em;
  background: transparent; cursor: pointer;
  transition: all 0.2s;
}
.btn-outline:hover {
  border-color: var(--brand); color: var(--brand);
  background: var(--brand-soft);
}

/* ---------- HERO / PAGE HEADER ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  padding: 140px 6% 80px;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: var(--hero-glow);
}
.hero-content { position: relative; z-index: 2; max-width: 100%; }

.hero-image-wrap {
  position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  width: 42%; max-width: 580px; aspect-ratio: 1;
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.hero-image-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.hero-image-wrap:hover img { transform: scale(1.04); }
.hero-image-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255, 107, 26, 0.15) 0%, transparent 60%);
}

.page-hero {
  padding: 140px 6% 80px;
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  position: relative; overflow: hidden;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--brand-soft);
  border: 1px solid var(--brand-glow);
  color: var(--brand);
  padding: 0.4rem 1rem; border-radius: 50px;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.6rem;
  animation: fadeUp 0.6s ease both;
}
.hero-badge::before {
  content: '●'; font-size: 0.55rem;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 900;
  max-width: 760px;
  margin-bottom: 1.4rem;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-sub {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 2.4rem;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}
.hero-stats {
  display: flex; gap: 3rem; margin-top: 4rem; flex-wrap: wrap;
  animation: fadeUp 0.7s 0.45s ease both;
}
.stat-item h3 {
  font-size: 2.2rem; font-weight: 900;
  font-family: 'Exo 2', sans-serif;
}
.stat-item h3 span { color: var(--brand); }
.stat-item p {
  font-size: 0.78rem; color: var(--muted);
  font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; margin-top: 0.3rem;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- SECTIONS ---------- */
section { padding: 100px 6%; }
.section-tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 0.9rem;
}
.section-heading {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 800; margin-bottom: 1rem;
  max-width: 640px;
}
.section-sub {
  color: var(--muted); max-width: 580px;
  font-size: 1.02rem; margin-bottom: 3rem;
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.6rem 6%;
  display: flex; align-items: center; gap: 2rem;
  overflow: hidden; flex-wrap: wrap;
}
.trust-label {
  font-size: 0.75rem; font-weight: 700;
  color: var(--muted); letter-spacing: 0.12em;
  text-transform: uppercase; white-space: nowrap;
}
.trust-logos {
  display: flex; gap: 3rem; align-items: center; flex-wrap: wrap;
}
.trust-logo {
  font-family: 'Exo 2', sans-serif; font-weight: 700;
  color: var(--muted-light); font-size: 0.95rem;
  letter-spacing: 0.04em; white-space: nowrap;
  opacity: 0.7; transition: opacity 0.2s, color 0.2s;
}
.trust-logo:hover { opacity: 1; color: var(--brand); }

/* ---------- CARDS ---------- */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden;
}
.card:hover {
  border-color: var(--brand-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.service-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden;
}
.service-card:hover {
  border-color: var(--brand-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  opacity: 0; transition: opacity 0.2s;
}
.service-card:hover::before { opacity: 1; }
.svc-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; margin-bottom: 1.2rem;
}
.service-card h3 {
  font-size: 1.15rem; font-weight: 700;
  margin-bottom: 0.5rem;
}
.service-card p { color: var(--muted); font-size: 0.93rem; }
.svc-link {
  display: inline-block; margin-top: 1rem;
  color: var(--brand); font-size: 0.85rem;
  font-weight: 700; text-decoration: none;
}
.svc-link:hover { color: var(--brand-dark); }

/* ---------- PROJECTS GRID ---------- */
.projects-bg { background: var(--bg2); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
}
.project-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.project-card:hover {
  border-color: var(--brand-glow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.project-img {
  background: var(--bg3);
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.project-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-img img { transform: scale(1.06); }
.project-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.5) 100%);
}
.project-body { padding: 1.6rem; }
.project-tag, .proj-tag {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 0.22rem 0.7rem; border-radius: 50px;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.project-body h3 {
  font-size: 1.18rem; font-weight: 700;
  margin-bottom: 0.5rem;
}
.project-body p, .project-card p {
  color: var(--muted); font-size: 0.9rem; line-height: 1.65;
}
.project-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 1rem; }
.ptag {
  background: var(--bg2); border: 1px solid var(--border);
  color: var(--muted); padding: 0.2rem 0.55rem;
  border-radius: 5px; font-size: 0.72rem; font-weight: 600;
}

/* ---------- FILTER BAR ---------- */
.filter-bar { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 3rem; }
.filter-btn {
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.5rem 1.2rem; border-radius: 50px;
  font-size: 0.82rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
  font-family: 'Exo 2', sans-serif; letter-spacing: 0.03em;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
}

/* ---------- PROCESS STEPS ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 1rem;
  overflow: hidden;
}
.process-step {
  padding: 2rem;
  border-right: 1px solid var(--border);
  position: relative;
}
.process-step:last-child { border-right: none; }
.step-num {
  font-family: 'Exo 2', sans-serif; font-size: 3rem; font-weight: 900;
  color: var(--brand-soft); line-height: 1; margin-bottom: 0.8rem;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.4;
}
.process-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.process-step p { color: var(--muted); font-size: 0.9rem; }

/* ---------- TESTIMONIALS ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; }
.testi-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.testi-card:hover { border-color: var(--brand-glow); transform: translateY(-3px); }
.quote-mark {
  font-size: 3rem; color: var(--brand); line-height: 1;
  font-family: Georgia, serif; margin-bottom: 0.5rem; display: block;
}
.testi-card p {
  color: var(--text); font-size: 0.95rem;
  font-style: italic; line-height: 1.75;
}
.testi-author { margin-top: 1.4rem; display: flex; align-items: center; gap: 0.85rem; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--brand-glow);
}
.testi-author strong {
  display: block; font-size: 0.92rem;
  font-family: 'Exo 2', sans-serif; font-weight: 700;
  color: var(--text-strong);
}
.testi-author span { color: var(--muted); font-size: 0.82rem; }
.stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 0.6rem; letter-spacing: 0.1em; }

/* ---------- RAD WORKSHOP ---------- */
.rad-section {
  background: linear-gradient(135deg, var(--bg2) 0%, var(--brand-soft) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.rad-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.rad-list { list-style: none; margin-top: 1.5rem; }
.rad-list li {
  padding: 0.7rem 0; border-bottom: 1px solid var(--border);
  color: var(--text); font-size: 0.95rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.rad-list li::before {
  content: '→'; color: var(--brand); font-weight: 700;
}
.rad-visual {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem; text-align: center;
  position: relative; overflow: hidden;
}
.rad-visual h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.rad-visual p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.rad-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.12); color: var(--gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.4rem 1.1rem; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  text-align: center; padding: 100px 6%;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 20% 50%, var(--brand-glow) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, var(--brand-soft) 0%, transparent 50%);
  opacity: 0.5;
}
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; margin-bottom: 1rem; }
.cta-banner p { color: var(--muted); max-width: 540px; margin: 0 auto 2rem; font-size: 1.05rem; }

/* ---------- FOOTER ---------- */
footer.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 60px 6% 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-logo {
  margin-bottom: 1.1rem;
  display: flex; align-items: center; line-height: 0;
}
.footer-logo .logo-img { height: 44px; }
.footer-desc {
  color: var(--muted); font-size: 0.88rem;
  line-height: 1.75; max-width: 280px;
}
.footer-col h4 {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col a {
  display: block; color: var(--muted);
  text-decoration: none; font-size: 0.88rem;
  margin-bottom: 0.55rem; transition: color 0.2s;
}
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: var(--muted); font-size: 0.82rem; }

.scam-notice {
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 10px;
  padding: 1.1rem 1.3rem; margin-top: 2rem;
  color: var(--muted); font-size: 0.82rem; line-height: 1.7;
}
.scam-notice strong { color: var(--gold); }

/* ---------- SERVICE BLOCKS (services page) ---------- */
.svc-block {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 5rem; align-items: center;
  padding: 90px 6%;
  border-bottom: 1px solid var(--border);
}
.svc-block:nth-child(even) {
  grid-template-columns: 1fr 1.2fr;
  background: var(--bg2);
}
.svc-block:nth-child(even) .svc-content { order: 2; }
.svc-block:last-child { border-bottom: none; }
.svc-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--brand-soft);
  border: 1px solid var(--brand-glow);
  color: var(--brand);
  padding: 0.4rem 1rem; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.svc-block h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 1rem; }
.svc-block p { color: var(--muted); font-size: 0.97rem; margin-bottom: 1rem; line-height: 1.8; }
.svc-features { list-style: none; margin-top: 1.4rem; }
.svc-features li {
  padding: 0.55rem 0; border-bottom: 1px solid var(--border-soft);
  color: var(--text); font-size: 0.93rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.svc-features li::before {
  content: '✓'; color: var(--brand); font-weight: 800; flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--brand-soft); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
}
.svc-visual {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.svc-visual img { width: 100%; height: 100%; object-fit: cover; }
.svc-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255, 107, 26, 0.10) 0%, transparent 60%);
}

/* ---------- TECH STACK ---------- */
.tech-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.85rem;
}
.tech-pill {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  text-align: center;
  color: var(--text);
  font-size: 0.88rem; font-weight: 600;
  transition: all 0.2s;
  cursor: default;
}
.tech-pill:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
  transform: translateY(-2px);
}

/* ---------- TIMELINE (about page) ---------- */
.timeline { position: relative; padding-left: 2px; }
.timeline::before {
  content: ''; position: absolute;
  left: 20px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--brand), transparent);
}
.timeline-item { padding: 0 0 3rem 60px; position: relative; }
.timeline-dot {
  position: absolute; left: 10px; top: 6px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px var(--brand-glow);
}
.timeline-year {
  font-family: 'Exo 2', sans-serif;
  font-weight: 900; font-size: 1.3rem;
  color: var(--brand); margin-bottom: 0.4rem;
}
.timeline-item h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.4rem; }
.timeline-item p { color: var(--muted); font-size: 0.95rem; max-width: 660px; }

/* ---------- VALUES GRID ---------- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.value-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.9rem;
  transition: border-color 0.2s, transform 0.2s;
}
.value-card:hover { border-color: var(--brand-glow); transform: translateY(-3px); }
.value-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
}
.value-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.value-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

/* ---------- CEO QUOTE ---------- */
.ceo-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ceo-inner {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 4rem; align-items: center;
}
.ceo-photo {
  border-radius: var(--radius-lg);
  aspect-ratio: 1; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.ceo-photo img { width: 100%; height: 100%; object-fit: cover; }
.ceo-quote {
  font-size: 1.18rem; font-style: italic;
  color: var(--text); line-height: 1.8;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--brand);
}
.ceo-name {
  font-family: 'Exo 2', sans-serif; font-weight: 800;
  color: var(--text-strong); font-size: 1.1rem;
}
.ceo-title { color: var(--muted); font-size: 0.9rem; }

/* ---------- OFFICES GRID ---------- */
.offices-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.office-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.office-card:hover { border-color: var(--brand-glow); transform: translateY(-3px); }
.office-flag { font-size: 2.5rem; margin-bottom: 0.8rem; }
.office-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.office-card p { color: var(--muted); font-size: 0.84rem; }

/* ---------- STATS ---------- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.2rem 1.5rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.stat-card:hover { border-color: var(--brand-glow); transform: translateY(-3px); }
.stat-card h3 { font-size: 2.8rem; font-weight: 900; font-family: 'Exo 2', sans-serif; }
.stat-card h3 span { color: var(--brand); }
.stat-card p {
  color: var(--muted); font-size: 0.8rem;
  font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; margin-top: 0.4rem;
}

/* ---------- FORM ---------- */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 5rem; padding: 80px 6%; align-items: start;
}
.contact-form {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.6rem;
  box-shadow: var(--shadow-md);
}
.form-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.4rem; }
.form-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
label {
  display: block; font-size: 0.78rem; font-weight: 700;
  color: var(--muted); letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 0.45rem;
}
input, select, textarea {
  width: 100%; background: var(--bg);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 0.78rem 1rem; color: var(--text);
  font-family: 'Nunito', sans-serif; font-size: 0.94rem;
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235B6478' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
[data-theme="dark"] select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238E97A8' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
}
textarea { resize: vertical; min-height: 130px; }
.submit-btn {
  width: 100%; background: var(--brand); color: #fff;
  border: none; padding: 1rem 2rem; border-radius: 50px;
  font-family: 'Exo 2', sans-serif; font-weight: 700;
  font-size: 1rem; cursor: pointer;
  transition: all 0.2s; letter-spacing: 0.03em;
  box-shadow: var(--shadow-brand);
}
.submit-btn:hover { background: var(--brand-dark); transform: translateY(-2px); }
.form-note { text-align: center; color: var(--muted); font-size: 0.78rem; margin-top: 1rem; }

.info-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.3rem 0; border-bottom: 1px solid var(--border);
}
.info-item:last-child { border-bottom: none; }
.info-icon {
  width: 42px; height: 42px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-glow);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; flex-shrink: 0;
}
.info-text strong {
  display: block; font-size: 0.92rem;
  font-family: 'Exo 2', sans-serif; font-weight: 700;
  margin-bottom: 0.2rem;
}
.info-text span, .info-text a {
  color: var(--muted); font-size: 0.88rem;
  text-decoration: none; display: block;
}
.info-text a:hover { color: var(--brand); }

.promise-bar {
  background: var(--brand-soft);
  border: 1px solid var(--brand-glow);
  border-radius: 12px; padding: 1.2rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
  margin-top: 1.5rem;
}
.promise-icon { font-size: 1.5rem; }
.promise-text strong { display: block; font-size: 0.92rem; }
.promise-text span { color: var(--muted); font-size: 0.84rem; }

.success-msg {
  display: none;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 12px; padding: 1.7rem;
  text-align: center; margin-top: 1rem;
}
.success-msg h3 { color: #22c55e; font-size: 1.15rem; margin-bottom: 0.3rem; }
.success-msg p { color: var(--muted); font-size: 0.9rem; }

.office-pill {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 50px; padding: 0.4rem 1rem;
  font-size: 0.82rem; color: var(--muted);
  display: inline-block;
}

/* ---------- HOW WE WORK ---------- */
.process-list { display: flex; flex-direction: column; gap: 0; }
.process-item {
  display: grid; grid-template-columns: 90px 1fr;
  gap: 0; padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.process-item:last-child { border-bottom: none; }
.pnum {
  font-family: 'Exo 2', sans-serif; font-size: 4rem; font-weight: 900;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1; padding-top: 0.2rem;
  opacity: 0.85;
}
.pdetail h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: 0.6rem; }
.pdetail p { color: var(--muted); font-size: 0.97rem; max-width: 720px; line-height: 1.8; }
.pdetail ul { margin-top: 1rem; list-style: none; }
.pdetail ul li {
  padding: 0.4rem 0; color: var(--text);
  font-size: 0.92rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.pdetail ul li::before { content: '→'; color: var(--brand); font-weight: 700; }

.rad-feature {
  background: linear-gradient(135deg, var(--bg2), var(--brand-soft));
  border: 1px solid var(--brand-glow);
  border-radius: var(--radius-lg);
  padding: 3rem; margin-bottom: 2rem;
  position: relative; overflow: hidden;
}
.rad-feature h2 { font-size: 1.85rem; font-weight: 800; margin-bottom: 1rem; }
.rad-feature p { color: var(--muted); max-width: 700px; line-height: 1.8; margin-bottom: 1rem; }
.rad-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 2rem; }
.rad-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 1.3rem;
  transition: border-color 0.2s, transform 0.2s;
}
.rad-item:hover { border-color: var(--brand); transform: translateY(-2px); }
.rad-item h4 {
  font-family: 'Exo 2', sans-serif; font-size: 1rem;
  font-weight: 700; margin-bottom: 0.4rem;
}
.rad-item p { color: var(--muted); font-size: 0.85rem; margin: 0; }

.agile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.agile-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.7rem;
  transition: border-color 0.2s, transform 0.2s;
}
.agile-card:hover { border-color: var(--brand-glow); transform: translateY(-3px); }
.agile-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 0.9rem;
}
.agile-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; }
.agile-card p { color: var(--muted); font-size: 0.88rem; }

.ebooks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.ebook-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem;
  display: flex; align-items: flex-start; gap: 1.1rem;
  transition: border-color 0.2s, transform 0.2s;
}
.ebook-card:hover { border-color: var(--brand-glow); transform: translateY(-3px); }
.ebook-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.ebook-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.ebook-card p { color: var(--muted); font-size: 0.85rem; }
.ebook-card a {
  display: inline-block; margin-top: 0.7rem;
  color: var(--brand); font-size: 0.85rem;
  font-weight: 700; text-decoration: none;
}
.ebook-card a:hover { color: var(--brand-dark); }

/* ---------- FEATURED CASE ---------- */
.featured-case {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  margin-bottom: 3rem;
  overflow: hidden;
}
.case-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.12); color: var(--gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.35rem 0.9rem; border-radius: 50px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.featured-case h2 { font-size: 2.1rem; font-weight: 800; margin-bottom: 0.8rem; }
.featured-case p { color: var(--muted); font-size: 0.97rem; line-height: 1.8; margin-bottom: 1rem; }
.case-stats { display: flex; gap: 2.5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.cs-stat h4 {
  font-size: 1.8rem; font-weight: 900;
  font-family: 'Exo 2', sans-serif; color: var(--brand);
}
.cs-stat p {
  font-size: 0.78rem; color: var(--muted);
  font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; margin-top: 0.2rem;
}
.case-visual {
  border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.case-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CLIENTS ---------- */
.clients-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.client-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.client-card:hover { border-color: var(--brand-glow); transform: translateY(-2px); }
.client-icon { font-size: 2rem; margin-bottom: 0.6rem; }
.client-card p { color: var(--text); font-size: 0.84rem; font-weight: 600; }

/* ---------- IMAGE BAND ---------- */
.image-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem; padding: 60px 6%;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.image-band figure {
  position: relative; aspect-ratio: 4 / 3;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
}
.image-band img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.image-band figure:hover img { transform: scale(1.06); }
.image-band figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.9rem 1.1rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent);
  color: #fff; font-size: 0.85rem; font-weight: 600;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-image-wrap { display: none; }
  .hero h1 { max-width: 100%; }
  .hero-sub { max-width: 100%; }
  .rad-inner { grid-template-columns: 1fr; gap: 3rem; }
  .ceo-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .featured-case { grid-template-columns: 1fr; gap: 2.5rem; }
  .svc-block, .svc-block:nth-child(even) { grid-template-columns: 1fr; gap: 2.5rem; }
  .svc-block:nth-child(even) .svc-content { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav.site-nav { padding: 0 5%; height: 64px; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--bg-nav); backdrop-filter: blur(18px);
    padding: 1.5rem 6%; gap: 1.2rem;
    border-bottom: 1px solid var(--border);
    z-index: 90;
  }
  .nav-links.mobile-open a { font-size: 1rem; padding: 0.5rem 0; }

  section, .page-hero { padding: 70px 5%; }
  .hero { padding: 110px 5% 60px; min-height: auto; }
  .hero-stats { gap: 1.8rem; }
  .stat-item h3 { font-size: 1.7rem; }

  .contact-layout { grid-template-columns: 1fr; gap: 3rem; padding: 60px 5%; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--border); }
  .process-step:nth-child(odd) { border-right: 1px solid var(--border); }
  .case-stats { gap: 1.5rem; }
  .process-item { grid-template-columns: 60px 1fr; padding: 2rem 0; }
  .pnum { font-size: 2.6rem; }
  .rad-feature { padding: 2rem 1.4rem; }
  .featured-case { padding: 2rem 1.4rem; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none !important; border-bottom: 1px solid var(--border); }
  .process-step:last-child { border-bottom: none; }
  .case-stats { flex-direction: column; gap: 1rem; }
  .nav-cta { padding: 0.5rem 1rem; font-size: 0.82rem; }
}

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

::selection { background: var(--brand); color: #fff; }

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}
