/* ===================================================================
   Muhammad Haris Ishtiaq — Portfolio
   style.css
   1. Design tokens & theming
   2. Base / reset
   3. Layout helpers
   4. Buttons & shared UI
   5. Header / nav
   6. Hero
   7. Trust bar
   8. About / timeline
   9. Services
   10. Skills
   11. Portfolio + filter
   12. Process
   13. Why
   14. Testimonials carousel
   15. FAQ accordion
   16. Lead magnet
   17. Contact + form
   18. Footer
   19. Floating UI (WhatsApp, back-to-top, progress)
   20. Modal
   21. Reveal animations
   22. Responsive
   =================================================================== */

/* ============ 1. DESIGN TOKENS & THEMING ============ */
:root {
  /* Brand — lime accent (text/icon, theme-tuned) + bright lime fill */
  --brand: #56750A;
  --brand-hover: #455E06;
  --brand-fill: #C8F94C;
  --brand-fill-hover: #B8EE36;
  --on-brand: #15190B;
  --brand-soft: rgba(110, 150, 10, 0.12);
  --brand-glow: rgba(150, 200, 40, 0.30);
  --warm: #D94125;
  --warm-glow: rgba(217, 65, 37, 0.30);

  /* Light theme surfaces */
  --bg: #FAFAFA;
  --bg-alt: #F2F3EC;
  --surface: #FFFFFF;
  --surface-2: #F8F9F3;
  --text: #14160F;
  --text-soft: #4B5563;
  --text-mute: #8A8F98;
  --border: #E7E8E0;
  --border-strong: #D8DAD0;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.05);
  --shadow-md: 0 8px 24px -8px rgba(17, 24, 39, 0.12);
  --shadow-lg: 0 24px 60px -20px rgba(17, 24, 39, 0.22);
  --shadow-brand: 0 16px 40px -12px var(--brand-glow);

  /* Spacing scale (8/16/24/32/48/64/96) */
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-6: 48px; --s-8: 64px; --s-12: 96px;

  /* Radii */
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-pill: 999px;

  --maxw: 1200px;
  --header-h: 72px;
  --font: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-theme="dark"] {
  --bg: #0A0A0C;
  --bg-alt: #0D0E11;
  --surface: #131419;
  --surface-2: #1A1B22;
  --text: #F3F4F1;
  --text-soft: #A6ABB3;
  --text-mute: #6C717A;
  --border: #20222A;
  --border-strong: #2C2F39;
  --brand: #C8F94C;
  --brand-hover: #D8FF6A;
  --brand-fill: #C8F94C;
  --brand-fill-hover: #D8FF6A;
  --on-brand: #0E120A;
  --brand-soft: rgba(200, 249, 76, 0.12);
  --brand-glow: rgba(200, 249, 76, 0.30);
  --warm: #E0552E;
  --warm-glow: rgba(224, 85, 46, 0.42);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 10px 30px -10px rgba(0,0,0,0.6);
  --shadow-lg: 0 28px 70px -24px rgba(0,0,0,0.78);
}

/* ============ 2. BASE / RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

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

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 2000;
  background: var(--brand-fill); color: var(--on-brand); padding: 12px 20px; border-radius: var(--r-sm);
  font-weight: 600; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ============ 3. LAYOUT HELPERS ============ */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--s-12) 0; position: relative; }
.section-head { max-width: 680px; margin: 0 auto var(--s-8); text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: var(--s-2);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: pulse 2.2s infinite; }
.section-title { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.section-sub { color: var(--text-soft); font-size: 1.05rem; margin-top: var(--s-2); }
.section-sub a { color: var(--brand); font-weight: 600; }
.lead { font-size: 1.18rem; color: var(--text-soft); font-weight: 500; }
.text-grad {
  background: linear-gradient(110deg, var(--brand), #e9ff8f 55%, var(--brand));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============ 4. BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 1rem; padding: 15px 28px; border-radius: var(--r-pill);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
  position: relative; overflow: hidden; white-space: nowrap; line-height: 1;
}
.btn-sm { padding: 11px 20px; font-size: 0.92rem; }
.btn-block { width: 100%; }
.btn-arrow { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-primary { background: var(--brand-fill); color: var(--on-brand); box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-fill-hover); transform: translateY(-3px); box-shadow: 0 22px 44px -14px var(--brand-glow); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-3px); }
.btn-light { background: var(--brand-fill); color: var(--on-brand); box-shadow: var(--shadow-md); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
/* ripple */
.btn .ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255,255,255,0.45); pointer-events: none; animation: ripple 0.6s ease-out; }
.btn-ghost .ripple, .btn-light .ripple { background: var(--brand-glow); }
@keyframes ripple { to { transform: scale(3); opacity: 0; } }

/* alternating section bg */
.about, .skills, .why, .faq { background: var(--bg-alt); }

