/* ============================================================
   BADAR.IO — Main Stylesheet
   Fonts: Fraunces (display) + Plus Jakarta Sans (body)
   Theme: Deep Forest Green / Clean White / Sage Accents
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,300;1,9..144,500&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Variables ── */
:root {
  --g900: #0a2e18;
  --g800: #1a6b3c;
  --g700: #1f7d47;
  --g600: #22874d;
  --g500: #2ea05c;
  --g400: #3ab268;
  --g300: #52c27e;
  --g200: #a3ddb8;
  --g100: #d4edda;
  --g50:  #edf7f1;
  --g20:  #f5fbf7;

  --white:     #ffffff;
  --neutral50: #f9fafb;
  --neutral100:#f3f4f6;
  --neutral200:#e5e7eb;
  --neutral400:#9ca3af;
  --neutral600:#4b5563;
  --neutral800:#1f2937;
  --neutral900:#111827;

  --text:      #0d2316;
  --text-body: #374151;
  --text-muted:#6b7280;
  --border:    #d1fae5;
  --border-2:  #e5e7eb;

  --shadow-xs: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-sm: 0 2px 8px rgba(26,107,60,0.10), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 24px rgba(26,107,60,0.13), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 16px 48px rgba(26,107,60,0.16), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-xl: 0 32px 80px rgba(26,107,60,0.18), 0 8px 24px rgba(0,0,0,0.1);

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;
  --r-full: 9999px;

  --fd: 'Fraunces', Georgia, serif;
  --fb: 'Plus Jakarta Sans', system-ui, sans-serif;
  --fm: 'JetBrains Mono', monospace;

  --nav-h: 72px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur: 0.28s;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--fb);
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── Bootstrap overrides ── */
.container { max-width: 1180px; }