/* ============ 5. HEADER / NAV ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--header-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-logobox { position: relative; height: 30px; width: 147px; display: block; transition: width 0.4s var(--ease); }
.brand-logo { height: 30px; width: auto; display: block; }
.brand-full { transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); transform-origin: left center; }
.brand-mark-img { position: absolute; left: 0; top: 0; opacity: 0; transform: scale(0.82); transform-origin: left center; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.site-header.scrolled .brand-logobox { width: 39px; }
.site-header.scrolled .brand-full { opacity: 0; transform: scale(0.85); }
.site-header.scrolled .brand-mark-img { opacity: 1; transform: scale(1); }
.brand:hover .brand-logobox { filter: drop-shadow(0 0 10px var(--brand-glow)); transform: translateY(-1px); transition: filter 0.25s var(--ease), transform 0.25s var(--ease), width 0.4s var(--ease); }
.brand-dot { color: var(--brand); }
.nav-list { display: flex; gap: 4px; }
.nav-close { display: none; }
.nav-cta-mobile { display: none; }
.nav-link {
  display: block; padding: 9px 14px; border-radius: var(--r-pill); font-size: 0.95rem; font-weight: 500;
  color: var(--text-soft); transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text); background: var(--surface-2); }
.nav-link.active { color: var(--brand); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--border-strong); color: var(--text-soft); transition: 0.2s;
}
.theme-toggle:hover { color: var(--brand); border-color: var(--brand); transform: rotate(15deg); }
.theme-toggle svg { width: 19px; height: 19px; }
.icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun { display: none; }
:root[data-theme="dark"] .icon-moon { display: block; }

.hamburger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1.5px solid var(--border-strong); position: relative; }
.hamburger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s var(--ease); }
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 20px; }
.hamburger span:nth-child(3) { top: 26px; }
.hamburger.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }
.nav-scrim { position: fixed; inset: 0; z-index: 998; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: 0.3s; }
.nav-scrim.show { opacity: 1; visibility: visible; }

/* ============ 6. HERO ============ */
@property --hero-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes heroSpin { to { --hero-angle: 360deg; } }
@keyframes blobMorph { 0%,100% { border-radius: 42% 58% 60% 40% / 45% 45% 55% 55%; } 50% { border-radius: 58% 42% 38% 62% / 56% 54% 46% 44%; } }
.hero { position: relative; padding-top: calc(var(--header-h) + var(--s-8)); padding-bottom: var(--s-12); overflow: hidden; }
.hero-mesh { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.mesh-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, var(--border) 1px, transparent 1px), linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 46px 46px; opacity: 0.55;
  -webkit-mask: radial-gradient(ellipse 55% 55% at 78% 38%, #000, transparent 72%);
          mask: radial-gradient(ellipse 55% 55% at 78% 38%, #000, transparent 72%);
}
.mesh-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.blob-1 { width: 460px; height: 460px; background: var(--brand); top: -120px; right: -80px; opacity: 0.20; animation: drift 16s var(--ease) infinite alternate; }
.blob-2 { width: 380px; height: 380px; background: var(--warm); bottom: -120px; left: -60px; opacity: 0.16; animation: drift 20s var(--ease) infinite alternate-reverse; }
.blob-3 { width: 300px; height: 300px; background: var(--brand); top: 40%; left: 45%; opacity: 0.08; animation: drift 24s var(--ease) infinite alternate; }
.float-shape { position: absolute; opacity: 0.55; }
.shape-ring { width: 64px; height: 64px; border: 3px solid var(--brand); border-radius: 50%; top: 6%; left: 1%; opacity: 0.22; animation: floaty 7s ease-in-out infinite; }
.shape-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--brand); top: 70%; left: 18%; animation: floaty 5s ease-in-out infinite 0.5s; }
.shape-square { width: 40px; height: 40px; border: 3px solid var(--warm); border-radius: 8px; top: 16%; right: 14%; opacity: 0.4; animation: floaty 9s ease-in-out infinite 1s; transform: rotate(20deg); }
.shape-plus { font-size: 2.2rem; font-weight: 300; color: var(--brand); opacity: 0.4; top: 62%; right: 9%; line-height: 1; animation: floaty 8s ease-in-out infinite 0.6s; }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--s-8); align-items: center; }
.hero-title { font-size: clamp(2.4rem, 5.6vw, 4.1rem); margin: var(--s-1) 0 var(--s-3); }
.title-rotator { display: flex; align-items: center; gap: 12px; margin-bottom: var(--s-3); flex-wrap: wrap; }
.rotator-static { font-weight: 600; font-size: 1.2rem; color: var(--text-soft); }
.rotator-track { position: relative; height: 2.6rem; min-width: 320px; display: inline-block; }
.rotator-pill {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: center;
  padding: 6px 18px; border-radius: var(--r-pill); font-weight: 600; font-size: 1.1rem;
  background: var(--brand-soft); color: var(--brand); white-space: nowrap;
  opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.rotator-pill.is-active { opacity: 1; transform: translateY(0); }
.hero-tagline { font-size: 1.2rem; color: var(--text-soft); max-width: 30em; margin-bottom: var(--s-4); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: var(--s-4); }
.hero-meta { display: inline-flex; align-items: flex-start; gap: 8px; color: var(--text-mute); font-size: 0.95rem; font-weight: 500; }
.pin-icon { width: 17px; height: 17px; color: var(--brand); flex-shrink: 0; margin-top: 2px; }

/* social proof row */
.hero-proof { display: inline-flex; align-items: center; gap: 12px; margin-bottom: var(--s-3); flex-wrap: wrap;
  padding: 10px 18px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-sm); }
.proof-stars { color: #f5a623; letter-spacing: 2px; font-size: 1rem; }
.proof-score { font-weight: 800; font-size: 1rem; color: var(--text); }
.proof-divider { width: 1px; height: 18px; background: var(--border-strong); }
.proof-label { font-size: 0.9rem; color: var(--text-soft); }
.proof-label strong { color: var(--text); font-weight: 600; }

/* ---- portrait ---- */
.hero-portrait { position: relative; display: grid; place-items: center; min-height: 480px; }
.portrait-blob { position: absolute; z-index: 0; width: 78%; aspect-ratio: 1; background: linear-gradient(135deg, var(--brand), var(--warm)); opacity: 0.18; filter: blur(6px); border-radius: 42% 58% 60% 40% / 45% 45% 55% 55%; animation: blobMorph 14s ease-in-out infinite; }
.portrait-glow { position: absolute; z-index: 0; width: 72%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--brand-glow), transparent 65%); filter: blur(46px); opacity: 0.7; }
.portrait-dots { position: absolute; z-index: 1; width: 130px; height: 130px; left: 1%; top: 4%; background-image: radial-gradient(var(--brand) 1.6px, transparent 1.7px); background-size: 15px 15px; opacity: 0.4; border-radius: 14px; }
.portrait-frame { position: relative; z-index: 2; width: min(420px, 86%); aspect-ratio: 1; border-radius: 34px; padding: 8px; }
.portrait-frame::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 8px;
  background: conic-gradient(from var(--hero-angle), var(--brand), #e9ff8f 20%, var(--warm) 52%, #e9ff8f 78%, var(--brand));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  animation: heroSpin 8s linear infinite;
}
.portrait-inner { position: relative; width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-lg); }
.portrait-inner img { width: 100%; height: 100%; object-fit: cover; }
.portrait-inner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, var(--brand-glow)); pointer-events: none; }
.portrait-badge, .portrait-chip {
  position: absolute; z-index: 4;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
}
.portrait-badge { border-radius: var(--r-md); padding: 12px 16px; display: flex; flex-direction: column; line-height: 1.2; }
.badge-top { top: 7%; right: -5%; animation: floaty 6s ease-in-out infinite; }
.badge-top strong { font-size: 1.55rem; color: var(--brand); }
.badge-top span { font-size: 0.78rem; color: var(--text-soft); font-weight: 500; }
.badge-bottom { bottom: 8%; left: -6%; flex-direction: row; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; animation: floaty 7s ease-in-out infinite 1s; }
.avail-dot { width: 9px; height: 9px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: pulse 2.2s infinite; }
.chip-rating { top: 43%; left: -9%; display: flex; align-items: center; gap: 10px; border-radius: var(--r-pill); padding: 9px 18px 9px 13px; animation: floaty 8s ease-in-out infinite 0.4s; }
.chip-stars { color: #f5a623; font-size: 1.5rem; line-height: 1; }
.chip-rating-text { display: flex; flex-direction: column; line-height: 1.1; }
.chip-rating-text strong { font-size: 1.15rem; }
.chip-rating-text small { font-size: 0.7rem; color: var(--text-soft); }

/* ============ 7. TRUST BAR ============ */
.trustbar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.trustbar-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); padding: var(--s-4) 24px; flex-wrap: wrap; }
.trust-countries { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.trust-label { font-size: 0.85rem; font-weight: 600; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.08em; }
.country-list { display: flex; gap: 10px; flex-wrap: wrap; }
.country-list li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; padding: 6px 14px 6px 8px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--border); }
.country-list li img { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,0.08); display: block; }
.trust-stats { display: flex; gap: var(--s-6); }
.stat { text-align: center; }
.stat-num { display: block; font-size: 2.2rem; font-weight: 800; color: var(--brand); letter-spacing: -0.03em; }
.stat-label { font-size: 0.82rem; color: var(--text-soft); font-weight: 500; }

/* ============ 7b. TRUSTED-BY LOGO STRIP ============ */
.logos { padding: var(--s-8) 0 var(--s-6); }
.logos-label {
  text-align: center; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-mute); margin-bottom: var(--s-4);
}
.logos-marquee {
  position: relative; display: flex; gap: 18px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.logos-track {
  display: flex; align-items: center; gap: 18px; flex-shrink: 0;
  animation: logoScroll 38s linear infinite;
}
.logos-marquee:hover .logos-track { animation-play-state: paused; }
@keyframes logoScroll { from { transform: translateX(0); } to { transform: translateX(calc(-100% - 18px)); } }
.logo-chip {
  flex-shrink: 0; display: grid; place-items: center; width: 190px; height: 96px; padding: 0 24px;
  background: #FFFFFF; border-radius: var(--r-md); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.logo-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.logo-chip img { width: auto; object-fit: contain; display: block; }
/* per-logo optical sizing so each reads with equal visual weight */
.logo-chip img.lg-wide   { max-height: 30px; max-width: 142px; }
.logo-chip img.lg-tall   { max-height: 46px; max-width: 128px; }
.logo-chip img.lg-badge  { max-height: 52px; max-width: 96px; }
.logo-chip img.lg-square { max-height: 56px; max-width: 70px; }
@media (max-width: 640px) {
  .logo-chip { width: 156px; height: 82px; padding: 0 18px; }
  .logo-chip img.lg-wide   { max-height: 26px; max-width: 116px; }
  .logo-chip img.lg-tall   { max-height: 38px; max-width: 104px; }
  .logo-chip img.lg-badge  { max-height: 44px; max-width: 82px; }
  .logo-chip img.lg-square { max-height: 48px; max-width: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .logos-track { animation: none; }
  .logos-marquee { flex-wrap: wrap; justify-content: center; mask-image: none; -webkit-mask-image: none; }
  .logos-track[aria-hidden="true"] { display: none; }
  .logos-track { flex-wrap: wrap; justify-content: center; }
}

/* ============ 8. ABOUT / TIMELINE ============ */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--s-8); align-items: start; }
.about-copy p { margin-bottom: var(--s-3); color: var(--text-soft); }
.about-copy .section-title { margin-bottom: var(--s-3); }
.about-copy strong { color: var(--text); font-weight: 600; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: var(--s-4); }
.about-points li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 0.95rem; }
.about-points svg { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; padding: 3px; background: var(--brand-soft); border-radius: 50%; }
.about-timeline { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-4); box-shadow: var(--shadow-sm); }
.timeline-heading { font-size: 1.15rem; margin-bottom: var(--s-3); }
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--border-strong); }
.timeline-item { position: relative; padding-bottom: var(--s-3); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -28px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--brand); }
.timeline-year { font-family: var(--mono); font-size: 0.78rem; color: var(--brand); font-weight: 500; }
.timeline-item h4 { font-size: 1.02rem; margin: 2px 0 4px; }
.timeline-item p { font-size: 0.9rem; color: var(--text-soft); }