/* ── Utility ── */
.text-green  { color: var(--g800) !important; }
.bg-green    { background: var(--g800) !important; }
.bg-ghost    { background: var(--g20) !important; }
.fw-500      { font-weight: 500; }
.fw-600      { font-weight: 600; }
.fw-700      { font-weight: 700; }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-l { opacity: 0; transform: translateX(-28px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-l.visible { opacity: 1; transform: none; }
.reveal-r { opacity: 0; transform: translateX(28px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-r.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.18s; }
.delay-3 { transition-delay: 0.26s; }
.delay-4 { transition-delay: 0.34s; }
.delay-5 { transition-delay: 0.42s; }
.delay-6 { transition-delay: 0.50s; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.display-heading {
  font-family: var(--fd);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--g500);
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: ''; width: 20px; height: 2px;
  background: var(--g400); border-radius: 2px; flex-shrink: 0;
}
.section-eyebrow.center::before { display: none; }
.section-eyebrow.center::after  {
  content: ''; width: 20px; height: 2px;
  background: var(--g400); border-radius: 2px; flex-shrink: 0;
}
.section-title {
  font-family: var(--fd);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 600; line-height: 1.15;
  color: var(--text); margin-bottom: 14px;
  letter-spacing: -0.015em;
}
.section-sub {
  font-size: 1rem; color: var(--text-muted);
  line-height: 1.75; max-width: 540px;
}
.section-sub.wide { max-width: 680px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-g {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--r-full);
  font-size: 0.875rem; font-weight: 600;
  transition: all var(--dur) var(--ease);
  white-space: nowrap; border: 2px solid transparent;
  position: relative; overflow: hidden;
}
.btn-g::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0); transition: background var(--dur);
}
.btn-primary-g {
  background: var(--g800); color: #fff;
  box-shadow: 0 4px 16px rgba(26,107,60,0.32);
}
.btn-primary-g:hover {
  background: var(--g700); color: #fff;
  box-shadow: 0 8px 28px rgba(26,107,60,0.42);
  transform: translateY(-2px);
}
.btn-outline-g {
  background: transparent; color: var(--g800);
  border-color: var(--g800);
}
.btn-outline-g:hover {
  background: var(--g800); color: #fff;
  transform: translateY(-2px);
}
.btn-ghost-g {
  background: var(--g50); color: var(--g800);
  border-color: var(--g100);
}
.btn-ghost-g:hover {
  background: var(--g100); transform: translateY(-2px);
}
.btn-white {
  background: #fff; color: var(--g800);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.btn-white:hover {
  background: var(--g50); transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}
.btn-outline-white {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: #fff; color: var(--g800);
}
.btn-sm-g { padding: 9px 20px; font-size: 0.82rem; }
.btn-lg-g { padding: 16px 36px; font-size: 0.95rem; }

/* ── Tag / Badge ── */
.badge-g {
  display: inline-block; padding: 4px 11px;
  border-radius: var(--r-full); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.03em; background: var(--g50);
  color: var(--g800); border: 1px solid var(--g100);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background var(--dur), box-shadow var(--dur), backdrop-filter var(--dur);
}
.site-nav.transparent .nav-logo { color: #fff; }
.site-nav.transparent .nav-logo em { color: var(--g300); }
.site-nav.transparent .nav-link { color: rgba(255,255,255,0.82); }
.site-nav.transparent .nav-link:hover { color: #fff; background: rgba(255,255,255,0.1); }
.site-nav.transparent .hamburger-bar { background: #fff; }

.site-nav.solid {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-2), var(--shadow-xs);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
}
.nav-logo {
  font-family: var(--fd); font-size: 1.45rem; font-weight: 700;
  color: var(--g800); letter-spacing: -0.02em;
  transition: color var(--dur);
}
.nav-logo em { font-style: normal; color: var(--g400); }
.nav-links {
  display: flex; align-items: center; gap: 2px;
}
.nav-link {
  padding: 7px 15px; border-radius: var(--r-full);
  font-size: 0.865rem; font-weight: 500;
  color: var(--text-muted);
  transition: all var(--dur); white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--g800); background: var(--g50);
}
.site-nav.transparent .nav-link.active { background: rgba(255,255,255,0.15); color: #fff; }
.nav-cta {
  background: var(--g800); color: #fff !important;
  padding: 9px 22px; border-radius: var(--r-full);
  font-weight: 600 !important; font-size: 0.84rem !important;
  box-shadow: 0 4px 14px rgba(26,107,60,0.3);
  transition: all var(--dur) !important;
}
.nav-cta:hover { background: var(--g700) !important; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,107,60,0.4) !important; }
.site-nav.transparent .nav-cta { background: rgba(255,255,255,0.18) !important; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.3); }
.site-nav.transparent .nav-cta:hover { background: #fff !important; color: var(--g800) !important; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: var(--r-xs);
}
.hamburger-bar {
  width: 22px; height: 2px; background: var(--g800);
  border-radius: 2px; transition: all var(--dur);
}
.hamburger.open .hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .hamburger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-nav {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 999;
  padding: 24px; flex-direction: column; gap: 4px;
  overflow-y: auto;
  border-top: 1px solid var(--border-2);
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link {
  color: var(--text); padding: 14px 16px;
  border-radius: var(--r-sm); font-size: 1rem;
  border: 1px solid transparent;
}
.mobile-nav .nav-link:hover { background: var(--g50); border-color: var(--g100); }
.mobile-nav .nav-cta {
  margin-top: 12px; text-align: center; padding: 14px;
  background: var(--g800) !important; color: #fff !important;
  border-radius: var(--r-sm);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--g800);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
}
#hero-canvas { position: absolute; inset: 0; z-index: 0; }
.hero-noise {
  position: absolute; inset: 0; z-index: 1; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: var(--r-full);
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.88); font-size: 0.8rem; font-weight: 500;
  margin-bottom: 28px; backdrop-filter: blur(8px);
  animation: fadeSlideDown 0.8s var(--ease) both;
}
.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--g300); animation: dot-pulse 2.2s infinite;
}
@keyframes dot-pulse { 0%,100%{box-shadow:0 0 0 0 rgba(82,194,126,0.6)} 50%{box-shadow:0 0 0 5px rgba(82,194,126,0)} }
.hero-h1 {
  font-family: var(--fd);
  font-size: clamp(2.5rem, 5.5vw, 4.4rem);
  font-weight: 700; line-height: 1.08;
  color: #fff; margin-bottom: 22px;
  letter-spacing: -0.025em;
  animation: fadeSlideUp 0.9s 0.1s var(--ease) both;
}
.hero-h1 em { font-style: italic; color: var(--g300); font-weight: 300; }
.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.68);
  max-width: 500px; line-height: 1.78; margin-bottom: 40px;
  animation: fadeSlideUp 0.9s 0.22s var(--ease) both;
}
.hero-btns {
  display: flex; flex-wrap: wrap; gap: 14px;
  animation: fadeSlideUp 0.9s 0.34s var(--ease) both;
}
.hero-scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.38); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  animation: fadeSlideUp 1s 0.6s var(--ease) both;
}
.scroll-line { width: 1px; height: 44px; overflow: hidden; }
.scroll-line::after {
  content: ''; display: block; width: 100%; height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4), transparent);
  animation: scrollDrop 1.8s infinite;
}
@keyframes scrollDrop { from{transform:translateY(-100%)} to{transform:translateY(200%)} }