/* ============ 9. SERVICES ============ */
.card-grid { display: grid; gap: var(--s-3); }
.services-grid { grid-template-columns: repeat(4, 1fr); }
.service-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--s-4); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  position: relative; overflow: hidden;
}
.service-card::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: var(--s-3); transition: 0.3s; }
.service-card:hover .service-icon { background: var(--brand-fill); color: var(--on-brand); transform: rotate(-6deg) scale(1.05); }
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.service-card > p { color: var(--text-soft); font-size: 0.95rem; margin-bottom: var(--s-3); }
.deliverables { display: grid; gap: 8px; border-top: 1px dashed var(--border-strong); padding-top: var(--s-3); }
.deliverables li { font-size: 0.88rem; color: var(--text-soft); display: flex; align-items: flex-start; gap: 8px; }
.deliverables li::before { content: "→"; color: var(--brand); font-weight: 700; }

/* ============ 10. SKILLS (bento) ============ */
.skills-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.skill-tile {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--s-4); display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.skill-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.tile-head { display: flex; align-items: center; justify-content: space-between; }
.tile-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; transition: 0.3s; }
.skill-tile:hover .tile-icon { transform: rotate(-6deg) scale(1.06); }
.tile-icon svg { width: 26px; height: 26px; }
.skill-tile h3 { font-size: 1.3rem; }
.tile-desc { font-size: 0.92rem; color: var(--text-soft); }
.skill-tile .chips { margin-top: auto; padding-top: 4px; }
.tile-badge {
  align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--brand-fill); color: var(--on-brand); padding: 5px 12px; border-radius: var(--r-pill);
}

/* Featured WordPress tile */
.tile-feature { grid-column: span 2; background: radial-gradient(130% 150% at 100% 0%, var(--brand-soft), transparent 58%), var(--surface); border-color: color-mix(in srgb, var(--brand) 32%, var(--border)); }
.tile-feature h3 { font-size: 1.7rem; }
.tile-feature .tile-desc { max-width: 34em; }
.tile-watermark { position: absolute; right: -20px; bottom: -30px; width: 200px; height: 200px; color: var(--brand); opacity: 0.12; stroke-width: 1.5; pointer-events: none; }

/* Proficiency ring */
.ring { position: relative; width: 58px; height: 58px; flex-shrink: 0; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3; }
.ring-bg { stroke: var(--border-strong); }
.ring-fg { stroke: var(--brand); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.3s var(--ease); }
.ring-val { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 1rem; color: var(--brand); }
.ring-val small { font-size: 0.62rem; font-weight: 700; margin-left: 1px; }
.tile-feature .ring-bg { stroke: var(--border-strong); }
.tile-feature .ring-fg { stroke: var(--brand); }
.tile-feature .ring-val { color: var(--brand); }

/* Chips (shared) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 14px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--border); font-size: 0.85rem; font-weight: 500; transition: 0.2s; cursor: default; }
.chip:hover { background: var(--brand-fill); color: var(--on-brand); border-color: var(--brand-fill); transform: translateY(-2px); }

/* ============ 11. PORTFOLIO ============ */
.filter-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: var(--s-6); }
.filter-btn { padding: 10px 22px; border-radius: var(--r-pill); border: 1.5px solid var(--border-strong); font-weight: 600; font-size: 0.9rem; color: var(--text-soft); transition: 0.2s; }
.filter-btn:hover { color: var(--brand); border-color: var(--brand); }
.filter-btn.is-active { background: var(--brand-fill); color: var(--on-brand); border-color: var(--brand-fill); box-shadow: var(--shadow-brand); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.project-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; cursor: pointer; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.4s, border-color 0.3s;
  display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.project-card.hide { display: none; }
.project-card.filtering { opacity: 0; transform: scale(0.96); }
.project-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-alt); }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.6s var(--ease); }
.project-card:hover .project-thumb img { transform: scale(1.05); }
.project-cat-tag { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,0.65); color: #fff; backdrop-filter: blur(4px); font-size: 0.72rem; font-weight: 600; padding: 5px 12px; border-radius: var(--r-pill); }
.project-view {
  position: absolute; inset: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--bg) 78%, transparent);
  opacity: 0; transition: opacity 0.3s; color: var(--brand); font-weight: 700; gap: 8px; backdrop-filter: blur(3px);
}
.project-view svg { width: 30px; height: 30px; }
.project-card:hover .project-view { opacity: 1; }
.project-info { padding: var(--s-3); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.project-info h3 { font-size: 1.15rem; }
.project-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.project-categ { font-size: 0.82rem; color: var(--brand); font-weight: 600; }
.project-info p { font-size: 0.9rem; color: var(--text-soft); }
.project-tech { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.project-tech span { font-size: 0.72rem; font-family: var(--mono); color: var(--text-mute); background: var(--surface-2); border: 1px solid var(--border); padding: 3px 9px; border-radius: 6px; }
.project-result { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: #16a34a; }
.project-result svg { width: 16px; height: 16px; color: #16a34a; }

/* ============ 12. PROCESS ============ */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); position: relative; }
.process-steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--border-strong) 0 8px, transparent 8px 16px); z-index: 0; }
.process-step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.process-num {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto var(--s-3);
  border-radius: 50%; background: var(--surface); border: 2px solid var(--border-strong);
  font-size: 1.5rem; font-weight: 800; color: var(--brand); transition: 0.3s;
}
.process-step:hover .process-num { background: var(--brand-fill); color: var(--on-brand); border-color: var(--brand-fill); transform: scale(1.08); box-shadow: var(--shadow-brand); }
.process-step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.process-step p { font-size: 0.92rem; color: var(--text-soft); }

/* ============ 13. WHY ============ */
.why-grid { grid-template-columns: repeat(4, 1fr); }
.why-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-4); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: var(--s-3); }
.why-icon svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-card p { font-size: 0.92rem; color: var(--text-soft); }

/* ============ 14. TESTIMONIALS ============ */
.tm { display: grid; grid-template-columns: 1.55fr 1fr; gap: var(--s-3); max-width: 1080px; margin: 0 auto; align-items: stretch; }
.tm-feature {
  position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--r-lg); padding: var(--s-6); display: flex; flex-direction: column;
}
.tm-mark { position: absolute; top: -34px; right: 18px; font-size: 13rem; line-height: 1; font-weight: 800; color: var(--brand); opacity: 0.1; font-family: Georgia, serif; pointer-events: none; }
.tm-glow { position: absolute; width: 320px; height: 320px; border-radius: 50%; right: -120px; bottom: -160px; background: radial-gradient(circle, var(--brand-glow), transparent 65%); opacity: 0.5; pointer-events: none; }
.tm-stars { position: relative; color: #f5a623; font-size: 1.25rem; letter-spacing: 3px; margin-bottom: var(--s-3); }
.tm-quote { position: relative; font-size: 1.5rem; font-weight: 500; line-height: 1.5; color: var(--text); margin-bottom: var(--s-4); text-wrap: pretty; flex: 1;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.tm-author { position: relative; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  transition: opacity 0.4s var(--ease) 0.05s, transform 0.4s var(--ease) 0.05s; }
.tm-photo { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--surface); box-shadow: 0 0 0 2px var(--brand); }
.tm-id { display: flex; flex-direction: column; line-height: 1.3; }
.tm-id strong { font-size: 1.05rem; color: var(--text); }
.tm-id small { font-size: 0.85rem; color: var(--text-mute); }
.tm-metric { margin-left: auto; align-self: center; font-weight: 700; font-size: 0.9rem; color: var(--brand);
  background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent); padding: 8px 14px; border-radius: var(--r-pill); white-space: nowrap; }
.tm.swapping .tm-quote, .tm.swapping .tm-author { opacity: 0; transform: translateY(10px); }

.tm-side { display: flex; flex-direction: column; }
.tm-side-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mute); margin-bottom: var(--s-2); }
.tm-roster { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tm-client { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-md);
  border: 1px solid var(--border); background: var(--surface); text-align: left; transition: border-color 0.2s, background 0.2s, transform 0.2s; }
.tm-client:hover { border-color: var(--brand); transform: translateX(2px); }
.tm-client.active { border-color: var(--brand); background: var(--brand-soft); }
.tm-client img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; filter: grayscale(1); opacity: 0.7; transition: 0.25s; }
.tm-client.active img, .tm-client:hover img { filter: grayscale(0); opacity: 1; }
.tm-client-id { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.tm-client-id strong { font-size: 0.92rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-client-id small { font-size: 0.78rem; color: var(--text-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-nav { display: flex; gap: 10px; margin-top: var(--s-3); }
.carousel-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--border-strong); display: grid; place-items: center; color: var(--text-soft); transition: 0.2s; }
.carousel-btn:hover { background: var(--brand-fill); color: var(--on-brand); border-color: var(--brand-fill); }
.carousel-btn svg { width: 20px; height: 20px; }

/* ============ 15. FAQ ============ */
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--s-8); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-intro .section-title { margin-bottom: var(--s-3); }
.faq-intro-text { color: var(--text-soft); font-size: 1.05rem; margin-bottom: var(--s-4); max-width: 22em; }
.faq-cta { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--border-strong); transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s; max-width: 380px; }
.faq-cta:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow-md); }
.faq-cta-ic { width: 46px; height: 46px; border-radius: 12px; background: #25D366; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.faq-cta-ic svg { width: 24px; height: 24px; }
.faq-cta-text { display: flex; flex-direction: column; line-height: 1.3; flex: 1; }
.faq-cta-text strong { font-size: 0.98rem; color: var(--text); }
.faq-cta-text small { font-size: 0.82rem; color: var(--text-soft); }
.faq-cta-arrow { width: 20px; height: 20px; color: var(--text-mute); transition: transform 0.2s var(--ease), color 0.2s; flex-shrink: 0; }
.faq-cta:hover .faq-cta-arrow { transform: translateX(4px); color: var(--brand); }

.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s, background 0.3s; }
.acc-item:hover { border-color: var(--border-strong); }
.acc-item.open { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.acc-trigger { width: 100%; display: flex; align-items: center; gap: 16px; padding: 22px; text-align: left; font-weight: 600; font-size: 1.08rem; }
.acc-num { font-family: var(--mono); font-size: 0.8rem; font-weight: 500; color: var(--brand); flex-shrink: 0; padding-top: 2px; }
.acc-q { flex: 1; transition: color 0.2s; }
.acc-item.open .acc-q { color: var(--brand); }
.acc-icon { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; background: var(--brand); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s; }
.acc-icon::before { top: 10px; left: 2px; right: 2px; height: 2px; }
.acc-icon::after { left: 10px; top: 2px; bottom: 2px; width: 2px; }
.acc-item.open .acc-icon::after { transform: rotate(90deg); opacity: 0; }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.acc-panel p { padding: 0 22px 22px 53px; color: var(--text-soft); }

/* ============ 16. LEAD MAGNET ============ */
.lead-card {
  position: relative; overflow: hidden; text-align: center; color: var(--text);
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--r-lg); padding: var(--s-12) var(--s-6); box-shadow: var(--shadow-lg);
}
.lead-card::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 120% at 50% -10%, var(--brand-soft), transparent 60%); }
.lead-glow { position: absolute; width: 620px; height: 620px; border-radius: 50%; bottom: -430px; left: 50%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(circle, transparent 55%, var(--warm-glow) 58%, transparent 67%); opacity: 0.9; }
.lead-card h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: var(--s-2); position: relative; }
.lead-card > p { font-size: 1.15rem; color: var(--text-soft); max-width: 36em; margin: 0 auto var(--s-4); position: relative; }
.lead-card .btn-light { position: relative; }
.trust-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-4); position: relative; }
.trust-badges li { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 500; }
.trust-badges svg { width: 18px; height: 18px; color: var(--brand); }