/* Right side mockup */
.hero-visual {
  position: relative; z-index: 2;
  animation: fadeSlideUp 1s 0.2s var(--ease) both;
}
.hero-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-lg); padding: 28px;
  margin-bottom: 16px;
}
.hero-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-stat {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md); padding: 18px;
  text-align: center;
}
.hero-stat-num {
  font-family: var(--fd); font-size: 2rem;
  font-weight: 700; color: #fff; line-height: 1;
}
.hero-stat-num span { color: var(--g300); }
.hero-stat-label { font-size: 0.74rem; color: rgba(255,255,255,0.5); margin-top: 4px; }
.hero-tech-row {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px;
}
.hero-tech {
  padding: 5px 13px; border-radius: var(--r-full);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.74rem; color: rgba(255,255,255,0.7); font-weight: 500;
}

@keyframes fadeSlideDown { from{opacity:0;transform:translateY(-16px)} to{opacity:1;transform:none} }
@keyframes fadeSlideUp   { from{opacity:0;transform:translateY(22px)}  to{opacity:1;transform:none} }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { background: var(--g900); }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(255,255,255,0.06);
}
.stat-cell {
  padding: 44px 32px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.stat-num {
  font-family: var(--fd); font-size: 2.8rem;
  font-weight: 700; color: #fff; line-height: 1;
  margin-bottom: 6px;
}
.stat-num em { font-style: normal; color: var(--g300); }
.stat-lbl { font-size: 0.8rem; color: rgba(255,255,255,0.45); font-weight: 500; letter-spacing: 0.06em; }

/* ============================================================
   SERVICES MINI (homepage)
   ============================================================ */
.services-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.svc-mini {
  background: #fff; border: 1px solid var(--border-2);
  border-radius: var(--r-md); padding: 30px 26px;
  transition: all var(--dur) var(--ease);
  position: relative; overflow: hidden;
}
.svc-mini::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--g800), var(--g400));
  transform: scaleX(0); transition: transform var(--dur) var(--ease);
  transform-origin: left;
}
.svc-mini:hover { border-color: var(--g200); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.svc-mini:hover::after { transform: scaleX(1); }
.svc-icon {
  width: 50px; height: 50px; border-radius: var(--r-sm);
  background: var(--g50); display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem; margin-bottom: 18px;
  transition: background var(--dur);
}
.svc-mini:hover .svc-icon { background: var(--g100); }
.svc-mini h3 { font-size: 0.97rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.svc-mini p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

/* ============================================================
   PORTFOLIO CARDS
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 24px;
}
.project-card {
  background: #fff; border: 1px solid var(--border-2);
  border-radius: var(--r-md); overflow: hidden;
  transition: all var(--dur) var(--ease);
}
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: var(--g200); }
.project-thumb {
  aspect-ratio: 16/9; position: relative;
  background: linear-gradient(135deg, var(--g50) 0%, var(--g100) 100%);
  overflow: hidden;
}
.project-thumb-emoji {
  position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center;
  font-size: 3rem; opacity: 0.35;
}
.project-thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-overlay {
  position: absolute; inset: 0;
  background: rgba(10,46,24,0.88);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  opacity: 0; transition: opacity var(--dur);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-body { padding: 22px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.project-body h3 { font-size: 0.97rem; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.project-body p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; }

/* Portfolio tabs */
.tabs-wrap {
  display: flex; gap: 6px; background: var(--neutral100);
  padding: 5px; border-radius: var(--r-full); width: fit-content;
  margin-bottom: 40px; border: 1px solid var(--border-2);
}
.tab-pill {
  padding: 9px 22px; border-radius: var(--r-full);
  font-size: 0.85rem; font-weight: 600; color: var(--text-muted);
  transition: all var(--dur); cursor: pointer;
}
.tab-pill.active { background: var(--g800); color: #fff; box-shadow: var(--shadow-sm); }
.tab-panel { display: none; }
.tab-panel.active { display: grid; }

/* ============================================================
   TESTIMONIALS — HORIZONTAL SCROLL TRACK
   ============================================================ */
.reviews-section { background: var(--g20); }
.reviews-track-wrap {
  position: relative;
  overflow: hidden;
  margin: 0 -12px;
  padding: 0 12px;
}
/* Fade edges */
.reviews-track-wrap::before,
.reviews-track-wrap::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 80px;
  z-index: 2; pointer-events: none;
}
.reviews-track-wrap::before { left: 0; background: linear-gradient(to right, var(--g20), transparent); }
.reviews-track-wrap::after  { right: 0; background: linear-gradient(to left, var(--g20), transparent); }

.reviews-track {
  display: flex; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  padding: 8px 4px 24px;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track.dragging { cursor: grabbing; scroll-snap-type: none; }

.review-card {
  flex: 0 0 320px; scroll-snap-align: start;
  background: #fff; border: 1px solid var(--border-2);
  border-radius: var(--r-md); padding: 28px 26px;
  display: flex; flex-direction: column; gap: 18px;
  transition: box-shadow var(--dur), transform var(--dur);
  position: relative;
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.review-stars { color: #f59e0b; font-size: 0.85rem; letter-spacing: 1px; }
.review-text {
  font-size: 0.88rem; color: var(--text-body);
  line-height: 1.72; flex: 1;
  font-style: italic;
}
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--g400), var(--g800));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 0.88rem; flex-shrink: 0;
}
.review-name { font-size: 0.88rem; font-weight: 700; color: var(--text); }
.review-role { font-size: 0.76rem; color: var(--text-muted); }
.review-quote-icon {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--fd); font-size: 4rem; color: var(--g50);
  line-height: 1; pointer-events: none;
}

/* Scroll controls */
.reviews-controls {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 28px;
}
.reviews-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--g800); transition: all var(--dur); cursor: pointer;
  box-shadow: var(--shadow-xs);
}
.reviews-btn:hover { background: var(--g800); color: #fff; border-color: var(--g800); }
.reviews-dots { display: flex; gap: 6px; }
.reviews-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--g200); transition: all var(--dur); cursor: pointer;
}
.reviews-dot.active { background: var(--g800); width: 20px; border-radius: 3px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-photo {
  width: 100%; aspect-ratio: 4/5;
  border-radius: var(--r-lg); object-fit: cover;
  background: linear-gradient(145deg, var(--g100), var(--g50));
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; opacity: 0.4; position: relative;
  overflow: hidden;
}
.about-badge {
  position: absolute; bottom: 24px; left: 20px; right: 20px;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(12px);
  border: 1px solid var(--border-2); border-radius: var(--r-md);
  padding: 14px 18px; display: flex; align-items: center; gap: 10px;
}
.online-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.2); flex-shrink: 0; }
.about-badge p { font-size: 0.8rem; font-weight: 700; color: var(--text); }
.about-badge span { font-size: 0.72rem; color: var(--text-muted); }