/* ============ 17. CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--s-8); align-items: start; }
.contact-list { display: grid; gap: var(--s-2); margin: var(--s-4) 0; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.contact-ic svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: 0.78rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-list a, .contact-text { font-weight: 600; font-size: 1.02rem; }
.contact-list a:hover { color: var(--brand); }
.social-row { display: flex; gap: 12px; }
.social-link { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--border-strong); display: grid; place-items: center; color: var(--text-soft); transition: 0.25s; }
.social-link:hover { background: var(--brand-fill); color: var(--on-brand); border-color: var(--brand-fill); transform: translateY(-3px); }
.social-link svg { width: 20px; height: 20px; }

.contact-form-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-md); }
.contact-form { display: flex; flex-direction: column; gap: var(--s-3); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field label .req { color: var(--brand); margin-left: 1px; }
.field input, .field textarea, .field select {
  padding: 13px 15px; border-radius: var(--r-sm); border: 1.5px solid var(--border-strong);
  background: var(--surface-2); color: var(--text); transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-mute); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #dc2626; box-shadow: 0 0 0 4px rgba(220,38,38,0.12); }
.field-error { font-size: 0.8rem; color: #dc2626; min-height: 1em; font-weight: 500; }
.form-success[hidden], .form-error[hidden] { display: none !important; }
.form-success {
  display: flex; align-items: center; gap: 10px; padding: 16px; border-radius: var(--r-sm);
  background: rgba(22,163,74,0.1); color: #16a34a; font-weight: 600; border: 1px solid rgba(22,163,74,0.3);
  animation: fadeUp 0.5s var(--ease);
}
.form-success svg { width: 22px; height: 22px; stroke: #16a34a; flex-shrink: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-error {
  display: flex; align-items: center; gap: 10px; padding: 16px; border-radius: var(--r-sm);
  background: rgba(220,38,38,0.1); color: #f87171; font-weight: 600; border: 1px solid rgba(220,38,38,0.3);
  animation: fadeUp 0.5s var(--ease);
}
.form-error svg { width: 22px; height: 22px; stroke: #f87171; flex-shrink: 0; }

/* ============ 18. FOOTER (glowing arcs) ============ */
.site-footer {
  position: relative; overflow: hidden; background: var(--bg);
  min-height: 440px; padding: 56px 24px 56px;
  display: flex; align-items: flex-start; justify-content: center;
}
.footer-rings { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; z-index: 0; }
.footer-rings .ring { fill: none; stroke-width: 2.5px; vector-effect: non-scaling-stroke; }
.ring-lime { stroke: var(--brand); filter: drop-shadow(0 0 8px var(--brand-glow)) drop-shadow(0 0 3px var(--brand)); }
.ring-warm { stroke: var(--warm); filter: drop-shadow(0 0 8px var(--warm-glow)) drop-shadow(0 0 3px var(--warm)); }

.footer-center { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-name { font-size: 1.5rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--text); display: inline-block; }
.footer-logo { height: 50px; width: auto; display: block; }
.footer-name .brand-dot { color: var(--brand); }
.footer-social { display: flex; gap: 12px; }
.fs-link { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.fs-link svg { width: 18px; height: 18px; }
.fs-link:hover { transform: translateY(-3px); box-shadow: 0 8px 18px -6px rgba(0,0,0,0.5); }
.fs-fb { background: #1877F2; }
.fs-li { background: #0A66C2; }
.fs-ig { background: #E4405F; }
.fs-wa { background: #25D366; }
.footer-copy { font-size: 0.85rem; color: var(--text-mute); }

/* ============ 19. FLOATING UI ============ */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: linear-gradient(90deg, var(--brand), var(--warm)); z-index: 1100; transition: width 0.1s linear; }
.whatsapp-float {
  position: fixed; bottom: 24px; left: 24px; z-index: 900; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,0.6);
  transition: transform 0.25s var(--ease); animation: floaty 4s ease-in-out infinite;
}
.whatsapp-float svg { width: 34px; height: 34px; fill: #fff; stroke: none; }
.whatsapp-float:hover { transform: scale(1.1); }
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 900; width: 50px; height: 50px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--border-strong); color: var(--text); display: grid; place-items: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(12px); transition: 0.3s var(--ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.back-to-top svg { width: 22px; height: 22px; }

/* ============ 20. MODAL ============ */
.modal { position: fixed; inset: 0; z-index: 1500; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8,10,15,0.62); backdrop-filter: blur(4px); animation: fadeIn 0.3s; }
.modal-dialog {
  position: relative; max-width: 720px; width: calc(100% - 40px); max-height: 88vh; overflow-y: auto;
  margin: 6vh auto 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); animation: modalIn 0.4s var(--ease);
}
.modal-close { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; z-index: 2; transition: 0.2s; }
.modal-close:hover { background: var(--brand); color: #fff; }
.modal-close svg { width: 20px; height: 20px; }
.modal-hero { aspect-ratio: 16/8; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--bg-alt); }
.modal-hero img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.modal-content { padding: var(--s-6); }
.modal-tag { display: inline-block; font-size: 0.78rem; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 5px 12px; border-radius: var(--r-pill); margin-bottom: var(--s-2); }
.modal-content h2 { font-size: 1.9rem; margin-bottom: var(--s-1); }
.modal-tech { display: flex; flex-wrap: wrap; gap: 6px; margin: var(--s-3) 0; }
.modal-tech span { font-size: 0.75rem; font-family: var(--mono); color: var(--text-soft); background: var(--surface-2); border: 1px solid var(--border); padding: 4px 10px; border-radius: 6px; }
.modal-cs { display: grid; gap: var(--s-3); margin-top: var(--s-4); }
.cs-block { border-left: 3px solid var(--brand); padding-left: var(--s-3); }
.cs-block h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand); margin-bottom: 6px; }
.cs-block p { color: var(--text-soft); font-size: 0.95rem; }
.cs-outcome { background: var(--brand-soft); border-radius: var(--r-md); padding: var(--s-3); border-left: 3px solid var(--brand); }
.cs-outcome h4 { color: var(--brand); }
.cs-outcome p { color: var(--text); font-weight: 500; }

/* ============ BOOKING MODAL ============ */
.book-modal { position: fixed; inset: 0; z-index: 1600; display: none; }
.book-modal.open { display: block; }
.book-backdrop { position: absolute; inset: 0; background: rgba(8,10,15,0.66); backdrop-filter: blur(5px); animation: fadeIn 0.3s; }
.book-dialog {
  position: relative; max-width: 440px; width: calc(100% - 40px);
  margin: 16vh auto 0; background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: var(--s-6) var(--s-4) var(--s-4);
  text-align: center; animation: modalIn 0.4s var(--ease); overflow: hidden;
}
.book-dialog::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 70% at 50% 0%, var(--brand-soft), transparent 60%); }
.book-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-soft); transition: 0.2s; z-index: 2; }
.book-close:hover { background: var(--brand-fill); color: var(--on-brand); border-color: var(--brand-fill); }
.book-close svg { width: 18px; height: 18px; }
.book-eyebrow { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); margin-bottom: var(--s-2); }
.book-dialog h3 { position: relative; font-size: 1.5rem; margin-bottom: 6px; }
.book-sub { position: relative; color: var(--text-soft); font-size: 0.95rem; margin-bottom: var(--s-4); }
.book-options { position: relative; display: grid; gap: 12px; }
.book-card { display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
  padding: 16px; border-radius: var(--r-md); border: 1px solid var(--border-strong); background: var(--surface-2);
  transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s; cursor: pointer; }
.book-card:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow-md); }
.book-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.book-ic svg { width: 24px; height: 24px; }
.book-card-wa .book-ic { background: #25D366; color: #fff; }
.book-card-form .book-ic { background: var(--brand-soft); color: var(--brand); }
.book-card-text { display: flex; flex-direction: column; line-height: 1.3; flex: 1; }
.book-card-text strong { font-size: 1rem; color: var(--text); }
.book-card-text small { font-size: 0.82rem; color: var(--text-soft); }
.book-arrow { width: 20px; height: 20px; color: var(--text-mute); transition: transform 0.2s var(--ease), color 0.2s; flex-shrink: 0; }
.book-card:hover .book-arrow { transform: translateX(4px); color: var(--brand); }
.modal-actions { margin-top: var(--s-4); display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ PRELOADER ============ */
.preloader {
  position: fixed; inset: 0; z-index: 3000; background: var(--bg);
  display: grid; place-items: center; overflow: hidden;
  transition: transform 0.85s var(--ease), opacity 0.5s ease 0.35s;
  animation: plSafety 0s linear 6s forwards; /* fail-safe if JS never finishes */
}
.preloader::before { /* tech grid */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(to right, var(--border) 1px, transparent 1px), linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent 75%);
          mask: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent 75%);
}
.preloader.done { transform: translateY(-100%); opacity: 0; }
@keyframes plSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }

.pl-rings { position: absolute; width: min(440px, 80vw); aspect-ratio: 1; display: grid; place-items: center; }
.pl-ring { position: absolute; width: 100%; height: 100%; }
.pl-ring-2 { width: 78%; height: 78%; }
.pl-ring circle { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 6 14; }
.pl-ring-1 circle { stroke: var(--brand); opacity: 0.5; }
.pl-ring-2 circle { stroke: var(--warm); opacity: 0.45; }
.pl-ring-1 { animation: plSpin 9s linear infinite; }
.pl-ring-2 { animation: plSpin 6s linear infinite reverse; }
@keyframes plSpin { to { transform: rotate(360deg); } }