.skill-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--r-full);
  background: #fff; border: 1px solid var(--border-2);
  font-size: 0.82rem; font-weight: 600; color: var(--text);
  transition: all var(--dur);
}
.skill-pill:hover { background: var(--g800); color: #fff; border-color: var(--g800); }

/* Timeline */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 10px; bottom: 10px;
  width: 2px; background: var(--border-2);
}
.tl-item { position: relative; margin-bottom: 32px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-dot {
  position: absolute; left: -28px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--g400);
  transition: border-color var(--dur);
}
.tl-item:hover .tl-dot { border-color: var(--g800); }
.tl-year { font-size: 0.72rem; font-weight: 700; color: var(--g500); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.tl-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.tl-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.service-card-full {
  background: #fff; border: 1px solid var(--border-2);
  border-radius: var(--r-md); padding: 36px 32px;
  height: 100%;
  transition: all var(--dur) var(--ease);
  position: relative; overflow: hidden;
}
.service-card-full::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--g800), var(--g400));
  transform: scaleX(0); transition: transform var(--dur);
  transform-origin: left;
}
.service-card-full:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--g200); }
.service-card-full:hover::after { transform: scaleX(1); }
.svc-icon-lg {
  width: 62px; height: 62px; border-radius: var(--r-sm);
  background: var(--g50); display: flex; align-items: center;
  justify-content: center; font-size: 1.8rem; margin-bottom: 22px;
}
.service-card-full h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.service-card-full p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.72; margin-bottom: 20px; }
.svc-features { display: flex; flex-direction: column; gap: 7px; }
.svc-feature {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--text-muted);
}
.svc-feature::before {
  content: '✓'; width: 18px; height: 18px;
  background: var(--g100); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--g800); font-size: 0.65rem; font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   CONTACT & HIRE FORMS
   ============================================================ */
.form-card {
  background: #fff; border: 1px solid var(--border-2);
  border-radius: var(--r-lg); padding: 44px 40px;
  box-shadow: var(--shadow-sm);
}
.form-group-g { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.form-group-g label { font-size: 0.82rem; font-weight: 700; color: var(--text); }
.form-control-g {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--border-2);
  border-radius: var(--r-sm); font-size: 0.9rem;
  color: var(--text); background: #fff;
  transition: border-color var(--dur), box-shadow var(--dur);
  outline: none;
}
.form-control-g:focus {
  border-color: var(--g400);
  box-shadow: 0 0 0 4px rgba(58,178,104,0.1);
}
.form-control-g::placeholder { color: var(--neutral400); }
textarea.form-control-g { resize: vertical; min-height: 130px; }
.honeypot { display: none !important; }
.form-msg {
  display: none; padding: 14px 18px; border-radius: var(--r-sm);
  font-size: 0.875rem; font-weight: 600; margin-bottom: 20px;
}
.form-msg.success { background: var(--g50); border: 1px solid var(--g100); color: var(--g800); }
.form-msg.error   { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; }

/* Contact info card */
.contact-info-card {
  background: var(--g800); border-radius: var(--r-lg);
  padding: 44px 36px; color: #fff; height: 100%;
}
.contact-info-card h3 {
  font-family: var(--fd); font-size: 1.6rem;
  margin-bottom: 10px; color: #fff;
}
.contact-info-card p { color: rgba(255,255,255,0.65); font-size: 0.9rem; line-height: 1.7; margin-bottom: 36px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.contact-icon {
  width: 42px; height: 42px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin-bottom: 2px; }
.contact-item a { font-size: 0.9rem; color: rgba(255,255,255,0.88); }
.contact-social { display: flex; gap: 10px; margin-top: 32px; }
.social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65); font-size: 0.95rem;
  transition: all var(--dur);
}
.social-btn:hover { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.4); }