.pl-center { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.pl-logo { position: relative; width: min(280px, 64vw); overflow: hidden; opacity: 0; filter: blur(8px); animation: plLogoIn 0.8s var(--ease) 0.1s forwards; }
.pl-logo img { width: 100%; height: auto; display: block; }
@keyframes plLogoIn { to { opacity: 1; filter: blur(0); } }
.pl-sheen {
  position: absolute; top: 0; left: 0; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, color-mix(in srgb, var(--brand) 80%, transparent), transparent);
  transform: skewX(-18deg); mix-blend-mode: plus-lighter; opacity: 0.7;
  animation: plSheen 1.5s var(--ease) 0.5s infinite;
}
@keyframes plSheen { 0% { left: -55%; } 60%,100% { left: 120%; } }
.pl-track { width: min(280px, 64vw); height: 3px; margin-top: 28px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.pl-fill { display: block; height: 100%; width: 0%; border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), var(--warm)); box-shadow: 0 0 14px var(--brand-glow); transition: width 0.18s ease-out; }
.pl-row { display: flex; justify-content: space-between; align-items: center; width: min(280px, 64vw); margin-top: 12px;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mute); }
.pl-pct { color: var(--brand); font-weight: 500; }
@media (prefers-reduced-motion: reduce) {
  .pl-ring, .pl-sheen, .pl-logo { animation-duration: 0.001ms !important; }
  .pl-logo { opacity: 1; filter: none; }
}

/* ============ 21. REVEAL ANIMATIONS ============ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.40s; }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.5); } 70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(40px,-30px) scale(1.12); } }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(6deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ============ 22. RESPONSIVE ============ */
@media (max-width: 1024px) {
  .services-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: var(--s-6) var(--s-3); }
  .process-steps::before { display: none; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-bento { grid-template-columns: repeat(2, 1fr); }
  .tile-feature { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-4); }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .nav { position: fixed; top: 0; right: -100%; width: min(320px, 84vw); height: 100vh; z-index: 999;
    background: var(--surface); box-shadow: var(--shadow-lg); padding: calc(var(--header-h) + 24px) 24px 24px;
    transition: right 0.35s var(--ease); }
  .nav.open { right: 0; }
  .nav-close { display: grid; place-items: center; position: absolute; top: 16px; right: 20px; width: 42px; height: 42px;
    border-radius: 10px; border: 1.5px solid var(--border-strong); color: var(--text-soft); transition: 0.2s; }
  .nav-close:hover { color: var(--brand); border-color: var(--brand); }
  .nav-close svg { width: 20px; height: 20px; }
  .nav-list { flex-direction: column; gap: 6px; }
  .nav-link { padding: 14px 16px; font-size: 1.05rem; }
  .nav-cta-mobile { display: block; margin-top: 12px; }
  .hamburger { display: block; }
  .nav-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-6); text-align: center; }
  .hero-copy { order: 2; }
  .hero-portrait { order: 1; }
  .portrait-frame { width: min(300px, 78%); }
  .title-rotator, .hero-cta, .hero-meta, .hero-proof { justify-content: center; }
  .rotator-track { min-width: 260px; }
  .hero-tagline { margin-left: auto; margin-right: auto; }
  .hero { padding-bottom: var(--s-6); }
  .trustbar-inner { flex-direction: column; align-items: center; gap: var(--s-4); text-align: center; padding-top: var(--s-6); }
  .trust-countries { flex-direction: column; align-items: center; gap: var(--s-2); width: 100%; }
  .country-list { justify-content: center; }
  .trust-stats { width: 100%; justify-content: center; gap: var(--s-4); border-top: 1px solid var(--border); padding-top: var(--s-4); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .faq-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .faq-intro { position: static; }
  .hero-portrait { min-height: 0; }
  .badge-top { right: -2%; }
  .badge-bottom { left: -2%; }
  .chip-rating { left: -2%; top: 46%; }
  .portrait-dots { display: none; }
  .tm { grid-template-columns: 1fr; }
  .tm-side { order: -1; }
  .tm-roster { flex-direction: row; overflow-x: auto; gap: 10px; padding-bottom: 2px; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; }
  .tm-roster::-webkit-scrollbar { display: none; }
  .tm-client { flex-shrink: 0; padding: 7px; }
  .tm-client-id { display: none; }
  .tm-client img { width: 46px; height: 46px; }
  .tm-nav { display: none; }
}
@media (max-width: 560px) {
  .section { padding: var(--s-8) 0; }
  .services-grid, .why-grid, .portfolio-grid, .skills-bento { grid-template-columns: 1fr; }
  .tile-feature { grid-column: span 1; }
  .process-steps { grid-template-columns: 1fr; }
  .about-points { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-stats { flex-wrap: wrap; }
  .stat { flex: 1; min-width: 80px; }
  .stat-num { font-size: 1.9rem; }
  .tm-feature { padding: var(--s-4); }
  .tm-quote { font-size: 1.2rem; }
  .tm-metric { margin-left: 0; }
  .chip-rating { display: none; }
  .hero-proof { width: auto; max-width: 100%; padding: 0; gap: 4px 10px; flex-wrap: wrap;
    background: transparent; border: 0; box-shadow: none; }
  .hero-proof .proof-divider { display: none; }
  .proof-stars { font-size: 1.05rem; }
  .proof-score { font-size: 1.05rem; }
  .proof-label { width: 100%; text-align: center; font-size: 0.85rem; margin-top: 2px; }
  .container { padding: 0 18px; }
  .lead-card { padding: var(--s-8) var(--s-4); }
  .contact-form-wrap { padding: var(--s-4); }
  .footer-bottom { flex-direction: column; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 18px; left: 18px; }
  .back-to-top { right: 18px; bottom: 18px; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