/* ============================================================
   HIRE ME PAGE — PACKAGE CARDS
   ============================================================ */
.package-card {
  background: #fff; border: 1.5px solid var(--border-2);
  border-radius: var(--r-lg); padding: 36px 32px;
  transition: all var(--dur) var(--ease); position: relative;
  height: 100%;
}
.package-card.featured {
  background: var(--g800); border-color: var(--g800); color: #fff;
  box-shadow: var(--shadow-lg);
}
.package-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--g300); color: var(--g900);
  padding: 4px 18px; border-radius: var(--r-full);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; white-space: nowrap;
}
.package-card:not(.featured):hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--g400); }
.package-name { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--g500); margin-bottom: 8px; }
.package-card.featured .package-name { color: var(--g300); }
.package-price {
  font-family: var(--fd); font-size: 3rem; font-weight: 700;
  line-height: 1; color: var(--text); margin-bottom: 4px;
}
.package-card.featured .package-price { color: #fff; }
.package-note { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 24px; }
.package-card.featured .package-note { color: rgba(255,255,255,0.55); }
.package-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pkg-feature {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 0.855rem; color: var(--text-muted);
}
.package-card.featured .pkg-feature { color: rgba(255,255,255,0.75); }
.pkg-check {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: var(--g100); display: flex; align-items: center;
  justify-content: center; color: var(--g800); font-size: 0.65rem; font-weight: 700;
  margin-top: 2px;
}
.package-card.featured .pkg-check { background: rgba(255,255,255,0.2); color: #fff; }

/* ============================================================
   INNER PAGE HERO (non-home pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-h) + 64px) 0 64px;
  background: var(--g800); position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(82,194,126,0.12) 0%, transparent 65%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.page-breadcrumb a { color: rgba(255,255,255,0.5); transition: color var(--dur); }
.page-breadcrumb a:hover { color: var(--g300); }
.page-breadcrumb span { color: var(--g300); }
.page-hero h1 {
  font-family: var(--fd); color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700; margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1rem; max-width: 500px; line-height: 1.75; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--g800); border-radius: var(--r-lg);
  padding: 56px 48px; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.cta-banner::after {
  content: ''; position: absolute; bottom: -80px; left: -40px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,0.03);
}
.cta-banner h2 {
  font-family: var(--fd); font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: #fff; font-weight: 700; margin-bottom: 12px;
}
.cta-banner p { color: rgba(255,255,255,0.65); font-size: 0.95rem; line-height: 1.7; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--g900); }
.footer-main {
  padding: 72px 0 48px;
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-logo { font-family: var(--fd); font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-logo em { font-style: normal; color: var(--g300); }
.footer-desc { font-size: 0.86rem; color: rgba(255,255,255,0.45); line-height: 1.72; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 8px; }
.footer-social {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45); transition: all var(--dur);
}
.footer-social:hover { background: var(--g800); color: #fff; border-color: var(--g800); }
.footer-col h4 { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.86rem; color: rgba(255,255,255,0.45); transition: color var(--dur); }
.footer-col ul li a:hover { color: var(--g300); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 22px 0; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.8rem; color: rgba(255,255,255,0.3);
}

/* ============================================================
   SCROLL TO TOP (desktop only)
   ============================================================ */
@media (min-width: 769px) {
  .scroll-top-btn {
    position: fixed; bottom: 32px; right: 32px; z-index: 800;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--g800); color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 18px rgba(26,107,60,0.38);
    opacity: 0; pointer-events: none;
    transform: translateY(12px) scale(0.9);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--spring), background var(--dur), box-shadow var(--dur);
    cursor: pointer;
  }
  .scroll-top-btn.show {
    opacity: 1; pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .scroll-top-btn:hover {
    background: var(--g700);
    box-shadow: 0 8px 28px rgba(26,107,60,0.5);
    transform: translateY(-3px) scale(1.05);
  }
  .scroll-top-btn svg.ring {
    position: absolute;
    top: -5px; left: -5px; right: -5px; bottom: -5px;
    width: 58px; height: 58px;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    pointer-events: none;
  }
  .scroll-top-btn svg.ring circle {
    fill: none; stroke: var(--g300); stroke-width: 2.5;
    stroke-dasharray: 163; stroke-dashoffset: 163;
    stroke-linecap: round; transition: stroke-dashoffset 0.08s linear;
    opacity: 0.9;
  }
}
@media (max-width: 768px) { .scroll-top-btn { display: none !important; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  /* ── Responsive Nav ── */
  .nav-links  { display: none !important; }   /* hide desktop links  */
  .hamburger  { display: flex; }               /* show burger         */
  :root       { --nav-h: 64px; }

  /* Force nav SOLID on all mobile/tablet — always legible */
  .site-nav {
    background: rgba(255,255,255,0.97) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 1px 0 var(--border-2), var(--shadow-xs) !important;
  }
  /* Logo always green on mobile (not transparent white) */
  .site-nav .nav-logo      { color: var(--g800) !important; }
  .site-nav .nav-logo em   { color: var(--g400) !important; }
  /* Hamburger bars always dark green on mobile */
  .site-nav .hamburger-bar { background: var(--g800) !important; }
  /* Hire Me CTA pill always solid on mobile */
  .site-nav .nav-cta {
    background: var(--g800) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(26,107,60,0.3) !important;
  }

  /* ── Layout ── */
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
}
@media (max-width: 767px) {
  .hero-h1 { font-size: 2.1rem; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .services-mini-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .contact-info-card { padding: 32px 24px; }
  .cta-banner { padding: 40px 28px; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .review-card { flex: 0 0 285px; }
  .package-card { padding: 28px 22px; }
}
@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn-g { width: 100%; justify-content: center; }
}

/* ============================================================
   WHATSAPP STICKY BUTTON
   ============================================================ */
.wa-sticky {
  position: fixed;
  bottom: 32px;
  left: 24px;
  z-index: 799;                         /* one below scroll-to-top (800) */
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  cursor: pointer;
}

/* Green circle button */
.wa-icon {
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  padding: 13px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.25s ease,
              background 0.25s ease;
  position: relative;
  z-index: 1;
}

/* Pulse ring */
.wa-pulse {
  position: absolute;
  left: 24px;
  bottom: 32px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  opacity: 0;
  animation: wa-ring 2.8s ease-out infinite;
  z-index: 0;
  pointer-events: none;
}
@keyframes wa-ring {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(1.65); opacity: 0;   }
  100% { transform: scale(1.65); opacity: 0;   }
}

/* Tooltip label */
.wa-label {
  position: absolute;
  left: 62px;
  bottom: 50%;
  transform: translateY(50%);
  background: #111;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, left 0.2s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.wa-label::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: #111;
}

/* Hover effects */
.wa-sticky:hover .wa-icon {
  background: #20bb5a;
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.6);
}
.wa-sticky:hover .wa-label {
  opacity: 1;
  left: 66px;
}

/* Mobile: show button but hide tooltip */
@media (max-width: 767px) {
  .wa-sticky {
    bottom: 20px;
    left: 16px;
  }
  .wa-pulse {
    bottom: 20px;
    left: 16px;
  }
  .wa-label {
    display: none;
  }
  .wa-icon {
    width: 50px;
    height: 50px;
    padding: 12px;
  }
}

/* Captcha field styling */
.form-control-g[type="number"] {
  -moz-appearance: textfield;
}
.form-control-g[type="number"]::-webkit-inner-spin-button,
.form-control-g[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}
/* ============================================================ */
